Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:59:03.743304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/57/image_15122025_23_57_34_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/57/image_15122025_23_57_34_9804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399568982"],"photo_id":"1399568982","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/098f8b0ab6c716bad779b3a37db5d6c9.jpg","text":"TemporaryFile(/tmp/multipartBody3799412226339113075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839605191,"filename":"image_15122025_23_57_34_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399568982"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399568982"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.023499965667725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:59:22.322104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_40_2740.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_43_2712.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_46_3651.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_49_2675.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_52_2795.jpg', '/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_55_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_40_2740.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_43_2712.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_46_3651.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_49_2675.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_52_2795.jpg
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_55_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":["1399569481","1399569406","1399569627","1399569237","1399569326","1399569565"],"photo_ids_order":["1399569237","1399569326","1399569406","1399569481","1399569565","1399569627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/905de7e6afafa359fc84d645c593731f.jpg","text":"TemporaryFile(/tmp/multipartBody1961483383738809080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839627603,"filename":"image_06112025_14_11_49_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef683f6ef7eec15f5bfad9061d86134a.jpg","text":"TemporaryFile(/tmp/multipartBody7987526327981958654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839627603,"filename":"image_06112025_14_11_46_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/16/d4c7ddbda20469209e0aea4422e31f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5154395528890572519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839627603,"filename":"image_06112025_14_11_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/16/317c9378690a33c19a6210cdb3636fdc.jpg","text":"TemporaryFile(/tmp/multipartBody904926796291486912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839627603,"filename":"image_06112025_14_11_40_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/16/6e375f54a6b7616b5885f8fe03ec40f6.jpg","text":"TemporaryFile(/tmp/multipartBody8102942066981046140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839627603,"filename":"image_06112025_14_11_43_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/16/451af034cd043f1b7eb451bdbd6f706e.jpg","text":"TemporaryFile(/tmp/multipartBody6582848988499625984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839627603,"filename":"image_06112025_14_11_52_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399569406","file1":"1399569326","file0":"1399569237","file4":"1399569565","file5":"1399569627","file3":"1399569481"},"map_files_photo_id_array":[{"photo_id":"1399569627","filename":"file5"},{"photo_id":"1399569406","filename":"file2"},{"photo_id":"1399569565","filename":"file4"},{"photo_id":"1399569326","filename":"file1"},{"photo_id":"1399569237","filename":"file0"},{"photo_id":"1399569481","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399569481":["hashtag1","hashtag2"]},{"1399569406":["hashtag1","hashtag2"]},{"1399569627":["hashtag1","hashtag2"]},{"1399569237":["hashtag1","hashtag2"]},{"1399569326":["hashtag1","hashtag2"]},{"1399569565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399569481, 1399569406, 1399569627, 1399569237, 1399569326, 1399569565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87689709663391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:00:12.532584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/58/image_15122025_23_58_24_9686.jpg', '/home/pi/Desktop/images/15122025/23/59/image_15122025_23_59_15_10837.jpg', '/home/pi/Desktop/images/15122025/23/59/image_15122025_23_59_24_9706.jpg', '/home/pi/Desktop/images/15122025/23/59/image_15122025_23_59_44_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/58/image_15122025_23_58_24_9686.jpg
/home/pi/Desktop/images/15122025/23/59/image_15122025_23_59_15_10837.jpg
/home/pi/Desktop/images/15122025/23/59/image_15122025_23_59_24_9706.jpg
/home/pi/Desktop/images/15122025/23/59/image_15122025_23_59_44_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":["1399569970","1399569853","1399570033","1399569927"],"photo_ids_order":["1399569853","1399569927","1399569970","1399570033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d20783401dfee2a025f9b66fb3f4b647.jpg","text":"TemporaryFile(/tmp/multipartBody7965420530233188878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839673987,"filename":"image_15122025_23_59_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/16/e726fc51af7bbad7238c870de1ea4150.jpg","text":"TemporaryFile(/tmp/multipartBody803208522039258023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839673987,"filename":"image_15122025_23_58_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/16/3c2fa7e85530c028f24405430d1a5d72.jpg","text":"TemporaryFile(/tmp/multipartBody5577705954521917468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839673987,"filename":"image_15122025_23_59_44_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eed694af41b7f170ef9df03372f6492d.jpg","text":"TemporaryFile(/tmp/multipartBody7263135354117659234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839673987,"filename":"image_15122025_23_59_15_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399569970","file1":"1399569927","file0":"1399569853","file3":"1399570033"},"map_files_photo_id_array":[{"photo_id":"1399569970","filename":"file2"},{"photo_id":"1399569927","filename":"file1"},{"photo_id":"1399569853","filename":"file0"},{"photo_id":"1399570033","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399569970":["hashtag1","hashtag2"]},{"1399569853":["hashtag1","hashtag2"]},{"1399570033":["hashtag1","hashtag2"]},{"1399569927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399569970, 1399569853, 1399570033, 1399569927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.762349367141724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:01:02.541077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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_16122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29450386, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1765839722000}
4219
4231839
4219
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/59/image_16122025_00_00_04_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/15122025/23/59/image_16122025_00_00_04_9896.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399570078"],"photo_id":"1399570078","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fff785492512a0a58daf796d1c6a45c.jpg","text":"TemporaryFile(/tmp/multipartBody7969318436627660569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839723940,"filename":"image_16122025_00_00_04_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399570078"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399570078"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.824023723602295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:01:21.958984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/00/image_16122025_00_00_25_10687.jpg', '/home/pi/Desktop/images/16122025/00/00/image_16122025_00_01_04_9666.jpg', '/home/pi/Desktop/images/16122025/00/01/image_16122025_00_01_14_9760.jpg', '/home/pi/Desktop/images/16122025/00/01/image_16122025_00_01_24_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/00/image_16122025_00_00_25_10687.jpg
/home/pi/Desktop/images/16122025/00/00/image_16122025_00_01_04_9666.jpg
/home/pi/Desktop/images/16122025/00/01/image_16122025_00_01_14_9760.jpg
/home/pi/Desktop/images/16122025/00/01/image_16122025_00_01_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":["1399570174","1399570282","1399570221","1399570256"],"photo_ids_order":["1399570174","1399570221","1399570256","1399570282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71d0191de88a7d089e9062b15436c1b3.jpg","text":"TemporaryFile(/tmp/multipartBody2134200826736426252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839742529,"filename":"image_16122025_00_00_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09dcdeb2ffa046f129f5c1f79771957e.jpg","text":"TemporaryFile(/tmp/multipartBody4674590286943911109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839742529,"filename":"image_16122025_00_01_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/16/f3b2337617ff3727b6d659d6e3d2ae1e.jpg","text":"TemporaryFile(/tmp/multipartBody7910663143959739741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839742529,"filename":"image_16122025_00_01_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d05def64b27170cb462a367b947aa5e.jpg","text":"TemporaryFile(/tmp/multipartBody6290989302606593376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839742529,"filename":"image_16122025_00_01_14_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399570256","file1":"1399570221","file0":"1399570174","file3":"1399570282"},"map_files_photo_id_array":[{"photo_id":"1399570256","filename":"file2"},{"photo_id":"1399570221","filename":"file1"},{"photo_id":"1399570174","filename":"file0"},{"photo_id":"1399570282","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399570174":["hashtag1","hashtag2"]},{"1399570282":["hashtag1","hashtag2"]},{"1399570221":["hashtag1","hashtag2"]},{"1399570256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399570174, 1399570282, 1399570221, 1399570256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.853246450424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:02:02.523462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:02:12.230982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:02:22.165905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/01/image_16122025_00_01_44_9850.jpg', '/home/pi/Desktop/images/16122025/00/01/image_16122025_00_02_04_9713.jpg', '/home/pi/Desktop/images/16122025/00/02/image_16122025_00_02_34_9628.jpg', '/home/pi/Desktop/images/16122025/00/02/image_16122025_00_02_44_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/01/image_16122025_00_01_44_9850.jpg
/home/pi/Desktop/images/16122025/00/01/image_16122025_00_02_04_9713.jpg
/home/pi/Desktop/images/16122025/00/02/image_16122025_00_02_34_9628.jpg
/home/pi/Desktop/images/16122025/00/02/image_16122025_00_02_44_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399570603","1399570689","1399570644","1399570565"],"photo_ids_order":["1399570565","1399570603","1399570644","1399570689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4ac9bf83e74fcb307b5754ca89a4db9.jpg","text":"TemporaryFile(/tmp/multipartBody9000601234406977337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839802726,"filename":"image_16122025_00_02_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/16/733be708d7fc1c7400bcae5e52235eb0.jpg","text":"TemporaryFile(/tmp/multipartBody1580461632136018456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839802726,"filename":"image_16122025_00_02_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/16/7a9c6bcfc04c2a9c870f04250255f16a.jpg","text":"TemporaryFile(/tmp/multipartBody7099849808595630146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839802726,"filename":"image_16122025_00_02_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af9d1e39e5ead8f983a1f879522e9dce.jpg","text":"TemporaryFile(/tmp/multipartBody2213161844486543297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839802726,"filename":"image_16122025_00_01_44_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399570644","file1":"1399570603","file0":"1399570565","file3":"1399570689"},"map_files_photo_id_array":[{"photo_id":"1399570644","filename":"file2"},{"photo_id":"1399570603","filename":"file1"},{"photo_id":"1399570565","filename":"file0"},{"photo_id":"1399570689","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399570603":["hashtag1","hashtag2"]},{"1399570689":["hashtag1","hashtag2"]},{"1399570644":["hashtag1","hashtag2"]},{"1399570565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399570603, 1399570689, 1399570644, 1399570565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.76041865348816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:03:03.198960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:03:12.385941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:03:22.404314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/02/image_16122025_00_02_55_10687.jpg', '/home/pi/Desktop/images/16122025/00/02/image_16122025_00_03_04_9604.jpg', '/home/pi/Desktop/images/16122025/00/03/image_16122025_00_03_15_10602.jpg', '/home/pi/Desktop/images/16122025/00/03/image_16122025_00_03_45_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/02/image_16122025_00_02_55_10687.jpg
/home/pi/Desktop/images/16122025/00/02/image_16122025_00_03_04_9604.jpg
/home/pi/Desktop/images/16122025/00/03/image_16122025_00_03_15_10602.jpg
/home/pi/Desktop/images/16122025/00/03/image_16122025_00_03_45_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399570852","1399570819","1399570854","1399570848"],"photo_ids_order":["1399570819","1399570848","1399570852","1399570854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/553f0af9d73bb869dc05e4fbbaeca83c.jpg","text":"TemporaryFile(/tmp/multipartBody705317242565180925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839862968,"filename":"image_16122025_00_03_15_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff57a525c1770b35d68972d44a112faa.jpg","text":"TemporaryFile(/tmp/multipartBody4496378290975668951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839862968,"filename":"image_16122025_00_02_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/127dad62c6456e4bede25a5ccbbdda46.jpg","text":"TemporaryFile(/tmp/multipartBody8280895436363834716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839862968,"filename":"image_16122025_00_03_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a311f21abc825e4a085ad32a9ceb4c91.jpg","text":"TemporaryFile(/tmp/multipartBody4019436659779548769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839862968,"filename":"image_16122025_00_03_04_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399570852","file1":"1399570848","file0":"1399570819","file3":"1399570854"},"map_files_photo_id_array":[{"photo_id":"1399570852","filename":"file2"},{"photo_id":"1399570848","filename":"file1"},{"photo_id":"1399570819","filename":"file0"},{"photo_id":"1399570854","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399570852":["hashtag1","hashtag2"]},{"1399570819":["hashtag1","hashtag2"]},{"1399570854":["hashtag1","hashtag2"]},{"1399570848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399570852, 1399570819, 1399570854, 1399570848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.514191389083862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:04:03.389928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:04:12.672837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:04:22.663010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/03/image_16122025_00_03_54_9702.jpg', '/home/pi/Desktop/images/16122025/00/04/image_16122025_00_04_24_9689.jpg', '/home/pi/Desktop/images/16122025/00/04/image_16122025_00_04_45_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/03/image_16122025_00_03_54_9702.jpg
/home/pi/Desktop/images/16122025/00/04/image_16122025_00_04_24_9689.jpg
/home/pi/Desktop/images/16122025/00/04/image_16122025_00_04_45_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399570869","1399570862","1399570865"],"photo_ids_order":["1399570862","1399570865","1399570869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79a29ecf76f38d34449cb6c2400fdac5.jpg","text":"TemporaryFile(/tmp/multipartBody7095341832145470661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839923179,"filename":"image_16122025_00_04_45_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b16f8889ef61f84ff896577bb243394a.jpg","text":"TemporaryFile(/tmp/multipartBody998070171268313397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839923179,"filename":"image_16122025_00_03_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/16/a51604987874c6e47bdb8875ac0fb4b2.jpg","text":"TemporaryFile(/tmp/multipartBody4506592308934738539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839923179,"filename":"image_16122025_00_04_24_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399570869","file1":"1399570865","file0":"1399570862"},"map_files_photo_id_array":[{"photo_id":"1399570869","filename":"file2"},{"photo_id":"1399570865","filename":"file1"},{"photo_id":"1399570862","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399570869":["hashtag1","hashtag2"]},{"1399570862":["hashtag1","hashtag2"]},{"1399570865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399570869, 1399570862, 1399570865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.606707096099854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:05:02.589335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:05:12.050412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:05:21.900841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/04/image_16122025_00_04_54_9793.jpg', '/home/pi/Desktop/images/16122025/00/04/image_16122025_00_05_04_9561.jpg', '/home/pi/Desktop/images/16122025/00/05/image_16122025_00_05_14_9834.jpg', '/home/pi/Desktop/images/16122025/00/05/image_16122025_00_05_34_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/04/image_16122025_00_04_54_9793.jpg
/home/pi/Desktop/images/16122025/00/04/image_16122025_00_05_04_9561.jpg
/home/pi/Desktop/images/16122025/00/05/image_16122025_00_05_14_9834.jpg
/home/pi/Desktop/images/16122025/00/05/image_16122025_00_05_34_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399570884","1399570880","1399570883","1399570877"],"photo_ids_order":["1399570877","1399570880","1399570883","1399570884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e02a8e6eac8ad0319ff8359eaeb7973.jpg","text":"TemporaryFile(/tmp/multipartBody6769867146991119481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839982491,"filename":"image_16122025_00_05_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d95d417c44c5633e4cec5a8e02f7b13.jpg","text":"TemporaryFile(/tmp/multipartBody3050173904815262085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839982491,"filename":"image_16122025_00_05_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/16/805df4e4430feeb10bab2abbb88fffe1.jpg","text":"TemporaryFile(/tmp/multipartBody2759058285758892107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839982491,"filename":"image_16122025_00_05_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c441fb2ca78981471d042beca3679602.jpg","text":"TemporaryFile(/tmp/multipartBody2715880367252386201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839982491,"filename":"image_16122025_00_04_54_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399570883","file1":"1399570880","file0":"1399570877","file3":"1399570884"},"map_files_photo_id_array":[{"photo_id":"1399570883","filename":"file2"},{"photo_id":"1399570880","filename":"file1"},{"photo_id":"1399570877","filename":"file0"},{"photo_id":"1399570884","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399570884":["hashtag1","hashtag2"]},{"1399570880":["hashtag1","hashtag2"]},{"1399570883":["hashtag1","hashtag2"]},{"1399570877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399570884, 1399570880, 1399570883, 1399570877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.19666028022766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:06:02.745704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:06:12.373231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:06:22.363254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/05/image_16122025_00_05_54_10625.jpg', '/home/pi/Desktop/images/16122025/00/05/image_16122025_00_06_04_9865.jpg', '/home/pi/Desktop/images/16122025/00/06/image_16122025_00_06_25_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/05/image_16122025_00_05_54_10625.jpg
/home/pi/Desktop/images/16122025/00/05/image_16122025_00_06_04_9865.jpg
/home/pi/Desktop/images/16122025/00/06/image_16122025_00_06_25_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399571131","1399571206","1399571168"],"photo_ids_order":["1399571131","1399571168","1399571206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d8a04dae224875203d747def8987dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3759621165265907975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840042901,"filename":"image_16122025_00_05_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/520af5c8343bc207547f26dc9a655a97.jpg","text":"TemporaryFile(/tmp/multipartBody7834588529129229135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840042901,"filename":"image_16122025_00_06_25_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08bbe9be709c75d493f0cb6d95ad68d6.jpg","text":"TemporaryFile(/tmp/multipartBody8052226802163680701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840042901,"filename":"image_16122025_00_06_04_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399571206","file1":"1399571168","file0":"1399571131"},"map_files_photo_id_array":[{"photo_id":"1399571206","filename":"file2"},{"photo_id":"1399571168","filename":"file1"},{"photo_id":"1399571131","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399571131":["hashtag1","hashtag2"]},{"1399571206":["hashtag1","hashtag2"]},{"1399571168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399571131, 1399571206, 1399571168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.87393093109131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:07:03.381587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:07:12.537137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:07:22.575433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/06/image_16122025_00_06_34_9544.jpg', '/home/pi/Desktop/images/16122025/00/07/image_16122025_00_07_14_9627.jpg', '/home/pi/Desktop/images/16122025/00/07/image_16122025_00_07_35_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/06/image_16122025_00_06_34_9544.jpg
/home/pi/Desktop/images/16122025/00/07/image_16122025_00_07_14_9627.jpg
/home/pi/Desktop/images/16122025/00/07/image_16122025_00_07_35_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":["1399571506","1399571478","1399571543"],"photo_ids_order":["1399571478","1399571506","1399571543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/28161e62e72206c04ac51c2c52d2017e.jpg","text":"TemporaryFile(/tmp/multipartBody8636617102841704928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840103087,"filename":"image_16122025_00_07_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/16/be5824c5571e5e7fd3ca2ffd30289da7.jpg","text":"TemporaryFile(/tmp/multipartBody8944414193892895922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840103087,"filename":"image_16122025_00_06_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/16/6f1675ebbf8241bbb25dd06e19a44d0d.jpg","text":"TemporaryFile(/tmp/multipartBody7753500844249684255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840103087,"filename":"image_16122025_00_07_35_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399571543","file1":"1399571506","file0":"1399571478"},"map_files_photo_id_array":[{"photo_id":"1399571543","filename":"file2"},{"photo_id":"1399571506","filename":"file1"},{"photo_id":"1399571478","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399571506":["hashtag1","hashtag2"]},{"1399571478":["hashtag1","hashtag2"]},{"1399571543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399571506, 1399571478, 1399571543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.572484016418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:08:03.218577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:08:12.735818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:08:22.837677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/07/image_16122025_00_07_44_9608.jpg', '/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_14_9770.jpg', '/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_24_9700.jpg', '/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_35_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/07/image_16122025_00_07_44_9608.jpg
/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_14_9770.jpg
/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_24_9700.jpg
/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_35_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399571635","1399571638","1399571645","1399571633"],"photo_ids_order":["1399571633","1399571635","1399571638","1399571645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b5b6a2791a77d76287e90173744862e2.jpg","text":"TemporaryFile(/tmp/multipartBody7358587551558695969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840163394,"filename":"image_16122025_00_08_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f7d86cbee1d732855d178c17581ffa1.jpg","text":"TemporaryFile(/tmp/multipartBody8274410114637818393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840163394,"filename":"image_16122025_00_08_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11ee584e173418883f22d5b79aeaf398.jpg","text":"TemporaryFile(/tmp/multipartBody1988519411232220449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840163394,"filename":"image_16122025_00_08_35_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/16/6942e01ebb55372d4fc895251aeffec6.jpg","text":"TemporaryFile(/tmp/multipartBody9119974677585369680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840163394,"filename":"image_16122025_00_07_44_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399571638","file1":"1399571635","file0":"1399571633","file3":"1399571645"},"map_files_photo_id_array":[{"photo_id":"1399571638","filename":"file2"},{"photo_id":"1399571635","filename":"file1"},{"photo_id":"1399571633","filename":"file0"},{"photo_id":"1399571645","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399571635":["hashtag1","hashtag2"]},{"1399571638":["hashtag1","hashtag2"]},{"1399571645":["hashtag1","hashtag2"]},{"1399571633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399571635, 1399571638, 1399571645, 1399571633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.971237897872925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:09:03.127803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:09:12.128186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:09:22.048734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_54_9661.jpg', '/home/pi/Desktop/images/16122025/00/08/image_16122025_00_09_04_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/08/image_16122025_00_08_54_9661.jpg
/home/pi/Desktop/images/16122025/00/08/image_16122025_00_09_04_9745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399571672","1399571674"],"photo_ids_order":["1399571672","1399571674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee14aeec093e74bce4345eda35672ab1.jpg","text":"TemporaryFile(/tmp/multipartBody689705727316942358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840222537,"filename":"image_16122025_00_08_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/16/00ebc28079c376a3af4b652a87622028.jpg","text":"TemporaryFile(/tmp/multipartBody4236068354531044842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840222537,"filename":"image_16122025_00_09_04_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399571674","file0":"1399571672"},"map_files_photo_id_array":[{"photo_id":"1399571674","filename":"file1"},{"photo_id":"1399571672","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399571672":["hashtag1","hashtag2"]},{"1399571674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399571672, 1399571674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.313533544540405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:09:42.142291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_58_2630.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_01_2756.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_04_3570.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_07_2734.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_10_2564.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_16_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/11/image_06112025_14_11_58_2630.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_01_2756.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_04_3570.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_07_2734.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_10_2564.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_16_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":["1399571683","1399571682","1399571685","1399571679","1399571681","1399571684"],"photo_ids_order":["1399571679","1399571681","1399571682","1399571683","1399571684","1399571685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3290cf77f99dcf47f4fe91482c93f97.jpg","text":"TemporaryFile(/tmp/multipartBody5778099842109178332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840242807,"filename":"image_06112025_14_12_07_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e4ff326cacfe185b7619fd403d61fdd.jpg","text":"TemporaryFile(/tmp/multipartBody677718992821360183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840242807,"filename":"image_06112025_14_12_04_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/16/ae867fb5b85564f8deb83878166891cb.jpg","text":"TemporaryFile(/tmp/multipartBody5156900041939735035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840242807,"filename":"image_06112025_14_12_16_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/16/dae8d6819304c96ab4d0df1ac39a671c.jpg","text":"TemporaryFile(/tmp/multipartBody7951910945394839901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840242807,"filename":"image_06112025_14_11_58_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/16/6fd081407baf77cbbfcee6d6d08b570f.jpg","text":"TemporaryFile(/tmp/multipartBody1671538538199397480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840242807,"filename":"image_06112025_14_12_01_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/16/b83b0e7207954bc72c1c5487468bc060.jpg","text":"TemporaryFile(/tmp/multipartBody2195035959510487395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840242807,"filename":"image_06112025_14_12_10_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399571682","file1":"1399571681","file0":"1399571679","file4":"1399571684","file5":"1399571685","file3":"1399571683"},"map_files_photo_id_array":[{"photo_id":"1399571685","filename":"file5"},{"photo_id":"1399571682","filename":"file2"},{"photo_id":"1399571684","filename":"file4"},{"photo_id":"1399571681","filename":"file1"},{"photo_id":"1399571679","filename":"file0"},{"photo_id":"1399571683","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399571683":["hashtag1","hashtag2"]},{"1399571682":["hashtag1","hashtag2"]},{"1399571685":["hashtag1","hashtag2"]},{"1399571679":["hashtag1","hashtag2"]},{"1399571681":["hashtag1","hashtag2"]},{"1399571684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399571683, 1399571682, 1399571685, 1399571679, 1399571681, 1399571684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90866446495056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:10:22.459285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/09/image_16122025_00_09_15_10735.jpg', '/home/pi/Desktop/images/16122025/00/10/image_16122025_00_10_14_9816.jpg', '/home/pi/Desktop/images/16122025/00/10/image_16122025_00_10_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/09/image_16122025_00_09_15_10735.jpg
/home/pi/Desktop/images/16122025/00/10/image_16122025_00_10_14_9816.jpg
/home/pi/Desktop/images/16122025/00/10/image_16122025_00_10_24_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399571926","1399572036","1399571977"],"photo_ids_order":["1399571926","1399571977","1399572036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20c43f0e903f4deca981ca59b4547902.jpg","text":"TemporaryFile(/tmp/multipartBody1483165033168082233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840282979,"filename":"image_16122025_00_09_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/16/16cada2400692dc73d0448327846e7fb.jpg","text":"TemporaryFile(/tmp/multipartBody7312089199722990854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840282979,"filename":"image_16122025_00_10_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/16/27dbc5b4f39cbdc6bac3f6a797d5a8c6.jpg","text":"TemporaryFile(/tmp/multipartBody4473227894320628411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840282979,"filename":"image_16122025_00_10_14_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399572036","file1":"1399571977","file0":"1399571926"},"map_files_photo_id_array":[{"photo_id":"1399572036","filename":"file2"},{"photo_id":"1399571977","filename":"file1"},{"photo_id":"1399571926","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399571926":["hashtag1","hashtag2"]},{"1399572036":["hashtag1","hashtag2"]},{"1399571977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399571926, 1399572036, 1399571977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.8133602142334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:11:03.257576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:11:12.639151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:11:22.649766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/10/image_16122025_00_10_44_9723.jpg', '/home/pi/Desktop/images/16122025/00/10/image_16122025_00_11_05_10633.jpg', '/home/pi/Desktop/images/16122025/00/11/image_16122025_00_11_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/10/image_16122025_00_10_44_9723.jpg
/home/pi/Desktop/images/16122025/00/10/image_16122025_00_11_05_10633.jpg
/home/pi/Desktop/images/16122025/00/11/image_16122025_00_11_24_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399572494","1399572452","1399572529"],"photo_ids_order":["1399572452","1399572494","1399572529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/176ef3d46ce7bf92bc6012e992e9ddcf.jpg","text":"TemporaryFile(/tmp/multipartBody4648723991205261479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840343164,"filename":"image_16122025_00_11_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b54b50abc3ef2c468c8718ce47996219.jpg","text":"TemporaryFile(/tmp/multipartBody453380371185856540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840343164,"filename":"image_16122025_00_10_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a70215cf53bc598da6ed66e6f156d320.jpg","text":"TemporaryFile(/tmp/multipartBody206265844427188139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840343164,"filename":"image_16122025_00_11_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399572529","file1":"1399572494","file0":"1399572452"},"map_files_photo_id_array":[{"photo_id":"1399572529","filename":"file2"},{"photo_id":"1399572494","filename":"file1"},{"photo_id":"1399572452","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399572494":["hashtag1","hashtag2"]},{"1399572452":["hashtag1","hashtag2"]},{"1399572529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399572494, 1399572452, 1399572529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.62786841392517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:12:02.363303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:12:11.983587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:12:21.927200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/11/image_16122025_00_11_34_9701.jpg', '/home/pi/Desktop/images/16122025/00/11/image_16122025_00_12_04_9918.jpg', '/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_14_9702.jpg', '/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_25_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/11/image_16122025_00_11_34_9701.jpg
/home/pi/Desktop/images/16122025/00/11/image_16122025_00_12_04_9918.jpg
/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_14_9702.jpg
/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_25_10771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4537069797515869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:12:31.895948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:12:41.863909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_19_2635.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_22_3084.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_25_3758.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_28_2566.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_31_3541.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_34_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_19_2635.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_22_3084.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_25_3758.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_28_2566.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_31_3541.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_34_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":["1399572724","1399572723","1399572773","1399572737","1399572725","1399572719"],"photo_ids_order":["1399572719","1399572723","1399572724","1399572725","1399572737","1399572773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3ccf91cbe001fd95446e84674600563.jpg","text":"TemporaryFile(/tmp/multipartBody7517430359417173239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840422547,"filename":"image_06112025_14_12_25_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8c5f4810306449042f38a38025b5863.jpg","text":"TemporaryFile(/tmp/multipartBody5041659243898023882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840422547,"filename":"image_06112025_14_12_22_3084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3ac59378f50a0d815a9a85e4bdb520e.jpg","text":"TemporaryFile(/tmp/multipartBody6564932157851455104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840422547,"filename":"image_06112025_14_12_34_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/16/e3fb743d762901cfc5761ac10762cbfa.jpg","text":"TemporaryFile(/tmp/multipartBody6221562315631723739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840422547,"filename":"image_06112025_14_12_31_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/429dea7ba4452d7588a65cd765e947c0.jpg","text":"TemporaryFile(/tmp/multipartBody4332014568717291343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840422547,"filename":"image_06112025_14_12_28_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/16/7f025be2d35b8f3641b72ed85d5a0f43.jpg","text":"TemporaryFile(/tmp/multipartBody8034429450766588557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840422547,"filename":"image_06112025_14_12_19_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399572724","file1":"1399572723","file0":"1399572719","file4":"1399572737","file5":"1399572773","file3":"1399572725"},"map_files_photo_id_array":[{"photo_id":"1399572773","filename":"file5"},{"photo_id":"1399572724","filename":"file2"},{"photo_id":"1399572737","filename":"file4"},{"photo_id":"1399572723","filename":"file1"},{"photo_id":"1399572719","filename":"file0"},{"photo_id":"1399572725","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399572724":["hashtag1","hashtag2"]},{"1399572723":["hashtag1","hashtag2"]},{"1399572773":["hashtag1","hashtag2"]},{"1399572737":["hashtag1","hashtag2"]},{"1399572725":["hashtag1","hashtag2"]},{"1399572719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399572724, 1399572723, 1399572773, 1399572737, 1399572725, 1399572719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43170690536499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:13:22.155863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/11/image_16122025_00_11_34_9701.jpg', '/home/pi/Desktop/images/16122025/00/11/image_16122025_00_12_04_9918.jpg', '/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_14_9702.jpg', '/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_25_10771.jpg', '/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_44_9852.jpg', '/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_15_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/11/image_16122025_00_11_34_9701.jpg
/home/pi/Desktop/images/16122025/00/11/image_16122025_00_12_04_9918.jpg
/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_14_9702.jpg
/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_25_10771.jpg
/home/pi/Desktop/images/16122025/00/12/image_16122025_00_12_44_9852.jpg
/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_15_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":["1399572987","1399573023","1399573054","1399573063","1399572949","1399572913"],"photo_ids_order":["1399572913","1399572949","1399572987","1399573023","1399573054","1399573063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/407d5c17f6727819831edbc87605a058.jpg","text":"TemporaryFile(/tmp/multipartBody1038359231144820124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840462808,"filename":"image_16122025_00_12_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/16/1bb8b622fa02de32772deed98b763c3e.jpg","text":"TemporaryFile(/tmp/multipartBody8671947228958839964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840462808,"filename":"image_16122025_00_12_25_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6758fea25d93dc1b77edd43d9e7891bc.jpg","text":"TemporaryFile(/tmp/multipartBody320390281160394652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840462808,"filename":"image_16122025_00_12_44_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/16/b0ef6297d764f003d3789778ba542134.jpg","text":"TemporaryFile(/tmp/multipartBody6508175768719428262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840462808,"filename":"image_16122025_00_13_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db36af5bb1862124757e58f670310b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6048416350180028116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840462808,"filename":"image_16122025_00_12_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/16/21095de459bdcdf256e83babed4a420f.jpg","text":"TemporaryFile(/tmp/multipartBody7273452620171788585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840462808,"filename":"image_16122025_00_11_34_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399572987","file1":"1399572949","file0":"1399572913","file4":"1399573054","file5":"1399573063","file3":"1399573023"},"map_files_photo_id_array":[{"photo_id":"1399573063","filename":"file5"},{"photo_id":"1399572987","filename":"file2"},{"photo_id":"1399573054","filename":"file4"},{"photo_id":"1399572949","filename":"file1"},{"photo_id":"1399572913","filename":"file0"},{"photo_id":"1399573023","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399572987":["hashtag1","hashtag2"]},{"1399573023":["hashtag1","hashtag2"]},{"1399573054":["hashtag1","hashtag2"]},{"1399573063":["hashtag1","hashtag2"]},{"1399572949":["hashtag1","hashtag2"]},{"1399572913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399572987, 1399573023, 1399573054, 1399573063, 1399572949, 1399572913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.667227268218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:14:03.092971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_24_9928.jpg', '/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_24_9928.jpg
/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_44_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573116","1399573120"],"photo_ids_order":["1399573116","1399573120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/745149b412228cb1855a77184694c349.jpg","text":"TemporaryFile(/tmp/multipartBody5352396733289720104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840503613,"filename":"image_16122025_00_13_24_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/abc30c583e2822dee4975570fef27e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1991893136753501249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840503613,"filename":"image_16122025_00_13_44_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399573120","file0":"1399573116"},"map_files_photo_id_array":[{"photo_id":"1399573120","filename":"file1"},{"photo_id":"1399573116","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573116":["hashtag1","hashtag2"]},{"1399573120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573116, 1399573120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.994235038757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:14:32.365312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:14:42.315223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_37_2645.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_40_3595.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_43_2633.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_49_3515.jpg', '/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_58_8765.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_02_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_37_2645.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_40_3595.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_43_2633.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_49_3515.jpg
/home/pi/Desktop/images/06112025/14/12/image_06112025_14_12_58_8765.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_02_1565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573178","1399573172","1399573177","1399573176","1399573179","1399573170"],"photo_ids_order":["1399573170","1399573172","1399573176","1399573177","1399573178","1399573179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d2c0b21796c5fb8554480a20042ac2a4.jpg","text":"TemporaryFile(/tmp/multipartBody3368407990887355846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840543005,"filename":"image_06112025_14_12_58_8765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/334db50d64fdd09a8c91070085f95bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1599622861023317902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840543005,"filename":"image_06112025_14_12_40_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae51b713282049eafa9851bedb4183f4.jpg","text":"TemporaryFile(/tmp/multipartBody7805751004297832362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840543005,"filename":"image_06112025_14_12_49_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/16/c957aa8718733aa59632093df4c9be37.jpg","text":"TemporaryFile(/tmp/multipartBody2590392102245121161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840543005,"filename":"image_06112025_14_12_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/16/53aa574c0892496fc3eb2fe6cc0825d2.jpg","text":"TemporaryFile(/tmp/multipartBody4182051624811194148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840543005,"filename":"image_06112025_14_13_02_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/16/7f8a7293baf22e1ad0d365fc9bb9a469.jpg","text":"TemporaryFile(/tmp/multipartBody7042775247364411524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840543005,"filename":"image_06112025_14_12_37_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573176","file1":"1399573172","file0":"1399573170","file4":"1399573178","file5":"1399573179","file3":"1399573177"},"map_files_photo_id_array":[{"photo_id":"1399573179","filename":"file5"},{"photo_id":"1399573176","filename":"file2"},{"photo_id":"1399573178","filename":"file4"},{"photo_id":"1399573172","filename":"file1"},{"photo_id":"1399573170","filename":"file0"},{"photo_id":"1399573177","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573178":["hashtag1","hashtag2"]},{"1399573172":["hashtag1","hashtag2"]},{"1399573177":["hashtag1","hashtag2"]},{"1399573176":["hashtag1","hashtag2"]},{"1399573179":["hashtag1","hashtag2"]},{"1399573170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573178, 1399573172, 1399573177, 1399573176, 1399573179, 1399573170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.687097787857056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:15:22.563458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_55_10644.jpg', '/home/pi/Desktop/images/16122025/00/14/image_16122025_00_14_24_9661.jpg', '/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_35_10653.jpg', '/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_44_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/13/image_16122025_00_13_55_10644.jpg
/home/pi/Desktop/images/16122025/00/14/image_16122025_00_14_24_9661.jpg
/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_35_10653.jpg
/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_44_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":["1399573188","1399573190","1399573191","1399573185"],"photo_ids_order":["1399573185","1399573188","1399573190","1399573191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6319e25b611b9f110e4e4fb2fbc9ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody4331116129776079786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840583126,"filename":"image_16122025_00_14_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/16/382db0f3fd5c2902a346d303cdcc055d.jpg","text":"TemporaryFile(/tmp/multipartBody1812786594134309732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840583126,"filename":"image_16122025_00_15_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/899c2a2464105ef37f9ff4826dc113be.jpg","text":"TemporaryFile(/tmp/multipartBody2563719944425640355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840583126,"filename":"image_16122025_00_15_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/16/154e2ea8dd9cda07d023c695c4820114.jpg","text":"TemporaryFile(/tmp/multipartBody7556310825379160782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840583126,"filename":"image_16122025_00_13_55_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573190","file1":"1399573188","file0":"1399573185","file3":"1399573191"},"map_files_photo_id_array":[{"photo_id":"1399573190","filename":"file2"},{"photo_id":"1399573188","filename":"file1"},{"photo_id":"1399573185","filename":"file0"},{"photo_id":"1399573191","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573188":["hashtag1","hashtag2"]},{"1399573190":["hashtag1","hashtag2"]},{"1399573191":["hashtag1","hashtag2"]},{"1399573185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573188, 1399573190, 1399573191, 1399573185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.036813974380493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:16:02.243819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:16:11.791853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:16:21.842123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_54_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_54_9651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3251078128814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:16:32.436891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:16:41.886076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_18_16026.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_22_3295.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_23_1615.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_25_1609.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_27_1600.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_28_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_18_16026.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_22_3295.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_23_1615.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_25_1609.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_27_1600.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_28_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":["1399573221","1399573218","1399573220","1399573216","1399573231","1399573219"],"photo_ids_order":["1399573216","1399573218","1399573219","1399573220","1399573221","1399573231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8feb9e44f91ff3e462e9ed9089b8d68.jpg","text":"TemporaryFile(/tmp/multipartBody2972342322575663851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840662616,"filename":"image_06112025_14_13_27_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/16/921f7042973b577d5eba3e0af320bef8.jpg","text":"TemporaryFile(/tmp/multipartBody5128990034818699792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840662616,"filename":"image_06112025_14_13_22_3295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77858f06dd6c9c8f2c56db93d3d772ba.jpg","text":"TemporaryFile(/tmp/multipartBody8370432266635750310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840662616,"filename":"image_06112025_14_13_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/16/0625d00dfc24b86ce7849003f1b4553e.jpg","text":"TemporaryFile(/tmp/multipartBody4934246212846909031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840662616,"filename":"image_06112025_14_13_18_16026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a93434b8ce140a37758580dd07d2948.jpg","text":"TemporaryFile(/tmp/multipartBody4888667732941555347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840662616,"filename":"image_06112025_14_13_28_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/16/9ba145407070829b5d09bd1d3a273c73.jpg","text":"TemporaryFile(/tmp/multipartBody5734268515369438433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840662616,"filename":"image_06112025_14_13_23_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573219","file1":"1399573218","file0":"1399573216","file4":"1399573221","file5":"1399573231","file3":"1399573220"},"map_files_photo_id_array":[{"photo_id":"1399573231","filename":"file5"},{"photo_id":"1399573219","filename":"file2"},{"photo_id":"1399573221","filename":"file4"},{"photo_id":"1399573218","filename":"file1"},{"photo_id":"1399573216","filename":"file0"},{"photo_id":"1399573220","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573221":["hashtag1","hashtag2"]},{"1399573218":["hashtag1","hashtag2"]},{"1399573220":["hashtag1","hashtag2"]},{"1399573216":["hashtag1","hashtag2"]},{"1399573231":["hashtag1","hashtag2"]},{"1399573219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573221, 1399573218, 1399573220, 1399573216, 1399573231, 1399573219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82631754875183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:17:22.143843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_54_9651.jpg', '/home/pi/Desktop/images/16122025/00/15/image_16122025_00_16_05_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/15/image_16122025_00_15_54_9651.jpg
/home/pi/Desktop/images/16122025/00/15/image_16122025_00_16_05_10585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573238","1399573240"],"photo_ids_order":["1399573238","1399573240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da038eedef720f063144fb1f8b7b1f98.jpg","text":"TemporaryFile(/tmp/multipartBody1690919945029038966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840702614,"filename":"image_16122025_00_15_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/16/0221442fde0c5fdeb6a06b52a5aea39d.jpg","text":"TemporaryFile(/tmp/multipartBody6600627418432926414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840702614,"filename":"image_16122025_00_16_05_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399573240","file0":"1399573238"},"map_files_photo_id_array":[{"photo_id":"1399573240","filename":"file1"},{"photo_id":"1399573238","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573238":["hashtag1","hashtag2"]},{"1399573240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573238, 1399573240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.898932218551636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:17:42.078979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_30_1644.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_31_1662.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_33_1800.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_35_1621.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_36_1517.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_38_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_30_1644.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_31_1662.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_33_1800.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_35_1621.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_36_1517.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_38_1596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573260","1399573256","1399573253","1399573255","1399573249","1399573258"],"photo_ids_order":["1399573249","1399573253","1399573255","1399573256","1399573258","1399573260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e96fe958d8227f7459574fb2d769c489.jpg","text":"TemporaryFile(/tmp/multipartBody4293222671767934908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840722783,"filename":"image_06112025_14_13_38_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/16/2711290aa06e726b3cebd2e74f6857ab.jpg","text":"TemporaryFile(/tmp/multipartBody2213157373666611098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840722783,"filename":"image_06112025_14_13_35_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/16/071c86d40e316611187246a241709493.jpg","text":"TemporaryFile(/tmp/multipartBody7004779168812218145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840722783,"filename":"image_06112025_14_13_31_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/16/14e52087c43fc602f9a68548113b08ed.jpg","text":"TemporaryFile(/tmp/multipartBody3313321259553050343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840722783,"filename":"image_06112025_14_13_33_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0afe8ec38ad2add644fa7a72cf7ddf9d.jpg","text":"TemporaryFile(/tmp/multipartBody7944560966089744159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840722783,"filename":"image_06112025_14_13_30_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/16/effba6e27f7c6d69f591dd2ee39b4a65.jpg","text":"TemporaryFile(/tmp/multipartBody4819513221082962132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840722783,"filename":"image_06112025_14_13_36_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573255","file1":"1399573253","file0":"1399573249","file4":"1399573258","file5":"1399573260","file3":"1399573256"},"map_files_photo_id_array":[{"photo_id":"1399573260","filename":"file5"},{"photo_id":"1399573255","filename":"file2"},{"photo_id":"1399573258","filename":"file4"},{"photo_id":"1399573253","filename":"file1"},{"photo_id":"1399573249","filename":"file0"},{"photo_id":"1399573256","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573260":["hashtag1","hashtag2"]},{"1399573256":["hashtag1","hashtag2"]},{"1399573253":["hashtag1","hashtag2"]},{"1399573255":["hashtag1","hashtag2"]},{"1399573249":["hashtag1","hashtag2"]},{"1399573258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573260, 1399573256, 1399573253, 1399573255, 1399573249, 1399573258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88876032829285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:18:22.353579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/17/image_16122025_00_17_55_10597.jpg', '/home/pi/Desktop/images/16122025/00/18/image_16122025_00_18_14_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/17/image_16122025_00_17_55_10597.jpg
/home/pi/Desktop/images/16122025/00/18/image_16122025_00_18_14_9751.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3697948455810547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:18:32.395528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:18:42.351302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_40_1592.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_41_1538.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_43_1602.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_45_2669.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_49_3605.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_52_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_40_1592.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_41_1538.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_43_1602.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_45_2669.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_49_3605.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_52_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573287","1399573283","1399573277","1399573285","1399573279","1399573284"],"photo_ids_order":["1399573277","1399573279","1399573283","1399573284","1399573285","1399573287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e079ec2b11a1ff1a53f60c097dd39f52.jpg","text":"TemporaryFile(/tmp/multipartBody5999770520773075072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840783055,"filename":"image_06112025_14_13_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/16/fba442ab01390f8bf6efead7bd292f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1356239452144011235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840783055,"filename":"image_06112025_14_13_43_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/16/2d3341b5332552fcde5d019093789a13.jpg","text":"TemporaryFile(/tmp/multipartBody3968933808708671854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840783055,"filename":"image_06112025_14_13_40_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/16/88490e3919c08a81f7e20be0ad37d78d.jpg","text":"TemporaryFile(/tmp/multipartBody902403012609149547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840783055,"filename":"image_06112025_14_13_49_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/16/ec3df8bfc6ce7c448fa3bf1f4360600d.jpg","text":"TemporaryFile(/tmp/multipartBody7832010021625588432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840783055,"filename":"image_06112025_14_13_41_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62e4c9813093a4b9989654bdd4e817de.jpg","text":"TemporaryFile(/tmp/multipartBody2015119723506785602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840783055,"filename":"image_06112025_14_13_45_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573283","file1":"1399573279","file0":"1399573277","file4":"1399573285","file5":"1399573287","file3":"1399573284"},"map_files_photo_id_array":[{"photo_id":"1399573287","filename":"file5"},{"photo_id":"1399573283","filename":"file2"},{"photo_id":"1399573285","filename":"file4"},{"photo_id":"1399573279","filename":"file1"},{"photo_id":"1399573277","filename":"file0"},{"photo_id":"1399573284","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573287":["hashtag1","hashtag2"]},{"1399573283":["hashtag1","hashtag2"]},{"1399573277":["hashtag1","hashtag2"]},{"1399573285":["hashtag1","hashtag2"]},{"1399573279":["hashtag1","hashtag2"]},{"1399573284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573287, 1399573283, 1399573277, 1399573285, 1399573279, 1399573284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15542411804199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:19:32.588940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:19:42.689397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_55_3657.jpg', '/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_58_2745.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_01_2667.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_04_2764.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_07_3642.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_10_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_55_3657.jpg
/home/pi/Desktop/images/06112025/14/13/image_06112025_14_13_58_2745.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_01_2667.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_04_2764.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_07_3642.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_10_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573302","1399573297","1399573301","1399573300","1399573303","1399573299"],"photo_ids_order":["1399573297","1399573299","1399573300","1399573301","1399573302","1399573303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9913b3af83455da2e1329ecbdaa6f708.jpg","text":"TemporaryFile(/tmp/multipartBody7413422327665522189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840843418,"filename":"image_06112025_14_14_07_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/16/3258270791b79e2db9ada048c7560009.jpg","text":"TemporaryFile(/tmp/multipartBody2769167732701408577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840843418,"filename":"image_06112025_14_13_55_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da8a9123e1fad576fefe65117590e292.jpg","text":"TemporaryFile(/tmp/multipartBody2126145929811604696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840843418,"filename":"image_06112025_14_14_04_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/16/c99c0c4e48bf8ad9f111a561fc25a24c.jpg","text":"TemporaryFile(/tmp/multipartBody7330847157228427686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840843418,"filename":"image_06112025_14_14_01_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/16/759d7eaef329db1456c24cfda5530511.jpg","text":"TemporaryFile(/tmp/multipartBody7270886394326260417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840843418,"filename":"image_06112025_14_14_10_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/16/217da4e6160beb7655d8e5b80adf9022.jpg","text":"TemporaryFile(/tmp/multipartBody5374993013997840205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840843418,"filename":"image_06112025_14_13_58_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573300","file1":"1399573299","file0":"1399573297","file4":"1399573302","file5":"1399573303","file3":"1399573301"},"map_files_photo_id_array":[{"photo_id":"1399573303","filename":"file5"},{"photo_id":"1399573300","filename":"file2"},{"photo_id":"1399573302","filename":"file4"},{"photo_id":"1399573299","filename":"file1"},{"photo_id":"1399573297","filename":"file0"},{"photo_id":"1399573301","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573302":["hashtag1","hashtag2"]},{"1399573297":["hashtag1","hashtag2"]},{"1399573301":["hashtag1","hashtag2"]},{"1399573300":["hashtag1","hashtag2"]},{"1399573303":["hashtag1","hashtag2"]},{"1399573299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573302, 1399573297, 1399573301, 1399573300, 1399573303, 1399573299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94431924819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:20:21.970650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/17/image_16122025_00_17_55_10597.jpg', '/home/pi/Desktop/images/16122025/00/18/image_16122025_00_18_14_9751.jpg', '/home/pi/Desktop/images/16122025/00/18/image_16122025_00_18_24_9655.jpg', '/home/pi/Desktop/images/16122025/00/19/image_16122025_00_19_34_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/17/image_16122025_00_17_55_10597.jpg
/home/pi/Desktop/images/16122025/00/18/image_16122025_00_18_14_9751.jpg
/home/pi/Desktop/images/16122025/00/18/image_16122025_00_18_24_9655.jpg
/home/pi/Desktop/images/16122025/00/19/image_16122025_00_19_34_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573311","1399573314","1399573308","1399573316"],"photo_ids_order":["1399573308","1399573311","1399573314","1399573316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42cd82c122e7be76084244c87786aaac.jpg","text":"TemporaryFile(/tmp/multipartBody7722405697891180927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840882538,"filename":"image_16122025_00_18_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/16/f9db030f62a44d1fdf5624eb3f25d9e6.jpg","text":"TemporaryFile(/tmp/multipartBody4091865515758902562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840882538,"filename":"image_16122025_00_18_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d4e5519a0b71583b8686c1908a8362b.jpg","text":"TemporaryFile(/tmp/multipartBody3509120861142212211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840882538,"filename":"image_16122025_00_17_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/16/5e75ba71388d691f2f4850fb0cbfe70f.jpg","text":"TemporaryFile(/tmp/multipartBody1044169213486413478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840882538,"filename":"image_16122025_00_19_34_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573314","file1":"1399573311","file0":"1399573308","file3":"1399573316"},"map_files_photo_id_array":[{"photo_id":"1399573314","filename":"file2"},{"photo_id":"1399573311","filename":"file1"},{"photo_id":"1399573308","filename":"file0"},{"photo_id":"1399573316","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573311":["hashtag1","hashtag2"]},{"1399573314":["hashtag1","hashtag2"]},{"1399573308":["hashtag1","hashtag2"]},{"1399573316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573311, 1399573314, 1399573308, 1399573316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.881558656692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:21:02.742479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:21:12.288777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:21:22.245806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/19/image_16122025_00_19_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/19/image_16122025_00_19_44_9797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573342"],"photo_id":"1399573342","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18bee509a6b05b6c9b909fd57305049e.jpg","text":"TemporaryFile(/tmp/multipartBody2423420747878144865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840942679,"filename":"image_16122025_00_19_44_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399573342"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399573342"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.054780006408691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:21:42.151484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_12_2669.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_16_3709.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_19_2685.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_21_2538.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_25_3720.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_28_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_12_2669.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_16_3709.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_19_2685.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_21_2538.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_25_3720.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_28_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":["1399573350","1399573353","1399573352","1399573351","1399573354","1399573348"],"photo_ids_order":["1399573348","1399573350","1399573351","1399573352","1399573353","1399573354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bb85ec8a8197b25014b8e66fad6d18a.jpg","text":"TemporaryFile(/tmp/multipartBody3354377528758457222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840962854,"filename":"image_06112025_14_14_16_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d632c1f5960f94f97a8e9d39d934a287.jpg","text":"TemporaryFile(/tmp/multipartBody6639696780098954145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840962854,"filename":"image_06112025_14_14_25_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/16/7045db608c2e401d67278fe11d7c6390.jpg","text":"TemporaryFile(/tmp/multipartBody9031952012636725342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840962854,"filename":"image_06112025_14_14_21_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/16/fd15b565150fc97855f4a75a8b217c07.jpg","text":"TemporaryFile(/tmp/multipartBody3593518206007745533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840962854,"filename":"image_06112025_14_14_19_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/16/dadf408be28b5f40878bece210f59c93.jpg","text":"TemporaryFile(/tmp/multipartBody4597766841141212436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840962854,"filename":"image_06112025_14_14_28_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21355b051e6eff18fa84c14bdec66c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1522644465071899265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765840962854,"filename":"image_06112025_14_14_12_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573351","file1":"1399573350","file0":"1399573348","file4":"1399573353","file5":"1399573354","file3":"1399573352"},"map_files_photo_id_array":[{"photo_id":"1399573354","filename":"file5"},{"photo_id":"1399573351","filename":"file2"},{"photo_id":"1399573353","filename":"file4"},{"photo_id":"1399573350","filename":"file1"},{"photo_id":"1399573348","filename":"file0"},{"photo_id":"1399573352","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573350":["hashtag1","hashtag2"]},{"1399573353":["hashtag1","hashtag2"]},{"1399573352":["hashtag1","hashtag2"]},{"1399573351":["hashtag1","hashtag2"]},{"1399573354":["hashtag1","hashtag2"]},{"1399573348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573350, 1399573353, 1399573352, 1399573351, 1399573354, 1399573348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44258427619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:22:22.433229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/21/image_16122025_00_21_55_9863.jpg', '/home/pi/Desktop/images/16122025/00/21/image_16122025_00_22_04_9710.jpg', '/home/pi/Desktop/images/16122025/00/22/image_16122025_00_22_44_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/21/image_16122025_00_21_55_9863.jpg
/home/pi/Desktop/images/16122025/00/21/image_16122025_00_22_04_9710.jpg
/home/pi/Desktop/images/16122025/00/22/image_16122025_00_22_44_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573359","1399573360","1399573362"],"photo_ids_order":["1399573359","1399573360","1399573362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c396a8ac978dd6891f7375499fad0fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4530189687840670478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841002970,"filename":"image_16122025_00_21_55_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/16/bb6092cd5ebd905984cd017826334952.jpg","text":"TemporaryFile(/tmp/multipartBody3833705133552029338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841002970,"filename":"image_16122025_00_22_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/16/83017d46c976ab34f7508ae190c234eb.jpg","text":"TemporaryFile(/tmp/multipartBody1137141787913905075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841002970,"filename":"image_16122025_00_22_44_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573362","file1":"1399573360","file0":"1399573359"},"map_files_photo_id_array":[{"photo_id":"1399573362","filename":"file2"},{"photo_id":"1399573360","filename":"file1"},{"photo_id":"1399573359","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573359":["hashtag1","hashtag2"]},{"1399573360":["hashtag1","hashtag2"]},{"1399573362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573359, 1399573360, 1399573362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.712010145187378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:23:03.245535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:23:12.607620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:23:22.673453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/22/image_16122025_00_22_54_9756.jpg', '/home/pi/Desktop/images/16122025/00/23/image_16122025_00_23_45_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/22/image_16122025_00_22_54_9756.jpg
/home/pi/Desktop/images/16122025/00/23/image_16122025_00_23_45_10698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3807065486907959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:23:32.620194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:23:42.662096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_30_2617.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_34_3640.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_37_2688.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_39_2750.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_43_3758.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_46_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_30_2617.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_34_3640.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_37_2688.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_39_2750.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_43_3758.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_46_2833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573410","1399573407","1399573409","1399573408","1399573402","1399573405"],"photo_ids_order":["1399573402","1399573405","1399573407","1399573408","1399573409","1399573410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/457a88a11d45d1e68bdb946b3ef43ef7.jpg","text":"TemporaryFile(/tmp/multipartBody234590836369251806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841083442,"filename":"image_06112025_14_14_46_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/16/bdf446ae042a774cd8e86e1ade6a8859.jpg","text":"TemporaryFile(/tmp/multipartBody1409527005194204324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841083442,"filename":"image_06112025_14_14_37_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/16/f494116a9cbbfa950d51ca6db4b92678.jpg","text":"TemporaryFile(/tmp/multipartBody3404300814026368630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841083442,"filename":"image_06112025_14_14_43_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cded0975ee918355345be1953ea939db.jpg","text":"TemporaryFile(/tmp/multipartBody650891185303566974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841083442,"filename":"image_06112025_14_14_39_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/16/dbf229f02da053e8be357304456ea73b.jpg","text":"TemporaryFile(/tmp/multipartBody8251185311378430707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841083442,"filename":"image_06112025_14_14_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/16/8d14861970812e70e2261c320446245c.jpg","text":"TemporaryFile(/tmp/multipartBody1243826693743063796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841083442,"filename":"image_06112025_14_14_34_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573407","file1":"1399573405","file0":"1399573402","file4":"1399573409","file5":"1399573410","file3":"1399573408"},"map_files_photo_id_array":[{"photo_id":"1399573410","filename":"file5"},{"photo_id":"1399573407","filename":"file2"},{"photo_id":"1399573409","filename":"file4"},{"photo_id":"1399573405","filename":"file1"},{"photo_id":"1399573402","filename":"file0"},{"photo_id":"1399573408","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573410":["hashtag1","hashtag2"]},{"1399573407":["hashtag1","hashtag2"]},{"1399573409":["hashtag1","hashtag2"]},{"1399573408":["hashtag1","hashtag2"]},{"1399573402":["hashtag1","hashtag2"]},{"1399573405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573410, 1399573407, 1399573409, 1399573408, 1399573402, 1399573405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65090560913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:24:21.954152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/22/image_16122025_00_22_54_9756.jpg', '/home/pi/Desktop/images/16122025/00/23/image_16122025_00_23_45_10698.jpg', '/home/pi/Desktop/images/16122025/00/23/image_16122025_00_23_54_9702.jpg', '/home/pi/Desktop/images/16122025/00/24/image_16122025_00_24_15_10619.jpg', '/home/pi/Desktop/images/16122025/00/24/image_16122025_00_24_24_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/22/image_16122025_00_22_54_9756.jpg
/home/pi/Desktop/images/16122025/00/23/image_16122025_00_23_45_10698.jpg
/home/pi/Desktop/images/16122025/00/23/image_16122025_00_23_54_9702.jpg
/home/pi/Desktop/images/16122025/00/24/image_16122025_00_24_15_10619.jpg
/home/pi/Desktop/images/16122025/00/24/image_16122025_00_24_24_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573422","1399573416","1399573418","1399573420","1399573414"],"photo_ids_order":["1399573414","1399573416","1399573418","1399573420","1399573422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbd1ce7fc17f2be7d4dda181cd2439b2.jpg","text":"TemporaryFile(/tmp/multipartBody9136450967854184244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841122600,"filename":"image_16122025_00_24_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4360c5652c071e57be5adaff0aeb049.jpg","text":"TemporaryFile(/tmp/multipartBody2618115587471567666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841122600,"filename":"image_16122025_00_23_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6090c55162f464952b4a24ff15e80bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8406129701318546715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841122600,"filename":"image_16122025_00_23_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/16/ae56f2b5c437884bca4c7728f945b616.jpg","text":"TemporaryFile(/tmp/multipartBody6667087811682380020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841122600,"filename":"image_16122025_00_24_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3a9603927eb8bea61feffa871225b53.jpg","text":"TemporaryFile(/tmp/multipartBody7047956981137193999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841122600,"filename":"image_16122025_00_22_54_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573418","file1":"1399573416","file0":"1399573414","file4":"1399573422","file3":"1399573420"},"map_files_photo_id_array":[{"photo_id":"1399573418","filename":"file2"},{"photo_id":"1399573422","filename":"file4"},{"photo_id":"1399573416","filename":"file1"},{"photo_id":"1399573414","filename":"file0"},{"photo_id":"1399573420","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573422":["hashtag1","hashtag2"]},{"1399573416":["hashtag1","hashtag2"]},{"1399573418":["hashtag1","hashtag2"]},{"1399573420":["hashtag1","hashtag2"]},{"1399573414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573422, 1399573416, 1399573418, 1399573420, 1399573414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.83434820175171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:25:02.880779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:25:12.131343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:25:22.189813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/24/image_16122025_00_24_34_9789.jpg', '/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_15_10829.jpg', '/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_34_9788.jpg', '/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/24/image_16122025_00_24_34_9789.jpg
/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_15_10829.jpg
/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_34_9788.jpg
/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_44_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573452","1399573457","1399573455","1399573449"],"photo_ids_order":["1399573449","1399573452","1399573455","1399573457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/675cd546422ec05528fc3cdd57e8947e.jpg","text":"TemporaryFile(/tmp/multipartBody5717357593030645682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841182792,"filename":"image_16122025_00_25_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/16/33c2ca786d4fd429fb52c1eaa954c8a5.jpg","text":"TemporaryFile(/tmp/multipartBody7131863152268012825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841182792,"filename":"image_16122025_00_25_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/16/53ec6b891722fa0c9908462b9983d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5562160605936739610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841182792,"filename":"image_16122025_00_25_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/252eab9de71300f4e692fa12bed6d315.jpg","text":"TemporaryFile(/tmp/multipartBody8294399089686803512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841182792,"filename":"image_16122025_00_24_34_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573455","file1":"1399573452","file0":"1399573449","file3":"1399573457"},"map_files_photo_id_array":[{"photo_id":"1399573455","filename":"file2"},{"photo_id":"1399573452","filename":"file1"},{"photo_id":"1399573449","filename":"file0"},{"photo_id":"1399573457","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573452":["hashtag1","hashtag2"]},{"1399573457":["hashtag1","hashtag2"]},{"1399573455":["hashtag1","hashtag2"]},{"1399573449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573452, 1399573457, 1399573455, 1399573449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.055514574050903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:26:03.036636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:26:12.702045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:26:22.615540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_55_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/25/image_16122025_00_25_55_10729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573464"],"photo_id":"1399573464","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a51c578706952a1adcea38bdff16a13.jpg","text":"TemporaryFile(/tmp/multipartBody5222074684736425688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841243046,"filename":"image_16122025_00_25_55_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399573464"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399573464"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.097009897232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:26:42.494081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_49_2688.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_51_2767.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_55_3619.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_58_2562.jpg', '/home/pi/Desktop/images/06112025/14/14/image_06112025_14_15_00_2691.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_04_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_49_2688.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_51_2767.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_55_3619.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_14_58_2562.jpg
/home/pi/Desktop/images/06112025/14/14/image_06112025_14_15_00_2691.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_04_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":["1399573484","1399573478","1399573472","1399573486","1399573482","1399573476"],"photo_ids_order":["1399573472","1399573476","1399573478","1399573482","1399573484","1399573486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e00d30d2fb4a518ee31600b418be0b64.jpg","text":"TemporaryFile(/tmp/multipartBody1856562322497588440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841263191,"filename":"image_06112025_14_15_00_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c35fa5c69b9df8b874530990fd44a0db.jpg","text":"TemporaryFile(/tmp/multipartBody1619002765841646539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841263191,"filename":"image_06112025_14_14_55_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/16/b7c32383f613f79732e6feddf9334585.jpg","text":"TemporaryFile(/tmp/multipartBody268682513561648252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841263191,"filename":"image_06112025_14_14_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/569e602635ddb745b5abad4e3581cd64.jpg","text":"TemporaryFile(/tmp/multipartBody7705608031275381554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841263191,"filename":"image_06112025_14_15_04_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/16/e080c0718860695354fb900a2dfb6971.jpg","text":"TemporaryFile(/tmp/multipartBody6779687378858022611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841263191,"filename":"image_06112025_14_14_58_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/16/0d82fb15ab686edf9f78a366a43a1b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6906300699928369655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841263191,"filename":"image_06112025_14_14_51_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573478","file1":"1399573476","file0":"1399573472","file4":"1399573484","file5":"1399573486","file3":"1399573482"},"map_files_photo_id_array":[{"photo_id":"1399573486","filename":"file5"},{"photo_id":"1399573478","filename":"file2"},{"photo_id":"1399573484","filename":"file4"},{"photo_id":"1399573476","filename":"file1"},{"photo_id":"1399573472","filename":"file0"},{"photo_id":"1399573482","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573484":["hashtag1","hashtag2"]},{"1399573478":["hashtag1","hashtag2"]},{"1399573472":["hashtag1","hashtag2"]},{"1399573486":["hashtag1","hashtag2"]},{"1399573482":["hashtag1","hashtag2"]},{"1399573476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573484, 1399573478, 1399573472, 1399573486, 1399573482, 1399573476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99133038520813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:27:22.853629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/26/image_16122025_00_26_14_9621.jpg', '/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_14_9552.jpg', '/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_24_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/26/image_16122025_00_26_14_9621.jpg
/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_14_9552.jpg
/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_24_10576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40895700454711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:27:32.745081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:27:42.717354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_07_2777.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_09_2732.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_13_3596.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_16_2705.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_18_2552.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_22_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_07_2777.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_09_2732.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_13_3596.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_16_2705.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_18_2552.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_22_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":["1399573506","1399573499","1399573503","1399573508","1399573501","1399573504"],"photo_ids_order":["1399573499","1399573501","1399573503","1399573504","1399573506","1399573508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7aa496e7fee77416bb15ff7d0ff9361.jpg","text":"TemporaryFile(/tmp/multipartBody4323608462649200245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841323494,"filename":"image_06112025_14_15_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/16/fc50b94d0e40ae0928b9a9dd4ad72b70.jpg","text":"TemporaryFile(/tmp/multipartBody7392260727552570287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841323494,"filename":"image_06112025_14_15_07_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/16/6a28d1c1b7be25a73351a2a14c94b878.jpg","text":"TemporaryFile(/tmp/multipartBody2777740003628010415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841323494,"filename":"image_06112025_14_15_13_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/16/92c9c3146e9b34ffecc6b9ab955c2b8a.jpg","text":"TemporaryFile(/tmp/multipartBody8918756711937548696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841323494,"filename":"image_06112025_14_15_22_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/16/f5d87b464bc1570c9e307c289866b055.jpg","text":"TemporaryFile(/tmp/multipartBody6094148166776431573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841323494,"filename":"image_06112025_14_15_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/16/ab254c6d57d6b7446f31d2b4cd422748.jpg","text":"TemporaryFile(/tmp/multipartBody7460294117278943955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841323494,"filename":"image_06112025_14_15_16_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573503","file1":"1399573501","file0":"1399573499","file4":"1399573506","file5":"1399573508","file3":"1399573504"},"map_files_photo_id_array":[{"photo_id":"1399573508","filename":"file5"},{"photo_id":"1399573503","filename":"file2"},{"photo_id":"1399573506","filename":"file4"},{"photo_id":"1399573501","filename":"file1"},{"photo_id":"1399573499","filename":"file0"},{"photo_id":"1399573504","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573506":["hashtag1","hashtag2"]},{"1399573499":["hashtag1","hashtag2"]},{"1399573503":["hashtag1","hashtag2"]},{"1399573508":["hashtag1","hashtag2"]},{"1399573501":["hashtag1","hashtag2"]},{"1399573504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573506, 1399573499, 1399573503, 1399573508, 1399573501, 1399573504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.23087549209595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:28:31.923282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:28:41.921047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_25_2720.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_28_2723.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_30_2605.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_34_3562.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_36_2554.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_40_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_25_2720.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_28_2723.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_30_2605.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_34_3562.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_36_2554.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_40_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":["1399573524","1399573527","1399573521","1399573526","1399573525","1399573519"],"photo_ids_order":["1399573519","1399573521","1399573524","1399573525","1399573526","1399573527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e41ac351f14c786a965c2ee7d3bc5f15.jpg","text":"TemporaryFile(/tmp/multipartBody2062471822644433609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841382621,"filename":"image_06112025_14_15_30_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/16/f11940ba4db21df41c5a017ae3ed86e2.jpg","text":"TemporaryFile(/tmp/multipartBody926512417549727361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841382621,"filename":"image_06112025_14_15_40_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/16/e33ed909b08b7ff6eb3538b808591cb9.jpg","text":"TemporaryFile(/tmp/multipartBody5532541453492880331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841382621,"filename":"image_06112025_14_15_28_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/16/f75a6f574a2dd0611e3cc8f20345d137.jpg","text":"TemporaryFile(/tmp/multipartBody4324154438577794580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841382621,"filename":"image_06112025_14_15_36_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bcfb933b491f3e8e11bcf84d5157871.jpg","text":"TemporaryFile(/tmp/multipartBody2444766241048672023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841382621,"filename":"image_06112025_14_15_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/16/f57d852620df7ab6df4584fe0f33d151.jpg","text":"TemporaryFile(/tmp/multipartBody7644302664427199062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841382621,"filename":"image_06112025_14_15_25_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573524","file1":"1399573521","file0":"1399573519","file4":"1399573526","file5":"1399573527","file3":"1399573525"},"map_files_photo_id_array":[{"photo_id":"1399573527","filename":"file5"},{"photo_id":"1399573524","filename":"file2"},{"photo_id":"1399573526","filename":"file4"},{"photo_id":"1399573521","filename":"file1"},{"photo_id":"1399573519","filename":"file0"},{"photo_id":"1399573525","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573524":["hashtag1","hashtag2"]},{"1399573527":["hashtag1","hashtag2"]},{"1399573521":["hashtag1","hashtag2"]},{"1399573526":["hashtag1","hashtag2"]},{"1399573525":["hashtag1","hashtag2"]},{"1399573519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573524, 1399573527, 1399573521, 1399573526, 1399573525, 1399573519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.044713497161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:29:22.093780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/26/image_16122025_00_26_14_9621.jpg', '/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_14_9552.jpg', '/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_24_10576.jpg', '/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_44_9844.jpg', '/home/pi/Desktop/images/16122025/00/28/image_16122025_00_28_35_10586.jpg', '/home/pi/Desktop/images/16122025/00/28/image_16122025_00_28_44_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/26/image_16122025_00_26_14_9621.jpg
/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_14_9552.jpg
/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_24_10576.jpg
/home/pi/Desktop/images/16122025/00/27/image_16122025_00_27_44_9844.jpg
/home/pi/Desktop/images/16122025/00/28/image_16122025_00_28_35_10586.jpg
/home/pi/Desktop/images/16122025/00/28/image_16122025_00_28_44_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":["1399573533","1399573541","1399573544","1399573546","1399573537","1399573548"],"photo_ids_order":["1399573533","1399573537","1399573541","1399573544","1399573546","1399573548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/262e80f4bd09294bc699a7fdf48f7da6.jpg","text":"TemporaryFile(/tmp/multipartBody4368911113124080442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841422727,"filename":"image_16122025_00_26_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb34136cf99a4adb67c4fc27a8d9d8f0.jpg","text":"TemporaryFile(/tmp/multipartBody1545158056955398097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841422727,"filename":"image_16122025_00_27_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/16/48545d4fa6ce5a5327d9849ee8abafce.jpg","text":"TemporaryFile(/tmp/multipartBody8005038754962078967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841422727,"filename":"image_16122025_00_27_44_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0ee3063f32595f24ef7398e91fd18e9.jpg","text":"TemporaryFile(/tmp/multipartBody1511498816455532916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841422727,"filename":"image_16122025_00_28_35_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/16/5d84fa1156451f5836ecb14b91aad9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6053953995311674052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841422727,"filename":"image_16122025_00_27_14_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/773b5a13f923c840488f569007525309.jpg","text":"TemporaryFile(/tmp/multipartBody4798743621914655139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841422727,"filename":"image_16122025_00_28_44_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573541","file1":"1399573537","file0":"1399573533","file4":"1399573546","file5":"1399573548","file3":"1399573544"},"map_files_photo_id_array":[{"photo_id":"1399573548","filename":"file5"},{"photo_id":"1399573541","filename":"file2"},{"photo_id":"1399573546","filename":"file4"},{"photo_id":"1399573537","filename":"file1"},{"photo_id":"1399573533","filename":"file0"},{"photo_id":"1399573544","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573533":["hashtag1","hashtag2"]},{"1399573541":["hashtag1","hashtag2"]},{"1399573544":["hashtag1","hashtag2"]},{"1399573546":["hashtag1","hashtag2"]},{"1399573537":["hashtag1","hashtag2"]},{"1399573548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573533, 1399573541, 1399573544, 1399573546, 1399573537, 1399573548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.671571493148804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:30:03.059373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/29/image_16122025_00_29_24_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/29/image_16122025_00_29_24_9587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573549"],"photo_id":"1399573549","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a0209cff4b9b10ee19a077d6284a8ca.jpg","text":"TemporaryFile(/tmp/multipartBody2427712697281997325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841463497,"filename":"image_16122025_00_29_24_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399573549"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399573549"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.447798728942871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:30:22.660067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/29/image_16122025_00_29_35_10701.jpg', '/home/pi/Desktop/images/16122025/00/30/image_16122025_00_30_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/29/image_16122025_00_29_35_10701.jpg
/home/pi/Desktop/images/16122025/00/30/image_16122025_00_30_14_9722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573557","1399573554"],"photo_ids_order":["1399573554","1399573557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/308b74a92dacf6300bda5435ee8afdd2.jpg","text":"TemporaryFile(/tmp/multipartBody8527273165912886780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841483150,"filename":"image_16122025_00_30_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/16/1e17485e79105e509f0b29b620d7978a.jpg","text":"TemporaryFile(/tmp/multipartBody7673043202784780430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841483150,"filename":"image_16122025_00_29_35_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399573557","file0":"1399573554"},"map_files_photo_id_array":[{"photo_id":"1399573557","filename":"file1"},{"photo_id":"1399573554","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573557":["hashtag1","hashtag2"]},{"1399573554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573557, 1399573554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.15649175643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:30:42.617213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_43_2792.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_46_2755.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_57_11898.jpg', '/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_59_1707.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_01_1742.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_03_2387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_43_2792.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_46_2755.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_57_11898.jpg
/home/pi/Desktop/images/06112025/14/15/image_06112025_14_15_59_1707.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_01_1742.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_03_2387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573578","1399573577","1399573574","1399573579","1399573570","1399573581"],"photo_ids_order":["1399573570","1399573574","1399573577","1399573578","1399573579","1399573581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8300600a5c01da8ffcd71f677f64a69e.jpg","text":"TemporaryFile(/tmp/multipartBody7208398538898653356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841503338,"filename":"image_06112025_14_15_59_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60cc9fff35bd266494c5bd6ddf8f9869.jpg","text":"TemporaryFile(/tmp/multipartBody5901249082382443657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841503338,"filename":"image_06112025_14_15_57_11898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ea2d375160eb92c3180bd037b1d4e24.jpg","text":"TemporaryFile(/tmp/multipartBody8096919470338443795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841503338,"filename":"image_06112025_14_15_46_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/16/1ce06ba84f38ac845c3f6118d09f3505.jpg","text":"TemporaryFile(/tmp/multipartBody9110025172075047535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841503338,"filename":"image_06112025_14_16_01_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/16/718ce99297a53e1b25d1c8c497dbc675.jpg","text":"TemporaryFile(/tmp/multipartBody3237744708633339931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841503338,"filename":"image_06112025_14_15_43_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/16/4152309b3a0ced116812501bab5aae45.jpg","text":"TemporaryFile(/tmp/multipartBody526207610210488942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841503338,"filename":"image_06112025_14_16_03_2387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573577","file1":"1399573574","file0":"1399573570","file4":"1399573579","file5":"1399573581","file3":"1399573578"},"map_files_photo_id_array":[{"photo_id":"1399573581","filename":"file5"},{"photo_id":"1399573577","filename":"file2"},{"photo_id":"1399573579","filename":"file4"},{"photo_id":"1399573574","filename":"file1"},{"photo_id":"1399573570","filename":"file0"},{"photo_id":"1399573578","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573578":["hashtag1","hashtag2"]},{"1399573577":["hashtag1","hashtag2"]},{"1399573574":["hashtag1","hashtag2"]},{"1399573579":["hashtag1","hashtag2"]},{"1399573570":["hashtag1","hashtag2"]},{"1399573581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573578, 1399573577, 1399573574, 1399573579, 1399573570, 1399573581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.29668426513672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:31:32.001850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:31:41.944432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_05_1747.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_07_1506.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_08_1660.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_10_1741.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_13_2752.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_15_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_05_1747.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_07_1506.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_08_1660.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_10_1741.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_13_2752.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_15_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573676","1399573748","1399573712","1399573816","1399573831","1399573782"],"photo_ids_order":["1399573676","1399573712","1399573748","1399573782","1399573816","1399573831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0e9c952ffcf9744058c2d805ddddb94.jpg","text":"TemporaryFile(/tmp/multipartBody2673263484963825113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841562662,"filename":"image_06112025_14_16_05_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/16/2a3c5fc2e5f9e3d11c362354d798bc1c.jpg","text":"TemporaryFile(/tmp/multipartBody9016778183632442058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841562662,"filename":"image_06112025_14_16_08_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/16/0e3f59b972ed16984d2b0b2de3197b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5921932008121836147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841562662,"filename":"image_06112025_14_16_07_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/16/40825b23b4d82ed13336c27597992e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2007850988968542093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841562662,"filename":"image_06112025_14_16_13_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/16/a0d7ea9947250807c7810278773d203d.jpg","text":"TemporaryFile(/tmp/multipartBody4996166652169357210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841562662,"filename":"image_06112025_14_16_15_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/16/5bccc7ad30e0ee6c9a5b8f11fe16da7f.jpg","text":"TemporaryFile(/tmp/multipartBody8139617470882384357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841562662,"filename":"image_06112025_14_16_10_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573748","file1":"1399573712","file0":"1399573676","file4":"1399573816","file5":"1399573831","file3":"1399573782"},"map_files_photo_id_array":[{"photo_id":"1399573831","filename":"file5"},{"photo_id":"1399573748","filename":"file2"},{"photo_id":"1399573816","filename":"file4"},{"photo_id":"1399573712","filename":"file1"},{"photo_id":"1399573676","filename":"file0"},{"photo_id":"1399573782","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573676":["hashtag1","hashtag2"]},{"1399573748":["hashtag1","hashtag2"]},{"1399573712":["hashtag1","hashtag2"]},{"1399573816":["hashtag1","hashtag2"]},{"1399573831":["hashtag1","hashtag2"]},{"1399573782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573676, 1399573748, 1399573712, 1399573816, 1399573831, 1399573782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11458420753479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:32:22.223430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_19_3736.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_22_2788.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_25_2659.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_27_2640.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_31_3641.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_34_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_19_3736.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_22_2788.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_25_2659.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_27_2640.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_31_3641.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_34_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573926","1399573905","1399573895","1399573928","1399573916","1399573924"],"photo_ids_order":["1399573895","1399573905","1399573916","1399573924","1399573926","1399573928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cdb6a0edb2c36f9ac25f30180cfb1012.jpg","text":"TemporaryFile(/tmp/multipartBody7730857348368159993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841602962,"filename":"image_06112025_14_16_31_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8e8999df877bd038820a237c3ab1eef.jpg","text":"TemporaryFile(/tmp/multipartBody1016173803778381240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841602962,"filename":"image_06112025_14_16_22_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/16/e9abf4a28f133f39ee3d66b77c84ef8b.jpg","text":"TemporaryFile(/tmp/multipartBody8352177505024490456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841602962,"filename":"image_06112025_14_16_19_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/16/d437dc018d14e7041f61726cb09d9d83.jpg","text":"TemporaryFile(/tmp/multipartBody8786425882317103547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841602962,"filename":"image_06112025_14_16_34_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/16/4f822dc2f5a5ff4e3ef37a62c2f33bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8624189529088517258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841602962,"filename":"image_06112025_14_16_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/16/9e5dedb251d89e7ce546897bc5bd84f4.jpg","text":"TemporaryFile(/tmp/multipartBody9052792445353210908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841602962,"filename":"image_06112025_14_16_27_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573916","file1":"1399573905","file0":"1399573895","file4":"1399573926","file5":"1399573928","file3":"1399573924"},"map_files_photo_id_array":[{"photo_id":"1399573928","filename":"file5"},{"photo_id":"1399573916","filename":"file2"},{"photo_id":"1399573926","filename":"file4"},{"photo_id":"1399573905","filename":"file1"},{"photo_id":"1399573895","filename":"file0"},{"photo_id":"1399573924","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573926":["hashtag1","hashtag2"]},{"1399573905":["hashtag1","hashtag2"]},{"1399573895":["hashtag1","hashtag2"]},{"1399573928":["hashtag1","hashtag2"]},{"1399573916":["hashtag1","hashtag2"]},{"1399573924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573926, 1399573905, 1399573895, 1399573928, 1399573916, 1399573924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17887330055237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:33:03.114597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:33:12.409215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:33:22.542491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_36_2545.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_40_3527.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_42_2813.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_45_2742.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_49_3713.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_52_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_36_2545.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_40_3527.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_42_2813.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_45_2742.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_49_3713.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_52_2782.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6358010768890381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:33:32.418757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:33:42.370744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_36_2545.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_40_3527.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_42_2813.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_45_2742.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_49_3713.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_52_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_36_2545.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_40_3527.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_42_2813.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_45_2742.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_49_3713.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_52_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573947","1399573949","1399573951","1399573948","1399573945","1399573950"],"photo_ids_order":["1399573945","1399573947","1399573948","1399573949","1399573950","1399573951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d4bea3ddca60c99a5c9ca407f39ac97.jpg","text":"TemporaryFile(/tmp/multipartBody2257077034241142251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841683043,"filename":"image_06112025_14_16_40_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f0069fa3f3f97cffd0f8d427a9cfb39b.jpg","text":"TemporaryFile(/tmp/multipartBody8854415868367619609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841683043,"filename":"image_06112025_14_16_45_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/16/0f1f81114b642d81f0e7799ff4c10287.jpg","text":"TemporaryFile(/tmp/multipartBody6049246929856144075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841683043,"filename":"image_06112025_14_16_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/16/1e62b6b047e60738b5099abc4fcd7e63.jpg","text":"TemporaryFile(/tmp/multipartBody5692877192092565203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841683043,"filename":"image_06112025_14_16_42_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/16/9c978a3d406bca880dfeabdc0f8e4756.jpg","text":"TemporaryFile(/tmp/multipartBody5205369287139140156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841683043,"filename":"image_06112025_14_16_36_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/16/b2e3bf9c6bb537df025b21360665dade.jpg","text":"TemporaryFile(/tmp/multipartBody4822675963070808015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841683043,"filename":"image_06112025_14_16_49_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573948","file1":"1399573947","file0":"1399573945","file4":"1399573950","file5":"1399573951","file3":"1399573949"},"map_files_photo_id_array":[{"photo_id":"1399573951","filename":"file5"},{"photo_id":"1399573948","filename":"file2"},{"photo_id":"1399573950","filename":"file4"},{"photo_id":"1399573947","filename":"file1"},{"photo_id":"1399573945","filename":"file0"},{"photo_id":"1399573949","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573947":["hashtag1","hashtag2"]},{"1399573949":["hashtag1","hashtag2"]},{"1399573951":["hashtag1","hashtag2"]},{"1399573948":["hashtag1","hashtag2"]},{"1399573945":["hashtag1","hashtag2"]},{"1399573950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573947, 1399573949, 1399573951, 1399573948, 1399573945, 1399573950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26756167411804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:34:22.603978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/30/image_16122025_00_30_24_9729.jpg', '/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_14_10650.jpg', '/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_24_9817.jpg', '/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_34_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/30/image_16122025_00_30_24_9729.jpg
/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_14_10650.jpg
/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_24_9817.jpg
/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_34_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399573956","1399573958","1399573960","1399573963"],"photo_ids_order":["1399573956","1399573958","1399573960","1399573963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5179c9cc74526f49815a1162ef913738.jpg","text":"TemporaryFile(/tmp/multipartBody533199117017608479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841723162,"filename":"image_16122025_00_30_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/16/207954dfd86db88a6c08bb05e1c50994.jpg","text":"TemporaryFile(/tmp/multipartBody8177895660213915755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841723162,"filename":"image_16122025_00_34_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/16/cc9b0aff94592f8cd4e6077dd10769fd.jpg","text":"TemporaryFile(/tmp/multipartBody2967142319955275430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841723162,"filename":"image_16122025_00_34_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/16/f3368f0c2e8313f68a21d84bddd2ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody6978655366001316845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841723162,"filename":"image_16122025_00_34_34_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573960","file1":"1399573958","file0":"1399573956","file3":"1399573963"},"map_files_photo_id_array":[{"photo_id":"1399573960","filename":"file2"},{"photo_id":"1399573958","filename":"file1"},{"photo_id":"1399573956","filename":"file0"},{"photo_id":"1399573963","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399573956":["hashtag1","hashtag2"]},{"1399573958":["hashtag1","hashtag2"]},{"1399573960":["hashtag1","hashtag2"]},{"1399573963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399573956, 1399573958, 1399573960, 1399573963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.232446432113647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:35:02.583453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:35:11.861274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:35:21.896022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_54_2808.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_57_2814.jpg', '/home/pi/Desktop/images/06112025/14/16/image_06112025_14_17_00_2821.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_04_3559.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_06_2618.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_10_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_54_2808.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_16_57_2814.jpg
/home/pi/Desktop/images/06112025/14/16/image_06112025_14_17_00_2821.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_04_3559.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_06_2618.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_10_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":["1399573985","1399573994","1399573988","1399573982","1399573996","1399573990"],"photo_ids_order":["1399573982","1399573985","1399573988","1399573990","1399573994","1399573996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f683318452697f294b37c685017c9717.jpg","text":"TemporaryFile(/tmp/multipartBody4741906279235004241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841782638,"filename":"image_06112025_14_16_57_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/16/25a1bce795e571c979edf7d405ba0ff4.jpg","text":"TemporaryFile(/tmp/multipartBody6850457514834732907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841782638,"filename":"image_06112025_14_17_06_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b9a888f2e4d8686a183b975348e8893.jpg","text":"TemporaryFile(/tmp/multipartBody9219092350083536627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841782638,"filename":"image_06112025_14_17_00_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/16/a3ca9200daf1a527f615782b016adcd1.jpg","text":"TemporaryFile(/tmp/multipartBody8143417020105408842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841782638,"filename":"image_06112025_14_16_54_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/16/f255a8d24cd4b38e9d7afa171729f42f.jpg","text":"TemporaryFile(/tmp/multipartBody454794268545815323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841782638,"filename":"image_06112025_14_17_10_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/16/6786cb0ae46a88410b9b07d751a78ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7670543959522170042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841782638,"filename":"image_06112025_14_17_04_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399573988","file1":"1399573985","file0":"1399573982","file4":"1399573994","file5":"1399573996","file3":"1399573990"},"map_files_photo_id_array":[{"photo_id":"1399573996","filename":"file5"},{"photo_id":"1399573988","filename":"file2"},{"photo_id":"1399573994","filename":"file4"},{"photo_id":"1399573985","filename":"file1"},{"photo_id":"1399573982","filename":"file0"},{"photo_id":"1399573990","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399573985":["hashtag1","hashtag2"]},{"1399573994":["hashtag1","hashtag2"]},{"1399573988":["hashtag1","hashtag2"]},{"1399573982":["hashtag1","hashtag2"]},{"1399573996":["hashtag1","hashtag2"]},{"1399573990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399573985, 1399573994, 1399573988, 1399573982, 1399573996, 1399573990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.459099769592285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:36:02.669284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:36:12.071879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:36:22.114305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_13_2618.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_15_2681.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_18_2781.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_22_3920.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_25_2779.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_28_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_13_2618.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_15_2681.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_18_2781.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_22_3920.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_25_2779.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_28_2848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399574016","1399574001","1399574010","1399574012","1399574003","1399574014"],"photo_ids_order":["1399574001","1399574003","1399574010","1399574012","1399574014","1399574016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a862645f0971890f824bf0ab0e4d8ff.jpg","text":"TemporaryFile(/tmp/multipartBody8438030947014103394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841842860,"filename":"image_06112025_14_17_28_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/16/a125c087d9ede83836630b92f462800b.jpg","text":"TemporaryFile(/tmp/multipartBody3320104936562737215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841842860,"filename":"image_06112025_14_17_13_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3886a37471f3a38b43252fec06f02af1.jpg","text":"TemporaryFile(/tmp/multipartBody38902171583036901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841842860,"filename":"image_06112025_14_17_18_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/16/7f2aa8e71e1bded91c919f6348ffd552.jpg","text":"TemporaryFile(/tmp/multipartBody2173457436264479521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841842860,"filename":"image_06112025_14_17_22_3920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90cf67d4cc01018f8373dfc2860bdbf5.jpg","text":"TemporaryFile(/tmp/multipartBody5245504185148942625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841842860,"filename":"image_06112025_14_17_15_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/16/05d179fbd320ccf09a127c40181b1857.jpg","text":"TemporaryFile(/tmp/multipartBody3410771506003276942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841842860,"filename":"image_06112025_14_17_25_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399574010","file1":"1399574003","file0":"1399574001","file4":"1399574014","file5":"1399574016","file3":"1399574012"},"map_files_photo_id_array":[{"photo_id":"1399574016","filename":"file5"},{"photo_id":"1399574010","filename":"file2"},{"photo_id":"1399574014","filename":"file4"},{"photo_id":"1399574003","filename":"file1"},{"photo_id":"1399574001","filename":"file0"},{"photo_id":"1399574012","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399574016":["hashtag1","hashtag2"]},{"1399574001":["hashtag1","hashtag2"]},{"1399574010":["hashtag1","hashtag2"]},{"1399574012":["hashtag1","hashtag2"]},{"1399574003":["hashtag1","hashtag2"]},{"1399574014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399574016, 1399574001, 1399574010, 1399574012, 1399574003, 1399574014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.75179433822632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:37:12.324169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:37:22.449475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_44_9723.jpg', '/home/pi/Desktop/images/16122025/00/37/image_16122025_00_37_14_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/34/image_16122025_00_34_44_9723.jpg
/home/pi/Desktop/images/16122025/00/37/image_16122025_00_37_14_9584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399574029","1399574026"],"photo_ids_order":["1399574026","1399574029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcb5fb9e89abeb68bb1649c1eacd854b.jpg","text":"TemporaryFile(/tmp/multipartBody4635869579978825506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841902924,"filename":"image_16122025_00_37_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/16/c989281af9493b36c3e4d6e217901ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8329264390890015216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841902924,"filename":"image_16122025_00_34_44_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399574029","file0":"1399574026"},"map_files_photo_id_array":[{"photo_id":"1399574029","filename":"file1"},{"photo_id":"1399574026","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399574029":["hashtag1","hashtag2"]},{"1399574026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399574029, 1399574026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.088500261306763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:37:42.359744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_30_2883.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_33_2595.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_37_3658.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_39_2601.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_42_2747.jpg', '/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_47_5311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_30_2883.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_33_2595.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_37_3658.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_39_2601.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_42_2747.jpg
/home/pi/Desktop/images/06112025/14/17/image_06112025_14_17_47_5311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399574037","1399574042","1399574041","1399574035","1399574043","1399574040"],"photo_ids_order":["1399574035","1399574037","1399574040","1399574041","1399574042","1399574043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a1ceb06cd949002cb966bd16b11834d.jpg","text":"TemporaryFile(/tmp/multipartBody9215539170052524663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841923081,"filename":"image_06112025_14_17_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/16/84da99c1fa63d614e9ac435537a1b429.jpg","text":"TemporaryFile(/tmp/multipartBody8011346915081823238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841923081,"filename":"image_06112025_14_17_42_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/16/f1273af1c2049c86b1a2074d5a400826.jpg","text":"TemporaryFile(/tmp/multipartBody2199001458463287067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841923081,"filename":"image_06112025_14_17_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/16/8bd3336eb1841a652f86f452917749b9.jpg","text":"TemporaryFile(/tmp/multipartBody7531404894510423148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841923081,"filename":"image_06112025_14_17_30_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca0694acac077219b83b2d1443764588.jpg","text":"TemporaryFile(/tmp/multipartBody1909223348274032674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841923081,"filename":"image_06112025_14_17_47_5311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d73cf1e2dfd6966dcbc46c5ed20439d9.jpg","text":"TemporaryFile(/tmp/multipartBody7284797069500421292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841923081,"filename":"image_06112025_14_17_37_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399574040","file1":"1399574037","file0":"1399574035","file4":"1399574042","file5":"1399574043","file3":"1399574041"},"map_files_photo_id_array":[{"photo_id":"1399574043","filename":"file5"},{"photo_id":"1399574040","filename":"file2"},{"photo_id":"1399574042","filename":"file4"},{"photo_id":"1399574037","filename":"file1"},{"photo_id":"1399574035","filename":"file0"},{"photo_id":"1399574041","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399574037":["hashtag1","hashtag2"]},{"1399574042":["hashtag1","hashtag2"]},{"1399574041":["hashtag1","hashtag2"]},{"1399574035":["hashtag1","hashtag2"]},{"1399574043":["hashtag1","hashtag2"]},{"1399574040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399574037, 1399574042, 1399574041, 1399574035, 1399574043, 1399574040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07163119316101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:38:22.726863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_10_22496.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_12_1684.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_13_1679.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_15_1554.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_17_1727.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_18_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_10_22496.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_12_1684.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_13_1679.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_15_1554.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_17_1727.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_18_1684.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6098506450653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:38:32.608119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:38:42.586899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_10_22496.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_12_1684.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_13_1679.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_15_1554.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_17_1727.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_18_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_10_22496.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_12_1684.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_13_1679.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_15_1554.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_17_1727.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_18_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399574090","1399574084","1399574069","1399574078","1399574089","1399574061"],"photo_ids_order":["1399574061","1399574069","1399574078","1399574084","1399574089","1399574090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cd60ab6d8b9d808ea16eaf3e054f52e.jpg","text":"TemporaryFile(/tmp/multipartBody6232040003377666618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841983165,"filename":"image_06112025_14_18_18_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/021a277dee38f432ea30be12da63ea7f.jpg","text":"TemporaryFile(/tmp/multipartBody5518150349146594793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841983165,"filename":"image_06112025_14_18_15_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/16/c2dd088f70cf2ef92ce01feae32a9c6f.jpg","text":"TemporaryFile(/tmp/multipartBody200068228696438673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841983165,"filename":"image_06112025_14_18_12_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5984eb6764774f438de899b937924f24.jpg","text":"TemporaryFile(/tmp/multipartBody4180948086242677377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841983165,"filename":"image_06112025_14_18_13_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/16/591c3d80e9bcad87f3b4b8d6afeab9c1.jpg","text":"TemporaryFile(/tmp/multipartBody8225570922566037970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841983165,"filename":"image_06112025_14_18_17_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c516c817fe117267825a143433361c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7956604291708466547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765841983165,"filename":"image_06112025_14_18_10_22496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399574078","file1":"1399574069","file0":"1399574061","file4":"1399574089","file5":"1399574090","file3":"1399574084"},"map_files_photo_id_array":[{"photo_id":"1399574090","filename":"file5"},{"photo_id":"1399574078","filename":"file2"},{"photo_id":"1399574089","filename":"file4"},{"photo_id":"1399574069","filename":"file1"},{"photo_id":"1399574061","filename":"file0"},{"photo_id":"1399574084","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399574090":["hashtag1","hashtag2"]},{"1399574084":["hashtag1","hashtag2"]},{"1399574069":["hashtag1","hashtag2"]},{"1399574078":["hashtag1","hashtag2"]},{"1399574089":["hashtag1","hashtag2"]},{"1399574061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399574090, 1399574084, 1399574069, 1399574078, 1399574089, 1399574061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.249250411987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:39:21.911079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_24_5467.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_30_1723.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_42_1620.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_43_1646.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_45_1569.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_49_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_24_5467.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_30_1723.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_42_1620.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_43_1646.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_45_1569.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_49_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399574214","1399574176","1399574251","1399574289","1399574361","1399574325"],"photo_ids_order":["1399574176","1399574214","1399574251","1399574289","1399574325","1399574361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e916539fb41ed45acc9f0da5f479611.jpg","text":"TemporaryFile(/tmp/multipartBody2282429405257834090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842022679,"filename":"image_06112025_14_18_30_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4aa6975956a7e29a76539e12ee0cc9d.jpg","text":"TemporaryFile(/tmp/multipartBody5761037044456743215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842022679,"filename":"image_06112025_14_18_24_5467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8339a7792034c5d0e9b7e5bde512023f.jpg","text":"TemporaryFile(/tmp/multipartBody79430154393482908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842022679,"filename":"image_06112025_14_18_42_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8753f4ebdffd7fe9a522fb371061412f.jpg","text":"TemporaryFile(/tmp/multipartBody7903501891000562289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842022679,"filename":"image_06112025_14_18_43_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/16/53cf0137b9894a101900e255b8ab70fa.jpg","text":"TemporaryFile(/tmp/multipartBody8975140359171982300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842022679,"filename":"image_06112025_14_18_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/16/7c8a745a7ade9166596f72dc23e565c6.jpg","text":"TemporaryFile(/tmp/multipartBody4850148018821012854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842022679,"filename":"image_06112025_14_18_45_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399574251","file1":"1399574214","file0":"1399574176","file4":"1399574325","file5":"1399574361","file3":"1399574289"},"map_files_photo_id_array":[{"photo_id":"1399574361","filename":"file5"},{"photo_id":"1399574251","filename":"file2"},{"photo_id":"1399574325","filename":"file4"},{"photo_id":"1399574214","filename":"file1"},{"photo_id":"1399574176","filename":"file0"},{"photo_id":"1399574289","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399574214":["hashtag1","hashtag2"]},{"1399574176":["hashtag1","hashtag2"]},{"1399574251":["hashtag1","hashtag2"]},{"1399574289":["hashtag1","hashtag2"]},{"1399574361":["hashtag1","hashtag2"]},{"1399574325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399574214, 1399574176, 1399574251, 1399574289, 1399574361, 1399574325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.640220165252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:40:02.580686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:40:12.022381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:40:22.142886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/37/image_16122025_00_37_25_10672.jpg', '/home/pi/Desktop/images/16122025/00/40/image_16122025_00_40_24_9645.jpg', '/home/pi/Desktop/images/16122025/00/40/image_16122025_00_40_44_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/37/image_16122025_00_37_25_10672.jpg
/home/pi/Desktop/images/16122025/00/40/image_16122025_00_40_24_9645.jpg
/home/pi/Desktop/images/16122025/00/40/image_16122025_00_40_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":["1399574687","1399574728","1399574650"],"photo_ids_order":["1399574650","1399574687","1399574728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a718e0115d9b22ffdd4fbe165fc195e.jpg","text":"TemporaryFile(/tmp/multipartBody8716408233322657375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842082681,"filename":"image_16122025_00_40_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/273b48af3c14e3b8dc426f28019123f4.jpg","text":"TemporaryFile(/tmp/multipartBody9095604102304148435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842082681,"filename":"image_16122025_00_40_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/16/e5ce0b33c7688414c915c3576d938c8e.jpg","text":"TemporaryFile(/tmp/multipartBody798126202389362589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842082681,"filename":"image_16122025_00_37_25_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399574728","file1":"1399574687","file0":"1399574650"},"map_files_photo_id_array":[{"photo_id":"1399574728","filename":"file2"},{"photo_id":"1399574687","filename":"file1"},{"photo_id":"1399574650","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399574687":["hashtag1","hashtag2"]},{"1399574728":["hashtag1","hashtag2"]},{"1399574650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399574687, 1399574728, 1399574650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.688961267471313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:41:03.001450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:41:12.230767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:41:22.303410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/40/image_16122025_00_40_54_9642.jpg', '/home/pi/Desktop/images/16122025/00/40/image_16122025_00_41_05_10704.jpg', '/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_14_9698.jpg', '/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_24_9999.jpg', '/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_34_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/40/image_16122025_00_40_54_9642.jpg
/home/pi/Desktop/images/16122025/00/40/image_16122025_00_41_05_10704.jpg
/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_14_9698.jpg
/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_24_9999.jpg
/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_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":["1399574891","1399574855","1399574929","1399574905","1399574940"],"photo_ids_order":["1399574855","1399574891","1399574905","1399574929","1399574940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0d38b817a2aace0f7d7a6faf12d14d4.jpg","text":"TemporaryFile(/tmp/multipartBody1857709101534729856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842142915,"filename":"image_16122025_00_41_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3a9ec1a78b5330f3f6b25e772cae256.jpg","text":"TemporaryFile(/tmp/multipartBody5811704086066462481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842142915,"filename":"image_16122025_00_40_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/16/c1cc058ef3ad81274653411abbf474d2.jpg","text":"TemporaryFile(/tmp/multipartBody4731996571962072460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842142915,"filename":"image_16122025_00_41_24_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/16/29eb1a709d86c912989f6cec283aa197.jpg","text":"TemporaryFile(/tmp/multipartBody8545722269017294010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842142915,"filename":"image_16122025_00_41_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0725a5ac0b84dd0f108de67e09d7ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8967372025602930972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842142915,"filename":"image_16122025_00_41_34_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399574905","file1":"1399574891","file0":"1399574855","file4":"1399574940","file3":"1399574929"},"map_files_photo_id_array":[{"photo_id":"1399574905","filename":"file2"},{"photo_id":"1399574940","filename":"file4"},{"photo_id":"1399574891","filename":"file1"},{"photo_id":"1399574855","filename":"file0"},{"photo_id":"1399574929","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399574891":["hashtag1","hashtag2"]},{"1399574855":["hashtag1","hashtag2"]},{"1399574929":["hashtag1","hashtag2"]},{"1399574905":["hashtag1","hashtag2"]},{"1399574940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399574891, 1399574855, 1399574929, 1399574905, 1399574940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.822415590286255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:42:02.933840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:42:12.576306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:42:22.508101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_55_10664.jpg', '/home/pi/Desktop/images/16122025/00/41/image_16122025_00_42_04_9766.jpg', '/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_14_9658.jpg', '/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_24_9747.jpg', '/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_35_10914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/41/image_16122025_00_41_55_10664.jpg
/home/pi/Desktop/images/16122025/00/41/image_16122025_00_42_04_9766.jpg
/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_14_9658.jpg
/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_24_9747.jpg
/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_35_10914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399574960","1399574954","1399574957","1399574962","1399574952"],"photo_ids_order":["1399574952","1399574954","1399574957","1399574960","1399574962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/491e55f2f125cdea5d0e7348636b5177.jpg","text":"TemporaryFile(/tmp/multipartBody5739029300904392791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842203158,"filename":"image_16122025_00_42_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10003737ac5b20b9631142d43054070e.jpg","text":"TemporaryFile(/tmp/multipartBody6164727751442765013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842203158,"filename":"image_16122025_00_42_04_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37bb2e2a7bfec40fc985b1bbd2128f09.jpg","text":"TemporaryFile(/tmp/multipartBody1402132542229043244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842203158,"filename":"image_16122025_00_42_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c4de3dc55df4351b4d1d481522ae98a4.jpg","text":"TemporaryFile(/tmp/multipartBody6929481262821941992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842203158,"filename":"image_16122025_00_42_35_10914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/855c08ac729f10fc343ca2461e790b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5362127661508515734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842203158,"filename":"image_16122025_00_41_55_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399574957","file1":"1399574954","file0":"1399574952","file4":"1399574962","file3":"1399574960"},"map_files_photo_id_array":[{"photo_id":"1399574957","filename":"file2"},{"photo_id":"1399574962","filename":"file4"},{"photo_id":"1399574954","filename":"file1"},{"photo_id":"1399574952","filename":"file0"},{"photo_id":"1399574960","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399574960":["hashtag1","hashtag2"]},{"1399574954":["hashtag1","hashtag2"]},{"1399574957":["hashtag1","hashtag2"]},{"1399574962":["hashtag1","hashtag2"]},{"1399574952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399574960, 1399574954, 1399574957, 1399574962, 1399574952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.746338844299316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:43:02.502382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:43:11.830000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:43:21.972071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_54_9706.jpg', '/home/pi/Desktop/images/16122025/00/43/image_16122025_00_43_14_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/42/image_16122025_00_42_54_9706.jpg
/home/pi/Desktop/images/16122025/00/43/image_16122025_00_43_14_9718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399574987","1399574995"],"photo_ids_order":["1399574987","1399574995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66d84d6653aa4827bca6a2864b50e028.jpg","text":"TemporaryFile(/tmp/multipartBody7904068187877079900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842262437,"filename":"image_16122025_00_42_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/16/1e585503b30219c0d046095045484aff.jpg","text":"TemporaryFile(/tmp/multipartBody5797915057770354074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842262437,"filename":"image_16122025_00_43_14_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399574995","file0":"1399574987"},"map_files_photo_id_array":[{"photo_id":"1399574995","filename":"file1"},{"photo_id":"1399574987","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399574987":["hashtag1","hashtag2"]},{"1399574995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399574987, 1399574995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.10906434059143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:43:41.832967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_59_9984.jpg', '/home/pi/Desktop/images/06112025/14/18/image_06112025_14_19_00_1637.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_16_3142.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_20_3689.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_23_2613.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_25_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_18_59_9984.jpg
/home/pi/Desktop/images/06112025/14/18/image_06112025_14_19_00_1637.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_16_3142.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_20_3689.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_23_2613.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_25_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":["1399575011","1399575005","1399575008","1399575007","1399575010","1399575009"],"photo_ids_order":["1399575005","1399575007","1399575008","1399575009","1399575010","1399575011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3da866b28f15f228c8a90e5011d3f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7262138881210301823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842282527,"filename":"image_06112025_14_22_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3c01226492bde77296d0ef8c724534b.jpg","text":"TemporaryFile(/tmp/multipartBody6712353313912738831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842282527,"filename":"image_06112025_14_18_59_9984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33d05c4d266a7fa2584bec46d498b3ba.jpg","text":"TemporaryFile(/tmp/multipartBody640463026899668319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842282527,"filename":"image_06112025_14_22_16_3142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6246ad736c4d45f97c60a63921a4302d.jpg","text":"TemporaryFile(/tmp/multipartBody2851542531435634628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842282527,"filename":"image_06112025_14_19_00_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/16/80d51848d6305dc772e50e476bd2d3eb.jpg","text":"TemporaryFile(/tmp/multipartBody4437971470973093745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842282527,"filename":"image_06112025_14_22_23_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/16/3e7119d63cae337c5949df1e3c4d98bb.jpg","text":"TemporaryFile(/tmp/multipartBody4940686999549408307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842282527,"filename":"image_06112025_14_22_20_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399575008","file1":"1399575007","file0":"1399575005","file4":"1399575010","file5":"1399575011","file3":"1399575009"},"map_files_photo_id_array":[{"photo_id":"1399575011","filename":"file5"},{"photo_id":"1399575008","filename":"file2"},{"photo_id":"1399575010","filename":"file4"},{"photo_id":"1399575007","filename":"file1"},{"photo_id":"1399575005","filename":"file0"},{"photo_id":"1399575009","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399575011":["hashtag1","hashtag2"]},{"1399575005":["hashtag1","hashtag2"]},{"1399575008":["hashtag1","hashtag2"]},{"1399575007":["hashtag1","hashtag2"]},{"1399575010":["hashtag1","hashtag2"]},{"1399575009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399575011, 1399575005, 1399575008, 1399575007, 1399575010, 1399575009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.163291454315186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:44:22.134565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/43/image_16122025_00_43_24_9617.jpg', '/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_15_10593.jpg', '/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_24_9840.jpg', '/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_34_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/43/image_16122025_00_43_24_9617.jpg
/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_15_10593.jpg
/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_24_9840.jpg
/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_34_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":["1399575099","1399575060","1399575135","1399575176"],"photo_ids_order":["1399575060","1399575099","1399575135","1399575176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bdd011edd9bc7f392ce19dc065540e0.jpg","text":"TemporaryFile(/tmp/multipartBody7113800017701392160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842322695,"filename":"image_16122025_00_44_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/359a78bf28d8460e3a8aed1e1ede7526.jpg","text":"TemporaryFile(/tmp/multipartBody251835381093443261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842322695,"filename":"image_16122025_00_43_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eea98d927bb55039a8ce04922bb0bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody4660249627907736086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842322695,"filename":"image_16122025_00_44_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/349b8e3b12627c28632c86b905ba95d4.jpg","text":"TemporaryFile(/tmp/multipartBody9066310071159152151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842322695,"filename":"image_16122025_00_44_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399575135","file1":"1399575099","file0":"1399575060","file3":"1399575176"},"map_files_photo_id_array":[{"photo_id":"1399575135","filename":"file2"},{"photo_id":"1399575099","filename":"file1"},{"photo_id":"1399575060","filename":"file0"},{"photo_id":"1399575176","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399575099":["hashtag1","hashtag2"]},{"1399575060":["hashtag1","hashtag2"]},{"1399575135":["hashtag1","hashtag2"]},{"1399575176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399575099, 1399575060, 1399575135, 1399575176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.19805932044983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:45:03.011242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:45:12.235564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:45:22.398763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_55_10746.jpg', '/home/pi/Desktop/images/16122025/00/44/image_16122025_00_45_04_9634.jpg', '/home/pi/Desktop/images/16122025/00/45/image_16122025_00_45_14_9684.jpg', '/home/pi/Desktop/images/16122025/00/45/image_16122025_00_45_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/44/image_16122025_00_44_55_10746.jpg
/home/pi/Desktop/images/16122025/00/44/image_16122025_00_45_04_9634.jpg
/home/pi/Desktop/images/16122025/00/45/image_16122025_00_45_14_9684.jpg
/home/pi/Desktop/images/16122025/00/45/image_16122025_00_45_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":["1399575479","1399575452","1399575454","1399575448"],"photo_ids_order":["1399575448","1399575452","1399575454","1399575479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04006edea90b84c0e7b4106c7d27a09c.jpg","text":"TemporaryFile(/tmp/multipartBody7682449985669346596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842382969,"filename":"image_16122025_00_45_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/16/08d282f16a61b8e1be72e9735f8541d7.jpg","text":"TemporaryFile(/tmp/multipartBody3077025810051743899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842382969,"filename":"image_16122025_00_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/16/0cacc0820f71cd62721a19b7098f752b.jpg","text":"TemporaryFile(/tmp/multipartBody2630746286683999198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842382969,"filename":"image_16122025_00_45_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/16/b78dd5f4255f326de52203746174345d.jpg","text":"TemporaryFile(/tmp/multipartBody3664279006442462243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842382969,"filename":"image_16122025_00_44_55_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399575454","file1":"1399575452","file0":"1399575448","file3":"1399575479"},"map_files_photo_id_array":[{"photo_id":"1399575454","filename":"file2"},{"photo_id":"1399575452","filename":"file1"},{"photo_id":"1399575448","filename":"file0"},{"photo_id":"1399575479","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399575479":["hashtag1","hashtag2"]},{"1399575452":["hashtag1","hashtag2"]},{"1399575454":["hashtag1","hashtag2"]},{"1399575448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399575479, 1399575452, 1399575454, 1399575448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.93232250213623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:46:03.042825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:46:12.612442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:46:22.640408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/45/image_16122025_00_45_44_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/45/image_16122025_00_45_44_9748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399575644"],"photo_id":"1399575644","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7dcb97275453dfb87875235e918c29b5.jpg","text":"TemporaryFile(/tmp/multipartBody6451404957592977569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842443065,"filename":"image_16122025_00_45_44_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399575644"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399575644"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.151458501815796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:46:42.630182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_29_3283.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_31_2696.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_34_3268.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_38_3555.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_41_2776.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_44_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_29_3283.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_31_2696.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_34_3268.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_38_3555.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_41_2776.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_44_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399575676","1399575673","1399575675","1399575678","1399575657","1399575680"],"photo_ids_order":["1399575657","1399575673","1399575675","1399575676","1399575678","1399575680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc918a4254e1d995458d5077649faef9.jpg","text":"TemporaryFile(/tmp/multipartBody3962251527839127293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842463380,"filename":"image_06112025_14_22_38_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/16/205b988c9dabe54763eae6bbda38e335.jpg","text":"TemporaryFile(/tmp/multipartBody8969226752821734537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842463380,"filename":"image_06112025_14_22_31_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/16/93cbe6c17e5ae15706b41540149f1b47.jpg","text":"TemporaryFile(/tmp/multipartBody6660767464544432874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842463380,"filename":"image_06112025_14_22_34_3268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8322ed5dc4d26a5de0c6e075c15d571.jpg","text":"TemporaryFile(/tmp/multipartBody6095100831743957606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842463380,"filename":"image_06112025_14_22_41_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/16/2db91e4b12248babba769b1defd10ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7410545250386786484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842463380,"filename":"image_06112025_14_22_29_3283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a4a4a6ebc752ed6ffa79deefcdad838.jpg","text":"TemporaryFile(/tmp/multipartBody8482513561312325790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842463380,"filename":"image_06112025_14_22_44_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399575675","file1":"1399575673","file0":"1399575657","file4":"1399575678","file5":"1399575680","file3":"1399575676"},"map_files_photo_id_array":[{"photo_id":"1399575680","filename":"file5"},{"photo_id":"1399575675","filename":"file2"},{"photo_id":"1399575678","filename":"file4"},{"photo_id":"1399575673","filename":"file1"},{"photo_id":"1399575657","filename":"file0"},{"photo_id":"1399575676","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399575676":["hashtag1","hashtag2"]},{"1399575673":["hashtag1","hashtag2"]},{"1399575675":["hashtag1","hashtag2"]},{"1399575678":["hashtag1","hashtag2"]},{"1399575657":["hashtag1","hashtag2"]},{"1399575680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399575676, 1399575673, 1399575675, 1399575678, 1399575657, 1399575680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.84667706489563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:47:31.919454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:47:41.891946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_50_6067.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_51_1651.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_53_1620.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_56_2809.jpg', '/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_58_2572.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_02_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_50_6067.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_51_1651.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_53_1620.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_56_2809.jpg
/home/pi/Desktop/images/06112025/14/22/image_06112025_14_22_58_2572.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_02_3528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399575694","1399575688","1399575691","1399575690","1399575693","1399575692"],"photo_ids_order":["1399575688","1399575690","1399575691","1399575692","1399575693","1399575694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cc15f996f1ae1427e039255830b4170.jpg","text":"TemporaryFile(/tmp/multipartBody3871873405174539125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842522581,"filename":"image_06112025_14_23_02_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/16/16fca6a0e95844b63482421fbfa21df5.jpg","text":"TemporaryFile(/tmp/multipartBody3268528834633440077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842522581,"filename":"image_06112025_14_22_50_6067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0eebee35bdddb4e6d664ccdfaff61cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2865117796741877231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842522581,"filename":"image_06112025_14_22_53_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/16/8875354f39da34f5d18ffce0f4986452.jpg","text":"TemporaryFile(/tmp/multipartBody4505468731579235172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842522581,"filename":"image_06112025_14_22_51_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/16/fa2b445208136aef7c5f75139cff9c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1233610845309182770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842522581,"filename":"image_06112025_14_22_58_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/869fccb71af47cc2b9cd09b984cd2d38.jpg","text":"TemporaryFile(/tmp/multipartBody7339934364667333093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842522581,"filename":"image_06112025_14_22_56_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399575691","file1":"1399575690","file0":"1399575688","file4":"1399575693","file5":"1399575694","file3":"1399575692"},"map_files_photo_id_array":[{"photo_id":"1399575694","filename":"file5"},{"photo_id":"1399575691","filename":"file2"},{"photo_id":"1399575693","filename":"file4"},{"photo_id":"1399575690","filename":"file1"},{"photo_id":"1399575688","filename":"file0"},{"photo_id":"1399575692","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399575694":["hashtag1","hashtag2"]},{"1399575688":["hashtag1","hashtag2"]},{"1399575691":["hashtag1","hashtag2"]},{"1399575690":["hashtag1","hashtag2"]},{"1399575693":["hashtag1","hashtag2"]},{"1399575692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399575694, 1399575688, 1399575691, 1399575690, 1399575693, 1399575692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97088813781738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:48:22.176332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/46/image_16122025_00_46_15_10703.jpg', '/home/pi/Desktop/images/16122025/00/47/image_16122025_00_47_14_9721.jpg', '/home/pi/Desktop/images/16122025/00/47/image_16122025_00_47_35_9772.jpg', '/home/pi/Desktop/images/16122025/00/47/image_16122025_00_47_44_9663.jpg', '/home/pi/Desktop/images/16122025/00/47/image_16122025_00_48_04_9735.jpg', '/home/pi/Desktop/images/16122025/00/48/image_16122025_00_48_15_10892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/46/image_16122025_00_46_15_10703.jpg
/home/pi/Desktop/images/16122025/00/47/image_16122025_00_47_14_9721.jpg
/home/pi/Desktop/images/16122025/00/47/image_16122025_00_47_35_9772.jpg
/home/pi/Desktop/images/16122025/00/47/image_16122025_00_47_44_9663.jpg
/home/pi/Desktop/images/16122025/00/47/image_16122025_00_48_04_9735.jpg
/home/pi/Desktop/images/16122025/00/48/image_16122025_00_48_15_10892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399575722","1399575704","1399575709","1399575699","1399575720","1399575702"],"photo_ids_order":["1399575699","1399575702","1399575704","1399575709","1399575720","1399575722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c005bb04a1aa40f05ee349a99b64df57.jpg","text":"TemporaryFile(/tmp/multipartBody2794714321589300606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842562872,"filename":"image_16122025_00_48_15_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/16/63d3ef74de5efec4c369aff37156181b.jpg","text":"TemporaryFile(/tmp/multipartBody2166511983353805390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842562872,"filename":"image_16122025_00_47_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75f192e79de0390147fed13040701e66.jpg","text":"TemporaryFile(/tmp/multipartBody5007679641572374042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842562872,"filename":"image_16122025_00_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/16/e685fd6f8e3af98d118d2c50fe68e992.jpg","text":"TemporaryFile(/tmp/multipartBody2028854247745809705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842562872,"filename":"image_16122025_00_46_15_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b20159a37ccbec99b2dbc7bc45bcb04a.jpg","text":"TemporaryFile(/tmp/multipartBody8302328865024429422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842562872,"filename":"image_16122025_00_48_04_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/871c03fc336120c8ce18ce7777a80655.jpg","text":"TemporaryFile(/tmp/multipartBody2956413134033114066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842562872,"filename":"image_16122025_00_47_14_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399575704","file1":"1399575702","file0":"1399575699","file4":"1399575720","file5":"1399575722","file3":"1399575709"},"map_files_photo_id_array":[{"photo_id":"1399575722","filename":"file5"},{"photo_id":"1399575704","filename":"file2"},{"photo_id":"1399575720","filename":"file4"},{"photo_id":"1399575702","filename":"file1"},{"photo_id":"1399575699","filename":"file0"},{"photo_id":"1399575709","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399575722":["hashtag1","hashtag2"]},{"1399575704":["hashtag1","hashtag2"]},{"1399575709":["hashtag1","hashtag2"]},{"1399575699":["hashtag1","hashtag2"]},{"1399575720":["hashtag1","hashtag2"]},{"1399575702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399575722, 1399575704, 1399575709, 1399575699, 1399575720, 1399575702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48427200317383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:49:03.276132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/48/image_16122025_00_48_24_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/48/image_16122025_00_48_24_9570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399575727"],"photo_id":"1399575727","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad97886fd74bd31ba82e9b62b42b3756.jpg","text":"TemporaryFile(/tmp/multipartBody5611997379396459443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842603825,"filename":"image_16122025_00_48_24_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399575727"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399575727"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.89241099357605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:49:22.325587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/48/image_16122025_00_48_54_9757.jpg', '/home/pi/Desktop/images/16122025/00/48/image_16122025_00_49_04_9842.jpg', '/home/pi/Desktop/images/16122025/00/49/image_16122025_00_49_15_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/48/image_16122025_00_48_54_9757.jpg
/home/pi/Desktop/images/16122025/00/48/image_16122025_00_49_04_9842.jpg
/home/pi/Desktop/images/16122025/00/49/image_16122025_00_49_15_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399575814","1399575852","1399575890"],"photo_ids_order":["1399575814","1399575852","1399575890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/465e9a70bae8c74fdbf320fd143d5103.jpg","text":"TemporaryFile(/tmp/multipartBody1403847027279025273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842622860,"filename":"image_16122025_00_48_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e654920e624c1885e49ba5f1046f282.jpg","text":"TemporaryFile(/tmp/multipartBody9084755400720596765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842622860,"filename":"image_16122025_00_49_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/63f2bd824963ad938b9eaea212220702.jpg","text":"TemporaryFile(/tmp/multipartBody3766983954222943161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842622860,"filename":"image_16122025_00_49_15_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399575890","file1":"1399575852","file0":"1399575814"},"map_files_photo_id_array":[{"photo_id":"1399575890","filename":"file2"},{"photo_id":"1399575852","filename":"file1"},{"photo_id":"1399575814","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399575814":["hashtag1","hashtag2"]},{"1399575852":["hashtag1","hashtag2"]},{"1399575890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399575814, 1399575852, 1399575890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.421573638916016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:50:02.978351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:50:12.558506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:50:22.699319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/49/image_16122025_00_49_44_9771.jpg', '/home/pi/Desktop/images/16122025/00/50/image_16122025_00_50_24_9821.jpg', '/home/pi/Desktop/images/16122025/00/50/image_16122025_00_50_35_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/49/image_16122025_00_49_44_9771.jpg
/home/pi/Desktop/images/16122025/00/50/image_16122025_00_50_24_9821.jpg
/home/pi/Desktop/images/16122025/00/50/image_16122025_00_50_35_10781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399576387","1399576348","1399576312"],"photo_ids_order":["1399576312","1399576348","1399576387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e63410822d3eff5e165bd67e17159b7c.jpg","text":"TemporaryFile(/tmp/multipartBody597636949828955126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842683250,"filename":"image_16122025_00_50_35_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e1ae73238554ef0b6f7766a08d3bca9.jpg","text":"TemporaryFile(/tmp/multipartBody8615100117772705098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842683250,"filename":"image_16122025_00_50_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/16/17bd1516f4f1fde6c4cd6e216cb33777.jpg","text":"TemporaryFile(/tmp/multipartBody5621779983874148943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842683250,"filename":"image_16122025_00_49_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399576387","file1":"1399576348","file0":"1399576312"},"map_files_photo_id_array":[{"photo_id":"1399576387","filename":"file2"},{"photo_id":"1399576348","filename":"file1"},{"photo_id":"1399576312","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399576387":["hashtag1","hashtag2"]},{"1399576348":["hashtag1","hashtag2"]},{"1399576312":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399576387, 1399576348, 1399576312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.59394359588623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:51:02.453099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:51:11.853446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:51:21.849452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/50/image_16122025_00_50_54_9658.jpg', '/home/pi/Desktop/images/16122025/00/50/image_16122025_00_51_05_10660.jpg', '/home/pi/Desktop/images/16122025/00/51/image_16122025_00_51_14_9646.jpg', '/home/pi/Desktop/images/16122025/00/51/image_16122025_00_51_24_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/50/image_16122025_00_50_54_9658.jpg
/home/pi/Desktop/images/16122025/00/50/image_16122025_00_51_05_10660.jpg
/home/pi/Desktop/images/16122025/00/51/image_16122025_00_51_14_9646.jpg
/home/pi/Desktop/images/16122025/00/51/image_16122025_00_51_24_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":["1399576635","1399576638","1399576632","1399576640"],"photo_ids_order":["1399576632","1399576635","1399576638","1399576640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98f16f5392644c4c5ea0b83b6c0333ba.jpg","text":"TemporaryFile(/tmp/multipartBody7511040775476568040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842742414,"filename":"image_16122025_00_51_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12651350f5764181051756d45aa07dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5909855895345468714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842742414,"filename":"image_16122025_00_51_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b08455bef7c0515f16667b6a70fc5c5f.jpg","text":"TemporaryFile(/tmp/multipartBody5879422076453478881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842742414,"filename":"image_16122025_00_50_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/16/bb117e9352a49a2fa31ba945960a319a.jpg","text":"TemporaryFile(/tmp/multipartBody1345663474547301444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842742414,"filename":"image_16122025_00_51_24_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399576638","file1":"1399576635","file0":"1399576632","file3":"1399576640"},"map_files_photo_id_array":[{"photo_id":"1399576638","filename":"file2"},{"photo_id":"1399576635","filename":"file1"},{"photo_id":"1399576632","filename":"file0"},{"photo_id":"1399576640","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399576635":["hashtag1","hashtag2"]},{"1399576638":["hashtag1","hashtag2"]},{"1399576632":["hashtag1","hashtag2"]},{"1399576640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399576635, 1399576638, 1399576632, 1399576640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.277897357940674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:52:02.483229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:52:12.001742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:52:22.008148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/51/image_16122025_00_51_45_10656.jpg', '/home/pi/Desktop/images/16122025/00/52/image_16122025_00_52_14_9847.jpg', '/home/pi/Desktop/images/16122025/00/52/image_16122025_00_52_24_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/51/image_16122025_00_51_45_10656.jpg
/home/pi/Desktop/images/16122025/00/52/image_16122025_00_52_14_9847.jpg
/home/pi/Desktop/images/16122025/00/52/image_16122025_00_52_24_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399576932","1399576862","1399576897"],"photo_ids_order":["1399576862","1399576897","1399576932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c06d68ba0dc219a6206a6ac87c48a373.jpg","text":"TemporaryFile(/tmp/multipartBody378258662434038562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842802527,"filename":"image_16122025_00_52_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/16/98a6c472d2632b22b29e8c30fc34a2f3.jpg","text":"TemporaryFile(/tmp/multipartBody6363169737112281163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842802527,"filename":"image_16122025_00_51_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a16df3c1773a8dbf118833fbde6a750.jpg","text":"TemporaryFile(/tmp/multipartBody5688697304665817230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842802527,"filename":"image_16122025_00_52_14_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399576932","file1":"1399576897","file0":"1399576862"},"map_files_photo_id_array":[{"photo_id":"1399576932","filename":"file2"},{"photo_id":"1399576897","filename":"file1"},{"photo_id":"1399576862","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399576932":["hashtag1","hashtag2"]},{"1399576862":["hashtag1","hashtag2"]},{"1399576897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399576932, 1399576862, 1399576897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.249339818954468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:53:02.927306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:53:12.392137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:53:22.305269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/52/image_16122025_00_52_35_10946.jpg', '/home/pi/Desktop/images/16122025/00/52/image_16122025_00_53_04_9785.jpg', '/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_15_10740.jpg', '/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_24_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/52/image_16122025_00_52_35_10946.jpg
/home/pi/Desktop/images/16122025/00/52/image_16122025_00_53_04_9785.jpg
/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_15_10740.jpg
/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_24_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":["1399576990","1399576991","1399576985","1399576988"],"photo_ids_order":["1399576985","1399576988","1399576990","1399576991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db5c5ed786a2781e62ba0c65671d1e90.jpg","text":"TemporaryFile(/tmp/multipartBody5919314478007577536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842862867,"filename":"image_16122025_00_53_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2393ca3b009275f7a89b8775ca1e91e4.jpg","text":"TemporaryFile(/tmp/multipartBody5486348357994029778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842862867,"filename":"image_16122025_00_53_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60a40e72b37b860fbd7186a1943a61ed.jpg","text":"TemporaryFile(/tmp/multipartBody635240534154756635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842862867,"filename":"image_16122025_00_52_35_10946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d7f9c4e7e55dbfa670027cc6fe837fd.jpg","text":"TemporaryFile(/tmp/multipartBody2276439697276968627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842862867,"filename":"image_16122025_00_53_04_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399576990","file1":"1399576988","file0":"1399576985","file3":"1399576991"},"map_files_photo_id_array":[{"photo_id":"1399576990","filename":"file2"},{"photo_id":"1399576988","filename":"file1"},{"photo_id":"1399576985","filename":"file0"},{"photo_id":"1399576991","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399576990":["hashtag1","hashtag2"]},{"1399576991":["hashtag1","hashtag2"]},{"1399576985":["hashtag1","hashtag2"]},{"1399576988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399576990, 1399576991, 1399576985, 1399576988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.46747064590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:54:03.175058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:54:12.494640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:54:22.566376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_45_10709.jpg', '/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_14_9650.jpg', '/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_24_9756.jpg', '/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_44_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_45_10709.jpg
/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_14_9650.jpg
/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_24_9756.jpg
/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_44_9784.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46200132369995117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:54:32.562669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 00:54:42.470597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_04_2571.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_08_3585.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_11_2718.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_13_2627.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_18_4499.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_19_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_04_2571.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_08_3585.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_11_2718.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_13_2627.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_18_4499.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_19_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399577562","1399577592","1399577523","1399577403","1399577444","1399577482"],"photo_ids_order":["1399577403","1399577444","1399577482","1399577523","1399577562","1399577592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85bd8259b22706aaa3f57188a60cc58a.jpg","text":"TemporaryFile(/tmp/multipartBody8690250221403894095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842943165,"filename":"image_06112025_14_23_18_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/16/a234f991f0dad0f0017a72c2cff0026b.jpg","text":"TemporaryFile(/tmp/multipartBody6231394647651885787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842943165,"filename":"image_06112025_14_23_19_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/16/f6dcf59fe64174d3a9783acd031023eb.jpg","text":"TemporaryFile(/tmp/multipartBody649351691137827635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842943165,"filename":"image_06112025_14_23_13_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/16/cc07b15fa3d56f2c1cb6bc7e9c13a1af.jpg","text":"TemporaryFile(/tmp/multipartBody3943444576255740896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842943165,"filename":"image_06112025_14_23_04_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fdc6dd6e1dc6fd598eab23b57d4f810d.jpg","text":"TemporaryFile(/tmp/multipartBody59662058897179828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842943165,"filename":"image_06112025_14_23_08_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/16/f8938254d9ce6dc565d6cd01e7772613.jpg","text":"TemporaryFile(/tmp/multipartBody7316113832050486591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842943165,"filename":"image_06112025_14_23_11_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399577482","file1":"1399577444","file0":"1399577403","file4":"1399577562","file5":"1399577592","file3":"1399577523"},"map_files_photo_id_array":[{"photo_id":"1399577592","filename":"file5"},{"photo_id":"1399577482","filename":"file2"},{"photo_id":"1399577562","filename":"file4"},{"photo_id":"1399577444","filename":"file1"},{"photo_id":"1399577403","filename":"file0"},{"photo_id":"1399577523","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399577562":["hashtag1","hashtag2"]},{"1399577592":["hashtag1","hashtag2"]},{"1399577523":["hashtag1","hashtag2"]},{"1399577403":["hashtag1","hashtag2"]},{"1399577444":["hashtag1","hashtag2"]},{"1399577482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399577562, 1399577592, 1399577523, 1399577403, 1399577444, 1399577482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07220721244812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:55:22.734217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_45_10709.jpg', '/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_14_9650.jpg', '/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_24_9756.jpg', '/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_44_9784.jpg', '/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_54_9702.jpg', '/home/pi/Desktop/images/16122025/00/55/image_16122025_00_55_15_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/53/image_16122025_00_53_45_10709.jpg
/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_14_9650.jpg
/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_24_9756.jpg
/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_44_9784.jpg
/home/pi/Desktop/images/16122025/00/54/image_16122025_00_54_54_9702.jpg
/home/pi/Desktop/images/16122025/00/55/image_16122025_00_55_15_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":["1399577595","1399577625","1399577700","1399577597","1399577663","1399577720"],"photo_ids_order":["1399577595","1399577597","1399577625","1399577663","1399577700","1399577720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2c0618c57466a759ec1e6a3de370314a.jpg","text":"TemporaryFile(/tmp/multipartBody2599217167608953069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842983390,"filename":"image_16122025_00_53_45_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d87b3b4c6bc9de64d95806f14336254c.jpg","text":"TemporaryFile(/tmp/multipartBody1781228703287774467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842983390,"filename":"image_16122025_00_54_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8896efd1e5b3ba0e4d65489711886a08.jpg","text":"TemporaryFile(/tmp/multipartBody7126536951934249593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842983390,"filename":"image_16122025_00_54_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/16/c82b5501cfad1039f323189d9494dcb7.jpg","text":"TemporaryFile(/tmp/multipartBody5770202537883713211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842983390,"filename":"image_16122025_00_54_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/16/8d7cef34f5790a4ab7d0ef2df43082b4.jpg","text":"TemporaryFile(/tmp/multipartBody3328021190710469517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842983390,"filename":"image_16122025_00_54_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/16/c303e5ccbbd3c11e297772e1031b0715.jpg","text":"TemporaryFile(/tmp/multipartBody3670239635206158791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765842983390,"filename":"image_16122025_00_55_15_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399577625","file1":"1399577597","file0":"1399577595","file4":"1399577700","file5":"1399577720","file3":"1399577663"},"map_files_photo_id_array":[{"photo_id":"1399577720","filename":"file5"},{"photo_id":"1399577625","filename":"file2"},{"photo_id":"1399577700","filename":"file4"},{"photo_id":"1399577597","filename":"file1"},{"photo_id":"1399577595","filename":"file0"},{"photo_id":"1399577663","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399577595":["hashtag1","hashtag2"]},{"1399577625":["hashtag1","hashtag2"]},{"1399577700":["hashtag1","hashtag2"]},{"1399577597":["hashtag1","hashtag2"]},{"1399577663":["hashtag1","hashtag2"]},{"1399577720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399577595, 1399577625, 1399577700, 1399577597, 1399577663, 1399577720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05319786071777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:56:02.431804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/55/image_16122025_00_55_24_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/55/image_16122025_00_55_24_9851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399577757"],"photo_id":"1399577757","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd871b84fa271905296030bb650d1965.jpg","text":"TemporaryFile(/tmp/multipartBody8845662337916100795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843022863,"filename":"image_16122025_00_55_24_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399577757"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399577757"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.28660249710083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:56:21.958608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/55/image_16122025_00_55_55_10694.jpg', '/home/pi/Desktop/images/16122025/00/55/image_16122025_00_56_04_9720.jpg', '/home/pi/Desktop/images/16122025/00/56/image_16122025_00_56_14_9617.jpg', '/home/pi/Desktop/images/16122025/00/56/image_16122025_00_56_25_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/55/image_16122025_00_55_55_10694.jpg
/home/pi/Desktop/images/16122025/00/55/image_16122025_00_56_04_9720.jpg
/home/pi/Desktop/images/16122025/00/56/image_16122025_00_56_14_9617.jpg
/home/pi/Desktop/images/16122025/00/56/image_16122025_00_56_25_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399578004","1399577960","1399577876","1399577918"],"photo_ids_order":["1399577876","1399577918","1399577960","1399578004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1b67cf04b255ee62ce22762f44de27c.jpg","text":"TemporaryFile(/tmp/multipartBody7511333025199832715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843042559,"filename":"image_16122025_00_56_25_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92c51c1602bdbc6493ca92526dde4da8.jpg","text":"TemporaryFile(/tmp/multipartBody1191517012143649652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843042559,"filename":"image_16122025_00_56_14_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/16/5f9b288b8dc1d89750dfb9034bff6bba.jpg","text":"TemporaryFile(/tmp/multipartBody4465783450813281448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843042559,"filename":"image_16122025_00_55_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/756e6031fc9c28ad9715e667ca7e358b.jpg","text":"TemporaryFile(/tmp/multipartBody2747593730655887659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843042559,"filename":"image_16122025_00_56_04_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399577960","file1":"1399577918","file0":"1399577876","file3":"1399578004"},"map_files_photo_id_array":[{"photo_id":"1399577960","filename":"file2"},{"photo_id":"1399577918","filename":"file1"},{"photo_id":"1399577876","filename":"file0"},{"photo_id":"1399578004","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399578004":["hashtag1","hashtag2"]},{"1399577960":["hashtag1","hashtag2"]},{"1399577876":["hashtag1","hashtag2"]},{"1399577918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399578004, 1399577960, 1399577876, 1399577918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.76700520515442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:57:02.785497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 00:57:12.251480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 00:57:22.170094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/56/image_16122025_00_56_34_9621.jpg', '/home/pi/Desktop/images/16122025/00/56/image_16122025_00_57_04_9651.jpg', '/home/pi/Desktop/images/16122025/00/57/image_16122025_00_57_24_9549.jpg', '/home/pi/Desktop/images/16122025/00/57/image_16122025_00_57_35_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/56/image_16122025_00_56_34_9621.jpg
/home/pi/Desktop/images/16122025/00/56/image_16122025_00_57_04_9651.jpg
/home/pi/Desktop/images/16122025/00/57/image_16122025_00_57_24_9549.jpg
/home/pi/Desktop/images/16122025/00/57/image_16122025_00_57_35_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399578258","1399578225","1399578283","1399578241"],"photo_ids_order":["1399578225","1399578241","1399578258","1399578283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6d602d0e4e2d7d53b6b5d4136b471be.jpg","text":"TemporaryFile(/tmp/multipartBody8176255183823980863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843102730,"filename":"image_16122025_00_57_24_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/16/2d8d1f112dbb8136ebd7921415433f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4407002024143556750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843102730,"filename":"image_16122025_00_56_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/16/4425c25bfb15328746de3dda0f6553b8.jpg","text":"TemporaryFile(/tmp/multipartBody6896201018448194950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843102730,"filename":"image_16122025_00_57_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1225dbe1dd73b870cafb9c11101e400.jpg","text":"TemporaryFile(/tmp/multipartBody9126474452435360403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843102730,"filename":"image_16122025_00_57_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399578258","file1":"1399578241","file0":"1399578225","file3":"1399578283"},"map_files_photo_id_array":[{"photo_id":"1399578258","filename":"file2"},{"photo_id":"1399578241","filename":"file1"},{"photo_id":"1399578225","filename":"file0"},{"photo_id":"1399578283","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399578258":["hashtag1","hashtag2"]},{"1399578225":["hashtag1","hashtag2"]},{"1399578283":["hashtag1","hashtag2"]},{"1399578241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399578258, 1399578225, 1399578283, 1399578241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.23164200782776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 00:59:03.337235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/57/image_16122025_00_57_54_9726.jpg', '/home/pi/Desktop/images/16122025/00/57/image_16122025_00_58_04_10558.jpg', '/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_14_9696.jpg', '/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_24_9669.jpg', '/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_35_10800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/57/image_16122025_00_57_54_9726.jpg
/home/pi/Desktop/images/16122025/00/57/image_16122025_00_58_04_10558.jpg
/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_14_9696.jpg
/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_24_9669.jpg
/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_35_10800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399579152","1399579085","1399579237","1399579473","1399579341"],"photo_ids_order":["1399579085","1399579152","1399579237","1399579341","1399579473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47aeb1fd174dbb4a897634b3100e59d3.jpg","text":"TemporaryFile(/tmp/multipartBody385240078745825672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843204165,"filename":"image_16122025_00_58_04_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae5a3d59a746de158b1da2926c7335f8.jpg","text":"TemporaryFile(/tmp/multipartBody7184879261454195444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843204165,"filename":"image_16122025_00_57_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/790e04a49ef7ac0689ed422b349a1714.jpg","text":"TemporaryFile(/tmp/multipartBody1824840235980757942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843204165,"filename":"image_16122025_00_58_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/16/4586893c452ac8da5f7eeddb9cc505a3.jpg","text":"TemporaryFile(/tmp/multipartBody6277917941663224781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843204165,"filename":"image_16122025_00_58_35_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/16/693a7848f489c56562f9a8032008b8d5.jpg","text":"TemporaryFile(/tmp/multipartBody2772405924111548619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843204165,"filename":"image_16122025_00_58_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399579237","file1":"1399579152","file0":"1399579085","file4":"1399579473","file3":"1399579341"},"map_files_photo_id_array":[{"photo_id":"1399579237","filename":"file2"},{"photo_id":"1399579473","filename":"file4"},{"photo_id":"1399579152","filename":"file1"},{"photo_id":"1399579085","filename":"file0"},{"photo_id":"1399579341","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399579152":["hashtag1","hashtag2"]},{"1399579085":["hashtag1","hashtag2"]},{"1399579237":["hashtag1","hashtag2"]},{"1399579473":["hashtag1","hashtag2"]},{"1399579341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399579152, 1399579085, 1399579237, 1399579473, 1399579341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 56.54165577888489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:00:03.198024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_44_9661.jpg', '/home/pi/Desktop/images/16122025/00/58/image_16122025_00_59_04_9709.jpg', '/home/pi/Desktop/images/16122025/00/59/image_16122025_00_59_15_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_44_9661.jpg
/home/pi/Desktop/images/16122025/00/58/image_16122025_00_59_04_9709.jpg
/home/pi/Desktop/images/16122025/00/59/image_16122025_00_59_15_10687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4548344612121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:00:12.743340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:00:22.762843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_44_9661.jpg', '/home/pi/Desktop/images/16122025/00/58/image_16122025_00_59_04_9709.jpg', '/home/pi/Desktop/images/16122025/00/59/image_16122025_00_59_15_10687.jpg', '/home/pi/Desktop/images/16122025/00/59/image_16122025_00_59_24_9721.jpg', '/home/pi/Desktop/images/16122025/00/59/image_16122025_01_00_05_9764.jpg', '/home/pi/Desktop/images/16122025/01/00/image_16122025_01_00_14_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/00/58/image_16122025_00_58_44_9661.jpg
/home/pi/Desktop/images/16122025/00/58/image_16122025_00_59_04_9709.jpg
/home/pi/Desktop/images/16122025/00/59/image_16122025_00_59_15_10687.jpg
/home/pi/Desktop/images/16122025/00/59/image_16122025_00_59_24_9721.jpg
/home/pi/Desktop/images/16122025/00/59/image_16122025_01_00_05_9764.jpg
/home/pi/Desktop/images/16122025/01/00/image_16122025_01_00_14_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399579886","1399579805","1399579885","1399579888","1399579890","1399579845"],"photo_ids_order":["1399579805","1399579845","1399579885","1399579886","1399579888","1399579890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3680dbea77a83678f3dc02013054a60c.jpg","text":"TemporaryFile(/tmp/multipartBody8448568475260023138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843283413,"filename":"image_16122025_00_59_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea5488e414ba824ea3a9e9ba737889eb.jpg","text":"TemporaryFile(/tmp/multipartBody5870648784408515877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843283413,"filename":"image_16122025_00_58_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/16/83c3e8ab7b78c9f08ea5a71568d8cf8a.jpg","text":"TemporaryFile(/tmp/multipartBody2323092121527559861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843283413,"filename":"image_16122025_00_59_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bde2ba001c2c17a580aa7d2b983bd59.jpg","text":"TemporaryFile(/tmp/multipartBody4450420972914964790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843283413,"filename":"image_16122025_01_00_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/16/1de18c91c19f1ea9769d449469dba80e.jpg","text":"TemporaryFile(/tmp/multipartBody3074101785371982391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843283413,"filename":"image_16122025_01_00_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/16/26b771e334e35756dddb35165213fc10.jpg","text":"TemporaryFile(/tmp/multipartBody3973158531720916580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843283413,"filename":"image_16122025_00_59_04_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399579885","file1":"1399579845","file0":"1399579805","file4":"1399579888","file5":"1399579890","file3":"1399579886"},"map_files_photo_id_array":[{"photo_id":"1399579890","filename":"file5"},{"photo_id":"1399579885","filename":"file2"},{"photo_id":"1399579888","filename":"file4"},{"photo_id":"1399579845","filename":"file1"},{"photo_id":"1399579805","filename":"file0"},{"photo_id":"1399579886","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399579886":["hashtag1","hashtag2"]},{"1399579805":["hashtag1","hashtag2"]},{"1399579885":["hashtag1","hashtag2"]},{"1399579888":["hashtag1","hashtag2"]},{"1399579890":["hashtag1","hashtag2"]},{"1399579845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399579886, 1399579805, 1399579885, 1399579888, 1399579890, 1399579845)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.82388138771057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:01:11.981363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:01:22.026485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/00/image_16122025_01_00_24_9771.jpg', '/home/pi/Desktop/images/16122025/01/00/image_16122025_01_00_44_9679.jpg', '/home/pi/Desktop/images/16122025/01/00/image_16122025_01_01_05_10708.jpg', '/home/pi/Desktop/images/16122025/01/01/image_16122025_01_01_14_9625.jpg', '/home/pi/Desktop/images/16122025/01/01/image_16122025_01_01_24_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/00/image_16122025_01_00_24_9771.jpg
/home/pi/Desktop/images/16122025/01/00/image_16122025_01_00_44_9679.jpg
/home/pi/Desktop/images/16122025/01/00/image_16122025_01_01_05_10708.jpg
/home/pi/Desktop/images/16122025/01/01/image_16122025_01_01_14_9625.jpg
/home/pi/Desktop/images/16122025/01/01/image_16122025_01_01_24_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399580055","1399580060","1399580057","1399580051","1399580053"],"photo_ids_order":["1399580051","1399580053","1399580055","1399580057","1399580060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa13b64a621c0ba3bcb807d5bf8b9a42.jpg","text":"TemporaryFile(/tmp/multipartBody2414775779251458449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843342637,"filename":"image_16122025_01_01_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/16/dca930b5477f6e41598cc552979104fd.jpg","text":"TemporaryFile(/tmp/multipartBody221499519962024954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843342637,"filename":"image_16122025_01_01_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/16/ac0e990fbcdbf9196bc5d8f770f5a1ee.jpg","text":"TemporaryFile(/tmp/multipartBody1382707546330757603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843342637,"filename":"image_16122025_01_01_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5426c58a804ae34afe9d881bfb86d314.jpg","text":"TemporaryFile(/tmp/multipartBody3002475665140966285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843342637,"filename":"image_16122025_01_00_24_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/16/13bab6a5b357da2a2a604396bea7601e.jpg","text":"TemporaryFile(/tmp/multipartBody4183640500580823112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843342637,"filename":"image_16122025_01_00_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399580055","file1":"1399580053","file0":"1399580051","file4":"1399580060","file3":"1399580057"},"map_files_photo_id_array":[{"photo_id":"1399580055","filename":"file2"},{"photo_id":"1399580060","filename":"file4"},{"photo_id":"1399580053","filename":"file1"},{"photo_id":"1399580051","filename":"file0"},{"photo_id":"1399580057","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399580055":["hashtag1","hashtag2"]},{"1399580060":["hashtag1","hashtag2"]},{"1399580057":["hashtag1","hashtag2"]},{"1399580051":["hashtag1","hashtag2"]},{"1399580053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399580055, 1399580060, 1399580057, 1399580051, 1399580053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.991904735565186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:02:02.709531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:02:12.321609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:02:22.236006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/01/image_16122025_01_01_35_10693.jpg', '/home/pi/Desktop/images/16122025/01/02/image_16122025_01_02_34_9666.jpg', '/home/pi/Desktop/images/16122025/01/02/image_16122025_01_02_44_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/01/image_16122025_01_01_35_10693.jpg
/home/pi/Desktop/images/16122025/01/02/image_16122025_01_02_34_9666.jpg
/home/pi/Desktop/images/16122025/01/02/image_16122025_01_02_44_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399580070","1399580067","1399580069"],"photo_ids_order":["1399580067","1399580069","1399580070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dda09c1001383fb311dfafd98d8b85b0.jpg","text":"TemporaryFile(/tmp/multipartBody1786467880119583678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843402762,"filename":"image_16122025_01_02_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/16/6b57c4a02174a889cea5faf3082c6345.jpg","text":"TemporaryFile(/tmp/multipartBody6127386675057949455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843402762,"filename":"image_16122025_01_01_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e58fe49df07ea87a914f2ca20b5a8112.jpg","text":"TemporaryFile(/tmp/multipartBody986567189144691473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843402762,"filename":"image_16122025_01_02_34_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399580070","file1":"1399580069","file0":"1399580067"},"map_files_photo_id_array":[{"photo_id":"1399580070","filename":"file2"},{"photo_id":"1399580069","filename":"file1"},{"photo_id":"1399580067","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399580070":["hashtag1","hashtag2"]},{"1399580067":["hashtag1","hashtag2"]},{"1399580069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399580070, 1399580067, 1399580069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.812830448150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:03:03.106823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:03:12.423358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:03:22.459459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/02/image_16122025_01_02_55_10647.jpg', '/home/pi/Desktop/images/16122025/01/02/image_16122025_01_03_05_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/02/image_16122025_01_02_55_10647.jpg
/home/pi/Desktop/images/16122025/01/02/image_16122025_01_03_05_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399580095","1399580098"],"photo_ids_order":["1399580095","1399580098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccf849371e86321546443a5cae05ef2d.jpg","text":"TemporaryFile(/tmp/multipartBody4376339426495786468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843462946,"filename":"image_16122025_01_02_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c897804a8fe431f5af6e092af5657fbc.jpg","text":"TemporaryFile(/tmp/multipartBody345664343148485964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843462946,"filename":"image_16122025_01_03_05_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399580098","file0":"1399580095"},"map_files_photo_id_array":[{"photo_id":"1399580098","filename":"file1"},{"photo_id":"1399580095","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399580095":["hashtag1","hashtag2"]},{"1399580098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399580095, 1399580098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.184523820877075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:03:42.560812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_22_2644.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_26_3705.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_29_2694.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_31_2592.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_35_3536.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_37_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_22_2644.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_26_3705.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_29_2694.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_31_2592.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_35_3536.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_37_2784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399580104","1399580106","1399580102","1399580105","1399580108","1399580107"],"photo_ids_order":["1399580102","1399580104","1399580105","1399580106","1399580107","1399580108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1e97d4db06104cb99fd2342f3d49cb9.jpg","text":"TemporaryFile(/tmp/multipartBody202736337099269795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843483266,"filename":"image_06112025_14_23_26_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfde81f0aea4fe668926cf453917327f.jpg","text":"TemporaryFile(/tmp/multipartBody7844749659862844556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843483266,"filename":"image_06112025_14_23_31_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/16/5bf1ee2e5c8b63db9095973598193dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7039126000091604514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843483266,"filename":"image_06112025_14_23_22_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea640726a4dbad60f821c76ef7189d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1664267366681379181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843483266,"filename":"image_06112025_14_23_29_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38a1c8abfce2ce413fcdf305bbc7f55a.jpg","text":"TemporaryFile(/tmp/multipartBody4986640474075573918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843483266,"filename":"image_06112025_14_23_37_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/16/f20e30f9a09dd557fcfff8b927a81af2.jpg","text":"TemporaryFile(/tmp/multipartBody9217201759511320317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843483266,"filename":"image_06112025_14_23_35_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399580105","file1":"1399580104","file0":"1399580102","file4":"1399580107","file5":"1399580108","file3":"1399580106"},"map_files_photo_id_array":[{"photo_id":"1399580108","filename":"file5"},{"photo_id":"1399580105","filename":"file2"},{"photo_id":"1399580107","filename":"file4"},{"photo_id":"1399580104","filename":"file1"},{"photo_id":"1399580102","filename":"file0"},{"photo_id":"1399580106","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399580104":["hashtag1","hashtag2"]},{"1399580106":["hashtag1","hashtag2"]},{"1399580102":["hashtag1","hashtag2"]},{"1399580105":["hashtag1","hashtag2"]},{"1399580108":["hashtag1","hashtag2"]},{"1399580107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399580104, 1399580106, 1399580102, 1399580105, 1399580108, 1399580107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.882558822631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:04:21.795550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/03/image_16122025_01_03_24_9744.jpg', '/home/pi/Desktop/images/16122025/01/04/image_16122025_01_04_14_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/03/image_16122025_01_03_24_9744.jpg
/home/pi/Desktop/images/16122025/01/04/image_16122025_01_04_14_9719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3631458282470703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:04:31.781036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:04:41.771859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_40_2731.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_44_3624.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_46_2610.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_49_2730.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_53_3567.jpg', '/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_55_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_40_2731.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_44_3624.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_46_2610.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_49_2730.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_53_3567.jpg
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_55_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":["1399580133","1399580127","1399580123","1399580126","1399580125","1399580128"],"photo_ids_order":["1399580123","1399580125","1399580126","1399580127","1399580128","1399580133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/40eb061784f47bbf51ff3c6574523d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7021448373368997466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843542474,"filename":"image_06112025_14_23_55_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/16/1e0f2dc2a840a5c127721c9eee85019c.jpg","text":"TemporaryFile(/tmp/multipartBody1753816967659439236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843542474,"filename":"image_06112025_14_23_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/16/855220f1f3ee9be06284fd0e86ce1af2.jpg","text":"TemporaryFile(/tmp/multipartBody5114734872897442940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843542474,"filename":"image_06112025_14_23_40_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/16/a5ddcac49fdc1973dd41e2c9a41ee3a1.jpg","text":"TemporaryFile(/tmp/multipartBody4769597072580184203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843542474,"filename":"image_06112025_14_23_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/16/ebc163327dd6d47f7a17a9f01258e33a.jpg","text":"TemporaryFile(/tmp/multipartBody1774080407487171315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843542474,"filename":"image_06112025_14_23_44_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/16/c96ac20bfd5dab0f11369c8d77da5e69.jpg","text":"TemporaryFile(/tmp/multipartBody6186706942067459604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843542474,"filename":"image_06112025_14_23_53_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399580126","file1":"1399580125","file0":"1399580123","file4":"1399580128","file5":"1399580133","file3":"1399580127"},"map_files_photo_id_array":[{"photo_id":"1399580133","filename":"file5"},{"photo_id":"1399580126","filename":"file2"},{"photo_id":"1399580128","filename":"file4"},{"photo_id":"1399580125","filename":"file1"},{"photo_id":"1399580123","filename":"file0"},{"photo_id":"1399580127","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399580133":["hashtag1","hashtag2"]},{"1399580127":["hashtag1","hashtag2"]},{"1399580123":["hashtag1","hashtag2"]},{"1399580126":["hashtag1","hashtag2"]},{"1399580125":["hashtag1","hashtag2"]},{"1399580128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399580133, 1399580127, 1399580123, 1399580126, 1399580125, 1399580128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59015917778015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:05:22.054248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/03/image_16122025_01_03_24_9744.jpg', '/home/pi/Desktop/images/16122025/01/04/image_16122025_01_04_14_9719.jpg', '/home/pi/Desktop/images/16122025/01/04/image_16122025_01_04_24_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/03/image_16122025_01_03_24_9744.jpg
/home/pi/Desktop/images/16122025/01/04/image_16122025_01_04_14_9719.jpg
/home/pi/Desktop/images/16122025/01/04/image_16122025_01_04_24_9859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399580144","1399580143","1399580146"],"photo_ids_order":["1399580143","1399580144","1399580146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97845e18aed06c5a9f65fd359202a135.jpg","text":"TemporaryFile(/tmp/multipartBody9157460430035972956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843582572,"filename":"image_16122025_01_04_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/16/7dbe9450051045c4f93a323869c5f20d.jpg","text":"TemporaryFile(/tmp/multipartBody8640026151518084443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843582572,"filename":"image_16122025_01_03_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/16/4f6b7f323b324802575e3e0e7b5f602a.jpg","text":"TemporaryFile(/tmp/multipartBody8189891742074119472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843582572,"filename":"image_16122025_01_04_24_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399580146","file1":"1399580144","file0":"1399580143"},"map_files_photo_id_array":[{"photo_id":"1399580146","filename":"file2"},{"photo_id":"1399580144","filename":"file1"},{"photo_id":"1399580143","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399580144":["hashtag1","hashtag2"]},{"1399580143":["hashtag1","hashtag2"]},{"1399580146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399580144, 1399580143, 1399580146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.671722888946533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:06:02.823991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:06:12.399984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:06:22.375960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/05/image_16122025_01_05_14_9655.jpg', '/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_14_9837.jpg', '/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_24_9745.jpg', '/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/05/image_16122025_01_05_14_9655.jpg
/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_14_9837.jpg
/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_24_9745.jpg
/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_44_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399580312","1399580272","1399580404","1399580353"],"photo_ids_order":["1399580272","1399580312","1399580353","1399580404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c3e73ff47f21ae6527289951edb6123.jpg","text":"TemporaryFile(/tmp/multipartBody4406064534465691692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843642967,"filename":"image_16122025_01_06_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/16/214d51ff2c97a344ca241c468f600b31.jpg","text":"TemporaryFile(/tmp/multipartBody3644200021346506000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843642967,"filename":"image_16122025_01_05_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/16/d848f745011ee2465494ffc35abe8ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1968916539999819437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843642967,"filename":"image_16122025_01_06_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/16/c90862c4c139d60257b4ded7ae942499.jpg","text":"TemporaryFile(/tmp/multipartBody879296173504322094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843642967,"filename":"image_16122025_01_06_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399580353","file1":"1399580312","file0":"1399580272","file3":"1399580404"},"map_files_photo_id_array":[{"photo_id":"1399580353","filename":"file2"},{"photo_id":"1399580312","filename":"file1"},{"photo_id":"1399580272","filename":"file0"},{"photo_id":"1399580404","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399580312":["hashtag1","hashtag2"]},{"1399580272":["hashtag1","hashtag2"]},{"1399580404":["hashtag1","hashtag2"]},{"1399580353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399580312, 1399580272, 1399580404, 1399580353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.835168838500977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:07:03.306093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:07:12.681750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:07:22.775503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_54_9677.jpg', '/home/pi/Desktop/images/16122025/01/06/image_16122025_01_07_05_10857.jpg', '/home/pi/Desktop/images/16122025/01/07/image_16122025_01_07_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/06/image_16122025_01_06_54_9677.jpg
/home/pi/Desktop/images/16122025/01/06/image_16122025_01_07_05_10857.jpg
/home/pi/Desktop/images/16122025/01/07/image_16122025_01_07_14_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":["1399580792","1399580780","1399580767"],"photo_ids_order":["1399580767","1399580780","1399580792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22164c49f890357e5edee633d4d71eac.jpg","text":"TemporaryFile(/tmp/multipartBody7253378931089431669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843703299,"filename":"image_16122025_01_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/16/92c96c027b2137877518f273e66c73d3.jpg","text":"TemporaryFile(/tmp/multipartBody8754982395610936548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843703299,"filename":"image_16122025_01_07_05_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7033bc1deb6ef7afcfff0cb68e9069d.jpg","text":"TemporaryFile(/tmp/multipartBody7071555363239471039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843703299,"filename":"image_16122025_01_06_54_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399580792","file1":"1399580780","file0":"1399580767"},"map_files_photo_id_array":[{"photo_id":"1399580792","filename":"file2"},{"photo_id":"1399580780","filename":"file1"},{"photo_id":"1399580767","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399580792":["hashtag1","hashtag2"]},{"1399580780":["hashtag1","hashtag2"]},{"1399580767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399580792, 1399580780, 1399580767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.076354026794434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:08:02.464295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:08:11.815977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:08:21.866560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/07/image_16122025_01_07_54_9801.jpg', '/home/pi/Desktop/images/16122025/01/07/image_16122025_01_08_05_10839.jpg', '/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_14_9554.jpg', '/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_24_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/07/image_16122025_01_07_54_9801.jpg
/home/pi/Desktop/images/16122025/01/07/image_16122025_01_08_05_10839.jpg
/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_14_9554.jpg
/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_24_9691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4580106735229492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:08:31.852920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:08:41.833943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_59_3607.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_04_5486.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_13_8819.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_15_1551.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_17_1700.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_18_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/23/image_06112025_14_23_59_3607.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_04_5486.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_13_8819.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_15_1551.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_17_1700.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_18_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581003","1399581105","1399580990","1399581082","1399581034","1399581004"],"photo_ids_order":["1399580990","1399581003","1399581004","1399581034","1399581082","1399581105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8672b5663f008bcca080bfb727e3e03a.jpg","text":"TemporaryFile(/tmp/multipartBody7603954589907273194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843782526,"filename":"image_06112025_14_24_04_5486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2878f92d5f2767394909da52d142c41a.jpg","text":"TemporaryFile(/tmp/multipartBody2131145071609281610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843782526,"filename":"image_06112025_14_24_18_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/16/809a8487d3fefb2cc040dc2bc96cd694.jpg","text":"TemporaryFile(/tmp/multipartBody2566401189978180279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843782526,"filename":"image_06112025_14_23_59_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43434ee6a7d3b9b845703f1651ca388b.jpg","text":"TemporaryFile(/tmp/multipartBody5207012180571011566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843782526,"filename":"image_06112025_14_24_17_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/48804b567dc2429c062eb4fda905fefd.jpg","text":"TemporaryFile(/tmp/multipartBody3575228223144287056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843782526,"filename":"image_06112025_14_24_15_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/16/dbe34a49b6c2684dc7da6bf57c6fb8fe.jpg","text":"TemporaryFile(/tmp/multipartBody7631406725293698254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843782526,"filename":"image_06112025_14_24_13_8819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581004","file1":"1399581003","file0":"1399580990","file4":"1399581082","file5":"1399581105","file3":"1399581034"},"map_files_photo_id_array":[{"photo_id":"1399581105","filename":"file5"},{"photo_id":"1399581004","filename":"file2"},{"photo_id":"1399581082","filename":"file4"},{"photo_id":"1399581003","filename":"file1"},{"photo_id":"1399580990","filename":"file0"},{"photo_id":"1399581034","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581003":["hashtag1","hashtag2"]},{"1399581105":["hashtag1","hashtag2"]},{"1399580990":["hashtag1","hashtag2"]},{"1399581082":["hashtag1","hashtag2"]},{"1399581034":["hashtag1","hashtag2"]},{"1399581004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581003, 1399581105, 1399580990, 1399581082, 1399581034, 1399581004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24088978767395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:09:32.118235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:09:42.096598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_21_3221.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_23_1586.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_25_1661.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_39_14207.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_41_1819.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_42_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_21_3221.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_23_1586.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_25_1661.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_39_14207.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_41_1819.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_42_1619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8243391513824463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:10:02.912822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/07/image_16122025_01_07_54_9801.jpg', '/home/pi/Desktop/images/16122025/01/07/image_16122025_01_08_05_10839.jpg', '/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_14_9554.jpg', '/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_24_9691.jpg', '/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_35_10725.jpg', '/home/pi/Desktop/images/16122025/01/08/image_16122025_01_09_05_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/07/image_16122025_01_07_54_9801.jpg
/home/pi/Desktop/images/16122025/01/07/image_16122025_01_08_05_10839.jpg
/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_14_9554.jpg
/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_24_9691.jpg
/home/pi/Desktop/images/16122025/01/08/image_16122025_01_08_35_10725.jpg
/home/pi/Desktop/images/16122025/01/08/image_16122025_01_09_05_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581120","1399581123","1399581117","1399581122","1399581119","1399581118"],"photo_ids_order":["1399581117","1399581118","1399581119","1399581120","1399581122","1399581123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3ee31f44663589af398f6d8cf01038f.jpg","text":"TemporaryFile(/tmp/multipartBody8767354848703177300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843863622,"filename":"image_16122025_01_08_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/16/aa4d7be0545f9b68e40e8e8855b72a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6721069791569436165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843863622,"filename":"image_16122025_01_09_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02ecd59b8978c50b9c5dc41ba0985ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4710157975533707435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843863622,"filename":"image_16122025_01_07_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/16/8a1fa72111ec06cb812a119571c98867.jpg","text":"TemporaryFile(/tmp/multipartBody6929838144513749005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843863622,"filename":"image_16122025_01_08_35_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d15de9bdf3540cd9743d801bf663ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7995383188359213234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843863622,"filename":"image_16122025_01_08_14_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc3c37fb24bcef92fc281869e764a8ce.jpg","text":"TemporaryFile(/tmp/multipartBody7856993657512992235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843863622,"filename":"image_16122025_01_08_05_10839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581119","file1":"1399581118","file0":"1399581117","file4":"1399581122","file5":"1399581123","file3":"1399581120"},"map_files_photo_id_array":[{"photo_id":"1399581123","filename":"file5"},{"photo_id":"1399581119","filename":"file2"},{"photo_id":"1399581122","filename":"file4"},{"photo_id":"1399581118","filename":"file1"},{"photo_id":"1399581117","filename":"file0"},{"photo_id":"1399581120","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581120":["hashtag1","hashtag2"]},{"1399581123":["hashtag1","hashtag2"]},{"1399581117":["hashtag1","hashtag2"]},{"1399581122":["hashtag1","hashtag2"]},{"1399581119":["hashtag1","hashtag2"]},{"1399581118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581120, 1399581123, 1399581117, 1399581122, 1399581119, 1399581118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.069005727767944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:10:42.331939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_21_3221.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_23_1586.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_25_1661.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_39_14207.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_41_1819.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_42_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_21_3221.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_23_1586.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_25_1661.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_39_14207.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_41_1819.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_42_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581135","1399581138","1399581132","1399581134","1399581137","1399581136"],"photo_ids_order":["1399581132","1399581134","1399581135","1399581136","1399581137","1399581138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a7e7107922df92bf71298749badbe7f.jpg","text":"TemporaryFile(/tmp/multipartBody1237979857401483191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843902918,"filename":"image_06112025_14_24_25_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/16/280d717abf199fe6a90bfc4df2b72742.jpg","text":"TemporaryFile(/tmp/multipartBody6027917805755873324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843902918,"filename":"image_06112025_14_24_42_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/16/240e9dd062377019f1d323184f271e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4465812118578858166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843902918,"filename":"image_06112025_14_24_21_3221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d64e59fe7ee931cf0f52fb37110ebee8.jpg","text":"TemporaryFile(/tmp/multipartBody3240292673881366549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843902918,"filename":"image_06112025_14_24_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/16/3be2ff59bd9b4efc19d75e91c2bed7f8.jpg","text":"TemporaryFile(/tmp/multipartBody312080215353200947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843902918,"filename":"image_06112025_14_24_41_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/16/ca7e12dcd6863133ca98953cf2e9fcbe.jpg","text":"TemporaryFile(/tmp/multipartBody4108653548737836496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843902918,"filename":"image_06112025_14_24_39_14207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581135","file1":"1399581134","file0":"1399581132","file4":"1399581137","file5":"1399581138","file3":"1399581136"},"map_files_photo_id_array":[{"photo_id":"1399581138","filename":"file5"},{"photo_id":"1399581135","filename":"file2"},{"photo_id":"1399581137","filename":"file4"},{"photo_id":"1399581134","filename":"file1"},{"photo_id":"1399581132","filename":"file0"},{"photo_id":"1399581136","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581135":["hashtag1","hashtag2"]},{"1399581138":["hashtag1","hashtag2"]},{"1399581132":["hashtag1","hashtag2"]},{"1399581134":["hashtag1","hashtag2"]},{"1399581137":["hashtag1","hashtag2"]},{"1399581136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581135, 1399581138, 1399581132, 1399581134, 1399581137, 1399581136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77065420150757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:11:22.566278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/09/image_16122025_01_09_44_10657.jpg', '/home/pi/Desktop/images/16122025/01/09/image_16122025_01_10_04_9714.jpg', '/home/pi/Desktop/images/16122025/01/10/image_16122025_01_10_15_10700.jpg', '/home/pi/Desktop/images/16122025/01/10/image_16122025_01_10_24_9872.jpg', '/home/pi/Desktop/images/16122025/01/10/image_16122025_01_10_44_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/09/image_16122025_01_09_44_10657.jpg
/home/pi/Desktop/images/16122025/01/09/image_16122025_01_10_04_9714.jpg
/home/pi/Desktop/images/16122025/01/10/image_16122025_01_10_15_10700.jpg
/home/pi/Desktop/images/16122025/01/10/image_16122025_01_10_24_9872.jpg
/home/pi/Desktop/images/16122025/01/10/image_16122025_01_10_44_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":["1399581144","1399581140","1399581142","1399581145","1399581147"],"photo_ids_order":["1399581140","1399581142","1399581144","1399581145","1399581147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33470f5d2daf138c49c19cfc1230f061.jpg","text":"TemporaryFile(/tmp/multipartBody1483994718314372429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843943176,"filename":"image_16122025_01_10_15_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e2ad2df2d75b0c9a21b7e47f75e209f.jpg","text":"TemporaryFile(/tmp/multipartBody713623938807340192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843943176,"filename":"image_16122025_01_09_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/16/3e13184c46b8169bb10abdc6b5011dfd.jpg","text":"TemporaryFile(/tmp/multipartBody5398984066955861473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843943176,"filename":"image_16122025_01_10_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/16/32889d13a49309d999deb3be0eb74d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2588293933407133338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843943176,"filename":"image_16122025_01_10_24_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2b23d8a8b95bcfbd925333d7a9a0fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4743398263428092492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765843943176,"filename":"image_16122025_01_10_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581144","file1":"1399581142","file0":"1399581140","file4":"1399581147","file3":"1399581145"},"map_files_photo_id_array":[{"photo_id":"1399581144","filename":"file2"},{"photo_id":"1399581147","filename":"file4"},{"photo_id":"1399581142","filename":"file1"},{"photo_id":"1399581140","filename":"file0"},{"photo_id":"1399581145","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581144":["hashtag1","hashtag2"]},{"1399581140":["hashtag1","hashtag2"]},{"1399581142":["hashtag1","hashtag2"]},{"1399581145":["hashtag1","hashtag2"]},{"1399581147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581144, 1399581140, 1399581142, 1399581145, 1399581147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.256438493728638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:12:03.207477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:12:12.766541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:12:22.910895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/11/image_16122025_01_11_45_9752.jpg', '/home/pi/Desktop/images/16122025/01/11/image_16122025_01_12_04_9820.jpg', '/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_15_10721.jpg', '/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_34_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/11/image_16122025_01_11_45_9752.jpg
/home/pi/Desktop/images/16122025/01/11/image_16122025_01_12_04_9820.jpg
/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_15_10721.jpg
/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_34_9701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45607805252075195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:12:32.883531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:12:42.905690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_44_1624.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_45_1644.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_47_1724.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_49_1857.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_51_1706.jpg', '/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_53_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_44_1624.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_45_1644.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_47_1724.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_49_1857.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_51_1706.jpg
/home/pi/Desktop/images/06112025/14/24/image_06112025_14_24_53_1821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581170","1399581164","1399581167","1399581169","1399581166","1399581168"],"photo_ids_order":["1399581164","1399581166","1399581167","1399581168","1399581169","1399581170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9eec8be6f39742434065d28e526125de.jpg","text":"TemporaryFile(/tmp/multipartBody4803828248503562454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844023597,"filename":"image_06112025_14_24_53_1821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6952cd1fa5d95a52e6c83d78eaf7bdc5.jpg","text":"TemporaryFile(/tmp/multipartBody3705081991584694028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844023597,"filename":"image_06112025_14_24_44_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/16/9d32124c7e1c5d66fb4d67da0fa6c5f7.jpg","text":"TemporaryFile(/tmp/multipartBody8179545292306341717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844023597,"filename":"image_06112025_14_24_47_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/16/d9e7abdd43975a284cbccc1c75ae1c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3062973684157221963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844023597,"filename":"image_06112025_14_24_51_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38a79d8ef07d878b0a039026e57dd38b.jpg","text":"TemporaryFile(/tmp/multipartBody7889103391906035597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844023597,"filename":"image_06112025_14_24_45_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/16/d668646310bd33a9f149fbe493431dab.jpg","text":"TemporaryFile(/tmp/multipartBody7029273473551562137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844023597,"filename":"image_06112025_14_24_49_1857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581167","file1":"1399581166","file0":"1399581164","file4":"1399581169","file5":"1399581170","file3":"1399581168"},"map_files_photo_id_array":[{"photo_id":"1399581170","filename":"file5"},{"photo_id":"1399581167","filename":"file2"},{"photo_id":"1399581169","filename":"file4"},{"photo_id":"1399581166","filename":"file1"},{"photo_id":"1399581164","filename":"file0"},{"photo_id":"1399581168","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581170":["hashtag1","hashtag2"]},{"1399581164":["hashtag1","hashtag2"]},{"1399581167":["hashtag1","hashtag2"]},{"1399581169":["hashtag1","hashtag2"]},{"1399581166":["hashtag1","hashtag2"]},{"1399581168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581170, 1399581164, 1399581167, 1399581169, 1399581166, 1399581168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.806902170181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:13:32.217701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:13:42.186476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_06_13880.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_09_2305.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_10_1598.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_12_2097.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_24_11534.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_26_1792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_06_13880.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_09_2305.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_10_1598.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_12_2097.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_24_11534.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_26_1792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581182","1399581176","1399581179","1399581181","1399581178","1399581180"],"photo_ids_order":["1399581176","1399581178","1399581179","1399581180","1399581181","1399581182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3174b4011ffe3cd5992e58e3109027d6.jpg","text":"TemporaryFile(/tmp/multipartBody5775423324888030119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844082886,"filename":"image_06112025_14_25_26_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b2c768e5fdfc7c961be9f57c03f9e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4799529132184605350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844082886,"filename":"image_06112025_14_25_06_13880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9672a044c0fb0ad569453835f954fddc.jpg","text":"TemporaryFile(/tmp/multipartBody8594265170638385026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844082886,"filename":"image_06112025_14_25_10_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/16/486a499f6f562c195660764e3b1bef21.jpg","text":"TemporaryFile(/tmp/multipartBody5448742747450248580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844082886,"filename":"image_06112025_14_25_24_11534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4734c1627a1b2f8f3179bfc35937157.jpg","text":"TemporaryFile(/tmp/multipartBody8388981573332887984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844082886,"filename":"image_06112025_14_25_09_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/16/94bb3c2050c853d881d50638d4bb78b5.jpg","text":"TemporaryFile(/tmp/multipartBody6465005768515796248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844082886,"filename":"image_06112025_14_25_12_2097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581179","file1":"1399581178","file0":"1399581176","file4":"1399581181","file5":"1399581182","file3":"1399581180"},"map_files_photo_id_array":[{"photo_id":"1399581182","filename":"file5"},{"photo_id":"1399581179","filename":"file2"},{"photo_id":"1399581181","filename":"file4"},{"photo_id":"1399581178","filename":"file1"},{"photo_id":"1399581176","filename":"file0"},{"photo_id":"1399581180","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581182":["hashtag1","hashtag2"]},{"1399581176":["hashtag1","hashtag2"]},{"1399581179":["hashtag1","hashtag2"]},{"1399581181":["hashtag1","hashtag2"]},{"1399581178":["hashtag1","hashtag2"]},{"1399581180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581182, 1399581176, 1399581179, 1399581181, 1399581178, 1399581180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90105676651001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:14:22.445991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/11/image_16122025_01_11_45_9752.jpg', '/home/pi/Desktop/images/16122025/01/11/image_16122025_01_12_04_9820.jpg', '/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_15_10721.jpg', '/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_34_9701.jpg', '/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_44_9685.jpg', '/home/pi/Desktop/images/16122025/01/12/image_16122025_01_13_05_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/11/image_16122025_01_11_45_9752.jpg
/home/pi/Desktop/images/16122025/01/11/image_16122025_01_12_04_9820.jpg
/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_15_10721.jpg
/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_34_9701.jpg
/home/pi/Desktop/images/16122025/01/12/image_16122025_01_12_44_9685.jpg
/home/pi/Desktop/images/16122025/01/12/image_16122025_01_13_05_9945.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581188","1399581191","1399581185","1399581200","1399581193","1399581184"],"photo_ids_order":["1399581184","1399581185","1399581188","1399581191","1399581193","1399581200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/735635f8caf0c2236e56dcba1addfba3.jpg","text":"TemporaryFile(/tmp/multipartBody6073406518431546791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844123119,"filename":"image_16122025_01_12_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6cd46f548cf7cbc6702855b9230c7655.jpg","text":"TemporaryFile(/tmp/multipartBody2667358768872399750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844123119,"filename":"image_16122025_01_12_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/16/488ce3b83873b11c75098166b98c0bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4920562891027193358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844123119,"filename":"image_16122025_01_12_04_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/784f87ed5ad37a9f9981fde10efc991d.jpg","text":"TemporaryFile(/tmp/multipartBody32859302309455026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844123119,"filename":"image_16122025_01_13_05_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/16/e47b0a872a9631a44f3dc2165fce9cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6674725475663187046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844123119,"filename":"image_16122025_01_12_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/16/9f90b5efc9fee16a345f8088c5a66ede.jpg","text":"TemporaryFile(/tmp/multipartBody9129245955022274686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844123119,"filename":"image_16122025_01_11_45_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581188","file1":"1399581185","file0":"1399581184","file4":"1399581193","file5":"1399581200","file3":"1399581191"},"map_files_photo_id_array":[{"photo_id":"1399581200","filename":"file5"},{"photo_id":"1399581188","filename":"file2"},{"photo_id":"1399581193","filename":"file4"},{"photo_id":"1399581185","filename":"file1"},{"photo_id":"1399581184","filename":"file0"},{"photo_id":"1399581191","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581188":["hashtag1","hashtag2"]},{"1399581191":["hashtag1","hashtag2"]},{"1399581185":["hashtag1","hashtag2"]},{"1399581200":["hashtag1","hashtag2"]},{"1399581193":["hashtag1","hashtag2"]},{"1399581184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581188, 1399581191, 1399581185, 1399581200, 1399581193, 1399581184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23598623275757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:15:03.327821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/13/image_16122025_01_13_35_10718.jpg', '/home/pi/Desktop/images/16122025/01/13/image_16122025_01_14_04_9664.jpg', '/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_15_10667.jpg', '/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_24_9823.jpg', '/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_34_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/13/image_16122025_01_13_35_10718.jpg
/home/pi/Desktop/images/16122025/01/13/image_16122025_01_14_04_9664.jpg
/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_15_10667.jpg
/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_24_9823.jpg
/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_34_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":["1399581210","1399581207","1399581212","1399581209","1399581211"],"photo_ids_order":["1399581207","1399581209","1399581210","1399581211","1399581212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fce01e5ea6768d61811ab4baebd4ae88.jpg","text":"TemporaryFile(/tmp/multipartBody8996549850369294506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844164000,"filename":"image_16122025_01_14_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5236a177c4fad9a912e50a2215755c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7171996799720805325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844164000,"filename":"image_16122025_01_13_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/16/bdd3d49896c648b48d2832fbb8fefac0.jpg","text":"TemporaryFile(/tmp/multipartBody5258019835567312588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844164000,"filename":"image_16122025_01_14_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f92adbf51955597b8d0e7031367bfdb1.jpg","text":"TemporaryFile(/tmp/multipartBody6315120225177600777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844164000,"filename":"image_16122025_01_14_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22459a3f2e1a4ed917c24a1e1d5eb6b9.jpg","text":"TemporaryFile(/tmp/multipartBody809329692057283795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844164000,"filename":"image_16122025_01_14_24_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581210","file1":"1399581209","file0":"1399581207","file4":"1399581212","file3":"1399581211"},"map_files_photo_id_array":[{"photo_id":"1399581210","filename":"file2"},{"photo_id":"1399581212","filename":"file4"},{"photo_id":"1399581209","filename":"file1"},{"photo_id":"1399581207","filename":"file0"},{"photo_id":"1399581211","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581210":["hashtag1","hashtag2"]},{"1399581207":["hashtag1","hashtag2"]},{"1399581212":["hashtag1","hashtag2"]},{"1399581209":["hashtag1","hashtag2"]},{"1399581211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581210, 1399581207, 1399581212, 1399581209, 1399581211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.55755352973938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:15:42.657449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_42_15779.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_45_3204.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_46_1577.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_48_1622.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_50_1778.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_52_1844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_42_15779.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_45_3204.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_46_1577.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_48_1622.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_50_1778.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_52_1844.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5918407440185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:16:02.522895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_44_9760.jpg', '/home/pi/Desktop/images/16122025/01/14/image_16122025_01_15_05_10797.jpg', '/home/pi/Desktop/images/16122025/01/15/image_16122025_01_15_24_9784.jpg', '/home/pi/Desktop/images/16122025/01/15/image_16122025_01_15_34_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/14/image_16122025_01_14_44_9760.jpg
/home/pi/Desktop/images/16122025/01/14/image_16122025_01_15_05_10797.jpg
/home/pi/Desktop/images/16122025/01/15/image_16122025_01_15_24_9784.jpg
/home/pi/Desktop/images/16122025/01/15/image_16122025_01_15_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":["1399581225","1399581224","1399581227","1399581226"],"photo_ids_order":["1399581224","1399581225","1399581226","1399581227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8313a95886cb194d07fbbe1e0817dba.jpg","text":"TemporaryFile(/tmp/multipartBody918620836291345007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844223107,"filename":"image_16122025_01_15_05_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/495ff2253755e1e0bc0b8bc75f58b878.jpg","text":"TemporaryFile(/tmp/multipartBody4762403554969350080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844223107,"filename":"image_16122025_01_14_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bbb29959c472e1319ebdea8ade6b1d0.jpg","text":"TemporaryFile(/tmp/multipartBody2418888793070840102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844223107,"filename":"image_16122025_01_15_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a1890c6de53fc31fdcc8616622ced69.jpg","text":"TemporaryFile(/tmp/multipartBody8163228303231314567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844223107,"filename":"image_16122025_01_15_24_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581226","file1":"1399581225","file0":"1399581224","file3":"1399581227"},"map_files_photo_id_array":[{"photo_id":"1399581226","filename":"file2"},{"photo_id":"1399581225","filename":"file1"},{"photo_id":"1399581224","filename":"file0"},{"photo_id":"1399581227","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581225":["hashtag1","hashtag2"]},{"1399581224":["hashtag1","hashtag2"]},{"1399581227":["hashtag1","hashtag2"]},{"1399581226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581225, 1399581224, 1399581227, 1399581226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.450819969177246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:16:31.900591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:16:42.002406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_42_15779.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_45_3204.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_46_1577.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_48_1622.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_50_1778.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_52_1844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_42_15779.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_45_3204.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_46_1577.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_48_1622.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_50_1778.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_52_1844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581234","1399581237","1399581239","1399581233","1399581236","1399581244"],"photo_ids_order":["1399581233","1399581234","1399581236","1399581237","1399581239","1399581244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ddf81f47833637a96f34e4d355a0ccc4.jpg","text":"TemporaryFile(/tmp/multipartBody9018263364481637481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844262588,"filename":"image_06112025_14_25_45_3204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5eba3e9576e0fecb4d95f8aff3e5a24.jpg","text":"TemporaryFile(/tmp/multipartBody4220584810030836654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844262588,"filename":"image_06112025_14_25_48_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/16/672cbc6b788cb70a0fdae3cf79924eb4.jpg","text":"TemporaryFile(/tmp/multipartBody259619206638933732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844262588,"filename":"image_06112025_14_25_50_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a188dd25600e4c3319a432502a6c252.jpg","text":"TemporaryFile(/tmp/multipartBody2744045964606062178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844262588,"filename":"image_06112025_14_25_42_15779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1856fb88d72f28bbb1015199ef66b47c.jpg","text":"TemporaryFile(/tmp/multipartBody8438879255700046419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844262588,"filename":"image_06112025_14_25_46_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/16/ae14190a301fb2eb5ec08a7a55daa388.jpg","text":"TemporaryFile(/tmp/multipartBody5821796143496490961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844262588,"filename":"image_06112025_14_25_52_1844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581236","file1":"1399581234","file0":"1399581233","file4":"1399581239","file5":"1399581244","file3":"1399581237"},"map_files_photo_id_array":[{"photo_id":"1399581244","filename":"file5"},{"photo_id":"1399581236","filename":"file2"},{"photo_id":"1399581239","filename":"file4"},{"photo_id":"1399581234","filename":"file1"},{"photo_id":"1399581233","filename":"file0"},{"photo_id":"1399581237","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581234":["hashtag1","hashtag2"]},{"1399581237":["hashtag1","hashtag2"]},{"1399581239":["hashtag1","hashtag2"]},{"1399581233":["hashtag1","hashtag2"]},{"1399581236":["hashtag1","hashtag2"]},{"1399581244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581234, 1399581237, 1399581239, 1399581233, 1399581236, 1399581244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.473901987075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:17:22.284139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/15/image_16122025_01_15_54_9692.jpg', '/home/pi/Desktop/images/16122025/01/15/image_16122025_01_16_04_9793.jpg', '/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_15_10641.jpg', '/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_34_9774.jpg', '/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_44_9666.jpg', '/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_55_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/15/image_16122025_01_15_54_9692.jpg
/home/pi/Desktop/images/16122025/01/15/image_16122025_01_16_04_9793.jpg
/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_15_10641.jpg
/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_34_9774.jpg
/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_44_9666.jpg
/home/pi/Desktop/images/16122025/01/16/image_16122025_01_16_55_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581254","1399581248","1399581256","1399581259","1399581250","1399581252"],"photo_ids_order":["1399581248","1399581250","1399581252","1399581254","1399581256","1399581259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9e4630ba7f066f88212994188d79d45.jpg","text":"TemporaryFile(/tmp/multipartBody6012891124713862010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844302942,"filename":"image_16122025_01_16_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/16/b5e83519fb5abb60fc2b3274bcc6d467.jpg","text":"TemporaryFile(/tmp/multipartBody5957283296402064229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844302942,"filename":"image_16122025_01_15_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/16/457d17388112249c1638d0a926760bef.jpg","text":"TemporaryFile(/tmp/multipartBody1628648956594806279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844302942,"filename":"image_16122025_01_16_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/16/945e3189e755abcc3175a61d6b95de94.jpg","text":"TemporaryFile(/tmp/multipartBody4785695029539549234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844302942,"filename":"image_16122025_01_16_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/16/578ff7dd6b90009569bbf331cd2ed18d.jpg","text":"TemporaryFile(/tmp/multipartBody2469267396373932621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844302942,"filename":"image_16122025_01_16_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e62de0e0a08874bbceff10d7d8f16792.jpg","text":"TemporaryFile(/tmp/multipartBody7103291822630230555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844302942,"filename":"image_16122025_01_16_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581252","file1":"1399581250","file0":"1399581248","file4":"1399581256","file5":"1399581259","file3":"1399581254"},"map_files_photo_id_array":[{"photo_id":"1399581259","filename":"file5"},{"photo_id":"1399581252","filename":"file2"},{"photo_id":"1399581256","filename":"file4"},{"photo_id":"1399581250","filename":"file1"},{"photo_id":"1399581248","filename":"file0"},{"photo_id":"1399581254","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581254":["hashtag1","hashtag2"]},{"1399581248":["hashtag1","hashtag2"]},{"1399581256":["hashtag1","hashtag2"]},{"1399581259":["hashtag1","hashtag2"]},{"1399581250":["hashtag1","hashtag2"]},{"1399581252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581254, 1399581248, 1399581256, 1399581259, 1399581250, 1399581252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27088212966919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:18:02.836584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/16/image_16122025_01_17_04_9824.jpg', '/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_14_9625.jpg', '/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_34_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/16/image_16122025_01_17_04_9824.jpg
/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_14_9625.jpg
/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_34_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":["1399581261","1399581260","1399581262"],"photo_ids_order":["1399581260","1399581261","1399581262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b0e466cc76826df95042f0da2959fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7411964751162415068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844343368,"filename":"image_16122025_01_17_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/295290f8cfceab33aa04246dc82dc279.jpg","text":"TemporaryFile(/tmp/multipartBody802167670614204742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844343368,"filename":"image_16122025_01_17_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb700a189d4cfa91c416cc8c9f15a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody7889217968978090142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844343368,"filename":"image_16122025_01_17_34_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581262","file1":"1399581261","file0":"1399581260"},"map_files_photo_id_array":[{"photo_id":"1399581262","filename":"file2"},{"photo_id":"1399581261","filename":"file1"},{"photo_id":"1399581260","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581261":["hashtag1","hashtag2"]},{"1399581260":["hashtag1","hashtag2"]},{"1399581262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581261, 1399581260, 1399581262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.593894004821777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:18:32.471977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:18:42.442440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_53_1673.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_55_1635.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_56_1541.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_58_1707.jpg', '/home/pi/Desktop/images/06112025/14/25/image_06112025_14_26_00_1607.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_02_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_53_1673.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_55_1635.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_56_1541.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_25_58_1707.jpg
/home/pi/Desktop/images/06112025/14/25/image_06112025_14_26_00_1607.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_02_1799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581300","1399581287","1399581274","1399581283","1399581282","1399581285"],"photo_ids_order":["1399581274","1399581282","1399581283","1399581285","1399581287","1399581300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7fff24a3967a8f82b145db3650ff1504.jpg","text":"TemporaryFile(/tmp/multipartBody2345008944159188482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844383143,"filename":"image_06112025_14_26_02_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/16/6e7986c4483ce29e5ad012f505c40f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2216180225178611836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844383143,"filename":"image_06112025_14_26_00_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c3ff6e9ee9ae860d8e57f5c065f9dac.jpg","text":"TemporaryFile(/tmp/multipartBody2824989124592124437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844383143,"filename":"image_06112025_14_25_53_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91b0d167eebe7b78f1b1f819f9ef6c77.jpg","text":"TemporaryFile(/tmp/multipartBody8732735917338312248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844383143,"filename":"image_06112025_14_25_56_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/16/a91769bc87fd00a0fcb988f5243a6fce.jpg","text":"TemporaryFile(/tmp/multipartBody9031616533794186660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844383143,"filename":"image_06112025_14_25_55_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/16/c85f4d344fd640dcbfeaef6c89f0f111.jpg","text":"TemporaryFile(/tmp/multipartBody8944634556670781026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844383143,"filename":"image_06112025_14_25_58_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581283","file1":"1399581282","file0":"1399581274","file4":"1399581287","file5":"1399581300","file3":"1399581285"},"map_files_photo_id_array":[{"photo_id":"1399581300","filename":"file5"},{"photo_id":"1399581283","filename":"file2"},{"photo_id":"1399581287","filename":"file4"},{"photo_id":"1399581282","filename":"file1"},{"photo_id":"1399581274","filename":"file0"},{"photo_id":"1399581285","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581300":["hashtag1","hashtag2"]},{"1399581287":["hashtag1","hashtag2"]},{"1399581274":["hashtag1","hashtag2"]},{"1399581283":["hashtag1","hashtag2"]},{"1399581282":["hashtag1","hashtag2"]},{"1399581285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581300, 1399581287, 1399581274, 1399581283, 1399581282, 1399581285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.445029735565186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:19:22.847099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_44_9647.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_14_9614.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_24_9820.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_35_10777.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_45_9829.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_19_04_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_44_9647.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_14_9614.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_24_9820.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_35_10777.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_45_9829.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_19_04_9699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6087932586669922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:19:32.822603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:19:42.762039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_03_1595.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_05_1746.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_06_1526.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_08_1552.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_09_1512.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_11_1831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_03_1595.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_05_1746.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_06_1526.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_08_1552.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_09_1512.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_11_1831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581315","1399581311","1399581314","1399581317","1399581316","1399581313"],"photo_ids_order":["1399581311","1399581313","1399581314","1399581315","1399581316","1399581317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc9f2e83e207f2abf9e51e2f1a84ef5c.jpg","text":"TemporaryFile(/tmp/multipartBody3289204979124140765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844443464,"filename":"image_06112025_14_26_08_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/16/96cbbf80106b8e97682b4fd14b95356d.jpg","text":"TemporaryFile(/tmp/multipartBody5957567366651208829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844443464,"filename":"image_06112025_14_26_03_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/16/de3121629f537f5239caa6ff4fbd2393.jpg","text":"TemporaryFile(/tmp/multipartBody5496818240391117637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844443464,"filename":"image_06112025_14_26_06_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9b7f663de862be5349bd13a6b3f825d.jpg","text":"TemporaryFile(/tmp/multipartBody4432862194014228774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844443464,"filename":"image_06112025_14_26_11_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/16/0a2b09d0fea6a03958229937c50d5fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8898867936749873008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844443464,"filename":"image_06112025_14_26_09_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/16/0acb8cf23ef34c6dcd7237c830506d70.jpg","text":"TemporaryFile(/tmp/multipartBody7074473389103535674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844443464,"filename":"image_06112025_14_26_05_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581314","file1":"1399581313","file0":"1399581311","file4":"1399581316","file5":"1399581317","file3":"1399581315"},"map_files_photo_id_array":[{"photo_id":"1399581317","filename":"file5"},{"photo_id":"1399581314","filename":"file2"},{"photo_id":"1399581316","filename":"file4"},{"photo_id":"1399581313","filename":"file1"},{"photo_id":"1399581311","filename":"file0"},{"photo_id":"1399581315","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581315":["hashtag1","hashtag2"]},{"1399581311":["hashtag1","hashtag2"]},{"1399581314":["hashtag1","hashtag2"]},{"1399581317":["hashtag1","hashtag2"]},{"1399581316":["hashtag1","hashtag2"]},{"1399581313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581315, 1399581311, 1399581314, 1399581317, 1399581316, 1399581313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49034810066223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:20:22.103811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_44_9647.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_14_9614.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_24_9820.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_35_10777.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_45_9829.jpg', '/home/pi/Desktop/images/16122025/01/18/image_16122025_01_19_04_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/17/image_16122025_01_17_44_9647.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_14_9614.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_24_9820.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_35_10777.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_18_45_9829.jpg
/home/pi/Desktop/images/16122025/01/18/image_16122025_01_19_04_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581324","1399581318","1399581326","1399581320","1399581328","1399581331"],"photo_ids_order":["1399581318","1399581320","1399581324","1399581326","1399581328","1399581331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cd1fcd92ef54f8cc36a23e60fcfc645.jpg","text":"TemporaryFile(/tmp/multipartBody3461504988426706751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844482759,"filename":"image_16122025_01_18_24_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba594bea85d640e82f0b9f3049575f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6659570154942893922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844482759,"filename":"image_16122025_01_17_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/16/dd7be2ba48a1af6e38b44fb437c61c5f.jpg","text":"TemporaryFile(/tmp/multipartBody8935038396841729113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844482759,"filename":"image_16122025_01_18_35_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e50c5ea0ba3e07d68313ee7f171934a.jpg","text":"TemporaryFile(/tmp/multipartBody4845598631044333732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844482759,"filename":"image_16122025_01_18_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d72406a32da86dbbe6247bc5ea90eb5c.jpg","text":"TemporaryFile(/tmp/multipartBody4941051550991183815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844482759,"filename":"image_16122025_01_18_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76280ad6e26ac97809aa8a9130ab2f83.jpg","text":"TemporaryFile(/tmp/multipartBody1893850187375393706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844482759,"filename":"image_16122025_01_19_04_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581324","file1":"1399581320","file0":"1399581318","file4":"1399581328","file5":"1399581331","file3":"1399581326"},"map_files_photo_id_array":[{"photo_id":"1399581331","filename":"file5"},{"photo_id":"1399581324","filename":"file2"},{"photo_id":"1399581328","filename":"file4"},{"photo_id":"1399581320","filename":"file1"},{"photo_id":"1399581318","filename":"file0"},{"photo_id":"1399581326","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581324":["hashtag1","hashtag2"]},{"1399581318":["hashtag1","hashtag2"]},{"1399581326":["hashtag1","hashtag2"]},{"1399581320":["hashtag1","hashtag2"]},{"1399581328":["hashtag1","hashtag2"]},{"1399581331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581324, 1399581318, 1399581326, 1399581320, 1399581328, 1399581331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26159715652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:21:03.025704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_15_10590.jpg', '/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_24_9739.jpg', '/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_34_9737.jpg', '/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_45_10688.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_14_9807.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_25_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_15_10590.jpg
/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_24_9739.jpg
/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_34_9737.jpg
/home/pi/Desktop/images/16122025/01/19/image_16122025_01_19_45_10688.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_14_9807.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_25_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581348","1399581342","1399581350","1399581352","1399581349","1399581334"],"photo_ids_order":["1399581334","1399581342","1399581348","1399581349","1399581350","1399581352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc8f7c0685723a28960132a5b0647a73.jpg","text":"TemporaryFile(/tmp/multipartBody4746179395874000114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844523821,"filename":"image_16122025_01_19_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b6e5e2b4fe7332d8b8416d8d20265cc.jpg","text":"TemporaryFile(/tmp/multipartBody2565677456752896447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844523821,"filename":"image_16122025_01_19_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a833561a24507c9376e1f482eef30dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3562438114344309479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844523821,"filename":"image_16122025_01_20_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/315dd9a7bdac154d6cf5c0ed1883f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4554568738581049819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844523821,"filename":"image_16122025_01_20_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a376b444bef2540d672ce322b4b34b5.jpg","text":"TemporaryFile(/tmp/multipartBody262327490778095150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844523821,"filename":"image_16122025_01_19_45_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74d1b812c403313e65c6845e9b9f7292.jpg","text":"TemporaryFile(/tmp/multipartBody2162916303445642455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844523821,"filename":"image_16122025_01_19_15_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581348","file1":"1399581342","file0":"1399581334","file4":"1399581350","file5":"1399581352","file3":"1399581349"},"map_files_photo_id_array":[{"photo_id":"1399581352","filename":"file5"},{"photo_id":"1399581348","filename":"file2"},{"photo_id":"1399581350","filename":"file4"},{"photo_id":"1399581342","filename":"file1"},{"photo_id":"1399581334","filename":"file0"},{"photo_id":"1399581349","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581348":["hashtag1","hashtag2"]},{"1399581342":["hashtag1","hashtag2"]},{"1399581350":["hashtag1","hashtag2"]},{"1399581352":["hashtag1","hashtag2"]},{"1399581349":["hashtag1","hashtag2"]},{"1399581334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581348, 1399581342, 1399581350, 1399581352, 1399581349, 1399581334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.124696016311646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:21:42.368849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_39_27928.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_41_1511.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_54_13486.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_56_1578.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_58_1681.jpg', '/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_59_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_39_27928.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_41_1511.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_54_13486.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_56_1578.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_58_1681.jpg
/home/pi/Desktop/images/06112025/14/26/image_06112025_14_26_59_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581360","1399581362","1399581359","1399581361","1399581363","1399581357"],"photo_ids_order":["1399581357","1399581359","1399581360","1399581361","1399581362","1399581363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc4c52fb4294e52d9a8d0ac307ac136e.jpg","text":"TemporaryFile(/tmp/multipartBody373055058032544714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844563069,"filename":"image_06112025_14_26_54_13486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fc064e883b061c9e29965c137f11ced.jpg","text":"TemporaryFile(/tmp/multipartBody338316742559598918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844563069,"filename":"image_06112025_14_26_58_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c74f966117219138b6f7727dda64b12.jpg","text":"TemporaryFile(/tmp/multipartBody8865753932814227698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844563069,"filename":"image_06112025_14_26_41_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e018a3019aae784b8bf206cfde0b7cf.jpg","text":"TemporaryFile(/tmp/multipartBody7196018768213553871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844563069,"filename":"image_06112025_14_26_56_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/16/18ea32294b4b033c08b89ac7bddbfda3.jpg","text":"TemporaryFile(/tmp/multipartBody1014378635574253096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844563069,"filename":"image_06112025_14_26_59_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/16/5b43bd53aa42b9e7de7cd23a7e34db18.jpg","text":"TemporaryFile(/tmp/multipartBody8658236735727414483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844563069,"filename":"image_06112025_14_26_39_27928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581360","file1":"1399581359","file0":"1399581357","file4":"1399581362","file5":"1399581363","file3":"1399581361"},"map_files_photo_id_array":[{"photo_id":"1399581363","filename":"file5"},{"photo_id":"1399581360","filename":"file2"},{"photo_id":"1399581362","filename":"file4"},{"photo_id":"1399581359","filename":"file1"},{"photo_id":"1399581357","filename":"file0"},{"photo_id":"1399581361","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581360":["hashtag1","hashtag2"]},{"1399581362":["hashtag1","hashtag2"]},{"1399581359":["hashtag1","hashtag2"]},{"1399581361":["hashtag1","hashtag2"]},{"1399581363":["hashtag1","hashtag2"]},{"1399581357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581360, 1399581362, 1399581359, 1399581361, 1399581363, 1399581357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11616659164429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:22:22.744472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_34_9686.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_44_9594.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_55_10813.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_21_04_9746.jpg', '/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_14_10635.jpg', '/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_34_9686.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_44_9594.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_55_10813.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_21_04_9746.jpg
/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_14_10635.jpg
/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_24_9680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5464353561401367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:22:32.715223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:22:42.611538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_01_1585.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_02_1708.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_04_1770.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_06_1630.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_08_1796.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_09_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_01_1585.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_02_1708.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_04_1770.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_06_1630.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_08_1796.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_09_1681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581380","1399581374","1399581377","1399581379","1399581376","1399581378"],"photo_ids_order":["1399581374","1399581376","1399581377","1399581378","1399581379","1399581380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8f7086893152edcfd2ea42f06d8f680.jpg","text":"TemporaryFile(/tmp/multipartBody894567875511349426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844623322,"filename":"image_06112025_14_27_09_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96217d5cb4c93e67be0e0f2802b214d3.jpg","text":"TemporaryFile(/tmp/multipartBody5552762702553373115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844623322,"filename":"image_06112025_14_27_01_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/16/3972ca787810f0e6a867d8b4481a4ef2.jpg","text":"TemporaryFile(/tmp/multipartBody3010754695411473534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844623322,"filename":"image_06112025_14_27_04_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/16/ceebbc116c4ac7b535cb75de63317f26.jpg","text":"TemporaryFile(/tmp/multipartBody4744356099589776543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844623322,"filename":"image_06112025_14_27_08_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/16/d3995319f8856adcb1bf91cc08e44c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4136979295157877996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844623322,"filename":"image_06112025_14_27_02_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/16/cf2ced08a4d0c8898fe25375d4f6bc29.jpg","text":"TemporaryFile(/tmp/multipartBody8717615588798021370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844623322,"filename":"image_06112025_14_27_06_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581377","file1":"1399581376","file0":"1399581374","file4":"1399581379","file5":"1399581380","file3":"1399581378"},"map_files_photo_id_array":[{"photo_id":"1399581380","filename":"file5"},{"photo_id":"1399581377","filename":"file2"},{"photo_id":"1399581379","filename":"file4"},{"photo_id":"1399581376","filename":"file1"},{"photo_id":"1399581374","filename":"file0"},{"photo_id":"1399581378","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581380":["hashtag1","hashtag2"]},{"1399581374":["hashtag1","hashtag2"]},{"1399581377":["hashtag1","hashtag2"]},{"1399581379":["hashtag1","hashtag2"]},{"1399581376":["hashtag1","hashtag2"]},{"1399581378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581380, 1399581374, 1399581377, 1399581379, 1399581376, 1399581378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17423605918884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:23:21.870502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_34_9686.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_44_9594.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_55_10813.jpg', '/home/pi/Desktop/images/16122025/01/20/image_16122025_01_21_04_9746.jpg', '/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_14_10635.jpg', '/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_34_9686.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_44_9594.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_20_55_10813.jpg
/home/pi/Desktop/images/16122025/01/20/image_16122025_01_21_04_9746.jpg
/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_14_10635.jpg
/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_24_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581389","1399581383","1399581391","1399581385","1399581381","1399581387"],"photo_ids_order":["1399581381","1399581383","1399581385","1399581387","1399581389","1399581391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e07296049517f77c26e6348099f9b3e0.jpg","text":"TemporaryFile(/tmp/multipartBody2629102133592078469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844662524,"filename":"image_16122025_01_22_14_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/16/98351eb0a14eddeef9da576d71205748.jpg","text":"TemporaryFile(/tmp/multipartBody3864739716550378566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844662524,"filename":"image_16122025_01_20_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d420a286b4c42abd7a29c8d97ca01ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3056501423315007643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844662524,"filename":"image_16122025_01_22_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/16/d11a35a29301b214eda730a5eda6b371.jpg","text":"TemporaryFile(/tmp/multipartBody3101679463533336240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844662524,"filename":"image_16122025_01_20_55_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/16/01468b808697ccc067e3271f45fe1d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1138741593661378678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844662524,"filename":"image_16122025_01_20_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/16/8ae5da0aa596722f75c1859d57142bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8986361466909870750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844662524,"filename":"image_16122025_01_21_04_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581385","file1":"1399581383","file0":"1399581381","file4":"1399581389","file5":"1399581391","file3":"1399581387"},"map_files_photo_id_array":[{"photo_id":"1399581391","filename":"file5"},{"photo_id":"1399581385","filename":"file2"},{"photo_id":"1399581389","filename":"file4"},{"photo_id":"1399581383","filename":"file1"},{"photo_id":"1399581381","filename":"file0"},{"photo_id":"1399581387","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581389":["hashtag1","hashtag2"]},{"1399581383":["hashtag1","hashtag2"]},{"1399581391":["hashtag1","hashtag2"]},{"1399581385":["hashtag1","hashtag2"]},{"1399581381":["hashtag1","hashtag2"]},{"1399581387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581389, 1399581383, 1399581391, 1399581385, 1399581381, 1399581387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63056564331055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:24:02.817210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_35_10650.jpg', '/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_44_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_35_10650.jpg
/home/pi/Desktop/images/16122025/01/22/image_16122025_01_22_44_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581394","1399581393"],"photo_ids_order":["1399581393","1399581394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1e864050b7f0ae936cf5d5b55c008b5.jpg","text":"TemporaryFile(/tmp/multipartBody3627229398213068176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844703325,"filename":"image_16122025_01_22_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/16/84f60dce5c86d4fda7765078d6eabdbd.jpg","text":"TemporaryFile(/tmp/multipartBody6003153911993074618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844703325,"filename":"image_16122025_01_22_35_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399581394","file0":"1399581393"},"map_files_photo_id_array":[{"photo_id":"1399581394","filename":"file1"},{"photo_id":"1399581393","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581394":["hashtag1","hashtag2"]},{"1399581393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581394, 1399581393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.4562509059906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:24:22.106102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/23/image_16122025_01_23_44_9830.jpg', '/home/pi/Desktop/images/16122025/01/24/image_16122025_01_24_14_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/23/image_16122025_01_23_44_9830.jpg
/home/pi/Desktop/images/16122025/01/24/image_16122025_01_24_14_9749.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3636598587036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:24:32.128779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:24:42.077873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_11_1634.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_13_1665.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_14_1528.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_16_1639.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_18_1664.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_19_1768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_11_1634.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_13_1665.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_14_1528.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_16_1639.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_18_1664.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_19_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":["1399581405","1399581404","1399581407","1399581401","1399581403","1399581406"],"photo_ids_order":["1399581401","1399581403","1399581404","1399581405","1399581406","1399581407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/778fc53dbe2b875074ca96c4c37d4abb.jpg","text":"TemporaryFile(/tmp/multipartBody4134330987463608289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844742793,"filename":"image_06112025_14_27_16_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/125991474d9f91dd691056e892809fa9.jpg","text":"TemporaryFile(/tmp/multipartBody6685561562743644103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844742793,"filename":"image_06112025_14_27_14_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/16/4af3d182ac9ab775dd13140fca55e02f.jpg","text":"TemporaryFile(/tmp/multipartBody6939665756187197280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844742793,"filename":"image_06112025_14_27_19_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/16/baed59021e81c688de71da4afe99ac58.jpg","text":"TemporaryFile(/tmp/multipartBody7334381898773460014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844742793,"filename":"image_06112025_14_27_11_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/599c03212c167b79cb3d8cb77bce8adf.jpg","text":"TemporaryFile(/tmp/multipartBody5003016874080422411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844742793,"filename":"image_06112025_14_27_13_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/16/d7f59aaced23fd7905be0fad82b7a742.jpg","text":"TemporaryFile(/tmp/multipartBody7345845052708124765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844742793,"filename":"image_06112025_14_27_18_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581404","file1":"1399581403","file0":"1399581401","file4":"1399581406","file5":"1399581407","file3":"1399581405"},"map_files_photo_id_array":[{"photo_id":"1399581407","filename":"file5"},{"photo_id":"1399581404","filename":"file2"},{"photo_id":"1399581406","filename":"file4"},{"photo_id":"1399581403","filename":"file1"},{"photo_id":"1399581401","filename":"file0"},{"photo_id":"1399581405","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581405":["hashtag1","hashtag2"]},{"1399581404":["hashtag1","hashtag2"]},{"1399581407":["hashtag1","hashtag2"]},{"1399581401":["hashtag1","hashtag2"]},{"1399581403":["hashtag1","hashtag2"]},{"1399581406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581405, 1399581404, 1399581407, 1399581401, 1399581403, 1399581406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39392709732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:25:22.390742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/23/image_16122025_01_23_44_9830.jpg', '/home/pi/Desktop/images/16122025/01/24/image_16122025_01_24_14_9749.jpg', '/home/pi/Desktop/images/16122025/01/24/image_16122025_01_24_34_9960.jpg', '/home/pi/Desktop/images/16122025/01/25/image_16122025_01_25_24_9740.jpg', '/home/pi/Desktop/images/16122025/01/25/image_16122025_01_25_34_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/23/image_16122025_01_23_44_9830.jpg
/home/pi/Desktop/images/16122025/01/24/image_16122025_01_24_14_9749.jpg
/home/pi/Desktop/images/16122025/01/24/image_16122025_01_24_34_9960.jpg
/home/pi/Desktop/images/16122025/01/25/image_16122025_01_25_24_9740.jpg
/home/pi/Desktop/images/16122025/01/25/image_16122025_01_25_34_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581411","1399581417","1399581413","1399581415","1399581409"],"photo_ids_order":["1399581409","1399581411","1399581413","1399581415","1399581417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2c749f34fe1c6e81dcb91c1df1ef4f1.jpg","text":"TemporaryFile(/tmp/multipartBody8444484211259843471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844783003,"filename":"image_16122025_01_24_14_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f2701bdb985102a4b7b9b2eb9574dc8.jpg","text":"TemporaryFile(/tmp/multipartBody3264343482394445447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844783003,"filename":"image_16122025_01_25_34_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b15e07b7bd96783eaefaf94cbff59f6d.jpg","text":"TemporaryFile(/tmp/multipartBody192439043692944636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844783003,"filename":"image_16122025_01_24_34_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/16/c2f86efeffc87bf8681177e41a2fe596.jpg","text":"TemporaryFile(/tmp/multipartBody4644803971639610777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844783003,"filename":"image_16122025_01_25_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/16/f5795a54f0af0ad6995b97fbdb8429c1.jpg","text":"TemporaryFile(/tmp/multipartBody4497223000707546187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844783003,"filename":"image_16122025_01_23_44_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581413","file1":"1399581411","file0":"1399581409","file4":"1399581417","file3":"1399581415"},"map_files_photo_id_array":[{"photo_id":"1399581413","filename":"file2"},{"photo_id":"1399581417","filename":"file4"},{"photo_id":"1399581411","filename":"file1"},{"photo_id":"1399581409","filename":"file0"},{"photo_id":"1399581415","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581411":["hashtag1","hashtag2"]},{"1399581417":["hashtag1","hashtag2"]},{"1399581413":["hashtag1","hashtag2"]},{"1399581415":["hashtag1","hashtag2"]},{"1399581409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581411, 1399581417, 1399581413, 1399581415, 1399581409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.617184162139893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:26:03.152324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:26:12.661826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:26:22.691470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/25/image_16122025_01_25_54_9805.jpg', '/home/pi/Desktop/images/16122025/01/25/image_16122025_01_26_04_10221.jpg', '/home/pi/Desktop/images/16122025/01/26/image_16122025_01_26_25_10897.jpg', '/home/pi/Desktop/images/16122025/01/26/image_16122025_01_26_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/25/image_16122025_01_25_54_9805.jpg
/home/pi/Desktop/images/16122025/01/25/image_16122025_01_26_04_10221.jpg
/home/pi/Desktop/images/16122025/01/26/image_16122025_01_26_25_10897.jpg
/home/pi/Desktop/images/16122025/01/26/image_16122025_01_26_34_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581420","1399581422","1399581425","1399581419"],"photo_ids_order":["1399581419","1399581420","1399581422","1399581425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c8078f73b05badf5394918bf32c72f2.jpg","text":"TemporaryFile(/tmp/multipartBody355169449425671676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844843255,"filename":"image_16122025_01_26_04_10221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85f632fd347f4f9e2d63c3a052874227.jpg","text":"TemporaryFile(/tmp/multipartBody5900656952967282554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844843255,"filename":"image_16122025_01_26_25_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/16/19acb1bde0c27a4ff46c4a8f43a600f6.jpg","text":"TemporaryFile(/tmp/multipartBody292957704577250408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844843255,"filename":"image_16122025_01_26_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f225baedbe463e8363a1fab14f357dea.jpg","text":"TemporaryFile(/tmp/multipartBody8949905976999019834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844843255,"filename":"image_16122025_01_25_54_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581422","file1":"1399581420","file0":"1399581419","file3":"1399581425"},"map_files_photo_id_array":[{"photo_id":"1399581422","filename":"file2"},{"photo_id":"1399581420","filename":"file1"},{"photo_id":"1399581419","filename":"file0"},{"photo_id":"1399581425","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581420":["hashtag1","hashtag2"]},{"1399581422":["hashtag1","hashtag2"]},{"1399581425":["hashtag1","hashtag2"]},{"1399581419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581420, 1399581422, 1399581425, 1399581419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.98990774154663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:27:02.601567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:27:11.914369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:27:21.886709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/26/image_16122025_01_26_54_9650.jpg', '/home/pi/Desktop/images/16122025/01/26/image_16122025_01_27_04_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/26/image_16122025_01_26_54_9650.jpg
/home/pi/Desktop/images/16122025/01/26/image_16122025_01_27_04_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581435","1399581434"],"photo_ids_order":["1399581434","1399581435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a2f5c08bfcd3cbee6d12b941a1d2caa.jpg","text":"TemporaryFile(/tmp/multipartBody6554556779893064763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844902355,"filename":"image_16122025_01_27_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/16/0876b17746999231e3d19c2693761a93.jpg","text":"TemporaryFile(/tmp/multipartBody8857580769840421498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844902355,"filename":"image_16122025_01_26_54_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399581435","file0":"1399581434"},"map_files_photo_id_array":[{"photo_id":"1399581435","filename":"file1"},{"photo_id":"1399581434","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581435":["hashtag1","hashtag2"]},{"1399581434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581435, 1399581434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.9095401763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:27:42.023007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_21_1583.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_23_1746.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_24_1617.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_26_1549.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_27_1693.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_29_1828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_21_1583.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_23_1746.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_24_1617.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_26_1549.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_27_1693.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_29_1828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581447","1399581440","1399581443","1399581452","1399581446","1399581450"],"photo_ids_order":["1399581440","1399581443","1399581446","1399581447","1399581450","1399581452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54fadb4bf65cf2a1852f844d6d957e99.jpg","text":"TemporaryFile(/tmp/multipartBody3027760124577754703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844922723,"filename":"image_06112025_14_27_26_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/16/89b2c2c28b8ffc37065192cb6fa71d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3119352533516756535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844922723,"filename":"image_06112025_14_27_21_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/16/656aa68276492875fdeb90a6b0603a28.jpg","text":"TemporaryFile(/tmp/multipartBody6028923896050017070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844922723,"filename":"image_06112025_14_27_23_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8451011978fffa4f80107dc5069dbfa0.jpg","text":"TemporaryFile(/tmp/multipartBody46942999411215310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844922723,"filename":"image_06112025_14_27_29_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbc78ba8e1bf4007b9bfa0fd20bef735.jpg","text":"TemporaryFile(/tmp/multipartBody4934694728235907365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844922723,"filename":"image_06112025_14_27_24_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/16/029839d543d87199780662dc949e4888.jpg","text":"TemporaryFile(/tmp/multipartBody457754761506967785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844922723,"filename":"image_06112025_14_27_27_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581446","file1":"1399581443","file0":"1399581440","file4":"1399581450","file5":"1399581452","file3":"1399581447"},"map_files_photo_id_array":[{"photo_id":"1399581452","filename":"file5"},{"photo_id":"1399581446","filename":"file2"},{"photo_id":"1399581450","filename":"file4"},{"photo_id":"1399581443","filename":"file1"},{"photo_id":"1399581440","filename":"file0"},{"photo_id":"1399581447","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581447":["hashtag1","hashtag2"]},{"1399581440":["hashtag1","hashtag2"]},{"1399581443":["hashtag1","hashtag2"]},{"1399581452":["hashtag1","hashtag2"]},{"1399581446":["hashtag1","hashtag2"]},{"1399581450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581447, 1399581440, 1399581443, 1399581452, 1399581446, 1399581450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72535991668701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:28:22.413616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/27/image_16122025_01_27_24_9798.jpg', '/home/pi/Desktop/images/16122025/01/27/image_16122025_01_28_04_9793.jpg', '/home/pi/Desktop/images/16122025/01/28/image_16122025_01_28_34_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/27/image_16122025_01_27_24_9798.jpg
/home/pi/Desktop/images/16122025/01/27/image_16122025_01_28_04_9793.jpg
/home/pi/Desktop/images/16122025/01/28/image_16122025_01_28_34_9844.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43373656272888184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:28:32.291699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:28:42.257935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_38_9104.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_50_11942.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_56_6051.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_58_1586.jpg', '/home/pi/Desktop/images/06112025/14/27/image_06112025_14_28_00_1704.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_01_1760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_38_9104.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_50_11942.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_56_6051.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_27_58_1586.jpg
/home/pi/Desktop/images/06112025/14/27/image_06112025_14_28_00_1704.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_01_1760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581464","1399581463","1399581466","1399581460","1399581462","1399581465"],"photo_ids_order":["1399581460","1399581462","1399581463","1399581464","1399581465","1399581466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/750b1618f367071deaee4b08ed169216.jpg","text":"TemporaryFile(/tmp/multipartBody5696350597192007994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844982964,"filename":"image_06112025_14_27_58_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/16/3bdf9bfa1a9f4e07d49d139be204f8e5.jpg","text":"TemporaryFile(/tmp/multipartBody5606373528494927119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844982964,"filename":"image_06112025_14_27_56_6051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/daca9cb50b626e0b254b265478b98374.jpg","text":"TemporaryFile(/tmp/multipartBody8685634746081863165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844982964,"filename":"image_06112025_14_28_01_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8a2b5acea71294c8d490fffeaea43f3.jpg","text":"TemporaryFile(/tmp/multipartBody3017280096852189063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844982964,"filename":"image_06112025_14_27_38_9104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7dc1f127c0e7a7c694eaebd2eb6d6d50.jpg","text":"TemporaryFile(/tmp/multipartBody2111400104306562792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844982964,"filename":"image_06112025_14_27_50_11942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa00a548ce16b51a85e5074776ed940b.jpg","text":"TemporaryFile(/tmp/multipartBody6161952659665302374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765844982964,"filename":"image_06112025_14_28_00_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581463","file1":"1399581462","file0":"1399581460","file4":"1399581465","file5":"1399581466","file3":"1399581464"},"map_files_photo_id_array":[{"photo_id":"1399581466","filename":"file5"},{"photo_id":"1399581463","filename":"file2"},{"photo_id":"1399581465","filename":"file4"},{"photo_id":"1399581462","filename":"file1"},{"photo_id":"1399581460","filename":"file0"},{"photo_id":"1399581464","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581464":["hashtag1","hashtag2"]},{"1399581463":["hashtag1","hashtag2"]},{"1399581466":["hashtag1","hashtag2"]},{"1399581460":["hashtag1","hashtag2"]},{"1399581462":["hashtag1","hashtag2"]},{"1399581465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581464, 1399581463, 1399581466, 1399581460, 1399581462, 1399581465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61520004272461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:29:22.547886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/27/image_16122025_01_27_24_9798.jpg', '/home/pi/Desktop/images/16122025/01/27/image_16122025_01_28_04_9793.jpg', '/home/pi/Desktop/images/16122025/01/28/image_16122025_01_28_34_9844.jpg', '/home/pi/Desktop/images/16122025/01/28/image_16122025_01_28_44_9876.jpg', '/home/pi/Desktop/images/16122025/01/28/image_16122025_01_29_05_10769.jpg', '/home/pi/Desktop/images/16122025/01/29/image_16122025_01_29_14_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/27/image_16122025_01_27_24_9798.jpg
/home/pi/Desktop/images/16122025/01/27/image_16122025_01_28_04_9793.jpg
/home/pi/Desktop/images/16122025/01/28/image_16122025_01_28_34_9844.jpg
/home/pi/Desktop/images/16122025/01/28/image_16122025_01_28_44_9876.jpg
/home/pi/Desktop/images/16122025/01/28/image_16122025_01_29_05_10769.jpg
/home/pi/Desktop/images/16122025/01/29/image_16122025_01_29_14_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581468","1399581476","1399581470","1399581478","1399581472","1399581474"],"photo_ids_order":["1399581468","1399581470","1399581472","1399581474","1399581476","1399581478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/151e074b7b706a82b1ef659485e07678.jpg","text":"TemporaryFile(/tmp/multipartBody79067254110139991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845023248,"filename":"image_16122025_01_27_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/16/57aad1d7e3bf6a0766b51305b35c416c.jpg","text":"TemporaryFile(/tmp/multipartBody2480526966115923805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845023248,"filename":"image_16122025_01_29_05_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12efec77d441871619d7c6734eb172df.jpg","text":"TemporaryFile(/tmp/multipartBody5327413958378292761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845023248,"filename":"image_16122025_01_28_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/16/7dd8e0a475b743a9bbec63adb0bb7ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5437482234767319120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845023248,"filename":"image_16122025_01_29_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/867706b8fbbb94db7e00ef1d969bd70f.jpg","text":"TemporaryFile(/tmp/multipartBody6297679313019453402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845023248,"filename":"image_16122025_01_28_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/16/d3317b9cf74874462d2bdbbf8bcab37d.jpg","text":"TemporaryFile(/tmp/multipartBody3766494126085087868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845023248,"filename":"image_16122025_01_28_44_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581472","file1":"1399581470","file0":"1399581468","file4":"1399581476","file5":"1399581478","file3":"1399581474"},"map_files_photo_id_array":[{"photo_id":"1399581478","filename":"file5"},{"photo_id":"1399581472","filename":"file2"},{"photo_id":"1399581476","filename":"file4"},{"photo_id":"1399581470","filename":"file1"},{"photo_id":"1399581468","filename":"file0"},{"photo_id":"1399581474","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581468":["hashtag1","hashtag2"]},{"1399581476":["hashtag1","hashtag2"]},{"1399581470":["hashtag1","hashtag2"]},{"1399581478":["hashtag1","hashtag2"]},{"1399581472":["hashtag1","hashtag2"]},{"1399581474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581468, 1399581476, 1399581470, 1399581478, 1399581472, 1399581474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99971795082092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:30:03.057803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:30:12.771030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:30:22.688636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/29/image_16122025_01_29_44_9903.jpg', '/home/pi/Desktop/images/16122025/01/30/image_16122025_01_30_35_10759.jpg', '/home/pi/Desktop/images/16122025/01/30/image_16122025_01_30_44_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/29/image_16122025_01_29_44_9903.jpg
/home/pi/Desktop/images/16122025/01/30/image_16122025_01_30_35_10759.jpg
/home/pi/Desktop/images/16122025/01/30/image_16122025_01_30_44_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581482","1399581484","1399581486"],"photo_ids_order":["1399581482","1399581484","1399581486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e24f20a4018c2b98cef5a8dd53cf3857.jpg","text":"TemporaryFile(/tmp/multipartBody6365496883719042220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845083206,"filename":"image_16122025_01_29_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/16/c6512ea8d058b9eacc4d11a2fb85590d.jpg","text":"TemporaryFile(/tmp/multipartBody5414031540470498196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845083206,"filename":"image_16122025_01_30_35_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c945ac19535aca41fc54d0f9d37eea35.jpg","text":"TemporaryFile(/tmp/multipartBody8436059773301311590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845083206,"filename":"image_16122025_01_30_44_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581486","file1":"1399581484","file0":"1399581482"},"map_files_photo_id_array":[{"photo_id":"1399581486","filename":"file2"},{"photo_id":"1399581484","filename":"file1"},{"photo_id":"1399581482","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581482":["hashtag1","hashtag2"]},{"1399581484":["hashtag1","hashtag2"]},{"1399581486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581482, 1399581484, 1399581486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.93726921081543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:31:02.760220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:31:11.865555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:31:22.016202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/30/image_16122025_01_30_54_9704.jpg', '/home/pi/Desktop/images/16122025/01/30/image_16122025_01_31_04_9809.jpg', '/home/pi/Desktop/images/16122025/01/31/image_16122025_01_31_44_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/30/image_16122025_01_30_54_9704.jpg
/home/pi/Desktop/images/16122025/01/30/image_16122025_01_31_04_9809.jpg
/home/pi/Desktop/images/16122025/01/31/image_16122025_01_31_44_9931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581497","1399581494","1399581499"],"photo_ids_order":["1399581494","1399581497","1399581499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9c0a6bbba95ef80b9f699107f8bda49.jpg","text":"TemporaryFile(/tmp/multipartBody6354848713538303191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845142551,"filename":"image_16122025_01_31_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/420efe403f4e364142789f05f0403d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4788304080700487173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845142551,"filename":"image_16122025_01_30_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/16/bee78ea051dd1527a47d9c2caca820b6.jpg","text":"TemporaryFile(/tmp/multipartBody8161997562878497996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845142551,"filename":"image_16122025_01_31_44_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581499","file1":"1399581497","file0":"1399581494"},"map_files_photo_id_array":[{"photo_id":"1399581499","filename":"file2"},{"photo_id":"1399581497","filename":"file1"},{"photo_id":"1399581494","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581497":["hashtag1","hashtag2"]},{"1399581494":["hashtag1","hashtag2"]},{"1399581499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581497, 1399581494, 1399581499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.47973084449768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:32:02.533061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:32:12.044519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:32:22.160472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/31/image_16122025_01_31_55_10690.jpg', '/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_14_9811.jpg', '/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_25_10548.jpg', '/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/31/image_16122025_01_31_55_10690.jpg
/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_14_9811.jpg
/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_25_10548.jpg
/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_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":["1399581510","1399581507","1399581533","1399581521"],"photo_ids_order":["1399581507","1399581510","1399581521","1399581533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5895e6344f1e89c3ab39bb02ea1f48c4.jpg","text":"TemporaryFile(/tmp/multipartBody599322370560674370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845202725,"filename":"image_16122025_01_32_14_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c3e1639785c1b8e4cd11fcbaa6e94bf.jpg","text":"TemporaryFile(/tmp/multipartBody7434883999650569715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845202725,"filename":"image_16122025_01_31_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5315cb938da3a042e80f98ec44a5ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6149679512864612151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845202725,"filename":"image_16122025_01_32_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/16/0333eb8639513da423060bc8b94b7072.jpg","text":"TemporaryFile(/tmp/multipartBody6824855967467278842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845202725,"filename":"image_16122025_01_32_25_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581521","file1":"1399581510","file0":"1399581507","file3":"1399581533"},"map_files_photo_id_array":[{"photo_id":"1399581521","filename":"file2"},{"photo_id":"1399581510","filename":"file1"},{"photo_id":"1399581507","filename":"file0"},{"photo_id":"1399581533","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581510":["hashtag1","hashtag2"]},{"1399581507":["hashtag1","hashtag2"]},{"1399581533":["hashtag1","hashtag2"]},{"1399581521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581510, 1399581507, 1399581533, 1399581521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.959717750549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:33:03.028486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:33:12.249662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:33:22.327133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/32/image_16122025_01_32_44_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581546"],"photo_id":"1399581546","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8b61b9b1c2ed2a788dcc837b7a1bb5b.jpg","text":"TemporaryFile(/tmp/multipartBody6305761951421072742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845262758,"filename":"image_16122025_01_32_44_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399581546"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399581546"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.253056526184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:33:42.305240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_03_1647.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_05_1745.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_07_2228.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_09_1732.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_10_1531.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_12_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_03_1647.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_05_1745.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_07_2228.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_09_1732.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_10_1531.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_12_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581552","1399581554","1399581557","1399581556","1399581555","1399581558"],"photo_ids_order":["1399581552","1399581554","1399581555","1399581556","1399581557","1399581558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1dd347e36ef2cb0b32e1481a39752038.jpg","text":"TemporaryFile(/tmp/multipartBody5950879275212113222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845283005,"filename":"image_06112025_14_28_03_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/16/d1eff67099eb835fb1a64cd7e4c49f1e.jpg","text":"TemporaryFile(/tmp/multipartBody7035433205231175081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845283005,"filename":"image_06112025_14_28_05_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01f6b418f090659b9cc958f1d60cbfe4.jpg","text":"TemporaryFile(/tmp/multipartBody3854385878179572976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845283005,"filename":"image_06112025_14_28_10_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/16/5b546c14d4ea754fcd3aeb6ea0764176.jpg","text":"TemporaryFile(/tmp/multipartBody5319190532929222556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845283005,"filename":"image_06112025_14_28_09_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/16/dd55b012eb4c428d247fba60243993f5.jpg","text":"TemporaryFile(/tmp/multipartBody5556737506792768406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845283005,"filename":"image_06112025_14_28_07_2228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce05e692040abc7ba1f31f1e0fe8c483.jpg","text":"TemporaryFile(/tmp/multipartBody5721219047720075460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845283005,"filename":"image_06112025_14_28_12_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581555","file1":"1399581554","file0":"1399581552","file4":"1399581557","file5":"1399581558","file3":"1399581556"},"map_files_photo_id_array":[{"photo_id":"1399581558","filename":"file5"},{"photo_id":"1399581555","filename":"file2"},{"photo_id":"1399581557","filename":"file4"},{"photo_id":"1399581554","filename":"file1"},{"photo_id":"1399581552","filename":"file0"},{"photo_id":"1399581556","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581552":["hashtag1","hashtag2"]},{"1399581554":["hashtag1","hashtag2"]},{"1399581557":["hashtag1","hashtag2"]},{"1399581556":["hashtag1","hashtag2"]},{"1399581555":["hashtag1","hashtag2"]},{"1399581558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581552, 1399581554, 1399581557, 1399581556, 1399581555, 1399581558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.106051445007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:34:22.626291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/33/image_16122025_01_33_54_9722.jpg', '/home/pi/Desktop/images/16122025/01/33/image_16122025_01_34_04_9920.jpg', '/home/pi/Desktop/images/16122025/01/34/image_16122025_01_34_14_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/33/image_16122025_01_33_54_9722.jpg
/home/pi/Desktop/images/16122025/01/33/image_16122025_01_34_04_9920.jpg
/home/pi/Desktop/images/16122025/01/34/image_16122025_01_34_14_9617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41434574127197266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:34:32.587027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:34:42.485283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_14_1657.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_15_1650.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_17_1744.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_19_1558.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_20_1649.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_22_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_14_1657.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_15_1650.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_17_1744.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_19_1558.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_20_1649.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_22_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581575","1399581577","1399581571","1399581574","1399581573","1399581576"],"photo_ids_order":["1399581571","1399581573","1399581574","1399581575","1399581576","1399581577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/592b2afcb60248b27bd8f820727591e6.jpg","text":"TemporaryFile(/tmp/multipartBody643854310438080122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845343196,"filename":"image_06112025_14_28_19_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/16/4d060f183934ebe7c58c66715a58bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody5654850931207624655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845343196,"filename":"image_06112025_14_28_22_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/16/9c43af365739dab983b207a19a60550e.jpg","text":"TemporaryFile(/tmp/multipartBody7118848323058892207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845343196,"filename":"image_06112025_14_28_14_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/655ea0923a6f5c8d8ef21defed56dc5f.jpg","text":"TemporaryFile(/tmp/multipartBody4575004632229846161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845343196,"filename":"image_06112025_14_28_17_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/16/ca1e6dda04c7950516c498f9ce6d7aa4.jpg","text":"TemporaryFile(/tmp/multipartBody6316294788010243635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845343196,"filename":"image_06112025_14_28_15_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/16/d240911ad41557dcef0915dbee1611c5.jpg","text":"TemporaryFile(/tmp/multipartBody3149322955463854741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845343196,"filename":"image_06112025_14_28_20_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581574","file1":"1399581573","file0":"1399581571","file4":"1399581576","file5":"1399581577","file3":"1399581575"},"map_files_photo_id_array":[{"photo_id":"1399581577","filename":"file5"},{"photo_id":"1399581574","filename":"file2"},{"photo_id":"1399581576","filename":"file4"},{"photo_id":"1399581573","filename":"file1"},{"photo_id":"1399581571","filename":"file0"},{"photo_id":"1399581575","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581575":["hashtag1","hashtag2"]},{"1399581577":["hashtag1","hashtag2"]},{"1399581571":["hashtag1","hashtag2"]},{"1399581574":["hashtag1","hashtag2"]},{"1399581573":["hashtag1","hashtag2"]},{"1399581576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581575, 1399581577, 1399581571, 1399581574, 1399581573, 1399581576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42687940597534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:35:22.764896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/33/image_16122025_01_33_54_9722.jpg', '/home/pi/Desktop/images/16122025/01/33/image_16122025_01_34_04_9920.jpg', '/home/pi/Desktop/images/16122025/01/34/image_16122025_01_34_14_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/33/image_16122025_01_33_54_9722.jpg
/home/pi/Desktop/images/16122025/01/33/image_16122025_01_34_04_9920.jpg
/home/pi/Desktop/images/16122025/01/34/image_16122025_01_34_14_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581583","1399581586","1399581588"],"photo_ids_order":["1399581583","1399581586","1399581588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9336d2cd74bbdf680b5b942bec30abae.jpg","text":"TemporaryFile(/tmp/multipartBody1039747167616185008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845383312,"filename":"image_16122025_01_33_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/16/40f24b8228495a6d39427f80e0a6d3db.jpg","text":"TemporaryFile(/tmp/multipartBody4168793960004662997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845383312,"filename":"image_16122025_01_34_04_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2c4fe77a3abfb0a4e62dc2570d0467c3.jpg","text":"TemporaryFile(/tmp/multipartBody7038033188843565606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845383312,"filename":"image_16122025_01_34_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581588","file1":"1399581586","file0":"1399581583"},"map_files_photo_id_array":[{"photo_id":"1399581588","filename":"file2"},{"photo_id":"1399581586","filename":"file1"},{"photo_id":"1399581583","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581583":["hashtag1","hashtag2"]},{"1399581586":["hashtag1","hashtag2"]},{"1399581588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581583, 1399581586, 1399581588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.897614002227783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:36:02.378010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:36:11.993900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:36:22.021272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/34/image_16122025_01_34_34_9604.jpg', '/home/pi/Desktop/images/16122025/01/36/image_16122025_01_36_15_10625.jpg', '/home/pi/Desktop/images/16122025/01/36/image_16122025_01_36_25_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/34/image_16122025_01_34_34_9604.jpg
/home/pi/Desktop/images/16122025/01/36/image_16122025_01_36_15_10625.jpg
/home/pi/Desktop/images/16122025/01/36/image_16122025_01_36_25_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581600","1399581602","1399581610"],"photo_ids_order":["1399581600","1399581602","1399581610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/56ac8b9c82bdc26b5c3b3fd9c4e89898.jpg","text":"TemporaryFile(/tmp/multipartBody8409250829823161734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845442543,"filename":"image_16122025_01_34_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/982f8ef45a8ce8b1c07a54e70a3321b9.jpg","text":"TemporaryFile(/tmp/multipartBody8062136295212167352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845442543,"filename":"image_16122025_01_36_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/16/2a76581790621f2adc6dfe5a3b3e3181.jpg","text":"TemporaryFile(/tmp/multipartBody76423599928536824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845442543,"filename":"image_16122025_01_36_25_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581610","file1":"1399581602","file0":"1399581600"},"map_files_photo_id_array":[{"photo_id":"1399581610","filename":"file2"},{"photo_id":"1399581602","filename":"file1"},{"photo_id":"1399581600","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581600":["hashtag1","hashtag2"]},{"1399581602":["hashtag1","hashtag2"]},{"1399581610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581600, 1399581602, 1399581610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.4847469329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:37:02.891045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:37:12.402665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:37:22.308521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/36/image_16122025_01_36_44_9643.jpg', '/home/pi/Desktop/images/16122025/01/37/image_16122025_01_37_14_9713.jpg', '/home/pi/Desktop/images/16122025/01/37/image_16122025_01_37_34_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/36/image_16122025_01_36_44_9643.jpg
/home/pi/Desktop/images/16122025/01/37/image_16122025_01_37_14_9713.jpg
/home/pi/Desktop/images/16122025/01/37/image_16122025_01_37_34_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581624","1399581626","1399581628"],"photo_ids_order":["1399581624","1399581626","1399581628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/729352dec7daee8c5d0f0dc13d06a6e7.jpg","text":"TemporaryFile(/tmp/multipartBody7526409849786904981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845502831,"filename":"image_16122025_01_36_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/16/88581342d874361fba781d101149f809.jpg","text":"TemporaryFile(/tmp/multipartBody1983836047709149534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845502831,"filename":"image_16122025_01_37_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/16/0afa6fc2eaa9dc2b21cbe6e618c25692.jpg","text":"TemporaryFile(/tmp/multipartBody80080387740577259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845502831,"filename":"image_16122025_01_37_34_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581628","file1":"1399581626","file0":"1399581624"},"map_files_photo_id_array":[{"photo_id":"1399581628","filename":"file2"},{"photo_id":"1399581626","filename":"file1"},{"photo_id":"1399581624","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581624":["hashtag1","hashtag2"]},{"1399581626":["hashtag1","hashtag2"]},{"1399581628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581624, 1399581626, 1399581628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.011613368988037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:38:03.088034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:38:12.636938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:38:22.659977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/37/image_16122025_01_37_44_9744.jpg', '/home/pi/Desktop/images/16122025/01/37/image_16122025_01_38_05_10741.jpg', '/home/pi/Desktop/images/16122025/01/38/image_16122025_01_38_14_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/37/image_16122025_01_37_44_9744.jpg
/home/pi/Desktop/images/16122025/01/37/image_16122025_01_38_05_10741.jpg
/home/pi/Desktop/images/16122025/01/38/image_16122025_01_38_14_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581639","1399581641","1399581637"],"photo_ids_order":["1399581637","1399581639","1399581641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae0fafa819643cf639632ad3442794c6.jpg","text":"TemporaryFile(/tmp/multipartBody4001285622886804581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845563176,"filename":"image_16122025_01_38_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/16/6da0b055d01b5ea38f90b175ce2b7b35.jpg","text":"TemporaryFile(/tmp/multipartBody3961638968468671604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845563176,"filename":"image_16122025_01_38_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b1b42e8b15fb895e8d92b01b2127fcd.jpg","text":"TemporaryFile(/tmp/multipartBody8830694344043317375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845563176,"filename":"image_16122025_01_37_44_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581641","file1":"1399581639","file0":"1399581637"},"map_files_photo_id_array":[{"photo_id":"1399581641","filename":"file2"},{"photo_id":"1399581639","filename":"file1"},{"photo_id":"1399581637","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581639":["hashtag1","hashtag2"]},{"1399581641":["hashtag1","hashtag2"]},{"1399581637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581639, 1399581641, 1399581637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.693966388702393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:39:02.898948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:39:11.992357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:39:22.024389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_24_1734.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_25_1664.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_27_1602.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_29_1690.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_32_3713.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_34_1501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_24_1734.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_25_1664.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_27_1602.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_29_1690.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_32_3713.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_34_1501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581677","1399581674","1399581682","1399581679","1399581684","1399581675"],"photo_ids_order":["1399581674","1399581675","1399581677","1399581679","1399581682","1399581684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea1bbb3269b774c7b6f6f4924a6017dc.jpg","text":"TemporaryFile(/tmp/multipartBody8637980211739803264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845622750,"filename":"image_06112025_14_28_27_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/16/100c772ef872b62ebe2030436d2d78f1.jpg","text":"TemporaryFile(/tmp/multipartBody5215226743395349845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845622750,"filename":"image_06112025_14_28_24_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/16/e10a4f7f02cb2c57421e23869b0523a5.jpg","text":"TemporaryFile(/tmp/multipartBody5867039198283384406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845622750,"filename":"image_06112025_14_28_32_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c24d86f4ad5daa7f9c53bc58140913e.jpg","text":"TemporaryFile(/tmp/multipartBody1545998617332044055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845622750,"filename":"image_06112025_14_28_29_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/16/255e1214aea70cd9958a5fd6fd7635d2.jpg","text":"TemporaryFile(/tmp/multipartBody5646218689702605076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845622750,"filename":"image_06112025_14_28_34_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/328e9a4425bb69822f3f330696caf7b7.jpg","text":"TemporaryFile(/tmp/multipartBody4407083350600893787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845622750,"filename":"image_06112025_14_28_25_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581677","file1":"1399581675","file0":"1399581674","file4":"1399581682","file5":"1399581684","file3":"1399581679"},"map_files_photo_id_array":[{"photo_id":"1399581684","filename":"file5"},{"photo_id":"1399581677","filename":"file2"},{"photo_id":"1399581682","filename":"file4"},{"photo_id":"1399581675","filename":"file1"},{"photo_id":"1399581674","filename":"file0"},{"photo_id":"1399581679","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581677":["hashtag1","hashtag2"]},{"1399581674":["hashtag1","hashtag2"]},{"1399581682":["hashtag1","hashtag2"]},{"1399581679":["hashtag1","hashtag2"]},{"1399581684":["hashtag1","hashtag2"]},{"1399581675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581677, 1399581674, 1399581682, 1399581679, 1399581684, 1399581675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61487293243408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:40:02.471184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:40:12.084346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:40:22.485347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_36_1649.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_37_1764.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_39_1824.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_49_9729.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_01_11920.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_21_20494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_36_1649.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_37_1764.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_39_1824.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_49_9729.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_01_11920.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_21_20494.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6783947944641113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:40:32.136062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:40:41.985879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_36_1649.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_37_1764.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_39_1824.jpg', '/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_49_9729.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_01_11920.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_21_20494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_36_1649.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_37_1764.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_39_1824.jpg
/home/pi/Desktop/images/06112025/14/28/image_06112025_14_28_49_9729.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_01_11920.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_21_20494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581711","1399581713","1399581704","1399581707","1399581712","1399581709"],"photo_ids_order":["1399581704","1399581707","1399581709","1399581711","1399581712","1399581713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5209ee0f3c93213d2f3a8fea3949a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody4848925229828926398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845702610,"filename":"image_06112025_14_28_49_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/16/bea53fbb96b45a2f97fcf3a592a44993.jpg","text":"TemporaryFile(/tmp/multipartBody6408656867008992557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845702610,"filename":"image_06112025_14_29_21_20494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5434c83e64f5aa88f5defebc01db482d.jpg","text":"TemporaryFile(/tmp/multipartBody3407360953973905067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845702610,"filename":"image_06112025_14_28_36_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cab0ce4f004f973b19ca11333f0f5666.jpg","text":"TemporaryFile(/tmp/multipartBody3974036396947633370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845702610,"filename":"image_06112025_14_28_37_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/16/96e676baf9ecaef69d96701415a9ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody8837561359269313338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845702610,"filename":"image_06112025_14_29_01_11920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ae9171fabf8ea9589535083098ee874.jpg","text":"TemporaryFile(/tmp/multipartBody4099055195760315651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845702610,"filename":"image_06112025_14_28_39_1824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581709","file1":"1399581707","file0":"1399581704","file4":"1399581712","file5":"1399581713","file3":"1399581711"},"map_files_photo_id_array":[{"photo_id":"1399581713","filename":"file5"},{"photo_id":"1399581709","filename":"file2"},{"photo_id":"1399581712","filename":"file4"},{"photo_id":"1399581707","filename":"file1"},{"photo_id":"1399581704","filename":"file0"},{"photo_id":"1399581711","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581711":["hashtag1","hashtag2"]},{"1399581713":["hashtag1","hashtag2"]},{"1399581704":["hashtag1","hashtag2"]},{"1399581707":["hashtag1","hashtag2"]},{"1399581712":["hashtag1","hashtag2"]},{"1399581709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581711, 1399581713, 1399581704, 1399581707, 1399581712, 1399581709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67705798149109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:41:22.261503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/38/image_16122025_01_38_24_9784.jpg', '/home/pi/Desktop/images/16122025/01/41/image_16122025_01_41_24_9694.jpg', '/home/pi/Desktop/images/16122025/01/41/image_16122025_01_41_45_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/38/image_16122025_01_38_24_9784.jpg
/home/pi/Desktop/images/16122025/01/41/image_16122025_01_41_24_9694.jpg
/home/pi/Desktop/images/16122025/01/41/image_16122025_01_41_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":["1399581717","1399581719","1399581721"],"photo_ids_order":["1399581717","1399581719","1399581721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3078e6cd491b98801bb33ded17942b8.jpg","text":"TemporaryFile(/tmp/multipartBody5848848234658005195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845742800,"filename":"image_16122025_01_38_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/16/b047ffebef31381cc06deea88b2bc359.jpg","text":"TemporaryFile(/tmp/multipartBody3565433728526749844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845742800,"filename":"image_16122025_01_41_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/16/979fd3d4e23ea3692d0efa000266ac14.jpg","text":"TemporaryFile(/tmp/multipartBody3542597919739062583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845742800,"filename":"image_16122025_01_41_45_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581721","file1":"1399581719","file0":"1399581717"},"map_files_photo_id_array":[{"photo_id":"1399581721","filename":"file2"},{"photo_id":"1399581719","filename":"file1"},{"photo_id":"1399581717","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581717":["hashtag1","hashtag2"]},{"1399581719":["hashtag1","hashtag2"]},{"1399581721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581717, 1399581719, 1399581721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.591915607452393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:42:02.381281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:42:11.928420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:42:21.944253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/41/image_16122025_01_41_54_9575.jpg', '/home/pi/Desktop/images/16122025/01/41/image_16122025_01_42_05_10663.jpg', '/home/pi/Desktop/images/16122025/01/42/image_16122025_01_42_15_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/41/image_16122025_01_41_54_9575.jpg
/home/pi/Desktop/images/16122025/01/41/image_16122025_01_42_05_10663.jpg
/home/pi/Desktop/images/16122025/01/42/image_16122025_01_42_15_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":["1399581731","1399581734","1399581737"],"photo_ids_order":["1399581731","1399581734","1399581737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/275d9a8faab4aaa940465fbc04cdb1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1069862926243227902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845802441,"filename":"image_16122025_01_41_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/16/09b22d59c23095291e8ff0800279942a.jpg","text":"TemporaryFile(/tmp/multipartBody5398916832929112205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845802441,"filename":"image_16122025_01_42_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e1cdf32223f680968406c4721dbdc10.jpg","text":"TemporaryFile(/tmp/multipartBody1948396841947694540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845802441,"filename":"image_16122025_01_42_15_9897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581737","file1":"1399581734","file0":"1399581731"},"map_files_photo_id_array":[{"photo_id":"1399581737","filename":"file2"},{"photo_id":"1399581734","filename":"file1"},{"photo_id":"1399581731","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581731":["hashtag1","hashtag2"]},{"1399581734":["hashtag1","hashtag2"]},{"1399581737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581731, 1399581734, 1399581737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.431639909744263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:43:02.654278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:43:16.185647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:43:22.964062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_23_1590.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_25_1669.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_26_1513.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_28_1612.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_29_1587.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_42_12822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_23_1590.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_25_1669.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_26_1513.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_28_1612.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_29_1587.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_42_12822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581759","1399581761","1399581763","1399581757","1399581754","1399581765"],"photo_ids_order":["1399581754","1399581757","1399581759","1399581761","1399581763","1399581765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58b22d5e4427a458aa4ecf9483a8a94b.jpg","text":"TemporaryFile(/tmp/multipartBody453622804624900057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845866711,"filename":"image_06112025_14_29_26_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/16/c1d64b94bfe9dfc3b480c009464eb985.jpg","text":"TemporaryFile(/tmp/multipartBody4379269139076116079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845866711,"filename":"image_06112025_14_29_28_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/16/033480f0113175cc342a14d3af1ffa66.jpg","text":"TemporaryFile(/tmp/multipartBody6819545579321193082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845866711,"filename":"image_06112025_14_29_29_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/16/4ab27c6e93fdd279fe9641b15e9ebe97.jpg","text":"TemporaryFile(/tmp/multipartBody7329150928929101193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845866711,"filename":"image_06112025_14_29_25_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/16/350140ebdef6a975290ba8cf66fc8002.jpg","text":"TemporaryFile(/tmp/multipartBody5405904415420935453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845866711,"filename":"image_06112025_14_29_23_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/16/cf6fe9e0b39817b0ae8834b7b5eff6be.jpg","text":"TemporaryFile(/tmp/multipartBody7572692906023944334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845866711,"filename":"image_06112025_14_29_42_12822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581759","file1":"1399581757","file0":"1399581754","file4":"1399581763","file5":"1399581765","file3":"1399581761"},"map_files_photo_id_array":[{"photo_id":"1399581765","filename":"file5"},{"photo_id":"1399581759","filename":"file2"},{"photo_id":"1399581763","filename":"file4"},{"photo_id":"1399581757","filename":"file1"},{"photo_id":"1399581754","filename":"file0"},{"photo_id":"1399581761","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581759":["hashtag1","hashtag2"]},{"1399581761":["hashtag1","hashtag2"]},{"1399581763":["hashtag1","hashtag2"]},{"1399581757":["hashtag1","hashtag2"]},{"1399581754":["hashtag1","hashtag2"]},{"1399581765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581759, 1399581761, 1399581763, 1399581757, 1399581754, 1399581765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28195071220398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:44:12.416828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:44:22.468556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/42/image_16122025_01_42_34_9885.jpg', '/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_24_9829.jpg', '/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_35_10309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/42/image_16122025_01_42_34_9885.jpg
/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_24_9829.jpg
/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_35_10309.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.411914587020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:44:32.527093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:44:42.400609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_44_1605.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_45_1672.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_47_1706.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_49_1769.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_50_1536.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_52_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_44_1605.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_45_1672.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_47_1706.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_49_1769.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_50_1536.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_52_1630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581797","1399581791","1399581800","1399581790","1399581792","1399581786"],"photo_ids_order":["1399581786","1399581790","1399581791","1399581792","1399581797","1399581800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e2ba9a4a2075e454bf8a683a719d2722.jpg","text":"TemporaryFile(/tmp/multipartBody800456293659686421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845943121,"filename":"image_06112025_14_29_50_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/16/ec55035fd42ba13b7fa5cf34ab2a0725.jpg","text":"TemporaryFile(/tmp/multipartBody5127942648023347761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845943121,"filename":"image_06112025_14_29_47_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b69dc326dac3b7183bc347325fdaf676.jpg","text":"TemporaryFile(/tmp/multipartBody4540566139919077762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845943121,"filename":"image_06112025_14_29_52_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/16/31fe78bce278cb8a01667a9d78158e72.jpg","text":"TemporaryFile(/tmp/multipartBody7423697750650748034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845943121,"filename":"image_06112025_14_29_45_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85d181f826ae46167367b7d3a81c4dda.jpg","text":"TemporaryFile(/tmp/multipartBody901243837786443909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845943121,"filename":"image_06112025_14_29_49_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a16c867493732d9b89161380965a50f.jpg","text":"TemporaryFile(/tmp/multipartBody7798617964727902441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845943121,"filename":"image_06112025_14_29_44_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581791","file1":"1399581790","file0":"1399581786","file4":"1399581797","file5":"1399581800","file3":"1399581792"},"map_files_photo_id_array":[{"photo_id":"1399581800","filename":"file5"},{"photo_id":"1399581791","filename":"file2"},{"photo_id":"1399581797","filename":"file4"},{"photo_id":"1399581790","filename":"file1"},{"photo_id":"1399581786","filename":"file0"},{"photo_id":"1399581792","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581797":["hashtag1","hashtag2"]},{"1399581791":["hashtag1","hashtag2"]},{"1399581800":["hashtag1","hashtag2"]},{"1399581790":["hashtag1","hashtag2"]},{"1399581792":["hashtag1","hashtag2"]},{"1399581786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581797, 1399581791, 1399581800, 1399581790, 1399581792, 1399581786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20209741592407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:45:22.691823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/42/image_16122025_01_42_34_9885.jpg', '/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_24_9829.jpg', '/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_35_10309.jpg', '/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_44_9654.jpg', '/home/pi/Desktop/images/16122025/01/44/image_16122025_01_45_04_8784.jpg', '/home/pi/Desktop/images/16122025/01/45/image_16122025_01_45_15_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/42/image_16122025_01_42_34_9885.jpg
/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_24_9829.jpg
/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_35_10309.jpg
/home/pi/Desktop/images/16122025/01/44/image_16122025_01_44_44_9654.jpg
/home/pi/Desktop/images/16122025/01/44/image_16122025_01_45_04_8784.jpg
/home/pi/Desktop/images/16122025/01/45/image_16122025_01_45_15_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":["1399581816","1399581813","1399581815","1399581809","1399581806","1399581811"],"photo_ids_order":["1399581806","1399581809","1399581811","1399581813","1399581815","1399581816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4017a90e8c620d12ab4be3e3d785db43.jpg","text":"TemporaryFile(/tmp/multipartBody1819950596229060102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845983346,"filename":"image_16122025_01_45_15_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/424a57f086643f171762c1442a1e5c29.jpg","text":"TemporaryFile(/tmp/multipartBody1748075193353072886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845983346,"filename":"image_16122025_01_44_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/16/944d317963df067c001974a122216cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4625364956077310085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845983346,"filename":"image_16122025_01_45_04_8784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e2a058ac4e817e3a6fa733de322a994.jpg","text":"TemporaryFile(/tmp/multipartBody123975627432926458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845983346,"filename":"image_16122025_01_44_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/458109589d37ee585db93c8f3207baaa.jpg","text":"TemporaryFile(/tmp/multipartBody7021058663916237195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845983346,"filename":"image_16122025_01_42_34_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/16/6873459f431ed696ea9752e80719989e.jpg","text":"TemporaryFile(/tmp/multipartBody5443351185199242124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765845983346,"filename":"image_16122025_01_44_35_10309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581811","file1":"1399581809","file0":"1399581806","file4":"1399581815","file5":"1399581816","file3":"1399581813"},"map_files_photo_id_array":[{"photo_id":"1399581816","filename":"file5"},{"photo_id":"1399581811","filename":"file2"},{"photo_id":"1399581815","filename":"file4"},{"photo_id":"1399581809","filename":"file1"},{"photo_id":"1399581806","filename":"file0"},{"photo_id":"1399581813","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581816":["hashtag1","hashtag2"]},{"1399581813":["hashtag1","hashtag2"]},{"1399581815":["hashtag1","hashtag2"]},{"1399581809":["hashtag1","hashtag2"]},{"1399581806":["hashtag1","hashtag2"]},{"1399581811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581816, 1399581813, 1399581815, 1399581809, 1399581806, 1399581811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.225303649902344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:46:02.681578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/45/image_16122025_01_45_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/45/image_16122025_01_45_34_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581817"],"photo_id":"1399581817","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a827c6b3e2129d45f7db5b3c0702471d.jpg","text":"TemporaryFile(/tmp/multipartBody2818734292703332585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846023127,"filename":"image_16122025_01_45_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399581817"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399581817"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.856194257736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:46:22.326881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/45/image_16122025_01_45_44_9775.jpg', '/home/pi/Desktop/images/16122025/01/45/image_16122025_01_46_04_9776.jpg', '/home/pi/Desktop/images/16122025/01/46/image_16122025_01_46_14_9841.jpg', '/home/pi/Desktop/images/16122025/01/46/image_16122025_01_46_24_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/45/image_16122025_01_45_44_9775.jpg
/home/pi/Desktop/images/16122025/01/45/image_16122025_01_46_04_9776.jpg
/home/pi/Desktop/images/16122025/01/46/image_16122025_01_46_14_9841.jpg
/home/pi/Desktop/images/16122025/01/46/image_16122025_01_46_24_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":["1399581827","1399581824","1399581823","1399581835"],"photo_ids_order":["1399581823","1399581824","1399581827","1399581835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/827d2701af9e6e38f88ef8aa2f86def9.jpg","text":"TemporaryFile(/tmp/multipartBody9190687924093640661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846042892,"filename":"image_16122025_01_46_14_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/371e9064f7bed7b832667a92c3a691e9.jpg","text":"TemporaryFile(/tmp/multipartBody3918184159880026089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846042892,"filename":"image_16122025_01_46_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e787e9dbacfbf665758e9876faabe75d.jpg","text":"TemporaryFile(/tmp/multipartBody7496543582015834499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846042892,"filename":"image_16122025_01_45_44_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1fbbe96d21639f8e565eb07309d16008.jpg","text":"TemporaryFile(/tmp/multipartBody4064848562335717885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846042892,"filename":"image_16122025_01_46_24_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581827","file1":"1399581824","file0":"1399581823","file3":"1399581835"},"map_files_photo_id_array":[{"photo_id":"1399581827","filename":"file2"},{"photo_id":"1399581824","filename":"file1"},{"photo_id":"1399581823","filename":"file0"},{"photo_id":"1399581835","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581827":["hashtag1","hashtag2"]},{"1399581824":["hashtag1","hashtag2"]},{"1399581823":["hashtag1","hashtag2"]},{"1399581835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581827, 1399581824, 1399581823, 1399581835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.594342947006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:47:03.197149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:47:12.562387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:47:22.525384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/46/image_16122025_01_46_45_10772.jpg', '/home/pi/Desktop/images/16122025/01/47/image_16122025_01_47_15_10627.jpg', '/home/pi/Desktop/images/16122025/01/47/image_16122025_01_47_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/46/image_16122025_01_46_45_10772.jpg
/home/pi/Desktop/images/16122025/01/47/image_16122025_01_47_15_10627.jpg
/home/pi/Desktop/images/16122025/01/47/image_16122025_01_47_24_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581851","1399581853","1399581849"],"photo_ids_order":["1399581849","1399581851","1399581853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbb8b73a7a21ee03655c0a01cd60fc00.jpg","text":"TemporaryFile(/tmp/multipartBody2638400476460503214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846104757,"filename":"image_16122025_01_47_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/16/78219ff68f17e96d2e1b61516929449b.jpg","text":"TemporaryFile(/tmp/multipartBody682540274377743751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846104757,"filename":"image_16122025_01_47_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f0eeb74a826aed88af639fbeddeb443.jpg","text":"TemporaryFile(/tmp/multipartBody2647694362582893196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846104757,"filename":"image_16122025_01_46_45_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581853","file1":"1399581851","file0":"1399581849"},"map_files_photo_id_array":[{"photo_id":"1399581853","filename":"file2"},{"photo_id":"1399581851","filename":"file1"},{"photo_id":"1399581849","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581851":["hashtag1","hashtag2"]},{"1399581853":["hashtag1","hashtag2"]},{"1399581849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581851, 1399581853, 1399581849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.859460830688477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:48:03.784053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:48:13.323821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:48:23.390544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/47/image_16122025_01_47_34_9724.jpg', '/home/pi/Desktop/images/16122025/01/47/image_16122025_01_48_04_9714.jpg', '/home/pi/Desktop/images/16122025/01/48/image_16122025_01_48_14_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/47/image_16122025_01_47_34_9724.jpg
/home/pi/Desktop/images/16122025/01/47/image_16122025_01_48_04_9714.jpg
/home/pi/Desktop/images/16122025/01/48/image_16122025_01_48_14_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581872","1399581870","1399581867"],"photo_ids_order":["1399581867","1399581870","1399581872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/302bb8587743be78c8836597b78afdb1.jpg","text":"TemporaryFile(/tmp/multipartBody7115204235147082585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846163933,"filename":"image_16122025_01_48_14_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/355b09cc5fa8514bb934f0356b8b17c6.jpg","text":"TemporaryFile(/tmp/multipartBody8242118925996075412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846163933,"filename":"image_16122025_01_48_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/16/efa73ec0e74d61c7bfb25bb4c2419ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1663014248414911440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846163933,"filename":"image_16122025_01_47_34_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581872","file1":"1399581870","file0":"1399581867"},"map_files_photo_id_array":[{"photo_id":"1399581872","filename":"file2"},{"photo_id":"1399581870","filename":"file1"},{"photo_id":"1399581867","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581872":["hashtag1","hashtag2"]},{"1399581870":["hashtag1","hashtag2"]},{"1399581867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581872, 1399581870, 1399581867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.04573082923889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:49:03.320568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:49:12.498244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:49:22.546991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/48/image_16122025_01_48_25_10853.jpg', '/home/pi/Desktop/images/16122025/01/49/image_16122025_01_49_04_9533.jpg', '/home/pi/Desktop/images/16122025/01/49/image_16122025_01_49_25_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/48/image_16122025_01_48_25_10853.jpg
/home/pi/Desktop/images/16122025/01/49/image_16122025_01_49_04_9533.jpg
/home/pi/Desktop/images/16122025/01/49/image_16122025_01_49_25_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581899","1399581895","1399581897"],"photo_ids_order":["1399581895","1399581897","1399581899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37eb5d3682c942e27b0b93b6fba66103.jpg","text":"TemporaryFile(/tmp/multipartBody6381516238480629116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846223067,"filename":"image_16122025_01_49_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c867820e4e5ae995b7323e91a704aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1641171706052190518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846223067,"filename":"image_16122025_01_48_25_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9da3399bdab36b719f34a0843b759bd.jpg","text":"TemporaryFile(/tmp/multipartBody1754243261609121676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846223067,"filename":"image_16122025_01_49_04_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581899","file1":"1399581897","file0":"1399581895"},"map_files_photo_id_array":[{"photo_id":"1399581899","filename":"file2"},{"photo_id":"1399581897","filename":"file1"},{"photo_id":"1399581895","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581899":["hashtag1","hashtag2"]},{"1399581895":["hashtag1","hashtag2"]},{"1399581897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581899, 1399581895, 1399581897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.01008892059326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:50:03.158983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:50:12.725292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:50:23.370374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/49/image_16122025_01_49_54_9663.jpg', '/home/pi/Desktop/images/16122025/01/49/image_16122025_01_50_05_10610.jpg', '/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_24_9735.jpg', '/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_34_9669.jpg', '/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_45_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/49/image_16122025_01_49_54_9663.jpg
/home/pi/Desktop/images/16122025/01/49/image_16122025_01_50_05_10610.jpg
/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_24_9735.jpg
/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_34_9669.jpg
/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_45_10719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581912","1399581914","1399581908","1399581916","1399581910"],"photo_ids_order":["1399581908","1399581910","1399581912","1399581914","1399581916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3a8034a2638872c3e7a3a1e88a9e39a.jpg","text":"TemporaryFile(/tmp/multipartBody4526378244425317350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846283982,"filename":"image_16122025_01_50_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d47cc2ef425ad6c4e1c5802b531e8fe.jpg","text":"TemporaryFile(/tmp/multipartBody5432255161345584532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846283982,"filename":"image_16122025_01_50_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a5bf40f854381d93c4264dad84e6d0a7.jpg","text":"TemporaryFile(/tmp/multipartBody3106505235004566161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846283982,"filename":"image_16122025_01_49_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/16/7c84e988d00e16f4a239d7b807709213.jpg","text":"TemporaryFile(/tmp/multipartBody8409799557756368556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846283982,"filename":"image_16122025_01_50_45_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0a4934da560e715b9ef4da4787998ad.jpg","text":"TemporaryFile(/tmp/multipartBody5319398789913875840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846283982,"filename":"image_16122025_01_50_05_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581912","file1":"1399581910","file0":"1399581908","file4":"1399581916","file3":"1399581914"},"map_files_photo_id_array":[{"photo_id":"1399581912","filename":"file2"},{"photo_id":"1399581916","filename":"file4"},{"photo_id":"1399581910","filename":"file1"},{"photo_id":"1399581908","filename":"file0"},{"photo_id":"1399581914","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399581912":["hashtag1","hashtag2"]},{"1399581914":["hashtag1","hashtag2"]},{"1399581908":["hashtag1","hashtag2"]},{"1399581916":["hashtag1","hashtag2"]},{"1399581910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399581912, 1399581914, 1399581908, 1399581916, 1399581910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.697137117385864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:51:02.681659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:51:12.063059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:51:21.984812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_54_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/50/image_16122025_01_50_54_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581934"],"photo_id":"1399581934","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a6167a7061a1c14b167679f37d2b866.jpg","text":"TemporaryFile(/tmp/multipartBody6117044503790463373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846342408,"filename":"image_16122025_01_50_54_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399581934"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399581934"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.370308876037598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:51:41.975787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_53_1521.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_55_1593.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_57_1717.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_58_1522.jpg', '/home/pi/Desktop/images/06112025/14/29/image_06112025_14_30_00_1645.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_53_1521.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_55_1593.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_57_1717.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_29_58_1522.jpg
/home/pi/Desktop/images/06112025/14/29/image_06112025_14_30_00_1645.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581939","1399581944","1399581947","1399581949","1399581951","1399581945"],"photo_ids_order":["1399581939","1399581944","1399581945","1399581947","1399581949","1399581951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/48363637ad18decffb2c853fda4fd549.jpg","text":"TemporaryFile(/tmp/multipartBody6789613065641036913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846362684,"filename":"image_06112025_14_29_53_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/16/c08c461a7578f839b47972109e046025.jpg","text":"TemporaryFile(/tmp/multipartBody5270077839388430422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846362684,"filename":"image_06112025_14_29_55_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/16/6cdf482c432794f7e10ab849fb5cb4b7.jpg","text":"TemporaryFile(/tmp/multipartBody4083577347181952407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846362684,"filename":"image_06112025_14_29_58_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/16/fa533e00800382c767e4bdf63b348322.jpg","text":"TemporaryFile(/tmp/multipartBody1424340319067196928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846362684,"filename":"image_06112025_14_30_00_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/16/7f4df3a8560c6f798689fedcab18b476.jpg","text":"TemporaryFile(/tmp/multipartBody4751962635260023145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846362684,"filename":"image_06112025_14_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd6ec6ef72988403d436a63517ea373b.jpg","text":"TemporaryFile(/tmp/multipartBody8450851657260014638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846362684,"filename":"image_06112025_14_29_57_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581945","file1":"1399581944","file0":"1399581939","file4":"1399581949","file5":"1399581951","file3":"1399581947"},"map_files_photo_id_array":[{"photo_id":"1399581951","filename":"file5"},{"photo_id":"1399581945","filename":"file2"},{"photo_id":"1399581949","filename":"file4"},{"photo_id":"1399581944","filename":"file1"},{"photo_id":"1399581939","filename":"file0"},{"photo_id":"1399581947","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581939":["hashtag1","hashtag2"]},{"1399581944":["hashtag1","hashtag2"]},{"1399581947":["hashtag1","hashtag2"]},{"1399581949":["hashtag1","hashtag2"]},{"1399581951":["hashtag1","hashtag2"]},{"1399581945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581939, 1399581944, 1399581947, 1399581949, 1399581951, 1399581945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.798091888427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:52:22.286675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_11_3553.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_14_2921.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_21_7291.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_24_2964.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_26_1621.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_27_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_11_3553.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_14_2921.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_21_7291.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_24_2964.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_26_1621.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_27_1556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399581957","1399581968","1399581970","1399581963","1399581966","1399581960"],"photo_ids_order":["1399581957","1399581960","1399581963","1399581966","1399581968","1399581970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a345a34f4acfb76d3d38f697c2130022.jpg","text":"TemporaryFile(/tmp/multipartBody2583827515485468332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846403011,"filename":"image_06112025_14_30_11_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/16/553b82081c1f7c93df31cfeccf127647.jpg","text":"TemporaryFile(/tmp/multipartBody8277797975302005763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846403011,"filename":"image_06112025_14_30_26_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/16/be23ab49b22a7b7e4f0e9d9e3e7af330.jpg","text":"TemporaryFile(/tmp/multipartBody8240027906796435570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846403011,"filename":"image_06112025_14_30_27_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/16/34720d4e37ae5695166229bf2d8ef897.jpg","text":"TemporaryFile(/tmp/multipartBody1781683873329296382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846403011,"filename":"image_06112025_14_30_21_7291.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/abbbbf8e61ff055169ab34533ecf1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4564453926597739148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846403011,"filename":"image_06112025_14_30_24_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/16/92ebf38cfaaa35dde7d0ee9366fbf259.jpg","text":"TemporaryFile(/tmp/multipartBody6096226165087027250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846403011,"filename":"image_06112025_14_30_14_2921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581963","file1":"1399581960","file0":"1399581957","file4":"1399581968","file5":"1399581970","file3":"1399581966"},"map_files_photo_id_array":[{"photo_id":"1399581970","filename":"file5"},{"photo_id":"1399581963","filename":"file2"},{"photo_id":"1399581968","filename":"file4"},{"photo_id":"1399581960","filename":"file1"},{"photo_id":"1399581957","filename":"file0"},{"photo_id":"1399581966","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581957":["hashtag1","hashtag2"]},{"1399581968":["hashtag1","hashtag2"]},{"1399581970":["hashtag1","hashtag2"]},{"1399581963":["hashtag1","hashtag2"]},{"1399581966":["hashtag1","hashtag2"]},{"1399581960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581957, 1399581968, 1399581970, 1399581963, 1399581966, 1399581960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00009369850159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:53:03.155330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:53:12.480035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:53:22.446411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_29_1906.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_32_2687.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_35_2744.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_37_2746.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_41_3605.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_43_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_29_1906.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_32_2687.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_35_2744.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_37_2746.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_41_3605.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_43_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":["1399581986","1399581979","1399581976","1399581981","1399581984","1399581978"],"photo_ids_order":["1399581976","1399581978","1399581979","1399581981","1399581984","1399581986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c761e3405a55bd16dbf702472f99bc91.jpg","text":"TemporaryFile(/tmp/multipartBody796966388266316831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846463208,"filename":"image_06112025_14_30_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/16/f48dae7d091b6ad18fcdbf88d3168b88.jpg","text":"TemporaryFile(/tmp/multipartBody7646866507895945144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846463208,"filename":"image_06112025_14_30_35_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/16/81834f7373a7988ffccf8c80d29dddfe.jpg","text":"TemporaryFile(/tmp/multipartBody2514383487695901100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846463208,"filename":"image_06112025_14_30_29_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/16/f25753d195e7d4c13149bb6d50dd6c50.jpg","text":"TemporaryFile(/tmp/multipartBody4784064595710612411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846463208,"filename":"image_06112025_14_30_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/16/af9d2d357157b3f177377d152c755df4.jpg","text":"TemporaryFile(/tmp/multipartBody5132703111151075371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846463208,"filename":"image_06112025_14_30_41_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/16/fb57a51c4bc539622881d5f82937676e.jpg","text":"TemporaryFile(/tmp/multipartBody8313072329336663685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846463208,"filename":"image_06112025_14_30_32_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399581979","file1":"1399581978","file0":"1399581976","file4":"1399581984","file5":"1399581986","file3":"1399581981"},"map_files_photo_id_array":[{"photo_id":"1399581986","filename":"file5"},{"photo_id":"1399581979","filename":"file2"},{"photo_id":"1399581984","filename":"file4"},{"photo_id":"1399581978","filename":"file1"},{"photo_id":"1399581976","filename":"file0"},{"photo_id":"1399581981","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399581986":["hashtag1","hashtag2"]},{"1399581979":["hashtag1","hashtag2"]},{"1399581976":["hashtag1","hashtag2"]},{"1399581981":["hashtag1","hashtag2"]},{"1399581984":["hashtag1","hashtag2"]},{"1399581978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399581986, 1399581979, 1399581976, 1399581981, 1399581984, 1399581978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.320868492126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:54:03.363515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:54:12.811695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:54:22.849027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_47_3764.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_50_2558.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_52_2611.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_56_3661.jpg', '/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_59_2724.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_01_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_47_3764.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_50_2558.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_52_2611.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_56_3661.jpg
/home/pi/Desktop/images/06112025/14/30/image_06112025_14_30_59_2724.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_01_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":["1399582005","1399581998","1399582007","1399582001","1399581994","1399582003"],"photo_ids_order":["1399581994","1399581998","1399582001","1399582003","1399582005","1399582007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75a1d797389877fd82eb8dd1d16cca60.jpg","text":"TemporaryFile(/tmp/multipartBody2708234053404523624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846523633,"filename":"image_06112025_14_30_59_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c4a37a530fe3645003c990deb43b605.jpg","text":"TemporaryFile(/tmp/multipartBody927226190277284569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846523633,"filename":"image_06112025_14_30_50_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/16/4ac12623531ad6ee1e43ee52376495ee.jpg","text":"TemporaryFile(/tmp/multipartBody3671631520966542028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846523633,"filename":"image_06112025_14_31_01_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/16/8bbb4a77b5f468fe3c89712daf7cf26b.jpg","text":"TemporaryFile(/tmp/multipartBody2579789967909782959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846523633,"filename":"image_06112025_14_30_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/51af78f12163fa467323028868ad02fc.jpg","text":"TemporaryFile(/tmp/multipartBody5739275965070163045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846523633,"filename":"image_06112025_14_30_47_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/16/5ad6fe880438c628ef1b6d5d4b692d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2517211567112070068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846523633,"filename":"image_06112025_14_30_56_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399582001","file1":"1399581998","file0":"1399581994","file4":"1399582005","file5":"1399582007","file3":"1399582003"},"map_files_photo_id_array":[{"photo_id":"1399582007","filename":"file5"},{"photo_id":"1399582001","filename":"file2"},{"photo_id":"1399582005","filename":"file4"},{"photo_id":"1399581998","filename":"file1"},{"photo_id":"1399581994","filename":"file0"},{"photo_id":"1399582003","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399582005":["hashtag1","hashtag2"]},{"1399581998":["hashtag1","hashtag2"]},{"1399582007":["hashtag1","hashtag2"]},{"1399582001":["hashtag1","hashtag2"]},{"1399581994":["hashtag1","hashtag2"]},{"1399582003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399582005, 1399581998, 1399582007, 1399582001, 1399581994, 1399582003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23862266540527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:55:02.735759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:55:12.049285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:55:22.060791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/50/image_16122025_01_51_04_9738.jpg', '/home/pi/Desktop/images/16122025/01/55/image_16122025_01_55_35_10723.jpg', '/home/pi/Desktop/images/16122025/01/55/image_16122025_01_55_44_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/50/image_16122025_01_51_04_9738.jpg
/home/pi/Desktop/images/16122025/01/55/image_16122025_01_55_35_10723.jpg
/home/pi/Desktop/images/16122025/01/55/image_16122025_01_55_44_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399582015","1399582012","1399582017"],"photo_ids_order":["1399582012","1399582015","1399582017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8978b295bdc980eede9c08018ac513d3.jpg","text":"TemporaryFile(/tmp/multipartBody6566559810024108944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846582578,"filename":"image_16122025_01_55_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/16/f8974d3ce2343a7ac1deab9917734156.jpg","text":"TemporaryFile(/tmp/multipartBody5657132306405099563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846582578,"filename":"image_16122025_01_51_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/16/ab3e4112fbf113ca9f0cacb205959e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4142876430439009732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846582578,"filename":"image_16122025_01_55_44_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399582017","file1":"1399582015","file0":"1399582012"},"map_files_photo_id_array":[{"photo_id":"1399582017","filename":"file2"},{"photo_id":"1399582015","filename":"file1"},{"photo_id":"1399582012","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399582015":["hashtag1","hashtag2"]},{"1399582012":["hashtag1","hashtag2"]},{"1399582017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399582015, 1399582012, 1399582017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.68761420249939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:56:02.718924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 01:56:12.264089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:56:22.247553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/55/image_16122025_01_55_54_9707.jpg', '/home/pi/Desktop/images/16122025/01/56/image_16122025_01_56_14_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/55/image_16122025_01_55_54_9707.jpg
/home/pi/Desktop/images/16122025/01/56/image_16122025_01_56_14_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399582037","1399582039"],"photo_ids_order":["1399582037","1399582039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/428538e24b15b7c13a56fa69916e37c0.jpg","text":"TemporaryFile(/tmp/multipartBody8560917481306432262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846642687,"filename":"image_16122025_01_55_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/16/28e22ff81c56c00cc97ef984e3411a1a.jpg","text":"TemporaryFile(/tmp/multipartBody5080771916135176625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846642687,"filename":"image_16122025_01_56_14_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399582039","file0":"1399582037"},"map_files_photo_id_array":[{"photo_id":"1399582039","filename":"file1"},{"photo_id":"1399582037","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399582037":["hashtag1","hashtag2"]},{"1399582039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399582037, 1399582039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.970606088638306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:56:42.382644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_05_3655.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_08_2640.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_12_3846.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_15_2953.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_17_2667.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_20_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_05_3655.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_08_2640.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_12_3846.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_15_2953.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_17_2667.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_20_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399582082","1399582055","1399582054","1399582053","1399582047","1399582056"],"photo_ids_order":["1399582047","1399582053","1399582054","1399582055","1399582056","1399582082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/048b4e8ef10bbdc6a244856dd87b5caf.jpg","text":"TemporaryFile(/tmp/multipartBody2375587980826913894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846663141,"filename":"image_06112025_14_31_20_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/16/f65a58289b60c51e48fa9005c5c97152.jpg","text":"TemporaryFile(/tmp/multipartBody9036685133183511470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846663141,"filename":"image_06112025_14_31_15_2953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77ca65a67f8f77ae8e7247f4ad929a20.jpg","text":"TemporaryFile(/tmp/multipartBody7045058352345927140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846663141,"filename":"image_06112025_14_31_12_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/115673c56036d64464c78622cac4ea45.jpg","text":"TemporaryFile(/tmp/multipartBody6405453010177856443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846663141,"filename":"image_06112025_14_31_08_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/16/6435d72cfd033670640c4b1af8de9cc6.jpg","text":"TemporaryFile(/tmp/multipartBody9097228980758226147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846663141,"filename":"image_06112025_14_31_05_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f86d83fefa461ba6cc635aaf9901943a.jpg","text":"TemporaryFile(/tmp/multipartBody6915218216605447551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846663141,"filename":"image_06112025_14_31_17_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399582054","file1":"1399582053","file0":"1399582047","file4":"1399582056","file5":"1399582082","file3":"1399582055"},"map_files_photo_id_array":[{"photo_id":"1399582082","filename":"file5"},{"photo_id":"1399582054","filename":"file2"},{"photo_id":"1399582056","filename":"file4"},{"photo_id":"1399582053","filename":"file1"},{"photo_id":"1399582047","filename":"file0"},{"photo_id":"1399582055","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399582082":["hashtag1","hashtag2"]},{"1399582055":["hashtag1","hashtag2"]},{"1399582054":["hashtag1","hashtag2"]},{"1399582053":["hashtag1","hashtag2"]},{"1399582047":["hashtag1","hashtag2"]},{"1399582056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399582082, 1399582055, 1399582054, 1399582053, 1399582047, 1399582056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.725829124450684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 01:57:22.491257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/56/image_16122025_01_56_55_9868.jpg', '/home/pi/Desktop/images/16122025/01/56/image_16122025_01_57_04_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/56/image_16122025_01_56_55_9868.jpg
/home/pi/Desktop/images/16122025/01/56/image_16122025_01_57_04_9718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3670499324798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 01:57:32.522079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:57:42.476626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_27_6773.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_28_1755.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_30_1778.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_32_1679.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_34_2596.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_38_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_27_6773.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_28_1755.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_30_1778.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_32_1679.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_34_2596.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_38_3566.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399582640","1399582576","1399582606","1399582593","1399582644","1399582524"],"photo_ids_order":["1399582524","1399582576","1399582593","1399582606","1399582640","1399582644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e442433153690c4b9e230a694531d432.jpg","text":"TemporaryFile(/tmp/multipartBody258275041926600750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846723240,"filename":"image_06112025_14_31_34_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/16/bf215f3f9ae914bec88a77ffb38bc5e2.jpg","text":"TemporaryFile(/tmp/multipartBody427079540059832133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846723240,"filename":"image_06112025_14_31_28_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5447400e2136aa89e764b8a493711afb.jpg","text":"TemporaryFile(/tmp/multipartBody5422172018505639862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846723240,"filename":"image_06112025_14_31_32_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/16/1dbcf6cdfaba31a1a3673fc2ba098b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7737657902324569725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846723240,"filename":"image_06112025_14_31_30_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dbcc28e620edd221ac2652a500777687.jpg","text":"TemporaryFile(/tmp/multipartBody3653691974644047271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846723240,"filename":"image_06112025_14_31_38_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/16/daf6b025694d5e8fa3141880c65d26ee.jpg","text":"TemporaryFile(/tmp/multipartBody3814723804081162361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846723240,"filename":"image_06112025_14_31_27_6773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399582593","file1":"1399582576","file0":"1399582524","file4":"1399582640","file5":"1399582644","file3":"1399582606"},"map_files_photo_id_array":[{"photo_id":"1399582644","filename":"file5"},{"photo_id":"1399582593","filename":"file2"},{"photo_id":"1399582640","filename":"file4"},{"photo_id":"1399582576","filename":"file1"},{"photo_id":"1399582524","filename":"file0"},{"photo_id":"1399582606","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399582640":["hashtag1","hashtag2"]},{"1399582576":["hashtag1","hashtag2"]},{"1399582606":["hashtag1","hashtag2"]},{"1399582593":["hashtag1","hashtag2"]},{"1399582644":["hashtag1","hashtag2"]},{"1399582524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399582640, 1399582576, 1399582606, 1399582593, 1399582644, 1399582524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06566572189331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 01:59:02.895609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/56/image_16122025_01_56_55_9868.jpg', '/home/pi/Desktop/images/16122025/01/56/image_16122025_01_57_04_9718.jpg', '/home/pi/Desktop/images/16122025/01/57/image_16122025_01_57_14_10225.jpg', '/home/pi/Desktop/images/16122025/01/57/image_16122025_01_58_04_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/56/image_16122025_01_56_55_9868.jpg
/home/pi/Desktop/images/16122025/01/56/image_16122025_01_57_04_9718.jpg
/home/pi/Desktop/images/16122025/01/57/image_16122025_01_57_14_10225.jpg
/home/pi/Desktop/images/16122025/01/57/image_16122025_01_58_04_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":["1399582826","1399582837","1399582830","1399582833"],"photo_ids_order":["1399582826","1399582830","1399582833","1399582837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/353c7431c839af63b9655f5596972970.jpg","text":"TemporaryFile(/tmp/multipartBody5885556001883206312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846803589,"filename":"image_16122025_01_56_55_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/427deb4d607b14ecde058737ab867477.jpg","text":"TemporaryFile(/tmp/multipartBody7366223019937630849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846803589,"filename":"image_16122025_01_58_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/16/d8542b2c2f5471c21b1356235d55a968.jpg","text":"TemporaryFile(/tmp/multipartBody7892824434679479313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846803589,"filename":"image_16122025_01_57_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c15194e50a053a0f1a3f7d02643de61.jpg","text":"TemporaryFile(/tmp/multipartBody3325108971309832776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846803589,"filename":"image_16122025_01_57_14_10225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399582833","file1":"1399582830","file0":"1399582826","file3":"1399582837"},"map_files_photo_id_array":[{"photo_id":"1399582833","filename":"file2"},{"photo_id":"1399582830","filename":"file1"},{"photo_id":"1399582826","filename":"file0"},{"photo_id":"1399582837","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399582826":["hashtag1","hashtag2"]},{"1399582837":["hashtag1","hashtag2"]},{"1399582830":["hashtag1","hashtag2"]},{"1399582833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399582826, 1399582837, 1399582830, 1399582833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.40284490585327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 01:59:41.864697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_41_2711.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_43_2582.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_47_3725.jpg', '/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_50_2733.jpg', '/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_02_2509.jpg', '/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_07_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_41_2711.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_43_2582.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_47_3725.jpg
/home/pi/Desktop/images/06112025/14/31/image_06112025_14_31_50_2733.jpg
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_02_2509.jpg
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_07_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399582856","1399582850","1399582852","1399582858","1399582854","1399582842"],"photo_ids_order":["1399582842","1399582850","1399582852","1399582854","1399582856","1399582858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec0124cf98d446746e7cfef08e02c331.jpg","text":"TemporaryFile(/tmp/multipartBody8228756121851760865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846842547,"filename":"image_06112025_14_32_02_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/16/4232021f1af7dbba4a23aae6d6821f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2614793743542119816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846842547,"filename":"image_06112025_14_31_43_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/16/737b9733943d354c9b780953ad7424d7.jpg","text":"TemporaryFile(/tmp/multipartBody7189962258732657190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846842547,"filename":"image_06112025_14_31_47_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/16/8a54dbcd33770c70d4fc9f8e6e358336.jpg","text":"TemporaryFile(/tmp/multipartBody148482965890667642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846842547,"filename":"image_06112025_14_32_07_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/16/2d49444b1373123d7b5723eb8fdd8c2a.jpg","text":"TemporaryFile(/tmp/multipartBody132884526435123784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846842547,"filename":"image_06112025_14_31_50_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/16/f47d851187eb6ba5e22df2face4dac09.jpg","text":"TemporaryFile(/tmp/multipartBody765479776587294349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846842547,"filename":"image_06112025_14_31_41_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399582852","file1":"1399582850","file0":"1399582842","file4":"1399582856","file5":"1399582858","file3":"1399582854"},"map_files_photo_id_array":[{"photo_id":"1399582858","filename":"file5"},{"photo_id":"1399582852","filename":"file2"},{"photo_id":"1399582856","filename":"file4"},{"photo_id":"1399582850","filename":"file1"},{"photo_id":"1399582842","filename":"file0"},{"photo_id":"1399582854","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399582856":["hashtag1","hashtag2"]},{"1399582850":["hashtag1","hashtag2"]},{"1399582852":["hashtag1","hashtag2"]},{"1399582858":["hashtag1","hashtag2"]},{"1399582854":["hashtag1","hashtag2"]},{"1399582842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399582856, 1399582850, 1399582852, 1399582858, 1399582854, 1399582842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7325758934021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:00:22.096425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/01/58/image_16122025_01_58_15_10648.jpg', '/home/pi/Desktop/images/16122025/01/58/image_16122025_01_59_04_10680.jpg', '/home/pi/Desktop/images/16122025/01/59/image_16122025_01_59_14_9725.jpg', '/home/pi/Desktop/images/16122025/01/59/image_16122025_01_59_45_10845.jpg', '/home/pi/Desktop/images/16122025/01/59/image_16122025_01_59_54_9649.jpg', '/home/pi/Desktop/images/16122025/01/59/image_16122025_02_00_04_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/01/58/image_16122025_01_58_15_10648.jpg
/home/pi/Desktop/images/16122025/01/58/image_16122025_01_59_04_10680.jpg
/home/pi/Desktop/images/16122025/01/59/image_16122025_01_59_14_9725.jpg
/home/pi/Desktop/images/16122025/01/59/image_16122025_01_59_45_10845.jpg
/home/pi/Desktop/images/16122025/01/59/image_16122025_01_59_54_9649.jpg
/home/pi/Desktop/images/16122025/01/59/image_16122025_02_00_04_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399582877","1399582862","1399582879","1399582864","1399582875","1399582866"],"photo_ids_order":["1399582862","1399582864","1399582866","1399582875","1399582877","1399582879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d80e8b3f1b7c779d971b6a2da3da9f64.jpg","text":"TemporaryFile(/tmp/multipartBody5575256873517650130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846882754,"filename":"image_16122025_01_59_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3199d9915844880364e5edb38e9397bd.jpg","text":"TemporaryFile(/tmp/multipartBody7208513558938914706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846882754,"filename":"image_16122025_01_58_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7cbca210a5acf27a52ace075c115ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7683823720232477041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846882754,"filename":"image_16122025_02_00_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9ac0d63c882c4c697589535725260a3.jpg","text":"TemporaryFile(/tmp/multipartBody3441721566834422931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846882754,"filename":"image_16122025_01_59_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb1c7bd27b84902171cadbc049eca372.jpg","text":"TemporaryFile(/tmp/multipartBody8632662231736008325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846882754,"filename":"image_16122025_01_59_45_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/16/bbf8439cce46d05536ee50207faf4176.jpg","text":"TemporaryFile(/tmp/multipartBody5133664363465800065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846882754,"filename":"image_16122025_01_59_14_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399582866","file1":"1399582864","file0":"1399582862","file4":"1399582877","file5":"1399582879","file3":"1399582875"},"map_files_photo_id_array":[{"photo_id":"1399582879","filename":"file5"},{"photo_id":"1399582866","filename":"file2"},{"photo_id":"1399582877","filename":"file4"},{"photo_id":"1399582864","filename":"file1"},{"photo_id":"1399582862","filename":"file0"},{"photo_id":"1399582875","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399582877":["hashtag1","hashtag2"]},{"1399582862":["hashtag1","hashtag2"]},{"1399582879":["hashtag1","hashtag2"]},{"1399582864":["hashtag1","hashtag2"]},{"1399582875":["hashtag1","hashtag2"]},{"1399582866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399582877, 1399582862, 1399582879, 1399582864, 1399582875, 1399582866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23218035697937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:01:02.905697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/00/image_16122025_02_00_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/00/image_16122025_02_00_24_9606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399582881"],"photo_id":"1399582881","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61abfd816b2a40c1d9f28fefa23a4eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4974739451900296753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846923368,"filename":"image_16122025_02_00_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399582881"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399582881"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.05499815940857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:01:22.370365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/00/image_16122025_02_00_34_9606.jpg', '/home/pi/Desktop/images/16122025/02/00/image_16122025_02_01_04_9713.jpg', '/home/pi/Desktop/images/16122025/02/01/image_16122025_02_01_14_9774.jpg', '/home/pi/Desktop/images/16122025/02/01/image_16122025_02_01_44_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/00/image_16122025_02_00_34_9606.jpg
/home/pi/Desktop/images/16122025/02/00/image_16122025_02_01_04_9713.jpg
/home/pi/Desktop/images/16122025/02/01/image_16122025_02_01_14_9774.jpg
/home/pi/Desktop/images/16122025/02/01/image_16122025_02_01_44_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399583074","1399583035","1399582993","1399583115"],"photo_ids_order":["1399582993","1399583035","1399583074","1399583115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/843194b943316b01856c7a21eacda1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3910356408135979565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846942940,"filename":"image_16122025_02_01_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/16/45333df94717ce36ba09fa23cf53cff4.jpg","text":"TemporaryFile(/tmp/multipartBody803368230445302593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846942940,"filename":"image_16122025_02_01_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/16/5a40378ef1ce6fda0b94790df5d4b6c1.jpg","text":"TemporaryFile(/tmp/multipartBody3881322740943318617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846942940,"filename":"image_16122025_02_00_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1636713fa5e236d19b664159bb406166.jpg","text":"TemporaryFile(/tmp/multipartBody3262601868364871343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765846942940,"filename":"image_16122025_02_01_44_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399583074","file1":"1399583035","file0":"1399582993","file3":"1399583115"},"map_files_photo_id_array":[{"photo_id":"1399583074","filename":"file2"},{"photo_id":"1399583035","filename":"file1"},{"photo_id":"1399582993","filename":"file0"},{"photo_id":"1399583115","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399583074":["hashtag1","hashtag2"]},{"1399583035":["hashtag1","hashtag2"]},{"1399582993":["hashtag1","hashtag2"]},{"1399583115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399583074, 1399583035, 1399582993, 1399583115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.704357624053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:02:03.131678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:02:12.552986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:02:22.596117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/01/image_16122025_02_01_54_10678.jpg', '/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_24_9713.jpg', '/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_35_10732.jpg', '/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_48_13470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/01/image_16122025_02_01_54_10678.jpg
/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_24_9713.jpg
/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_35_10732.jpg
/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_48_13470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399583521","1399583478","1399583565","1399583601"],"photo_ids_order":["1399583478","1399583521","1399583565","1399583601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a937505d257ae41385a4f0aee8be8ba.jpg","text":"TemporaryFile(/tmp/multipartBody8907103610111550533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847003189,"filename":"image_16122025_02_02_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/16/106ac1a9b15ac4557b85c53ddd6d9da0.jpg","text":"TemporaryFile(/tmp/multipartBody6275626992579862751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847003189,"filename":"image_16122025_02_01_54_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/16/de57c186fe6d166bb3915663ec343830.jpg","text":"TemporaryFile(/tmp/multipartBody1447763983803409267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847003189,"filename":"image_16122025_02_02_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/16/539affd8a96115e14e58471ed7d3ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody3465428177730425906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847003189,"filename":"image_16122025_02_02_48_13470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399583565","file1":"1399583521","file0":"1399583478","file3":"1399583601"},"map_files_photo_id_array":[{"photo_id":"1399583565","filename":"file2"},{"photo_id":"1399583521","filename":"file1"},{"photo_id":"1399583478","filename":"file0"},{"photo_id":"1399583601","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399583521":["hashtag1","hashtag2"]},{"1399583478":["hashtag1","hashtag2"]},{"1399583565":["hashtag1","hashtag2"]},{"1399583601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399583521, 1399583478, 1399583565, 1399583601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.658639430999756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:03:03.484550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:03:12.764562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:03:22.765867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_55_6635.jpg', '/home/pi/Desktop/images/16122025/02/02/image_16122025_02_03_04_9592.jpg', '/home/pi/Desktop/images/16122025/02/03/image_16122025_02_03_25_10818.jpg', '/home/pi/Desktop/images/16122025/02/03/image_16122025_02_03_35_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/02/image_16122025_02_02_55_6635.jpg
/home/pi/Desktop/images/16122025/02/02/image_16122025_02_03_04_9592.jpg
/home/pi/Desktop/images/16122025/02/03/image_16122025_02_03_25_10818.jpg
/home/pi/Desktop/images/16122025/02/03/image_16122025_02_03_35_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399583723","1399583749","1399583725","1399583721"],"photo_ids_order":["1399583721","1399583723","1399583725","1399583749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be85094cc9f92cc1c39194619fb63029.jpg","text":"TemporaryFile(/tmp/multipartBody8140241794704805234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847063328,"filename":"image_16122025_02_03_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9ec3e51938c84b654885e3d4023965a1.jpg","text":"TemporaryFile(/tmp/multipartBody214934083935343331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847063328,"filename":"image_16122025_02_03_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/16/64c6ee5e896009806dd0cafa90ada0fc.jpg","text":"TemporaryFile(/tmp/multipartBody2914944881788403838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847063328,"filename":"image_16122025_02_03_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/987146afd5145e7e0884342b5a3869bf.jpg","text":"TemporaryFile(/tmp/multipartBody3244941457388604182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847063328,"filename":"image_16122025_02_02_55_6635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399583725","file1":"1399583723","file0":"1399583721","file3":"1399583749"},"map_files_photo_id_array":[{"photo_id":"1399583725","filename":"file2"},{"photo_id":"1399583723","filename":"file1"},{"photo_id":"1399583721","filename":"file0"},{"photo_id":"1399583749","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399583723":["hashtag1","hashtag2"]},{"1399583749":["hashtag1","hashtag2"]},{"1399583725":["hashtag1","hashtag2"]},{"1399583721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399583723, 1399583749, 1399583725, 1399583721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.73803472518921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:04:02.677619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:04:11.950497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:04:22.018493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/03/image_16122025_02_03_54_9776.jpg', '/home/pi/Desktop/images/16122025/02/03/image_16122025_02_04_05_10642.jpg', '/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_15_9911.jpg', '/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_24_9681.jpg', '/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_34_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/03/image_16122025_02_03_54_9776.jpg
/home/pi/Desktop/images/16122025/02/03/image_16122025_02_04_05_10642.jpg
/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_15_9911.jpg
/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_24_9681.jpg
/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_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":["1399583989","1399584052","1399584036","1399584018","1399584006"],"photo_ids_order":["1399583989","1399584006","1399584018","1399584036","1399584052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11ad31d24ebb39e3f5b508f45e5a0c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7143481762868533572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847122630,"filename":"image_16122025_02_03_54_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60b5191dc3a2c2ad97d3b91bf48c6971.jpg","text":"TemporaryFile(/tmp/multipartBody1691590920777871614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847122630,"filename":"image_16122025_02_04_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/16/143a6b80bcaae31f842a06dd2cbc22c9.jpg","text":"TemporaryFile(/tmp/multipartBody7600182931143901009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847122630,"filename":"image_16122025_02_04_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/16/7619b1015609e213805ba29a72dee715.jpg","text":"TemporaryFile(/tmp/multipartBody343687922191832422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847122630,"filename":"image_16122025_02_04_15_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/13f1ba33967c7ba9916c83f93d852c3b.jpg","text":"TemporaryFile(/tmp/multipartBody178349266672630566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847122630,"filename":"image_16122025_02_04_05_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399584018","file1":"1399584006","file0":"1399583989","file4":"1399584052","file3":"1399584036"},"map_files_photo_id_array":[{"photo_id":"1399584018","filename":"file2"},{"photo_id":"1399584052","filename":"file4"},{"photo_id":"1399584006","filename":"file1"},{"photo_id":"1399583989","filename":"file0"},{"photo_id":"1399584036","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399583989":["hashtag1","hashtag2"]},{"1399584052":["hashtag1","hashtag2"]},{"1399584036":["hashtag1","hashtag2"]},{"1399584018":["hashtag1","hashtag2"]},{"1399584006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399583989, 1399584052, 1399584036, 1399584018, 1399584006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.42236518859863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:05:02.838018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:05:12.280186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:05:22.204883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_45_10651.jpg', '/home/pi/Desktop/images/16122025/02/04/image_16122025_02_05_04_9782.jpg', '/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_35_10681.jpg', '/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_45_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_45_10651.jpg
/home/pi/Desktop/images/16122025/02/04/image_16122025_02_05_04_9782.jpg
/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_35_10681.jpg
/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_45_9844.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5012273788452148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:05:32.197530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:05:42.285908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_10_2688.jpg', '/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_16_2746.jpg', '/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_25_2579.jpg', '/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_32_3598.jpg', '/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_34_2385.jpg', '/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_38_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_10_2688.jpg
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_16_2746.jpg
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_25_2579.jpg
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_32_3598.jpg
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_34_2385.jpg
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_38_3567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399584196","1399584307","1399584270","1399584150","1399584345","1399584234"],"photo_ids_order":["1399584150","1399584196","1399584234","1399584270","1399584307","1399584345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8d289c42bebc086616eed9dd6970f61.jpg","text":"TemporaryFile(/tmp/multipartBody3004090452349166789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847202959,"filename":"image_06112025_14_32_16_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/16/236b920024077b9fbad0ead8a87cade0.jpg","text":"TemporaryFile(/tmp/multipartBody5891387944287845886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847202959,"filename":"image_06112025_14_32_34_2385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/913b78631bccf6dafb7973036c1a744d.jpg","text":"TemporaryFile(/tmp/multipartBody4575441648942659077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847202959,"filename":"image_06112025_14_32_32_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/16/9ee3c76a3aba766a8ee17d9a27b60da8.jpg","text":"TemporaryFile(/tmp/multipartBody1961007539661137356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847202959,"filename":"image_06112025_14_32_10_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/16/1b9ec19441407b7a32b824252cb4e2a2.jpg","text":"TemporaryFile(/tmp/multipartBody258343201405292144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847202959,"filename":"image_06112025_14_32_38_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c2bc71b9f61eb59d4ce45e78c62a1c1.jpg","text":"TemporaryFile(/tmp/multipartBody1539928331623398489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847202959,"filename":"image_06112025_14_32_25_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399584234","file1":"1399584196","file0":"1399584150","file4":"1399584307","file5":"1399584345","file3":"1399584270"},"map_files_photo_id_array":[{"photo_id":"1399584345","filename":"file5"},{"photo_id":"1399584234","filename":"file2"},{"photo_id":"1399584307","filename":"file4"},{"photo_id":"1399584196","filename":"file1"},{"photo_id":"1399584150","filename":"file0"},{"photo_id":"1399584270","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399584196":["hashtag1","hashtag2"]},{"1399584307":["hashtag1","hashtag2"]},{"1399584270":["hashtag1","hashtag2"]},{"1399584150":["hashtag1","hashtag2"]},{"1399584345":["hashtag1","hashtag2"]},{"1399584234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399584196, 1399584307, 1399584270, 1399584150, 1399584345, 1399584234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88611650466919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:06:22.692606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_45_10651.jpg', '/home/pi/Desktop/images/16122025/02/04/image_16122025_02_05_04_9782.jpg', '/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_35_10681.jpg', '/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_45_9844.jpg', '/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_54_9765.jpg', '/home/pi/Desktop/images/16122025/02/05/image_16122025_02_06_04_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/04/image_16122025_02_04_45_10651.jpg
/home/pi/Desktop/images/16122025/02/04/image_16122025_02_05_04_9782.jpg
/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_35_10681.jpg
/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_45_9844.jpg
/home/pi/Desktop/images/16122025/02/05/image_16122025_02_05_54_9765.jpg
/home/pi/Desktop/images/16122025/02/05/image_16122025_02_06_04_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399584535","1399584564","1399584497","1399584566","1399584569","1399584580"],"photo_ids_order":["1399584497","1399584535","1399584564","1399584566","1399584569","1399584580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e8133ddb0a5864c56bb17292ba52f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2448495377835727930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847243391,"filename":"image_16122025_02_05_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/188dc44fe5838a931e6b4f49f8ec5177.jpg","text":"TemporaryFile(/tmp/multipartBody7416279470676924558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847243391,"filename":"image_16122025_02_05_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/16/73455039a20811f13849bc7b7330e661.jpg","text":"TemporaryFile(/tmp/multipartBody1200735799582367184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847243391,"filename":"image_16122025_02_04_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/16/95d5cd8d6ba75f16dd5552d544458b7e.jpg","text":"TemporaryFile(/tmp/multipartBody73129875805732302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847243391,"filename":"image_16122025_02_05_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/16/53dd2f5f42fac15e7d92c6ba3e7a6267.jpg","text":"TemporaryFile(/tmp/multipartBody2044299710066009261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847243391,"filename":"image_16122025_02_05_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/16/ecd8a44bf3622745657ea6e4689d5d01.jpg","text":"TemporaryFile(/tmp/multipartBody8186995581967200109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847243391,"filename":"image_16122025_02_06_04_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399584564","file1":"1399584535","file0":"1399584497","file4":"1399584569","file5":"1399584580","file3":"1399584566"},"map_files_photo_id_array":[{"photo_id":"1399584580","filename":"file5"},{"photo_id":"1399584564","filename":"file2"},{"photo_id":"1399584569","filename":"file4"},{"photo_id":"1399584535","filename":"file1"},{"photo_id":"1399584497","filename":"file0"},{"photo_id":"1399584566","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399584535":["hashtag1","hashtag2"]},{"1399584564":["hashtag1","hashtag2"]},{"1399584497":["hashtag1","hashtag2"]},{"1399584566":["hashtag1","hashtag2"]},{"1399584569":["hashtag1","hashtag2"]},{"1399584580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399584535, 1399584564, 1399584497, 1399584566, 1399584569, 1399584580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.302480697631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:07:02.475848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/06/image_16122025_02_06_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/06/image_16122025_02_06_34_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399584668"],"photo_id":"1399584668","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37b04526f53ceea873a71021327b7054.jpg","text":"TemporaryFile(/tmp/multipartBody7714815588639283402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847282931,"filename":"image_16122025_02_06_34_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399584668"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399584668"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.764721632003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:07:21.784809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/06/image_16122025_02_06_45_10576.jpg', '/home/pi/Desktop/images/16122025/02/07/image_16122025_02_07_34_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/06/image_16122025_02_06_45_10576.jpg
/home/pi/Desktop/images/16122025/02/07/image_16122025_02_07_34_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399584742","1399584740"],"photo_ids_order":["1399584740","1399584742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1342b6705f02fba18626313444a7e1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3659883832159939579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847302252,"filename":"image_16122025_02_07_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/16/250a9572476ab4686d26fc50747be980.jpg","text":"TemporaryFile(/tmp/multipartBody3001769850045588064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847302252,"filename":"image_16122025_02_06_45_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399584742","file0":"1399584740"},"map_files_photo_id_array":[{"photo_id":"1399584742","filename":"file1"},{"photo_id":"1399584740","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399584742":["hashtag1","hashtag2"]},{"1399584740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399584742, 1399584740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.69867181777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:07:41.893550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_43_5257.jpg', '/home/pi/Desktop/images/06112025/14/33/image_06112025_14_33_13_30008.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_07_3011.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_11_3734.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_13_2712.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_16_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/32/image_06112025_14_32_43_5257.jpg
/home/pi/Desktop/images/06112025/14/33/image_06112025_14_33_13_30008.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_07_3011.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_11_3734.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_13_2712.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_16_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399584751","1399584747","1399584750","1399584813","1399584749","1399584772"],"photo_ids_order":["1399584747","1399584749","1399584750","1399584751","1399584772","1399584813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5c895641b2b2e3bf72b4393c6c7127a.jpg","text":"TemporaryFile(/tmp/multipartBody9102822167237025818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847322578,"filename":"image_06112025_14_34_11_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/16/260450384ab31647a1cc429313faa7c5.jpg","text":"TemporaryFile(/tmp/multipartBody2144247126294039026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847322578,"filename":"image_06112025_14_32_43_5257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/391ef1ca8566e03477e0391a32c110d0.jpg","text":"TemporaryFile(/tmp/multipartBody8604715972034223193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847322578,"filename":"image_06112025_14_34_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/16/f0ad65469ecb38eb274e6dabfcaab39c.jpg","text":"TemporaryFile(/tmp/multipartBody5063905425387646557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847322578,"filename":"image_06112025_14_34_16_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f3c1adfe1729154c41b23665065d5ab.jpg","text":"TemporaryFile(/tmp/multipartBody6516748424742048134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847322578,"filename":"image_06112025_14_33_13_30008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ffb45fae70a13d6f24d1ce6fff7e2e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4362152467186754611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847322578,"filename":"image_06112025_14_34_13_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399584750","file1":"1399584749","file0":"1399584747","file4":"1399584772","file5":"1399584813","file3":"1399584751"},"map_files_photo_id_array":[{"photo_id":"1399584813","filename":"file5"},{"photo_id":"1399584750","filename":"file2"},{"photo_id":"1399584772","filename":"file4"},{"photo_id":"1399584749","filename":"file1"},{"photo_id":"1399584747","filename":"file0"},{"photo_id":"1399584751","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399584751":["hashtag1","hashtag2"]},{"1399584747":["hashtag1","hashtag2"]},{"1399584750":["hashtag1","hashtag2"]},{"1399584813":["hashtag1","hashtag2"]},{"1399584749":["hashtag1","hashtag2"]},{"1399584772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399584751, 1399584747, 1399584750, 1399584813, 1399584749, 1399584772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77909445762634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:08:22.152954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/07/image_16122025_02_07_54_9619.jpg', '/home/pi/Desktop/images/16122025/02/08/image_16122025_02_08_25_10668.jpg', '/home/pi/Desktop/images/16122025/02/08/image_16122025_02_08_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/07/image_16122025_02_07_54_9619.jpg
/home/pi/Desktop/images/16122025/02/08/image_16122025_02_08_25_10668.jpg
/home/pi/Desktop/images/16122025/02/08/image_16122025_02_08_44_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399584996","1399585041","1399584956"],"photo_ids_order":["1399584956","1399584996","1399585041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bbbb8df7ce1c33758103396760598826.jpg","text":"TemporaryFile(/tmp/multipartBody7850435775890774234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847362672,"filename":"image_16122025_02_08_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/16/a224161d8e83dc65f7ad7a327d76918c.jpg","text":"TemporaryFile(/tmp/multipartBody6690337622276846881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847362672,"filename":"image_16122025_02_08_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/16/dfd508efc36c1dcd0bd78f4315cf6d15.jpg","text":"TemporaryFile(/tmp/multipartBody4387483701863580258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847362672,"filename":"image_16122025_02_07_54_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585041","file1":"1399584996","file0":"1399584956"},"map_files_photo_id_array":[{"photo_id":"1399585041","filename":"file2"},{"photo_id":"1399584996","filename":"file1"},{"photo_id":"1399584956","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399584996":["hashtag1","hashtag2"]},{"1399585041":["hashtag1","hashtag2"]},{"1399584956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399584996, 1399585041, 1399584956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.157153844833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:09:03.017314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:09:12.336112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:09:22.265448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/08/image_16122025_02_08_55_10904.jpg', '/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_14_9747.jpg', '/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_24_9878.jpg', '/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_35_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/08/image_16122025_02_08_55_10904.jpg
/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_14_9747.jpg
/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_24_9878.jpg
/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_35_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585236","1399585239","1399585233","1399585241"],"photo_ids_order":["1399585233","1399585236","1399585239","1399585241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5246a84a1f31c2ccdc91ff138c319199.jpg","text":"TemporaryFile(/tmp/multipartBody3873467336159880712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847422855,"filename":"image_16122025_02_09_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/16/3fa169d4b5d167f5ebe956b01d5d44fb.jpg","text":"TemporaryFile(/tmp/multipartBody2288915097886487206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847422855,"filename":"image_16122025_02_09_24_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d238df8620d8e9e45eaa9cd90ff6a14.jpg","text":"TemporaryFile(/tmp/multipartBody2708375990275854319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847422855,"filename":"image_16122025_02_08_55_10904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b30dc8998c5a7cef58ec257b69673fac.jpg","text":"TemporaryFile(/tmp/multipartBody1358268905078561715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847422855,"filename":"image_16122025_02_09_35_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585239","file1":"1399585236","file0":"1399585233","file3":"1399585241"},"map_files_photo_id_array":[{"photo_id":"1399585239","filename":"file2"},{"photo_id":"1399585236","filename":"file1"},{"photo_id":"1399585233","filename":"file0"},{"photo_id":"1399585241","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585236":["hashtag1","hashtag2"]},{"1399585239":["hashtag1","hashtag2"]},{"1399585233":["hashtag1","hashtag2"]},{"1399585241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585236, 1399585239, 1399585233, 1399585241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.145424842834473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:10:03.054768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:10:12.578096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:10:22.586163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_45_9861.jpg', '/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_14_10071.jpg', '/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_24_9739.jpg', '/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_35_10595.jpg', '/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_44_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/09/image_16122025_02_09_45_9861.jpg
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_14_10071.jpg
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_24_9739.jpg
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_35_10595.jpg
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_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":["1399585249","1399585251","1399585259","1399585256","1399585261"],"photo_ids_order":["1399585249","1399585251","1399585256","1399585259","1399585261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9bd603c735d43d4203af47ee35f8ff1d.jpg","text":"TemporaryFile(/tmp/multipartBody6446235664695846977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847483198,"filename":"image_16122025_02_09_45_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7930ead0e11c88b122832b07d0cb6744.jpg","text":"TemporaryFile(/tmp/multipartBody1906463189737132102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847483198,"filename":"image_16122025_02_10_14_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57a60041a9a8cc84b10ef0c3b9b7c515.jpg","text":"TemporaryFile(/tmp/multipartBody3015390541178593438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847483198,"filename":"image_16122025_02_10_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03761a3b96f8bf4134d57dbc7e809b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8488578750983866661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847483198,"filename":"image_16122025_02_10_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6163bd1fcf1982bbba3231308481800.jpg","text":"TemporaryFile(/tmp/multipartBody5192381355384436444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847483198,"filename":"image_16122025_02_10_44_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585256","file1":"1399585251","file0":"1399585249","file4":"1399585261","file3":"1399585259"},"map_files_photo_id_array":[{"photo_id":"1399585256","filename":"file2"},{"photo_id":"1399585261","filename":"file4"},{"photo_id":"1399585251","filename":"file1"},{"photo_id":"1399585249","filename":"file0"},{"photo_id":"1399585259","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585249":["hashtag1","hashtag2"]},{"1399585251":["hashtag1","hashtag2"]},{"1399585259":["hashtag1","hashtag2"]},{"1399585256":["hashtag1","hashtag2"]},{"1399585261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585249, 1399585251, 1399585259, 1399585256, 1399585261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.00432896614075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:11:02.599746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:11:11.904724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:11:21.982527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_54_9661.jpg', '/home/pi/Desktop/images/16122025/02/10/image_16122025_02_11_05_10768.jpg', '/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_14_9796.jpg', '/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_24_9775.jpg', '/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_34_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_54_9661.jpg
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_11_05_10768.jpg
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_14_9796.jpg
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_24_9775.jpg
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_34_9711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.549109935760498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:11:31.961912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:11:42.056425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_36_20187.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_38_1626.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_40_1878.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_41_1652.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_52_10702.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_54_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_36_20187.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_38_1626.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_40_1878.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_41_1652.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_52_10702.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_54_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585290","1399585305","1399585298","1399585301","1399585307","1399585297"],"photo_ids_order":["1399585290","1399585297","1399585298","1399585301","1399585305","1399585307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2cee9ba99d34f06b789575ddba42fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4951994366639711583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847562750,"filename":"image_06112025_14_34_36_20187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec76a63d2e792f7c43e717374af63b93.jpg","text":"TemporaryFile(/tmp/multipartBody4847733989103024898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847562750,"filename":"image_06112025_14_34_52_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/16/e8a1e41a2e3a3d23144d711f4eba44c6.jpg","text":"TemporaryFile(/tmp/multipartBody6638932633025244814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847562750,"filename":"image_06112025_14_34_40_1878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e592b351141f8181801b680b9b1fe4f.jpg","text":"TemporaryFile(/tmp/multipartBody6454368921932984545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847562750,"filename":"image_06112025_14_34_41_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/16/cf8bcb4555105a92335dc782e2766e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5582592188437055392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847562750,"filename":"image_06112025_14_34_54_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/16/d549413b73b5f64c01dd9a83f069e5a5.jpg","text":"TemporaryFile(/tmp/multipartBody6673326213527347035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847562750,"filename":"image_06112025_14_34_38_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585298","file1":"1399585297","file0":"1399585290","file4":"1399585305","file5":"1399585307","file3":"1399585301"},"map_files_photo_id_array":[{"photo_id":"1399585307","filename":"file5"},{"photo_id":"1399585298","filename":"file2"},{"photo_id":"1399585305","filename":"file4"},{"photo_id":"1399585297","filename":"file1"},{"photo_id":"1399585290","filename":"file0"},{"photo_id":"1399585301","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585290":["hashtag1","hashtag2"]},{"1399585305":["hashtag1","hashtag2"]},{"1399585298":["hashtag1","hashtag2"]},{"1399585301":["hashtag1","hashtag2"]},{"1399585307":["hashtag1","hashtag2"]},{"1399585297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585290, 1399585305, 1399585298, 1399585301, 1399585307, 1399585297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40019345283508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:12:32.332169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:12:42.320969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_56_2560.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_58_1540.jpg', '/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_59_1623.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_01_1698.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_03_1617.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_05_1828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_56_2560.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_58_1540.jpg
/home/pi/Desktop/images/06112025/14/34/image_06112025_14_34_59_1623.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_01_1698.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_03_1617.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_05_1828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585333","1399585321","1399585317","1399585320","1399585325","1399585319"],"photo_ids_order":["1399585317","1399585319","1399585320","1399585321","1399585325","1399585333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/670685a82118263aa1a480d4d88d7f51.jpg","text":"TemporaryFile(/tmp/multipartBody4200958878985110203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847623016,"filename":"image_06112025_14_35_05_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/554d8d1f80609202559f4a4c7b799fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1181315421440667556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847623016,"filename":"image_06112025_14_35_01_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/16/817a192cb0a342f5d18a9a837da4c0f7.jpg","text":"TemporaryFile(/tmp/multipartBody4128816243249975634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847623016,"filename":"image_06112025_14_34_56_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/16/45894fcd9c37ae906e7e867620904d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4090925493115792605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847623016,"filename":"image_06112025_14_34_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/16/1d885e07cf44effbd6d5c5071f21d0d8.jpg","text":"TemporaryFile(/tmp/multipartBody7112258206306657762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847623016,"filename":"image_06112025_14_35_03_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16dbc6cfaa8deddf8409630d1117004e.jpg","text":"TemporaryFile(/tmp/multipartBody3154468789052494030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847623016,"filename":"image_06112025_14_34_58_1540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585320","file1":"1399585319","file0":"1399585317","file4":"1399585325","file5":"1399585333","file3":"1399585321"},"map_files_photo_id_array":[{"photo_id":"1399585333","filename":"file5"},{"photo_id":"1399585320","filename":"file2"},{"photo_id":"1399585325","filename":"file4"},{"photo_id":"1399585319","filename":"file1"},{"photo_id":"1399585317","filename":"file0"},{"photo_id":"1399585321","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585333":["hashtag1","hashtag2"]},{"1399585321":["hashtag1","hashtag2"]},{"1399585317":["hashtag1","hashtag2"]},{"1399585320":["hashtag1","hashtag2"]},{"1399585325":["hashtag1","hashtag2"]},{"1399585319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585333, 1399585321, 1399585317, 1399585320, 1399585325, 1399585319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89699196815491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:13:22.643857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_54_9661.jpg', '/home/pi/Desktop/images/16122025/02/10/image_16122025_02_11_05_10768.jpg', '/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_14_9796.jpg', '/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_24_9775.jpg', '/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_34_9711.jpg', '/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_45_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_10_54_9661.jpg
/home/pi/Desktop/images/16122025/02/10/image_16122025_02_11_05_10768.jpg
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_14_9796.jpg
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_24_9775.jpg
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_34_9711.jpg
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_11_45_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585341","1399585347","1399585349","1399585343","1399585345","1399585339"],"photo_ids_order":["1399585339","1399585341","1399585343","1399585345","1399585347","1399585349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c2b678369008b91f7511ef702b3fde1.jpg","text":"TemporaryFile(/tmp/multipartBody7885218651338110927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847663348,"filename":"image_16122025_02_11_05_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e327142d855a1d631b3d06cbb82049a0.jpg","text":"TemporaryFile(/tmp/multipartBody1696182568421285062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847663348,"filename":"image_16122025_02_11_34_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7cdbfa89d81b25a909ed53c6376fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody4551201154496301041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847663348,"filename":"image_16122025_02_11_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/16/8711eb2e06aa1e066d6632dcfeb3c125.jpg","text":"TemporaryFile(/tmp/multipartBody3965685539274522397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847663348,"filename":"image_16122025_02_11_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/16/cccb1bbad21cf5391c05cc6813aa110d.jpg","text":"TemporaryFile(/tmp/multipartBody5214116796130596860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847663348,"filename":"image_16122025_02_11_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/16/33443d78943d5ec28581ec0744e6a3b3.jpg","text":"TemporaryFile(/tmp/multipartBody3536539251036283966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847663348,"filename":"image_16122025_02_10_54_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585343","file1":"1399585341","file0":"1399585339","file4":"1399585347","file5":"1399585349","file3":"1399585345"},"map_files_photo_id_array":[{"photo_id":"1399585349","filename":"file5"},{"photo_id":"1399585343","filename":"file2"},{"photo_id":"1399585347","filename":"file4"},{"photo_id":"1399585341","filename":"file1"},{"photo_id":"1399585339","filename":"file0"},{"photo_id":"1399585345","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585341":["hashtag1","hashtag2"]},{"1399585347":["hashtag1","hashtag2"]},{"1399585349":["hashtag1","hashtag2"]},{"1399585343":["hashtag1","hashtag2"]},{"1399585345":["hashtag1","hashtag2"]},{"1399585339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585341, 1399585347, 1399585349, 1399585343, 1399585345, 1399585339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62985825538635 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-16 02:14:11.852964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:14:21.880452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/11/image_16122025_02_12_04_9747.jpg', '/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_15_10629.jpg', '/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_24_9823.jpg', '/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_34_9651.jpg', '/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_44_9798.jpg', '/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_54_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/11/image_16122025_02_12_04_9747.jpg
/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_15_10629.jpg
/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_24_9823.jpg
/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_34_9651.jpg
/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_44_9798.jpg
/home/pi/Desktop/images/16122025/02/12/image_16122025_02_12_54_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585386","1399585364","1399585373","1399585361","1399585357","1399585366"],"photo_ids_order":["1399585357","1399585361","1399585364","1399585366","1399585373","1399585386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a948b9e8c914a3b866a099181b09cb06.jpg","text":"TemporaryFile(/tmp/multipartBody7631061332661393815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847722530,"filename":"image_16122025_02_12_54_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a098c03622e1f6797eea94d45df8fcac.jpg","text":"TemporaryFile(/tmp/multipartBody1284173106030819774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847722530,"filename":"image_16122025_02_12_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/16/27462fb71734904c8d745da7fd0daf71.jpg","text":"TemporaryFile(/tmp/multipartBody1498379848628201212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847722530,"filename":"image_16122025_02_12_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e951a6c4944c4dd9eb5c3f9d6088d07f.jpg","text":"TemporaryFile(/tmp/multipartBody4166439163304765098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847722530,"filename":"image_16122025_02_12_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d435f550691840191485273e55212a68.jpg","text":"TemporaryFile(/tmp/multipartBody514497394483939516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847722530,"filename":"image_16122025_02_12_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/16/c120d5d1da9c9bb1bc69c0ab6f6bf2ba.jpg","text":"TemporaryFile(/tmp/multipartBody32851930450049695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847722530,"filename":"image_16122025_02_12_34_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585364","file1":"1399585361","file0":"1399585357","file4":"1399585373","file5":"1399585386","file3":"1399585366"},"map_files_photo_id_array":[{"photo_id":"1399585386","filename":"file5"},{"photo_id":"1399585364","filename":"file2"},{"photo_id":"1399585373","filename":"file4"},{"photo_id":"1399585361","filename":"file1"},{"photo_id":"1399585357","filename":"file0"},{"photo_id":"1399585366","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585386":["hashtag1","hashtag2"]},{"1399585364":["hashtag1","hashtag2"]},{"1399585373":["hashtag1","hashtag2"]},{"1399585361":["hashtag1","hashtag2"]},{"1399585357":["hashtag1","hashtag2"]},{"1399585366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585386, 1399585364, 1399585373, 1399585361, 1399585357, 1399585366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.273555755615234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:15:02.693529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/12/image_16122025_02_13_04_10663.jpg', '/home/pi/Desktop/images/16122025/02/13/image_16122025_02_13_14_9801.jpg', '/home/pi/Desktop/images/16122025/02/13/image_16122025_02_13_24_9755.jpg', '/home/pi/Desktop/images/16122025/02/13/image_16122025_02_13_55_10703.jpg', '/home/pi/Desktop/images/16122025/02/13/image_16122025_02_14_04_9358.jpg', '/home/pi/Desktop/images/16122025/02/14/image_16122025_02_14_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/12/image_16122025_02_13_04_10663.jpg
/home/pi/Desktop/images/16122025/02/13/image_16122025_02_13_14_9801.jpg
/home/pi/Desktop/images/16122025/02/13/image_16122025_02_13_24_9755.jpg
/home/pi/Desktop/images/16122025/02/13/image_16122025_02_13_55_10703.jpg
/home/pi/Desktop/images/16122025/02/13/image_16122025_02_14_04_9358.jpg
/home/pi/Desktop/images/16122025/02/14/image_16122025_02_14_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":["1399585398","1399585389","1399585391","1399585393","1399585387","1399585396"],"photo_ids_order":["1399585387","1399585389","1399585391","1399585393","1399585396","1399585398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12f4e40facf05a9e3e0889bdb9cd3632.jpg","text":"TemporaryFile(/tmp/multipartBody872481041718820369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847763450,"filename":"image_16122025_02_14_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/16/db64ef0361b88f55ba36f5aeda528dfb.jpg","text":"TemporaryFile(/tmp/multipartBody9047057775661857522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847763450,"filename":"image_16122025_02_13_14_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc8d584701b169ea96986fc52c4540a6.jpg","text":"TemporaryFile(/tmp/multipartBody935279471626505329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847763450,"filename":"image_16122025_02_13_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/16/647860790b975f396db496d28c5545c7.jpg","text":"TemporaryFile(/tmp/multipartBody433560423436120110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847763450,"filename":"image_16122025_02_13_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d1ff7c601df4e3e521d0d555de3819f.jpg","text":"TemporaryFile(/tmp/multipartBody4640364165548250586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847763450,"filename":"image_16122025_02_13_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98223702f0d4834ca4dfc036b5f9ae1d.jpg","text":"TemporaryFile(/tmp/multipartBody3577384278171839243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847763450,"filename":"image_16122025_02_14_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585391","file1":"1399585389","file0":"1399585387","file4":"1399585396","file5":"1399585398","file3":"1399585393"},"map_files_photo_id_array":[{"photo_id":"1399585398","filename":"file5"},{"photo_id":"1399585391","filename":"file2"},{"photo_id":"1399585396","filename":"file4"},{"photo_id":"1399585389","filename":"file1"},{"photo_id":"1399585387","filename":"file0"},{"photo_id":"1399585393","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585398":["hashtag1","hashtag2"]},{"1399585389":["hashtag1","hashtag2"]},{"1399585391":["hashtag1","hashtag2"]},{"1399585393":["hashtag1","hashtag2"]},{"1399585387":["hashtag1","hashtag2"]},{"1399585396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585398, 1399585389, 1399585391, 1399585393, 1399585387, 1399585396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04294157028198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:15:42.022083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_06_1624.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_08_1700.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_16_8219.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_25_9191.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_27_1639.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_29_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_06_1624.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_08_1700.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_16_8219.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_25_9191.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_27_1639.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_29_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585411","1399585405","1399585410","1399585412","1399585403","1399585406"],"photo_ids_order":["1399585403","1399585405","1399585406","1399585410","1399585411","1399585412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/566095d393da694715b0b21c1737083b.jpg","text":"TemporaryFile(/tmp/multipartBody2102886469098060756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847802714,"filename":"image_06112025_14_35_27_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/461f8ed1d96f59cbb6591e88f6ae3cf4.jpg","text":"TemporaryFile(/tmp/multipartBody6796844425539469324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847802714,"filename":"image_06112025_14_35_08_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d066ae29d148669bfedb053030d39fdb.jpg","text":"TemporaryFile(/tmp/multipartBody2482111413690891549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847802714,"filename":"image_06112025_14_35_25_9191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0497220a46755c0921b08aedb398e01d.jpg","text":"TemporaryFile(/tmp/multipartBody4613527532083454246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847802714,"filename":"image_06112025_14_35_29_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/16/b5f5497f69e5d2b96623591cac887cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6971665689657164711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847802714,"filename":"image_06112025_14_35_06_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/16/f70a4764db6d73c09b164137f5996d59.jpg","text":"TemporaryFile(/tmp/multipartBody3194718694386122607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847802714,"filename":"image_06112025_14_35_16_8219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585406","file1":"1399585405","file0":"1399585403","file4":"1399585411","file5":"1399585412","file3":"1399585410"},"map_files_photo_id_array":[{"photo_id":"1399585412","filename":"file5"},{"photo_id":"1399585406","filename":"file2"},{"photo_id":"1399585411","filename":"file4"},{"photo_id":"1399585405","filename":"file1"},{"photo_id":"1399585403","filename":"file0"},{"photo_id":"1399585410","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585411":["hashtag1","hashtag2"]},{"1399585405":["hashtag1","hashtag2"]},{"1399585410":["hashtag1","hashtag2"]},{"1399585412":["hashtag1","hashtag2"]},{"1399585403":["hashtag1","hashtag2"]},{"1399585406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585411, 1399585405, 1399585410, 1399585412, 1399585403, 1399585406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.726269006729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:16:22.288593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/14/image_16122025_02_14_55_10712.jpg', '/home/pi/Desktop/images/16122025/02/15/image_16122025_02_15_24_9823.jpg', '/home/pi/Desktop/images/16122025/02/15/image_16122025_02_15_34_9904.jpg', '/home/pi/Desktop/images/16122025/02/15/image_16122025_02_15_55_10671.jpg', '/home/pi/Desktop/images/16122025/02/15/image_16122025_02_16_04_9708.jpg', '/home/pi/Desktop/images/16122025/02/16/image_16122025_02_16_14_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/14/image_16122025_02_14_55_10712.jpg
/home/pi/Desktop/images/16122025/02/15/image_16122025_02_15_24_9823.jpg
/home/pi/Desktop/images/16122025/02/15/image_16122025_02_15_34_9904.jpg
/home/pi/Desktop/images/16122025/02/15/image_16122025_02_15_55_10671.jpg
/home/pi/Desktop/images/16122025/02/15/image_16122025_02_16_04_9708.jpg
/home/pi/Desktop/images/16122025/02/16/image_16122025_02_16_14_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585417","1399585419","1399585430","1399585427","1399585421","1399585423"],"photo_ids_order":["1399585417","1399585419","1399585421","1399585423","1399585427","1399585430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04b6edd207f62a2eab7f92b5db45412f.jpg","text":"TemporaryFile(/tmp/multipartBody2822558158411900337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847842945,"filename":"image_16122025_02_14_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/16/1d290331c0c76c3fbb57358c1799659d.jpg","text":"TemporaryFile(/tmp/multipartBody3473504345037171097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847842945,"filename":"image_16122025_02_15_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/16/8126cf8e2bf9544a697f786e36932dd4.jpg","text":"TemporaryFile(/tmp/multipartBody5001326892630722541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847842945,"filename":"image_16122025_02_16_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f264a5a48b6d5c37a260c4dc9892e57.jpg","text":"TemporaryFile(/tmp/multipartBody3256072997337549966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847842945,"filename":"image_16122025_02_16_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7ef818020032765dd3014934bfab033.jpg","text":"TemporaryFile(/tmp/multipartBody6485701144013260495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847842945,"filename":"image_16122025_02_15_34_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/16/1b0992a5fc1d2a28a7e02b932a9f8a75.jpg","text":"TemporaryFile(/tmp/multipartBody9158305910934454644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847842945,"filename":"image_16122025_02_15_55_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585421","file1":"1399585419","file0":"1399585417","file4":"1399585427","file5":"1399585430","file3":"1399585423"},"map_files_photo_id_array":[{"photo_id":"1399585430","filename":"file5"},{"photo_id":"1399585421","filename":"file2"},{"photo_id":"1399585427","filename":"file4"},{"photo_id":"1399585419","filename":"file1"},{"photo_id":"1399585417","filename":"file0"},{"photo_id":"1399585423","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585417":["hashtag1","hashtag2"]},{"1399585419":["hashtag1","hashtag2"]},{"1399585430":["hashtag1","hashtag2"]},{"1399585427":["hashtag1","hashtag2"]},{"1399585421":["hashtag1","hashtag2"]},{"1399585423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585417, 1399585419, 1399585430, 1399585427, 1399585421, 1399585423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.927234172821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:17:11.884814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:17:21.840077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/16/image_16122025_02_16_45_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/16/image_16122025_02_16_45_9849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585455"],"photo_id":"1399585455","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c11d0ba3d7c793aeb109a2a99e7e1d6e.jpg","text":"TemporaryFile(/tmp/multipartBody3285425325275935579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847902830,"filename":"image_16122025_02_16_45_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399585455"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399585455"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.835105419158936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:17:41.824859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_30_1655.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_32_1501.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_35_1500.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_37_1634.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_39_1737.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_40_1525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_30_1655.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_32_1501.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_35_1500.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_37_1634.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_39_1737.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_40_1525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585470","1399585461","1399585472","1399585469","1399585468","1399585471"],"photo_ids_order":["1399585461","1399585468","1399585469","1399585470","1399585471","1399585472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8edc32fa48ccc64a0fbd1817bdf7e529.jpg","text":"TemporaryFile(/tmp/multipartBody6038383035993007039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847922524,"filename":"image_06112025_14_35_37_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b89175fd77cc6a059383cf0838ee503d.jpg","text":"TemporaryFile(/tmp/multipartBody7243818960619846721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847922524,"filename":"image_06112025_14_35_30_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/16/3c907f2d319f4203c9b278bb50ee11d8.jpg","text":"TemporaryFile(/tmp/multipartBody8684178863712616797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847922524,"filename":"image_06112025_14_35_40_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/16/b8c159a5cfe251850bc424a7971d75a6.jpg","text":"TemporaryFile(/tmp/multipartBody38964321004124341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847922524,"filename":"image_06112025_14_35_35_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f8bf41dad74ff688b6708fa72644b00.jpg","text":"TemporaryFile(/tmp/multipartBody5766715167028118924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847922524,"filename":"image_06112025_14_35_32_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d32aa9c3389e4415ce6c07f2361b8a6.jpg","text":"TemporaryFile(/tmp/multipartBody5618462148232158330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847922524,"filename":"image_06112025_14_35_39_1737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585469","file1":"1399585468","file0":"1399585461","file4":"1399585471","file5":"1399585472","file3":"1399585470"},"map_files_photo_id_array":[{"photo_id":"1399585472","filename":"file5"},{"photo_id":"1399585469","filename":"file2"},{"photo_id":"1399585471","filename":"file4"},{"photo_id":"1399585468","filename":"file1"},{"photo_id":"1399585461","filename":"file0"},{"photo_id":"1399585470","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585470":["hashtag1","hashtag2"]},{"1399585461":["hashtag1","hashtag2"]},{"1399585472":["hashtag1","hashtag2"]},{"1399585469":["hashtag1","hashtag2"]},{"1399585468":["hashtag1","hashtag2"]},{"1399585471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585470, 1399585461, 1399585472, 1399585469, 1399585468, 1399585471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22863030433655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:18:22.092128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/16/image_16122025_02_16_54_9774.jpg', '/home/pi/Desktop/images/16122025/02/18/image_16122025_02_18_25_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/16/image_16122025_02_16_54_9774.jpg
/home/pi/Desktop/images/16122025/02/18/image_16122025_02_18_25_10700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585476","1399585478"],"photo_ids_order":["1399585476","1399585478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ab5238e6f8892c18d983dc1eb64b677.jpg","text":"TemporaryFile(/tmp/multipartBody5226460706115130335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847962561,"filename":"image_16122025_02_16_54_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/625e7e9a3315862bf1c35775ff81bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody4583296650895353732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847962561,"filename":"image_16122025_02_18_25_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399585478","file0":"1399585476"},"map_files_photo_id_array":[{"photo_id":"1399585478","filename":"file1"},{"photo_id":"1399585476","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585476":["hashtag1","hashtag2"]},{"1399585478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585476, 1399585478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.75397753715515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:18:42.042761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_42_1558.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_43_1606.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_45_1548.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_48_1668.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_50_1592.jpg', '/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_55_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_42_1558.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_43_1606.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_45_1548.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_48_1668.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_50_1592.jpg
/home/pi/Desktop/images/06112025/14/35/image_06112025_14_35_55_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585504","1399585503","1399585496","1399585487","1399585502","1399585483"],"photo_ids_order":["1399585483","1399585487","1399585496","1399585502","1399585503","1399585504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80e5fd2ac6cf1ad7b3fed509c280e5d3.jpg","text":"TemporaryFile(/tmp/multipartBody7505110381424515373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847982743,"filename":"image_06112025_14_35_55_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/16/2f0fa9304ed869f92921a98f3be700ad.jpg","text":"TemporaryFile(/tmp/multipartBody5370519349982164672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847982743,"filename":"image_06112025_14_35_50_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/16/0c01d841ff9dd1e244aeec4419298075.jpg","text":"TemporaryFile(/tmp/multipartBody5190527182992732382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847982743,"filename":"image_06112025_14_35_45_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9d3006aeed3070d8c36e91b681dbbb5.jpg","text":"TemporaryFile(/tmp/multipartBody2664671894339995081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847982743,"filename":"image_06112025_14_35_43_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bd582feb9e8c9a23238a3878e9ff783.jpg","text":"TemporaryFile(/tmp/multipartBody6418800629093670862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847982743,"filename":"image_06112025_14_35_48_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/16/0bea3e1299d234d04573796b65864d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6848982814687989063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765847982743,"filename":"image_06112025_14_35_42_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585496","file1":"1399585487","file0":"1399585483","file4":"1399585503","file5":"1399585504","file3":"1399585502"},"map_files_photo_id_array":[{"photo_id":"1399585504","filename":"file5"},{"photo_id":"1399585496","filename":"file2"},{"photo_id":"1399585503","filename":"file4"},{"photo_id":"1399585487","filename":"file1"},{"photo_id":"1399585483","filename":"file0"},{"photo_id":"1399585502","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585504":["hashtag1","hashtag2"]},{"1399585503":["hashtag1","hashtag2"]},{"1399585496":["hashtag1","hashtag2"]},{"1399585487":["hashtag1","hashtag2"]},{"1399585502":["hashtag1","hashtag2"]},{"1399585483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585504, 1399585503, 1399585496, 1399585487, 1399585502, 1399585483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45475196838379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:19:22.290871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/18/image_16122025_02_18_34_9664.jpg', '/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_24_9691.jpg', '/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_34_9875.jpg', '/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_44_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/18/image_16122025_02_18_34_9664.jpg
/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_24_9691.jpg
/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_34_9875.jpg
/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_44_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585510","1399585509","1399585512","1399585514"],"photo_ids_order":["1399585509","1399585510","1399585512","1399585514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c81e4e711cddfc992f9550221696cb9.jpg","text":"TemporaryFile(/tmp/multipartBody29039511785659302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848022830,"filename":"image_16122025_02_19_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/16/46e9251d0273490b0f2510f6e91d7f57.jpg","text":"TemporaryFile(/tmp/multipartBody2273640476605627004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848022830,"filename":"image_16122025_02_18_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/16/a090ee92f4e0709b01c786db3057bdae.jpg","text":"TemporaryFile(/tmp/multipartBody7683639189623889141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848022830,"filename":"image_16122025_02_19_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/16/ed577431151980c1d2d5eb59fae05fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1858781932798909573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848022830,"filename":"image_16122025_02_19_44_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585512","file1":"1399585510","file0":"1399585509","file3":"1399585514"},"map_files_photo_id_array":[{"photo_id":"1399585512","filename":"file2"},{"photo_id":"1399585510","filename":"file1"},{"photo_id":"1399585509","filename":"file0"},{"photo_id":"1399585514","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585510":["hashtag1","hashtag2"]},{"1399585509":["hashtag1","hashtag2"]},{"1399585512":["hashtag1","hashtag2"]},{"1399585514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585510, 1399585509, 1399585512, 1399585514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.543285131454468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:20:02.804130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:20:12.341163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:20:22.502204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_55_10891.jpg', '/home/pi/Desktop/images/16122025/02/20/image_16122025_02_20_14_9702.jpg', '/home/pi/Desktop/images/16122025/02/20/image_16122025_02_20_24_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/19/image_16122025_02_19_55_10891.jpg
/home/pi/Desktop/images/16122025/02/20/image_16122025_02_20_14_9702.jpg
/home/pi/Desktop/images/16122025/02/20/image_16122025_02_20_24_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":["1399585531","1399585534","1399585535"],"photo_ids_order":["1399585531","1399585534","1399585535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e35c9d10ded8669935277c774b203c5.jpg","text":"TemporaryFile(/tmp/multipartBody2848022103030139472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848083026,"filename":"image_16122025_02_19_55_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/16/e62049ce7277b70bcadcb6a502dd17fd.jpg","text":"TemporaryFile(/tmp/multipartBody5078160239619671969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848083026,"filename":"image_16122025_02_20_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/16/455e6e90fe75f7244ac611703ad831ef.jpg","text":"TemporaryFile(/tmp/multipartBody5731483688830848673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848083026,"filename":"image_16122025_02_20_24_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585535","file1":"1399585534","file0":"1399585531"},"map_files_photo_id_array":[{"photo_id":"1399585535","filename":"file2"},{"photo_id":"1399585534","filename":"file1"},{"photo_id":"1399585531","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585531":["hashtag1","hashtag2"]},{"1399585534":["hashtag1","hashtag2"]},{"1399585535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585531, 1399585534, 1399585535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.632041692733765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:21:03.272283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:21:12.611554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:21:22.627914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_02_3623.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_07_2665.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_17_9811.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_20_3554.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_36_15988.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_38_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_02_3623.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_07_2665.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_17_9811.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_20_3554.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_36_15988.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_38_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585581","1399585575","1399585583","1399585577","1399585579","1399585573"],"photo_ids_order":["1399585573","1399585575","1399585577","1399585579","1399585581","1399585583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0453b52f2cc2ae1e77877e5f7242fbac.jpg","text":"TemporaryFile(/tmp/multipartBody4096528078676553279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848144205,"filename":"image_06112025_14_36_36_15988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/421d55602f9ba20179761ccd380bd8f7.jpg","text":"TemporaryFile(/tmp/multipartBody2490980845259774269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848144205,"filename":"image_06112025_14_36_07_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a16d5254a5fb5156fdb04ed9126b2ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6973773029153420480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848144205,"filename":"image_06112025_14_36_38_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/16/5ad88ccda6749b99b95f69af28dfb7bb.jpg","text":"TemporaryFile(/tmp/multipartBody4892069066070652086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848144205,"filename":"image_06112025_14_36_17_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/16/90960456c84a09ea8e6be34998659fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2313160864173780031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848144205,"filename":"image_06112025_14_36_20_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/16/88d1fc35b6f1973a9320c327ffc5ccc2.jpg","text":"TemporaryFile(/tmp/multipartBody2319835128983580961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848144205,"filename":"image_06112025_14_36_02_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585577","file1":"1399585575","file0":"1399585573","file4":"1399585581","file5":"1399585583","file3":"1399585579"},"map_files_photo_id_array":[{"photo_id":"1399585583","filename":"file5"},{"photo_id":"1399585577","filename":"file2"},{"photo_id":"1399585581","filename":"file4"},{"photo_id":"1399585575","filename":"file1"},{"photo_id":"1399585573","filename":"file0"},{"photo_id":"1399585579","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585581":["hashtag1","hashtag2"]},{"1399585575":["hashtag1","hashtag2"]},{"1399585583":["hashtag1","hashtag2"]},{"1399585577":["hashtag1","hashtag2"]},{"1399585579":["hashtag1","hashtag2"]},{"1399585573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585581, 1399585575, 1399585583, 1399585577, 1399585579, 1399585573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95166277885437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:22:03.154894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:22:12.916197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:22:22.795690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/20/image_16122025_02_20_44_9832.jpg', '/home/pi/Desktop/images/16122025/02/21/image_16122025_02_22_04_9738.jpg', '/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_15_10649.jpg', '/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_24_9585.jpg', '/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_34_9673.jpg', '/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_45_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/20/image_16122025_02_20_44_9832.jpg
/home/pi/Desktop/images/16122025/02/21/image_16122025_02_22_04_9738.jpg
/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_15_10649.jpg
/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_24_9585.jpg
/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_34_9673.jpg
/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_45_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":["1399585599","1399585590","1399585587","1399585595","1399585597","1399585588"],"photo_ids_order":["1399585587","1399585588","1399585590","1399585595","1399585597","1399585599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a71d495dd230f200b7cab88243b0b956.jpg","text":"TemporaryFile(/tmp/multipartBody2057935907069597434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848203448,"filename":"image_16122025_02_22_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/16/bd2c06d5f0c86ead5880a11fc520f614.jpg","text":"TemporaryFile(/tmp/multipartBody2560680506544590183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848203448,"filename":"image_16122025_02_22_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68a62fbc7795c2dffb0542151b0167c8.jpg","text":"TemporaryFile(/tmp/multipartBody4425549352012498593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848203448,"filename":"image_16122025_02_20_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/55976da80c1d38bcc4ad372aa4ce68d5.jpg","text":"TemporaryFile(/tmp/multipartBody6303060257576863628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848203448,"filename":"image_16122025_02_22_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/24e04dddb2f1b6b1dffee7dfde65b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody8069431951693764573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848203448,"filename":"image_16122025_02_22_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/16/e1400201e8519d9e1c7b38112f7bf53f.jpg","text":"TemporaryFile(/tmp/multipartBody2118307581371148197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848203448,"filename":"image_16122025_02_22_04_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585590","file1":"1399585588","file0":"1399585587","file4":"1399585597","file5":"1399585599","file3":"1399585595"},"map_files_photo_id_array":[{"photo_id":"1399585599","filename":"file5"},{"photo_id":"1399585590","filename":"file2"},{"photo_id":"1399585597","filename":"file4"},{"photo_id":"1399585588","filename":"file1"},{"photo_id":"1399585587","filename":"file0"},{"photo_id":"1399585595","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585599":["hashtag1","hashtag2"]},{"1399585590":["hashtag1","hashtag2"]},{"1399585587":["hashtag1","hashtag2"]},{"1399585595":["hashtag1","hashtag2"]},{"1399585597":["hashtag1","hashtag2"]},{"1399585588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585599, 1399585590, 1399585587, 1399585595, 1399585597, 1399585588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72426986694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:23:02.634193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:23:11.963892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:23:21.987629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_54_9766.jpg', '/home/pi/Desktop/images/16122025/02/22/image_16122025_02_23_04_9677.jpg', '/home/pi/Desktop/images/16122025/02/23/image_16122025_02_23_14_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/22/image_16122025_02_22_54_9766.jpg
/home/pi/Desktop/images/16122025/02/22/image_16122025_02_23_04_9677.jpg
/home/pi/Desktop/images/16122025/02/23/image_16122025_02_23_14_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585617","1399585619","1399585621"],"photo_ids_order":["1399585617","1399585619","1399585621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f39820eb57834823789b78bfbd60bca7.jpg","text":"TemporaryFile(/tmp/multipartBody6996823938626244283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848262507,"filename":"image_16122025_02_22_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/16/31d7a2a1aa1912523a08c8df2e04d27f.jpg","text":"TemporaryFile(/tmp/multipartBody7544686577812572247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848262507,"filename":"image_16122025_02_23_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2134b4594dce75cfc29a7cb2d4a2dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1509529963679694453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848262507,"filename":"image_16122025_02_23_14_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585621","file1":"1399585619","file0":"1399585617"},"map_files_photo_id_array":[{"photo_id":"1399585621","filename":"file2"},{"photo_id":"1399585619","filename":"file1"},{"photo_id":"1399585617","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585617":["hashtag1","hashtag2"]},{"1399585619":["hashtag1","hashtag2"]},{"1399585621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585617, 1399585619, 1399585621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.60443878173828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:24:02.937300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:24:12.181077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:24:22.199126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/23/image_16122025_02_23_34_9571.jpg', '/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_15_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/23/image_16122025_02_23_34_9571.jpg
/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_15_10752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585644","1399585643"],"photo_ids_order":["1399585643","1399585644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/416144f704120cdb932fec47f4b3c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody941592886504521055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848322672,"filename":"image_16122025_02_24_15_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5794a68deb95e4aed897042da6e5f233.jpg","text":"TemporaryFile(/tmp/multipartBody4070411709058477622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848322672,"filename":"image_16122025_02_23_34_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399585644","file0":"1399585643"},"map_files_photo_id_array":[{"photo_id":"1399585644","filename":"file1"},{"photo_id":"1399585643","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585644":["hashtag1","hashtag2"]},{"1399585643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585644, 1399585643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.01969265937805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:24:42.168016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_40_1600.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_41_1539.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_51_10065.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_53_1817.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_55_1626.jpg', '/home/pi/Desktop/images/06112025/14/36/image_06112025_14_37_00_5612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_40_1600.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_41_1539.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_51_10065.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_53_1817.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_36_55_1626.jpg
/home/pi/Desktop/images/06112025/14/36/image_06112025_14_37_00_5612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585683","1399585665","1399585676","1399585679","1399585681","1399585654"],"photo_ids_order":["1399585654","1399585665","1399585676","1399585679","1399585681","1399585683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78b877d1994226f3af5f40909f4dc031.jpg","text":"TemporaryFile(/tmp/multipartBody8662642516038990133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848342855,"filename":"image_06112025_14_37_00_5612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e169470e92ee072a93fcd9683f158f18.jpg","text":"TemporaryFile(/tmp/multipartBody7690962821957008596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848342855,"filename":"image_06112025_14_36_41_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/16/c9cc3a805422176a29756976bc5a6f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8516057591796430167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848342855,"filename":"image_06112025_14_36_51_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/16/0430453816a515b8fef8ac7c4f41aa35.jpg","text":"TemporaryFile(/tmp/multipartBody448839249135556287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848342855,"filename":"image_06112025_14_36_53_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7311a249709bd711a9ae394437c6536.jpg","text":"TemporaryFile(/tmp/multipartBody3808227079600930572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848342855,"filename":"image_06112025_14_36_55_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/16/d8d863d4bc554e30b26a3ce99d86ceee.jpg","text":"TemporaryFile(/tmp/multipartBody3563737280392043054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848342855,"filename":"image_06112025_14_36_40_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585676","file1":"1399585665","file0":"1399585654","file4":"1399585681","file5":"1399585683","file3":"1399585679"},"map_files_photo_id_array":[{"photo_id":"1399585683","filename":"file5"},{"photo_id":"1399585676","filename":"file2"},{"photo_id":"1399585681","filename":"file4"},{"photo_id":"1399585665","filename":"file1"},{"photo_id":"1399585654","filename":"file0"},{"photo_id":"1399585679","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585683":["hashtag1","hashtag2"]},{"1399585665":["hashtag1","hashtag2"]},{"1399585676":["hashtag1","hashtag2"]},{"1399585679":["hashtag1","hashtag2"]},{"1399585681":["hashtag1","hashtag2"]},{"1399585654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585683, 1399585665, 1399585676, 1399585679, 1399585681, 1399585654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.257994174957275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:25:22.445921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_24_9683.jpg', '/home/pi/Desktop/images/16122025/02/24/image_16122025_02_25_04_9737.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_15_10714.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_34_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_24_9683.jpg
/home/pi/Desktop/images/16122025/02/24/image_16122025_02_25_04_9737.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_15_10714.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_34_9859.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4599001407623291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:25:32.412624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:25:42.383543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_02_1624.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_04_1602.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_05_1682.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_07_1515.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_09_1783.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_10_1510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_02_1624.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_04_1602.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_05_1682.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_07_1515.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_09_1783.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_10_1510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585695","1399585698","1399585697","1399585696","1399585699","1399585693"],"photo_ids_order":["1399585693","1399585695","1399585696","1399585697","1399585698","1399585699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14222fe34babb9f685f50bb9ec8b59ab.jpg","text":"TemporaryFile(/tmp/multipartBody7420474259130120511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848403074,"filename":"image_06112025_14_37_04_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/16/91541f4cd30b180af4fb033da07e32df.jpg","text":"TemporaryFile(/tmp/multipartBody4077769323407044590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848403074,"filename":"image_06112025_14_37_09_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/16/c64d9036248ce35068bbbd402170b200.jpg","text":"TemporaryFile(/tmp/multipartBody5521004716243013130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848403074,"filename":"image_06112025_14_37_07_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de324117b3a331e33d00010956701ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1007884448794825270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848403074,"filename":"image_06112025_14_37_05_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/16/c8cb04b5aeb76c1aeb25ef4771a70b28.jpg","text":"TemporaryFile(/tmp/multipartBody610401260919521536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848403074,"filename":"image_06112025_14_37_10_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/212ff6344f3b0a2d73fbd1955e385fb1.jpg","text":"TemporaryFile(/tmp/multipartBody7130102264720973397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848403074,"filename":"image_06112025_14_37_02_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585696","file1":"1399585695","file0":"1399585693","file4":"1399585698","file5":"1399585699","file3":"1399585697"},"map_files_photo_id_array":[{"photo_id":"1399585699","filename":"file5"},{"photo_id":"1399585696","filename":"file2"},{"photo_id":"1399585698","filename":"file4"},{"photo_id":"1399585695","filename":"file1"},{"photo_id":"1399585693","filename":"file0"},{"photo_id":"1399585697","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585695":["hashtag1","hashtag2"]},{"1399585698":["hashtag1","hashtag2"]},{"1399585697":["hashtag1","hashtag2"]},{"1399585696":["hashtag1","hashtag2"]},{"1399585699":["hashtag1","hashtag2"]},{"1399585693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585695, 1399585698, 1399585697, 1399585696, 1399585699, 1399585693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86456918716431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:26:22.727227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_24_9683.jpg', '/home/pi/Desktop/images/16122025/02/24/image_16122025_02_25_04_9737.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_15_10714.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_34_9859.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_44_9700.jpg', '/home/pi/Desktop/images/16122025/02/26/image_16122025_02_26_14_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_24_9683.jpg
/home/pi/Desktop/images/16122025/02/24/image_16122025_02_25_04_9737.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_15_10714.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_34_9859.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_44_9700.jpg
/home/pi/Desktop/images/16122025/02/26/image_16122025_02_26_14_9861.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5494987964630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:26:32.658364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:26:42.617335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_12_1566.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_13_1695.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_15_1598.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_16_1524.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_18_1679.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_20_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_12_1566.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_13_1695.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_15_1598.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_16_1524.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_18_1679.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_20_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585734","1399585728","1399585737","1399585736","1399585729","1399585720"],"photo_ids_order":["1399585720","1399585728","1399585729","1399585734","1399585736","1399585737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0595f9d7048cebb6aec5e89bde2e2e77.jpg","text":"TemporaryFile(/tmp/multipartBody4965161543648629731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848463380,"filename":"image_06112025_14_37_16_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/16/5433b83c4d7ce3df51eb4520711bb713.jpg","text":"TemporaryFile(/tmp/multipartBody4759498295102804124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848463380,"filename":"image_06112025_14_37_13_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/16/b02e27b845228c001f3efd9c66d88465.jpg","text":"TemporaryFile(/tmp/multipartBody9026218600265240877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848463380,"filename":"image_06112025_14_37_20_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2777e41ed1c5f2ea3402462fc0eee1df.jpg","text":"TemporaryFile(/tmp/multipartBody5590667387021430781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848463380,"filename":"image_06112025_14_37_18_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/16/4b8486b1d002877b8499a5760c0f0981.jpg","text":"TemporaryFile(/tmp/multipartBody997969405536328372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848463380,"filename":"image_06112025_14_37_15_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/16/37dcf28d2b7b81340f1f3b3aa36ab5fd.jpg","text":"TemporaryFile(/tmp/multipartBody1819684375657581696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848463380,"filename":"image_06112025_14_37_12_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585729","file1":"1399585728","file0":"1399585720","file4":"1399585736","file5":"1399585737","file3":"1399585734"},"map_files_photo_id_array":[{"photo_id":"1399585737","filename":"file5"},{"photo_id":"1399585729","filename":"file2"},{"photo_id":"1399585736","filename":"file4"},{"photo_id":"1399585728","filename":"file1"},{"photo_id":"1399585720","filename":"file0"},{"photo_id":"1399585734","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585734":["hashtag1","hashtag2"]},{"1399585728":["hashtag1","hashtag2"]},{"1399585737":["hashtag1","hashtag2"]},{"1399585736":["hashtag1","hashtag2"]},{"1399585729":["hashtag1","hashtag2"]},{"1399585720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585734, 1399585728, 1399585737, 1399585736, 1399585729, 1399585720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.503326177597046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:27:21.888042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_24_9683.jpg', '/home/pi/Desktop/images/16122025/02/24/image_16122025_02_25_04_9737.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_15_10714.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_34_9859.jpg', '/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_44_9700.jpg', '/home/pi/Desktop/images/16122025/02/26/image_16122025_02_26_14_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/24/image_16122025_02_24_24_9683.jpg
/home/pi/Desktop/images/16122025/02/24/image_16122025_02_25_04_9737.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_15_10714.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_34_9859.jpg
/home/pi/Desktop/images/16122025/02/25/image_16122025_02_25_44_9700.jpg
/home/pi/Desktop/images/16122025/02/26/image_16122025_02_26_14_9861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585744","1399585749","1399585740","1399585742","1399585751","1399585747"],"photo_ids_order":["1399585740","1399585742","1399585744","1399585747","1399585749","1399585751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03863add57926ed38d439d025f5e7faf.jpg","text":"TemporaryFile(/tmp/multipartBody8737645586370968837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848502540,"filename":"image_16122025_02_25_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59dd18b279cef31c96d40c727cb68dd7.jpg","text":"TemporaryFile(/tmp/multipartBody8310193437418401829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848502540,"filename":"image_16122025_02_25_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/16/2a87fef8cbcc2cbdc7cacc25b44021a6.jpg","text":"TemporaryFile(/tmp/multipartBody8965526580793000281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848502540,"filename":"image_16122025_02_24_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/16/a642747fb45f66087ddea9c03369daa1.jpg","text":"TemporaryFile(/tmp/multipartBody9199040393203088359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848502540,"filename":"image_16122025_02_25_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cabd40099f4a5db112f6d289ebc9fe74.jpg","text":"TemporaryFile(/tmp/multipartBody289084061549603909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848502540,"filename":"image_16122025_02_26_14_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70be1e1bfe3d688a2ac16d7de5a1a9a4.jpg","text":"TemporaryFile(/tmp/multipartBody2299891590078152023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848502540,"filename":"image_16122025_02_25_34_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585744","file1":"1399585742","file0":"1399585740","file4":"1399585749","file5":"1399585751","file3":"1399585747"},"map_files_photo_id_array":[{"photo_id":"1399585751","filename":"file5"},{"photo_id":"1399585744","filename":"file2"},{"photo_id":"1399585749","filename":"file4"},{"photo_id":"1399585742","filename":"file1"},{"photo_id":"1399585740","filename":"file0"},{"photo_id":"1399585747","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585744":["hashtag1","hashtag2"]},{"1399585749":["hashtag1","hashtag2"]},{"1399585740":["hashtag1","hashtag2"]},{"1399585742":["hashtag1","hashtag2"]},{"1399585751":["hashtag1","hashtag2"]},{"1399585747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585744, 1399585749, 1399585740, 1399585742, 1399585751, 1399585747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47493028640747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:28:02.925626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/26/image_16122025_02_26_45_9937.jpg', '/home/pi/Desktop/images/16122025/02/26/image_16122025_02_27_04_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/26/image_16122025_02_26_45_9937.jpg
/home/pi/Desktop/images/16122025/02/26/image_16122025_02_27_04_9571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585755","1399585754"],"photo_ids_order":["1399585754","1399585755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0822826b1975d08335e9488e23e301d.jpg","text":"TemporaryFile(/tmp/multipartBody8230032335896516467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848543420,"filename":"image_16122025_02_27_04_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3edfe0a5584744eb05671130c94e0fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3903419379863442349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848543420,"filename":"image_16122025_02_26_45_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399585755","file0":"1399585754"},"map_files_photo_id_array":[{"photo_id":"1399585755","filename":"file1"},{"photo_id":"1399585754","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585755":["hashtag1","hashtag2"]},{"1399585754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585755, 1399585754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.501633644104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:28:22.446565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_22_1775.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_23_1682.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_25_1506.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_28_1649.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_31_2529.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_34_3504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_22_1775.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_23_1682.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_25_1506.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_28_1649.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_31_2529.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_34_3504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585764","1399585773","1399585767","1399585775","1399585760","1399585762"],"photo_ids_order":["1399585760","1399585762","1399585764","1399585767","1399585773","1399585775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb2665f943afa7460bad7ac995bcfe3d.jpg","text":"TemporaryFile(/tmp/multipartBody1390170639667723770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848563151,"filename":"image_06112025_14_37_25_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/16/8f81ac1ea759a7f2628d64cf23ff2327.jpg","text":"TemporaryFile(/tmp/multipartBody6183095596712677427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848563151,"filename":"image_06112025_14_37_31_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/16/ea68241000ce7050fce96d95d88a84ff.jpg","text":"TemporaryFile(/tmp/multipartBody9208937432182811290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848563151,"filename":"image_06112025_14_37_28_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/16/df18dd0ecfd98f6075dff1e260b47170.jpg","text":"TemporaryFile(/tmp/multipartBody495864514404538048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848563151,"filename":"image_06112025_14_37_34_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d264a8d9c1c0236d3e96f6332bd7603f.jpg","text":"TemporaryFile(/tmp/multipartBody5725326440933700448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848563151,"filename":"image_06112025_14_37_22_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7f4b4b1d2ce87565e0c20f9b1ab69bd.jpg","text":"TemporaryFile(/tmp/multipartBody2934620215663700913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848563151,"filename":"image_06112025_14_37_23_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585764","file1":"1399585762","file0":"1399585760","file4":"1399585773","file5":"1399585775","file3":"1399585767"},"map_files_photo_id_array":[{"photo_id":"1399585775","filename":"file5"},{"photo_id":"1399585764","filename":"file2"},{"photo_id":"1399585773","filename":"file4"},{"photo_id":"1399585762","filename":"file1"},{"photo_id":"1399585760","filename":"file0"},{"photo_id":"1399585767","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585764":["hashtag1","hashtag2"]},{"1399585773":["hashtag1","hashtag2"]},{"1399585767":["hashtag1","hashtag2"]},{"1399585775":["hashtag1","hashtag2"]},{"1399585760":["hashtag1","hashtag2"]},{"1399585762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585764, 1399585773, 1399585767, 1399585775, 1399585760, 1399585762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95980644226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:29:03.557294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:29:14.136239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:29:22.717474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/27/image_16122025_02_27_25_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/27/image_16122025_02_27_25_10757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585792"],"photo_id":"1399585792","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc3b4d429eb20bb1f2ebece0ab6a7cdc.jpg","text":"TemporaryFile(/tmp/multipartBody7374251208866093656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848623128,"filename":"image_16122025_02_27_25_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399585792"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399585792"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.156548976898193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:29:42.788202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_37_2854.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_40_2772.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_43_3587.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_50_6128.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_53_3376.jpg', '/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_55_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_37_2854.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_40_2772.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_43_3587.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_50_6128.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_53_3376.jpg
/home/pi/Desktop/images/06112025/14/37/image_06112025_14_37_55_1664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585810","1399585812","1399585809","1399585811","1399585814","1399585798"],"photo_ids_order":["1399585798","1399585809","1399585810","1399585811","1399585812","1399585814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e93d61bc37ab203a2eb3b42dc2735cae.jpg","text":"TemporaryFile(/tmp/multipartBody1690393572203061109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848643459,"filename":"image_06112025_14_37_43_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/16/ae682c84fef8a11057c69c4886c50951.jpg","text":"TemporaryFile(/tmp/multipartBody6139442604779646822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848643459,"filename":"image_06112025_14_37_53_3376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3d610c95baeac50784d262e34660c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1767610717382569118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848643459,"filename":"image_06112025_14_37_40_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9d347d45c2c00d190aa32318df0a09f.jpg","text":"TemporaryFile(/tmp/multipartBody3717696354323958463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848643459,"filename":"image_06112025_14_37_50_6128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f87b1a160371b14c4c6c4c433a5bbde.jpg","text":"TemporaryFile(/tmp/multipartBody6759943168730870299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848643459,"filename":"image_06112025_14_37_55_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/16/5f806e7313e67d4fa50f6a22e4b08b68.jpg","text":"TemporaryFile(/tmp/multipartBody1495851805891687117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848643459,"filename":"image_06112025_14_37_37_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585810","file1":"1399585809","file0":"1399585798","file4":"1399585812","file5":"1399585814","file3":"1399585811"},"map_files_photo_id_array":[{"photo_id":"1399585814","filename":"file5"},{"photo_id":"1399585810","filename":"file2"},{"photo_id":"1399585812","filename":"file4"},{"photo_id":"1399585809","filename":"file1"},{"photo_id":"1399585798","filename":"file0"},{"photo_id":"1399585811","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585810":["hashtag1","hashtag2"]},{"1399585812":["hashtag1","hashtag2"]},{"1399585809":["hashtag1","hashtag2"]},{"1399585811":["hashtag1","hashtag2"]},{"1399585814":["hashtag1","hashtag2"]},{"1399585798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585810, 1399585812, 1399585809, 1399585811, 1399585814, 1399585798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.501548290252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:30:32.160644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:30:42.092594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_01_6078.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_02_1717.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_04_1616.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_06_1753.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_07_1560.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_13_5570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_01_6078.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_02_1717.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_04_1616.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_06_1753.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_07_1560.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_13_5570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585842","1399585845","1399585835","1399585829","1399585832","1399585826"],"photo_ids_order":["1399585826","1399585829","1399585832","1399585835","1399585842","1399585845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11153279af1675ba915677ab0b26784f.jpg","text":"TemporaryFile(/tmp/multipartBody7998522398418019374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848702780,"filename":"image_06112025_14_38_07_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/560ed2775f5064ffa4a63a22139ca5a1.jpg","text":"TemporaryFile(/tmp/multipartBody5536555434168850935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848702780,"filename":"image_06112025_14_38_13_5570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/445ca12b51f56bfec25d7753d70f1764.jpg","text":"TemporaryFile(/tmp/multipartBody4959195408428964745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848702780,"filename":"image_06112025_14_38_06_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/16/4a141b4f42000efad9ae0f8ed5d3b870.jpg","text":"TemporaryFile(/tmp/multipartBody1299338009303209957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848702780,"filename":"image_06112025_14_38_02_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/16/abd98badad31cfeba255c29a082102df.jpg","text":"TemporaryFile(/tmp/multipartBody5910888463844221237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848702780,"filename":"image_06112025_14_38_04_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/16/4b3f1ff3384ca53df9fb3f7014b737e0.jpg","text":"TemporaryFile(/tmp/multipartBody457484834428020371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848702780,"filename":"image_06112025_14_38_01_6078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585832","file1":"1399585829","file0":"1399585826","file4":"1399585842","file5":"1399585845","file3":"1399585835"},"map_files_photo_id_array":[{"photo_id":"1399585845","filename":"file5"},{"photo_id":"1399585832","filename":"file2"},{"photo_id":"1399585842","filename":"file4"},{"photo_id":"1399585829","filename":"file1"},{"photo_id":"1399585826","filename":"file0"},{"photo_id":"1399585835","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585842":["hashtag1","hashtag2"]},{"1399585845":["hashtag1","hashtag2"]},{"1399585835":["hashtag1","hashtag2"]},{"1399585829":["hashtag1","hashtag2"]},{"1399585832":["hashtag1","hashtag2"]},{"1399585826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585842, 1399585845, 1399585835, 1399585829, 1399585832, 1399585826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.305784940719604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:31:32.400222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:31:42.397470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_31_1671.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_33_1498.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_36_1681.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_41_1537.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_49_2694.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_52_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_31_1671.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_33_1498.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_36_1681.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_41_1537.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_49_2694.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_52_2829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585863","1399585857","1399585859","1399585858","1399585867","1399585855"],"photo_ids_order":["1399585855","1399585857","1399585858","1399585859","1399585863","1399585867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/757bfaca01c2da825a414d729bf22b20.jpg","text":"TemporaryFile(/tmp/multipartBody371586813509173602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848763112,"filename":"image_06112025_14_38_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02aa498aa49528e2d41ff72f7f5a70a3.jpg","text":"TemporaryFile(/tmp/multipartBody1453943859332480520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848763112,"filename":"image_06112025_14_38_33_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8af248892f9bcc39269379ad731c2f74.jpg","text":"TemporaryFile(/tmp/multipartBody8972398614385486056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848763112,"filename":"image_06112025_14_38_41_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/16/a889108705242fd14e1abe795bf22c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3171093871186453608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848763112,"filename":"image_06112025_14_38_36_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09063acff6ff758371d7a41f3b22d068.jpg","text":"TemporaryFile(/tmp/multipartBody1441899964047107654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848763112,"filename":"image_06112025_14_38_52_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/16/9ac00ebee6378bcf43801ec333dc0790.jpg","text":"TemporaryFile(/tmp/multipartBody8223912805208031694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848763112,"filename":"image_06112025_14_38_31_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585858","file1":"1399585857","file0":"1399585855","file4":"1399585863","file5":"1399585867","file3":"1399585859"},"map_files_photo_id_array":[{"photo_id":"1399585867","filename":"file5"},{"photo_id":"1399585858","filename":"file2"},{"photo_id":"1399585863","filename":"file4"},{"photo_id":"1399585857","filename":"file1"},{"photo_id":"1399585855","filename":"file0"},{"photo_id":"1399585859","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585863":["hashtag1","hashtag2"]},{"1399585857":["hashtag1","hashtag2"]},{"1399585859":["hashtag1","hashtag2"]},{"1399585858":["hashtag1","hashtag2"]},{"1399585867":["hashtag1","hashtag2"]},{"1399585855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585863, 1399585857, 1399585859, 1399585858, 1399585867, 1399585855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86286211013794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:32:22.659647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/28/image_16122025_02_29_04_9664.jpg', '/home/pi/Desktop/images/16122025/02/30/image_16122025_02_30_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/28/image_16122025_02_29_04_9664.jpg
/home/pi/Desktop/images/16122025/02/30/image_16122025_02_30_24_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585872","1399585874"],"photo_ids_order":["1399585872","1399585874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf3454b21641a75108c39ddd533b59f5.jpg","text":"TemporaryFile(/tmp/multipartBody1195082700533247960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848803131,"filename":"image_16122025_02_29_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d70bec9faf3e1cd949c90df5d330bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8686747389677274224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848803131,"filename":"image_16122025_02_30_24_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399585874","file0":"1399585872"},"map_files_photo_id_array":[{"photo_id":"1399585874","filename":"file1"},{"photo_id":"1399585872","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585872":["hashtag1","hashtag2"]},{"1399585874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585872, 1399585874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.87538242340088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:32:42.623342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_55_3601.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_58_2501.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_04_6562.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_19_3542.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_23_3923.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_26_2953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_55_3601.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_58_2501.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_04_6562.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_19_3542.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_23_3923.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_26_2953.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.555861234664917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:33:02.541510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:33:17.127140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:33:21.820893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/32/image_16122025_02_32_55_10713.jpg', '/home/pi/Desktop/images/16122025/02/33/image_16122025_02_33_14_9711.jpg', '/home/pi/Desktop/images/16122025/02/33/image_16122025_02_33_24_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/32/image_16122025_02_32_55_10713.jpg
/home/pi/Desktop/images/16122025/02/33/image_16122025_02_33_14_9711.jpg
/home/pi/Desktop/images/16122025/02/33/image_16122025_02_33_24_9966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585903","1399585906","1399585908"],"photo_ids_order":["1399585903","1399585906","1399585908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98b6b395d3d3de76121d2842fd03a04e.jpg","text":"TemporaryFile(/tmp/multipartBody3260893368576051738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848862329,"filename":"image_16122025_02_32_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6933129008d97f452eb11dafea8b64a.jpg","text":"TemporaryFile(/tmp/multipartBody1710847137954896752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848862329,"filename":"image_16122025_02_33_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/16/d8eb47f3c36358d7a1b29303e00009ae.jpg","text":"TemporaryFile(/tmp/multipartBody4397833908673583084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848862329,"filename":"image_16122025_02_33_24_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585908","file1":"1399585906","file0":"1399585903"},"map_files_photo_id_array":[{"photo_id":"1399585908","filename":"file2"},{"photo_id":"1399585906","filename":"file1"},{"photo_id":"1399585903","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585903":["hashtag1","hashtag2"]},{"1399585906":["hashtag1","hashtag2"]},{"1399585908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585903, 1399585906, 1399585908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.061514854431152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:34:02.832983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:34:12.114839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:34:22.098840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_55_3601.jpg', '/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_58_2501.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_04_6562.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_19_3542.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_23_3923.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_26_2953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_55_3601.jpg
/home/pi/Desktop/images/06112025/14/38/image_06112025_14_38_58_2501.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_04_6562.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_19_3542.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_23_3923.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_26_2953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585924","1399585938","1399585926","1399585940","1399585928","1399585922"],"photo_ids_order":["1399585922","1399585924","1399585926","1399585928","1399585938","1399585940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c230791c5c307a6a1441a895af28d440.jpg","text":"TemporaryFile(/tmp/multipartBody5852824376646510308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848922693,"filename":"image_06112025_14_38_58_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/16/6fa36ccc6cc78d156d35f0d937b52288.jpg","text":"TemporaryFile(/tmp/multipartBody3619287265903325868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848922693,"filename":"image_06112025_14_39_23_3923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c57e2c8f4ef44e246ec784b23415709b.jpg","text":"TemporaryFile(/tmp/multipartBody1811871821416670585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848922693,"filename":"image_06112025_14_39_04_6562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e727f8816f3db65539dc6b57cff57a70.jpg","text":"TemporaryFile(/tmp/multipartBody8933689374766256048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848922693,"filename":"image_06112025_14_39_26_2953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3dd194eb53cbe5555def33cf50d5a051.jpg","text":"TemporaryFile(/tmp/multipartBody9174896496172038113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848922693,"filename":"image_06112025_14_39_19_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/16/72d007aed301b953bf28befaa6899c59.jpg","text":"TemporaryFile(/tmp/multipartBody8252973248865604166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848922693,"filename":"image_06112025_14_38_55_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585926","file1":"1399585924","file0":"1399585922","file4":"1399585938","file5":"1399585940","file3":"1399585928"},"map_files_photo_id_array":[{"photo_id":"1399585940","filename":"file5"},{"photo_id":"1399585926","filename":"file2"},{"photo_id":"1399585938","filename":"file4"},{"photo_id":"1399585924","filename":"file1"},{"photo_id":"1399585922","filename":"file0"},{"photo_id":"1399585928","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585924":["hashtag1","hashtag2"]},{"1399585938":["hashtag1","hashtag2"]},{"1399585926":["hashtag1","hashtag2"]},{"1399585940":["hashtag1","hashtag2"]},{"1399585928":["hashtag1","hashtag2"]},{"1399585922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585924, 1399585938, 1399585926, 1399585940, 1399585928, 1399585922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86018347740173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:35:02.940036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:35:12.397304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:35:22.407170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_28_1633.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_31_3591.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_46_3140.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_51_2693.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_55_3830.jpg', '/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_58_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_28_1633.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_31_3591.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_46_3140.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_51_2693.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_55_3830.jpg
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_39_58_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":["1399585968","1399585962","1399585964","1399585957","1399585966","1399585960"],"photo_ids_order":["1399585957","1399585960","1399585962","1399585964","1399585966","1399585968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8d98b7f439c3714055e751161e0c80d.jpg","text":"TemporaryFile(/tmp/multipartBody3365388133496387724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848983150,"filename":"image_06112025_14_39_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/16/c96a3959ea2174b97a1ebefee178ae65.jpg","text":"TemporaryFile(/tmp/multipartBody6355799390583517208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848983150,"filename":"image_06112025_14_39_46_3140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc3a4b570f927ea54023c3acb98c30a3.jpg","text":"TemporaryFile(/tmp/multipartBody2913571968883722303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848983150,"filename":"image_06112025_14_39_51_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7dcb1f4d19a70eccf337600cd499afc.jpg","text":"TemporaryFile(/tmp/multipartBody4108560892700096577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848983150,"filename":"image_06112025_14_39_28_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/16/963fb6a1d9804eb66aca7bbdec5a804a.jpg","text":"TemporaryFile(/tmp/multipartBody8305438023694336009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848983150,"filename":"image_06112025_14_39_55_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/16/fa75534173b2b8adf1b4a09e06b25bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3708490028010913578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765848983150,"filename":"image_06112025_14_39_31_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585962","file1":"1399585960","file0":"1399585957","file4":"1399585966","file5":"1399585968","file3":"1399585964"},"map_files_photo_id_array":[{"photo_id":"1399585968","filename":"file5"},{"photo_id":"1399585962","filename":"file2"},{"photo_id":"1399585966","filename":"file4"},{"photo_id":"1399585960","filename":"file1"},{"photo_id":"1399585957","filename":"file0"},{"photo_id":"1399585964","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399585968":["hashtag1","hashtag2"]},{"1399585962":["hashtag1","hashtag2"]},{"1399585964":["hashtag1","hashtag2"]},{"1399585957":["hashtag1","hashtag2"]},{"1399585966":["hashtag1","hashtag2"]},{"1399585960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399585968, 1399585962, 1399585964, 1399585957, 1399585966, 1399585960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.637858152389526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:36:03.055131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:36:12.631124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:36:22.633250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/33/image_16122025_02_33_34_9690.jpg', '/home/pi/Desktop/images/16122025/02/35/image_16122025_02_36_05_10821.jpg', '/home/pi/Desktop/images/16122025/02/36/image_16122025_02_36_14_9729.jpg', '/home/pi/Desktop/images/16122025/02/36/image_16122025_02_36_24_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/33/image_16122025_02_33_34_9690.jpg
/home/pi/Desktop/images/16122025/02/35/image_16122025_02_36_05_10821.jpg
/home/pi/Desktop/images/16122025/02/36/image_16122025_02_36_14_9729.jpg
/home/pi/Desktop/images/16122025/02/36/image_16122025_02_36_24_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585986","1399585977","1399585973","1399585981"],"photo_ids_order":["1399585973","1399585977","1399585981","1399585986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a762c4a5508e174d5e8a22b842a704c4.jpg","text":"TemporaryFile(/tmp/multipartBody8647929878267568276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849043197,"filename":"image_16122025_02_36_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/244ee2bec473ffc1da947d5d145e9914.jpg","text":"TemporaryFile(/tmp/multipartBody7429328042814583910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849043197,"filename":"image_16122025_02_36_05_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4b2d6df7f817b3261c828d091010edc.jpg","text":"TemporaryFile(/tmp/multipartBody5040234254438297739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849043197,"filename":"image_16122025_02_33_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/16/355a08e4e33bf08f96cb8e5379ff71b3.jpg","text":"TemporaryFile(/tmp/multipartBody5138216469191461994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849043197,"filename":"image_16122025_02_36_14_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399585981","file1":"1399585977","file0":"1399585973","file3":"1399585986"},"map_files_photo_id_array":[{"photo_id":"1399585981","filename":"file2"},{"photo_id":"1399585977","filename":"file1"},{"photo_id":"1399585973","filename":"file0"},{"photo_id":"1399585986","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585986":["hashtag1","hashtag2"]},{"1399585977":["hashtag1","hashtag2"]},{"1399585973":["hashtag1","hashtag2"]},{"1399585981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585986, 1399585977, 1399585973, 1399585981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.32854151725769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:37:02.657730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:37:12.500566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:37:21.930271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/36/image_16122025_02_36_54_9635.jpg', '/home/pi/Desktop/images/16122025/02/37/image_16122025_02_37_15_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/36/image_16122025_02_36_54_9635.jpg
/home/pi/Desktop/images/16122025/02/37/image_16122025_02_37_15_10716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399585992","1399585993"],"photo_ids_order":["1399585992","1399585993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/baf4b8d08106e4ad2ecd805bdc252ac7.jpg","text":"TemporaryFile(/tmp/multipartBody5091190191325020584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849102398,"filename":"image_16122025_02_36_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/16/3a90ca7f922fab5186760da073ff4bea.jpg","text":"TemporaryFile(/tmp/multipartBody1877842726401400849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849102398,"filename":"image_16122025_02_37_15_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399585993","file0":"1399585992"},"map_files_photo_id_array":[{"photo_id":"1399585993","filename":"file1"},{"photo_id":"1399585992","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399585992":["hashtag1","hashtag2"]},{"1399585993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399585992, 1399585993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.17474913597107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:37:41.862013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/39/image_06112025_14_40_00_2545.jpg', '/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_04_3701.jpg', '/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_15_10685.jpg', '/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_20_1635.jpg', '/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_38_3338.jpg', '/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_39_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/39/image_06112025_14_40_00_2545.jpg
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_04_3701.jpg
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_15_10685.jpg
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_20_1635.jpg
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_38_3338.jpg
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_39_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586005","1399586007","1399585997","1399586009","1399586003","1399586000"],"photo_ids_order":["1399585997","1399586000","1399586003","1399586005","1399586007","1399586009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/240acb2824bf3e6488c3c544374a36d7.jpg","text":"TemporaryFile(/tmp/multipartBody1916252641750593755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849122568,"filename":"image_06112025_14_40_20_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/16/5c2e388aa1543dc8090d7230a348c474.jpg","text":"TemporaryFile(/tmp/multipartBody1917324422291773402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849122568,"filename":"image_06112025_14_40_38_3338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5901857a65b95ac3dfb9c3c3aa8aa64.jpg","text":"TemporaryFile(/tmp/multipartBody7247123973002218299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849122568,"filename":"image_06112025_14_40_00_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/16/3d2fd068142b6477c7461b07e64e87d1.jpg","text":"TemporaryFile(/tmp/multipartBody228493350253761986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849122568,"filename":"image_06112025_14_40_39_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/16/1bcf5ec61b63fc819163eab10213d7ee.jpg","text":"TemporaryFile(/tmp/multipartBody401988037184183701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849122568,"filename":"image_06112025_14_40_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6341819091c1c456934d7cdd6e234b94.jpg","text":"TemporaryFile(/tmp/multipartBody2416732158273474785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849122568,"filename":"image_06112025_14_40_04_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586003","file1":"1399586000","file0":"1399585997","file4":"1399586007","file5":"1399586009","file3":"1399586005"},"map_files_photo_id_array":[{"photo_id":"1399586009","filename":"file5"},{"photo_id":"1399586003","filename":"file2"},{"photo_id":"1399586007","filename":"file4"},{"photo_id":"1399586000","filename":"file1"},{"photo_id":"1399585997","filename":"file0"},{"photo_id":"1399586005","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586005":["hashtag1","hashtag2"]},{"1399586007":["hashtag1","hashtag2"]},{"1399585997":["hashtag1","hashtag2"]},{"1399586009":["hashtag1","hashtag2"]},{"1399586003":["hashtag1","hashtag2"]},{"1399586000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586005, 1399586007, 1399585997, 1399586009, 1399586003, 1399586000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9315128326416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:38:22.096465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/37/image_16122025_02_37_44_9786.jpg', '/home/pi/Desktop/images/16122025/02/38/image_16122025_02_38_24_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/37/image_16122025_02_37_44_9786.jpg
/home/pi/Desktop/images/16122025/02/38/image_16122025_02_38_24_9758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586016","1399586014"],"photo_ids_order":["1399586014","1399586016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/faa9a696fd1e294624cbdb221d06dda5.jpg","text":"TemporaryFile(/tmp/multipartBody4680557492324552855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849162545,"filename":"image_16122025_02_38_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad9bf8baf9a0bf52d769964bdea28cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2596876095094752094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849162545,"filename":"image_16122025_02_37_44_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399586016","file0":"1399586014"},"map_files_photo_id_array":[{"photo_id":"1399586016","filename":"file1"},{"photo_id":"1399586014","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586016":["hashtag1","hashtag2"]},{"1399586014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586016, 1399586014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.4324848651886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:38:42.085534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_48_1793.jpg', '/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_53_1596.jpg', '/home/pi/Desktop/images/06112025/14/41/image_06112025_14_41_18_25637.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_10_3645.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_17_3600.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_19_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_48_1793.jpg
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_53_1596.jpg
/home/pi/Desktop/images/06112025/14/41/image_06112025_14_41_18_25637.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_10_3645.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_17_3600.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_19_2779.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5767648220062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:39:03.241763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:39:12.361804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:39:22.387364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/38/image_16122025_02_38_35_10763.jpg', '/home/pi/Desktop/images/16122025/02/39/image_16122025_02_39_15_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/38/image_16122025_02_38_35_10763.jpg
/home/pi/Desktop/images/16122025/02/39/image_16122025_02_39_15_10730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586044","1399586041"],"photo_ids_order":["1399586041","1399586044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62face39647617526bb11db91c67cd6e.jpg","text":"TemporaryFile(/tmp/multipartBody5720898612798573268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849222855,"filename":"image_16122025_02_39_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/198356e8ae6d88b5828474e95cc0f58a.jpg","text":"TemporaryFile(/tmp/multipartBody6099418821773477032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849222855,"filename":"image_16122025_02_38_35_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399586044","file0":"1399586041"},"map_files_photo_id_array":[{"photo_id":"1399586044","filename":"file1"},{"photo_id":"1399586041","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586044":["hashtag1","hashtag2"]},{"1399586041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586044, 1399586041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.1252760887146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:39:42.283584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_48_1793.jpg', '/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_53_1596.jpg', '/home/pi/Desktop/images/06112025/14/41/image_06112025_14_41_18_25637.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_10_3645.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_17_3600.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_19_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_48_1793.jpg
/home/pi/Desktop/images/06112025/14/40/image_06112025_14_40_53_1596.jpg
/home/pi/Desktop/images/06112025/14/41/image_06112025_14_41_18_25637.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_10_3645.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_17_3600.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_19_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":["1399586051","1399586060","1399586054","1399586048","1399586059","1399586050"],"photo_ids_order":["1399586048","1399586050","1399586051","1399586054","1399586059","1399586060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c44cfeba22dc39a9ecf947df95b0398f.jpg","text":"TemporaryFile(/tmp/multipartBody2975412527162561084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849242855,"filename":"image_06112025_14_41_18_25637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3f0d8f7095191ad938b12dbcd098ded.jpg","text":"TemporaryFile(/tmp/multipartBody2023098553294678886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849242855,"filename":"image_06112025_14_42_19_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/16/944ff50e68b39aa26ce36bec7b60e439.jpg","text":"TemporaryFile(/tmp/multipartBody2395240288727744864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849242855,"filename":"image_06112025_14_42_10_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/532dd02a703ea4c1c8694dc6b6e981a6.jpg","text":"TemporaryFile(/tmp/multipartBody7223788157369363279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849242855,"filename":"image_06112025_14_40_48_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/017851daf49402f34b8022b2d47e36a4.jpg","text":"TemporaryFile(/tmp/multipartBody1072982513192930024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849242855,"filename":"image_06112025_14_42_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/16/980e6ef3dc3115be151ae6c6694bf0af.jpg","text":"TemporaryFile(/tmp/multipartBody2494458564691569711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849242855,"filename":"image_06112025_14_40_53_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586051","file1":"1399586050","file0":"1399586048","file4":"1399586059","file5":"1399586060","file3":"1399586054"},"map_files_photo_id_array":[{"photo_id":"1399586060","filename":"file5"},{"photo_id":"1399586051","filename":"file2"},{"photo_id":"1399586059","filename":"file4"},{"photo_id":"1399586050","filename":"file1"},{"photo_id":"1399586048","filename":"file0"},{"photo_id":"1399586054","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586051":["hashtag1","hashtag2"]},{"1399586060":["hashtag1","hashtag2"]},{"1399586054":["hashtag1","hashtag2"]},{"1399586048":["hashtag1","hashtag2"]},{"1399586059":["hashtag1","hashtag2"]},{"1399586050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586051, 1399586060, 1399586054, 1399586048, 1399586059, 1399586050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.813809394836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:40:22.569826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/39/image_16122025_02_39_24_9566.jpg', '/home/pi/Desktop/images/16122025/02/39/image_16122025_02_40_04_9705.jpg', '/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_15_10630.jpg', '/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_25_9745.jpg', '/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/39/image_16122025_02_39_24_9566.jpg
/home/pi/Desktop/images/16122025/02/39/image_16122025_02_40_04_9705.jpg
/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_15_10630.jpg
/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_25_9745.jpg
/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586081","1399586075","1399586071","1399586068","1399586079"],"photo_ids_order":["1399586068","1399586071","1399586075","1399586079","1399586081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8e47b44d66a0139acbabeabf9c20530.jpg","text":"TemporaryFile(/tmp/multipartBody809112334288309207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849283175,"filename":"image_16122025_02_40_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23bbd1724134a970d605c60db452ba27.jpg","text":"TemporaryFile(/tmp/multipartBody7892763060787287359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849283175,"filename":"image_16122025_02_40_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c2d6772ac0863953fc32e6d7cf3ddfc.jpg","text":"TemporaryFile(/tmp/multipartBody577966551533899285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849283175,"filename":"image_16122025_02_40_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/16/95f2053c03b4ac3b0f7c0b1393a47515.jpg","text":"TemporaryFile(/tmp/multipartBody1641507952411618157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849283175,"filename":"image_16122025_02_39_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8f3eec659722e34740f13d6fea47a4f.jpg","text":"TemporaryFile(/tmp/multipartBody6238674818828809387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849283175,"filename":"image_16122025_02_40_25_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586075","file1":"1399586071","file0":"1399586068","file4":"1399586081","file3":"1399586079"},"map_files_photo_id_array":[{"photo_id":"1399586075","filename":"file2"},{"photo_id":"1399586081","filename":"file4"},{"photo_id":"1399586071","filename":"file1"},{"photo_id":"1399586068","filename":"file0"},{"photo_id":"1399586079","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586081":["hashtag1","hashtag2"]},{"1399586075":["hashtag1","hashtag2"]},{"1399586071":["hashtag1","hashtag2"]},{"1399586068":["hashtag1","hashtag2"]},{"1399586079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586081, 1399586075, 1399586071, 1399586068, 1399586079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.62192893028259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:41:02.661644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:41:11.873294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:41:21.891151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_55_10764.jpg', '/home/pi/Desktop/images/16122025/02/41/image_16122025_02_41_14_9648.jpg', '/home/pi/Desktop/images/16122025/02/41/image_16122025_02_41_34_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/40/image_16122025_02_40_55_10764.jpg
/home/pi/Desktop/images/16122025/02/41/image_16122025_02_41_14_9648.jpg
/home/pi/Desktop/images/16122025/02/41/image_16122025_02_41_34_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586100","1399586102","1399586098"],"photo_ids_order":["1399586098","1399586100","1399586102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16b29a1d8d51212260f3d719324f0cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4870267671481553418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849342401,"filename":"image_16122025_02_41_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e2a620af5da719cb192d6f94765fc0b.jpg","text":"TemporaryFile(/tmp/multipartBody4170917790948738994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849342401,"filename":"image_16122025_02_41_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/16/c36d57b908f17c567ccd475860ad6146.jpg","text":"TemporaryFile(/tmp/multipartBody6328472567047505973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849342401,"filename":"image_16122025_02_40_55_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586102","file1":"1399586100","file0":"1399586098"},"map_files_photo_id_array":[{"photo_id":"1399586102","filename":"file2"},{"photo_id":"1399586100","filename":"file1"},{"photo_id":"1399586098","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586100":["hashtag1","hashtag2"]},{"1399586102":["hashtag1","hashtag2"]},{"1399586098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586100, 1399586102, 1399586098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.087007761001587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:42:02.475554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:42:12.092861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:42:22.173295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/41/image_16122025_02_41_44_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/41/image_16122025_02_41_44_9872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586117"],"photo_id":"1399586117","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75679a280eb9a8a731f8c1fc7ca389e2.jpg","text":"TemporaryFile(/tmp/multipartBody5947430914322892369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849402564,"filename":"image_16122025_02_41_44_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399586117"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399586117"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.208238363265991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:42:42.076928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_22_2655.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_25_2798.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_29_3705.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_31_2749.jpg', '/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_37_3606.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_01_23228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_22_2655.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_25_2798.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_29_3705.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_31_2749.jpg
/home/pi/Desktop/images/06112025/14/42/image_06112025_14_42_37_3606.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_01_23228.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586136","1399586124","1399586127","1399586126","1399586135","1399586129"],"photo_ids_order":["1399586124","1399586126","1399586127","1399586129","1399586135","1399586136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d64a34a99fe938bd247f156b6baea893.jpg","text":"TemporaryFile(/tmp/multipartBody3138232474757361280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849422761,"filename":"image_06112025_14_43_01_23228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/94bb0809e19d59454f098104b9bbe238.jpg","text":"TemporaryFile(/tmp/multipartBody6383204718035432967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849422761,"filename":"image_06112025_14_42_22_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/16/b94ed9b67320df523e00004b6f28ee77.jpg","text":"TemporaryFile(/tmp/multipartBody8348188234767589842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849422761,"filename":"image_06112025_14_42_29_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/16/15c81c8c9663d045d1f53aae8bb7656b.jpg","text":"TemporaryFile(/tmp/multipartBody7497408473766163466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849422761,"filename":"image_06112025_14_42_25_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/16/b123f4e335131851b34c880e5d6ceec8.jpg","text":"TemporaryFile(/tmp/multipartBody4637109048613445610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849422761,"filename":"image_06112025_14_42_37_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2de3e3e31f7e13269df08b41f53d4458.jpg","text":"TemporaryFile(/tmp/multipartBody4005795117743152609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849422761,"filename":"image_06112025_14_42_31_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586127","file1":"1399586126","file0":"1399586124","file4":"1399586135","file5":"1399586136","file3":"1399586129"},"map_files_photo_id_array":[{"photo_id":"1399586136","filename":"file5"},{"photo_id":"1399586127","filename":"file2"},{"photo_id":"1399586135","filename":"file4"},{"photo_id":"1399586126","filename":"file1"},{"photo_id":"1399586124","filename":"file0"},{"photo_id":"1399586129","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586136":["hashtag1","hashtag2"]},{"1399586124":["hashtag1","hashtag2"]},{"1399586127":["hashtag1","hashtag2"]},{"1399586126":["hashtag1","hashtag2"]},{"1399586135":["hashtag1","hashtag2"]},{"1399586129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586136, 1399586124, 1399586127, 1399586126, 1399586135, 1399586129)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.253568172454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:43:32.320999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:43:42.280413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_02_1534.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_04_1701.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_06_1749.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_07_1540.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_09_1740.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_11_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_02_1534.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_04_1701.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_06_1749.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_07_1540.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_09_1740.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_11_1591.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7472050189971924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:44:03.090519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/42/image_16122025_02_42_55_10732.jpg', '/home/pi/Desktop/images/16122025/02/42/image_16122025_02_43_04_9814.jpg', '/home/pi/Desktop/images/16122025/02/43/image_16122025_02_43_35_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/42/image_16122025_02_42_55_10732.jpg
/home/pi/Desktop/images/16122025/02/42/image_16122025_02_43_04_9814.jpg
/home/pi/Desktop/images/16122025/02/43/image_16122025_02_43_35_9981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586159","1399586161","1399586164"],"photo_ids_order":["1399586159","1399586161","1399586164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fd66bd0984c8d5965f939a336fcb463.jpg","text":"TemporaryFile(/tmp/multipartBody108406496807117291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849503647,"filename":"image_16122025_02_42_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a085579cbd0382b91eafd438bb1f7b3.jpg","text":"TemporaryFile(/tmp/multipartBody5741018274454057180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849503647,"filename":"image_16122025_02_43_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/16/7d01abd6c29a35748d3d7d932e652e54.jpg","text":"TemporaryFile(/tmp/multipartBody4979346470459950535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849503647,"filename":"image_16122025_02_43_35_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586164","file1":"1399586161","file0":"1399586159"},"map_files_photo_id_array":[{"photo_id":"1399586164","filename":"file2"},{"photo_id":"1399586161","filename":"file1"},{"photo_id":"1399586159","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586159":["hashtag1","hashtag2"]},{"1399586161":["hashtag1","hashtag2"]},{"1399586164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586159, 1399586161, 1399586164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.291335344314575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:44:32.506530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:44:42.442589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_02_1534.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_04_1701.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_06_1749.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_07_1540.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_09_1740.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_11_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_02_1534.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_04_1701.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_06_1749.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_07_1540.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_09_1740.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_11_1591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586180","1399586183","1399586191","1399586197","1399586182","1399586184"],"photo_ids_order":["1399586180","1399586182","1399586183","1399586184","1399586191","1399586197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e69913634aff4f53a596bb6597277bed.jpg","text":"TemporaryFile(/tmp/multipartBody992651082783305536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849543019,"filename":"image_06112025_14_43_02_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d90cf39f963d434744ec9f426bbd8dfc.jpg","text":"TemporaryFile(/tmp/multipartBody5680089717059710441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849543019,"filename":"image_06112025_14_43_06_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0137e7b9ddaf1deac88ea185e2dbf1c8.jpg","text":"TemporaryFile(/tmp/multipartBody2708320609967990037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849543019,"filename":"image_06112025_14_43_09_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/16/3ddbdae6f31b05246e5059b42c3707bf.jpg","text":"TemporaryFile(/tmp/multipartBody523282865643522629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849543019,"filename":"image_06112025_14_43_11_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/16/33db37f76162cb3afc23b9d275807960.jpg","text":"TemporaryFile(/tmp/multipartBody2360100854842996985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849543019,"filename":"image_06112025_14_43_04_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/16/e71a28e506ad30f2595f224c8f832286.jpg","text":"TemporaryFile(/tmp/multipartBody1032214665554591259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849543019,"filename":"image_06112025_14_43_07_1540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586183","file1":"1399586182","file0":"1399586180","file4":"1399586191","file5":"1399586197","file3":"1399586184"},"map_files_photo_id_array":[{"photo_id":"1399586197","filename":"file5"},{"photo_id":"1399586183","filename":"file2"},{"photo_id":"1399586191","filename":"file4"},{"photo_id":"1399586182","filename":"file1"},{"photo_id":"1399586180","filename":"file0"},{"photo_id":"1399586184","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586180":["hashtag1","hashtag2"]},{"1399586183":["hashtag1","hashtag2"]},{"1399586191":["hashtag1","hashtag2"]},{"1399586197":["hashtag1","hashtag2"]},{"1399586182":["hashtag1","hashtag2"]},{"1399586184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586180, 1399586183, 1399586191, 1399586197, 1399586182, 1399586184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68018293380737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:45:22.692475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/43/image_16122025_02_43_45_9731.jpg', '/home/pi/Desktop/images/16122025/02/43/image_16122025_02_44_04_9771.jpg', '/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_14_9853.jpg', '/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_25_10788.jpg', '/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_34_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/43/image_16122025_02_43_45_9731.jpg
/home/pi/Desktop/images/16122025/02/43/image_16122025_02_44_04_9771.jpg
/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_14_9853.jpg
/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_25_10788.jpg
/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_34_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":["1399586203","1399586211","1399586205","1399586207","1399586209"],"photo_ids_order":["1399586203","1399586205","1399586207","1399586209","1399586211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/174d8fca7e03f9352092118b3999f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody5563139970717460959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849583304,"filename":"image_16122025_02_43_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/16/b54fc70eb4bb2d16cf356495467f5871.jpg","text":"TemporaryFile(/tmp/multipartBody2702581737745521508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849583304,"filename":"image_16122025_02_44_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0bba1a65425af559c16d90b96a9badd6.jpg","text":"TemporaryFile(/tmp/multipartBody650808849790959388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849583304,"filename":"image_16122025_02_44_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/16/de48490f296141b3dd80058afb76c51d.jpg","text":"TemporaryFile(/tmp/multipartBody7279326161783601807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849583304,"filename":"image_16122025_02_44_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/16/ce7c7066be0131507cb906b7050b1535.jpg","text":"TemporaryFile(/tmp/multipartBody5089254730853516365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849583304,"filename":"image_16122025_02_44_25_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586207","file1":"1399586205","file0":"1399586203","file4":"1399586211","file3":"1399586209"},"map_files_photo_id_array":[{"photo_id":"1399586207","filename":"file2"},{"photo_id":"1399586211","filename":"file4"},{"photo_id":"1399586205","filename":"file1"},{"photo_id":"1399586203","filename":"file0"},{"photo_id":"1399586209","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586203":["hashtag1","hashtag2"]},{"1399586211":["hashtag1","hashtag2"]},{"1399586205":["hashtag1","hashtag2"]},{"1399586207":["hashtag1","hashtag2"]},{"1399586209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586203, 1399586211, 1399586205, 1399586207, 1399586209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.48439621925354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:46:02.400383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:46:12.077035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:46:22.025139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_25_14673.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_27_1523.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_28_1633.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_30_1755.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_32_1658.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_33_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_25_14673.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_27_1523.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_28_1633.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_30_1755.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_32_1658.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_33_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586232","1399586225","1399586234","1399586236","1399586230","1399586221"],"photo_ids_order":["1399586221","1399586225","1399586230","1399586232","1399586234","1399586236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1efb618bc5025d30ff22ae3bdb00e89d.jpg","text":"TemporaryFile(/tmp/multipartBody2766458561301083086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849642735,"filename":"image_06112025_14_43_30_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fffffe216248a632d371cacadd01eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody7024406826770320424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849642735,"filename":"image_06112025_14_43_27_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/16/679a2c677b1b37188705e1946fdb515d.jpg","text":"TemporaryFile(/tmp/multipartBody6899411302954100811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849642735,"filename":"image_06112025_14_43_32_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ba10c96ff576121659fcd488dbe0c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5824778408641211532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849642735,"filename":"image_06112025_14_43_33_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/16/1551c5c257b087f55bf37d823a0d4631.jpg","text":"TemporaryFile(/tmp/multipartBody2703253488601370592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849642735,"filename":"image_06112025_14_43_28_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/16/cbf87f1737f271aa38214c2d831dc0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5067002240247260278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849642735,"filename":"image_06112025_14_43_25_14673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586230","file1":"1399586225","file0":"1399586221","file4":"1399586234","file5":"1399586236","file3":"1399586232"},"map_files_photo_id_array":[{"photo_id":"1399586236","filename":"file5"},{"photo_id":"1399586230","filename":"file2"},{"photo_id":"1399586234","filename":"file4"},{"photo_id":"1399586225","filename":"file1"},{"photo_id":"1399586221","filename":"file0"},{"photo_id":"1399586232","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586232":["hashtag1","hashtag2"]},{"1399586225":["hashtag1","hashtag2"]},{"1399586234":["hashtag1","hashtag2"]},{"1399586236":["hashtag1","hashtag2"]},{"1399586230":["hashtag1","hashtag2"]},{"1399586221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586232, 1399586225, 1399586234, 1399586236, 1399586230, 1399586221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28922128677368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:47:02.955048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:47:12.175242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:47:22.289997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_35_1630.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_37_1702.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_38_1602.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_40_1750.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_42_1644.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_43_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_35_1630.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_37_1702.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_38_1602.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_40_1750.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_42_1644.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_43_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586247","1399586244","1399586252","1399586249","1399586257","1399586242"],"photo_ids_order":["1399586242","1399586244","1399586247","1399586249","1399586252","1399586257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3195afd6ecbcb318643b4de15e1f94b1.jpg","text":"TemporaryFile(/tmp/multipartBody4351270569698908441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849702988,"filename":"image_06112025_14_43_38_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/16/1532f2d355fa9601ff5e1571726f59c1.jpg","text":"TemporaryFile(/tmp/multipartBody2524044509375252619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849702988,"filename":"image_06112025_14_43_37_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/16/50475d7aff2b12738da7351f8f0d9a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1210879774343663842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849702988,"filename":"image_06112025_14_43_42_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7008dc5ee3cbe39698791880abbbe083.jpg","text":"TemporaryFile(/tmp/multipartBody1296613526321870120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849702988,"filename":"image_06112025_14_43_40_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52d7daf6580a52555810e73a1383b036.jpg","text":"TemporaryFile(/tmp/multipartBody4340709740079638639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849702988,"filename":"image_06112025_14_43_43_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/16/5ce74c347a781b3c18374ab363467f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3394125119522774052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849702988,"filename":"image_06112025_14_43_35_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586247","file1":"1399586244","file0":"1399586242","file4":"1399586252","file5":"1399586257","file3":"1399586249"},"map_files_photo_id_array":[{"photo_id":"1399586257","filename":"file5"},{"photo_id":"1399586247","filename":"file2"},{"photo_id":"1399586252","filename":"file4"},{"photo_id":"1399586244","filename":"file1"},{"photo_id":"1399586242","filename":"file0"},{"photo_id":"1399586249","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586247":["hashtag1","hashtag2"]},{"1399586244":["hashtag1","hashtag2"]},{"1399586252":["hashtag1","hashtag2"]},{"1399586249":["hashtag1","hashtag2"]},{"1399586257":["hashtag1","hashtag2"]},{"1399586242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586247, 1399586244, 1399586252, 1399586249, 1399586257, 1399586242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93841481208801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:48:03.084550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:48:12.605431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:48:22.645962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_45_1518.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_47_1853.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_48_1553.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_50_1607.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_52_1618.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_53_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_45_1518.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_47_1853.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_48_1553.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_50_1607.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_52_1618.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_53_1622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586270","1399586267","1399586287","1399586272","1399586281","1399586269"],"photo_ids_order":["1399586267","1399586269","1399586270","1399586272","1399586281","1399586287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aa222fe2e0f3512e8f31676539d7b482.jpg","text":"TemporaryFile(/tmp/multipartBody8358418918085752707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849763355,"filename":"image_06112025_14_43_48_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/16/ea61e94cf068720fb764c126eef7e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody1435215376933495972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849763355,"filename":"image_06112025_14_43_45_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/054ba82ad44f9eb096b435d0289de5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6443352053995713677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849763355,"filename":"image_06112025_14_43_53_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/16/0527c7f934eb37cf53c56dfab3a5f01c.jpg","text":"TemporaryFile(/tmp/multipartBody6285148262667591287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849763355,"filename":"image_06112025_14_43_50_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e307910df70f7d3c21aec8053855b5de.jpg","text":"TemporaryFile(/tmp/multipartBody7831908754997413776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849763355,"filename":"image_06112025_14_43_52_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/16/474408f9f978ca86486484e805fdb110.jpg","text":"TemporaryFile(/tmp/multipartBody3243665920906996591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849763355,"filename":"image_06112025_14_43_47_1853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586270","file1":"1399586269","file0":"1399586267","file4":"1399586281","file5":"1399586287","file3":"1399586272"},"map_files_photo_id_array":[{"photo_id":"1399586287","filename":"file5"},{"photo_id":"1399586270","filename":"file2"},{"photo_id":"1399586281","filename":"file4"},{"photo_id":"1399586269","filename":"file1"},{"photo_id":"1399586267","filename":"file0"},{"photo_id":"1399586272","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586270":["hashtag1","hashtag2"]},{"1399586267":["hashtag1","hashtag2"]},{"1399586287":["hashtag1","hashtag2"]},{"1399586272":["hashtag1","hashtag2"]},{"1399586281":["hashtag1","hashtag2"]},{"1399586269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586270, 1399586267, 1399586287, 1399586272, 1399586281, 1399586269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47291588783264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:49:02.684398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:49:11.890081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:49:21.856956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_54_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/44/image_16122025_02_44_54_9763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586304"],"photo_id":"1399586304","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f932a18804c402f6ff074d08171e0512.jpg","text":"TemporaryFile(/tmp/multipartBody5953533586099668657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849822256,"filename":"image_16122025_02_44_54_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399586304"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399586304"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.515019178390503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:49:41.811250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_55_1588.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_58_2892.jpg', '/home/pi/Desktop/images/06112025/14/43/image_06112025_14_44_01_3700.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_04_2669.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_07_2561.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_10_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_55_1588.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_43_58_2892.jpg
/home/pi/Desktop/images/06112025/14/43/image_06112025_14_44_01_3700.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_04_2669.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_07_2561.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_10_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586322","1399586316","1399586318","1399586311","1399586320","1399586314"],"photo_ids_order":["1399586311","1399586314","1399586316","1399586318","1399586320","1399586322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19b3bfc8cef410342291230605b4fd63.jpg","text":"TemporaryFile(/tmp/multipartBody3136618051069362733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849842574,"filename":"image_06112025_14_44_10_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/16/caebba4f7e59397ecde56c8ecbfec21b.jpg","text":"TemporaryFile(/tmp/multipartBody8128019320172871360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849842574,"filename":"image_06112025_14_44_01_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/16/4e695d7e70e8d9969293e778755946c3.jpg","text":"TemporaryFile(/tmp/multipartBody19824734631263646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849842574,"filename":"image_06112025_14_44_04_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc038517c8aa508c14884c8f0136217c.jpg","text":"TemporaryFile(/tmp/multipartBody2654446739172561776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849842574,"filename":"image_06112025_14_43_55_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/16/1742ad2f9819069c056b1a3fe4a11914.jpg","text":"TemporaryFile(/tmp/multipartBody3795823593508093592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849842574,"filename":"image_06112025_14_44_07_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/16/246328065544ae18cb64081626f989a1.jpg","text":"TemporaryFile(/tmp/multipartBody4244597475653878753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849842574,"filename":"image_06112025_14_43_58_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586316","file1":"1399586314","file0":"1399586311","file4":"1399586320","file5":"1399586322","file3":"1399586318"},"map_files_photo_id_array":[{"photo_id":"1399586322","filename":"file5"},{"photo_id":"1399586316","filename":"file2"},{"photo_id":"1399586320","filename":"file4"},{"photo_id":"1399586314","filename":"file1"},{"photo_id":"1399586311","filename":"file0"},{"photo_id":"1399586318","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586322":["hashtag1","hashtag2"]},{"1399586316":["hashtag1","hashtag2"]},{"1399586318":["hashtag1","hashtag2"]},{"1399586311":["hashtag1","hashtag2"]},{"1399586320":["hashtag1","hashtag2"]},{"1399586314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586322, 1399586316, 1399586318, 1399586311, 1399586320, 1399586314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76920485496521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:50:22.031394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/49/image_16122025_02_49_14_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/49/image_16122025_02_49_14_9758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586328"],"photo_id":"1399586328","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c48a2e3b1f30aa04a14289aea78d6795.jpg","text":"TemporaryFile(/tmp/multipartBody7816392638633154961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849882462,"filename":"image_16122025_02_49_14_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399586328"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399586328"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.157246828079224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:50:41.911230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_13_2713.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_17_3440.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_19_2683.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_22_2690.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_25_2681.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_28_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_13_2713.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_17_3440.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_19_2683.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_22_2690.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_25_2681.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_28_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586352","1399586349","1399586343","1399586342","1399586339","1399586335"],"photo_ids_order":["1399586335","1399586339","1399586342","1399586343","1399586349","1399586352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54b30fa72e5bf9fb6e8175e29c1ad6c9.jpg","text":"TemporaryFile(/tmp/multipartBody7320247034202421608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849902631,"filename":"image_06112025_14_44_28_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/16/fe5b9bf54407a5c36411750100c4cedf.jpg","text":"TemporaryFile(/tmp/multipartBody6251084793351834828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849902631,"filename":"image_06112025_14_44_25_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0651ac271a52c34d8237059018efabc3.jpg","text":"TemporaryFile(/tmp/multipartBody3364275454273270071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849902631,"filename":"image_06112025_14_44_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/16/6e099b1eed857d11034e82a16f637ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5679493324032767497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849902631,"filename":"image_06112025_14_44_19_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/16/6af44b0cc535293fe06f583813aba213.jpg","text":"TemporaryFile(/tmp/multipartBody1407733592453811568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849902631,"filename":"image_06112025_14_44_17_3440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e040e8f8794234b0b58e7d074f00983.jpg","text":"TemporaryFile(/tmp/multipartBody2238609440989091853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849902631,"filename":"image_06112025_14_44_13_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586342","file1":"1399586339","file0":"1399586335","file4":"1399586349","file5":"1399586352","file3":"1399586343"},"map_files_photo_id_array":[{"photo_id":"1399586352","filename":"file5"},{"photo_id":"1399586342","filename":"file2"},{"photo_id":"1399586349","filename":"file4"},{"photo_id":"1399586339","filename":"file1"},{"photo_id":"1399586335","filename":"file0"},{"photo_id":"1399586343","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586352":["hashtag1","hashtag2"]},{"1399586349":["hashtag1","hashtag2"]},{"1399586343":["hashtag1","hashtag2"]},{"1399586342":["hashtag1","hashtag2"]},{"1399586339":["hashtag1","hashtag2"]},{"1399586335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586352, 1399586349, 1399586343, 1399586342, 1399586339, 1399586335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97187519073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:51:32.188305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:51:42.208847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_31_2538.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_43_12195.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_45_1729.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_46_1805.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_48_1629.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_50_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_31_2538.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_43_12195.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_45_1729.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_46_1805.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_48_1629.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_50_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586364","1399586360","1399586363","1399586366","1399586365","1399586362"],"photo_ids_order":["1399586360","1399586362","1399586363","1399586364","1399586365","1399586366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a78661aa43eb3b53bf84ba34d8fbdf28.jpg","text":"TemporaryFile(/tmp/multipartBody6741734896010067372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849962898,"filename":"image_06112025_14_44_46_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/567adca11a6b973700ac99a2beaca2b1.jpg","text":"TemporaryFile(/tmp/multipartBody5613961918345865621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849962898,"filename":"image_06112025_14_44_31_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/16/4741c7884e45160415f443c028423f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2200561043529726134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849962898,"filename":"image_06112025_14_44_45_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/16/f40f5cafcefd86f9b4ae03549feed8e3.jpg","text":"TemporaryFile(/tmp/multipartBody638798962139454655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849962898,"filename":"image_06112025_14_44_50_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26ffa7e80e5978e55ecf1f4d4b4cf7aa.jpg","text":"TemporaryFile(/tmp/multipartBody7009915652593819334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849962898,"filename":"image_06112025_14_44_48_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/16/898f660f13d324b657f3d701ddd0ff30.jpg","text":"TemporaryFile(/tmp/multipartBody8221099721070287713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765849962898,"filename":"image_06112025_14_44_43_12195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586363","file1":"1399586362","file0":"1399586360","file4":"1399586365","file5":"1399586366","file3":"1399586364"},"map_files_photo_id_array":[{"photo_id":"1399586366","filename":"file5"},{"photo_id":"1399586363","filename":"file2"},{"photo_id":"1399586365","filename":"file4"},{"photo_id":"1399586362","filename":"file1"},{"photo_id":"1399586360","filename":"file0"},{"photo_id":"1399586364","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586364":["hashtag1","hashtag2"]},{"1399586360":["hashtag1","hashtag2"]},{"1399586363":["hashtag1","hashtag2"]},{"1399586366":["hashtag1","hashtag2"]},{"1399586365":["hashtag1","hashtag2"]},{"1399586362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586364, 1399586360, 1399586363, 1399586366, 1399586365, 1399586362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77628040313721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:52:22.488711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/50/image_16122025_02_50_45_10744.jpg', '/home/pi/Desktop/images/16122025/02/51/image_16122025_02_51_34_9619.jpg', '/home/pi/Desktop/images/16122025/02/51/image_16122025_02_51_45_10573.jpg', '/home/pi/Desktop/images/16122025/02/51/image_16122025_02_52_04_9737.jpg', '/home/pi/Desktop/images/16122025/02/52/image_16122025_02_52_14_9837.jpg', '/home/pi/Desktop/images/16122025/02/52/image_16122025_02_52_25_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/50/image_16122025_02_50_45_10744.jpg
/home/pi/Desktop/images/16122025/02/51/image_16122025_02_51_34_9619.jpg
/home/pi/Desktop/images/16122025/02/51/image_16122025_02_51_45_10573.jpg
/home/pi/Desktop/images/16122025/02/51/image_16122025_02_52_04_9737.jpg
/home/pi/Desktop/images/16122025/02/52/image_16122025_02_52_14_9837.jpg
/home/pi/Desktop/images/16122025/02/52/image_16122025_02_52_25_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586381","1399586375","1399586378","1399586372","1399586383","1399586380"],"photo_ids_order":["1399586372","1399586375","1399586378","1399586380","1399586381","1399586383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a4e892249c7615342db5af2f01c8b4d.jpg","text":"TemporaryFile(/tmp/multipartBody946833864249951104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850003143,"filename":"image_16122025_02_52_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/16/f4246830179c52189485720bf8c8f02c.jpg","text":"TemporaryFile(/tmp/multipartBody1821367712115707630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850003143,"filename":"image_16122025_02_51_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/16/b647f029e8dbba2c6e49361f90ff3446.jpg","text":"TemporaryFile(/tmp/multipartBody347798922269223701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850003143,"filename":"image_16122025_02_51_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e462032c17ec052728c8e15eb6ff33a.jpg","text":"TemporaryFile(/tmp/multipartBody8497626058904865770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850003143,"filename":"image_16122025_02_50_45_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c900fd29af29d5cc92adcfa16d982e17.jpg","text":"TemporaryFile(/tmp/multipartBody7312085490426778925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850003143,"filename":"image_16122025_02_52_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/16/47dff7cab167e11154956b3e853011ce.jpg","text":"TemporaryFile(/tmp/multipartBody5584326967955136997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850003143,"filename":"image_16122025_02_52_04_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586378","file1":"1399586375","file0":"1399586372","file4":"1399586381","file5":"1399586383","file3":"1399586380"},"map_files_photo_id_array":[{"photo_id":"1399586383","filename":"file5"},{"photo_id":"1399586378","filename":"file2"},{"photo_id":"1399586381","filename":"file4"},{"photo_id":"1399586375","filename":"file1"},{"photo_id":"1399586372","filename":"file0"},{"photo_id":"1399586380","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586381":["hashtag1","hashtag2"]},{"1399586375":["hashtag1","hashtag2"]},{"1399586378":["hashtag1","hashtag2"]},{"1399586372":["hashtag1","hashtag2"]},{"1399586383":["hashtag1","hashtag2"]},{"1399586380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586381, 1399586375, 1399586378, 1399586372, 1399586383, 1399586380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30518460273743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:53:03.413840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:53:12.749893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:53:22.735442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/52/image_16122025_02_52_35_9938.jpg', '/home/pi/Desktop/images/16122025/02/52/image_16122025_02_53_04_9662.jpg', '/home/pi/Desktop/images/16122025/02/53/image_16122025_02_53_35_10699.jpg', '/home/pi/Desktop/images/16122025/02/53/image_16122025_02_53_44_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/52/image_16122025_02_52_35_9938.jpg
/home/pi/Desktop/images/16122025/02/52/image_16122025_02_53_04_9662.jpg
/home/pi/Desktop/images/16122025/02/53/image_16122025_02_53_35_10699.jpg
/home/pi/Desktop/images/16122025/02/53/image_16122025_02_53_44_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586401","1399586399","1399586404","1399586397"],"photo_ids_order":["1399586397","1399586399","1399586401","1399586404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/519d6299371a4c0d569d5a46f5fcd558.jpg","text":"TemporaryFile(/tmp/multipartBody1907503189566520457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850063297,"filename":"image_16122025_02_53_35_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a92ff0bdaaf0217c466e4412809bcd7a.jpg","text":"TemporaryFile(/tmp/multipartBody14511013142027538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850063297,"filename":"image_16122025_02_53_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/16/1118fedb48af474175c6c1ac930f8b1d.jpg","text":"TemporaryFile(/tmp/multipartBody3395384999980372300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850063297,"filename":"image_16122025_02_53_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/551b8ee60972e36e2e2088d34060591e.jpg","text":"TemporaryFile(/tmp/multipartBody803523421172325670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850063297,"filename":"image_16122025_02_52_35_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586401","file1":"1399586399","file0":"1399586397","file3":"1399586404"},"map_files_photo_id_array":[{"photo_id":"1399586401","filename":"file2"},{"photo_id":"1399586399","filename":"file1"},{"photo_id":"1399586397","filename":"file0"},{"photo_id":"1399586404","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586401":["hashtag1","hashtag2"]},{"1399586399":["hashtag1","hashtag2"]},{"1399586404":["hashtag1","hashtag2"]},{"1399586397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586401, 1399586399, 1399586404, 1399586397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.29471564292908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:54:04.142122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:54:13.432510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:54:24.360577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/53/image_16122025_02_53_54_9728.jpg', '/home/pi/Desktop/images/16122025/02/53/image_16122025_02_54_05_10612.jpg', '/home/pi/Desktop/images/16122025/02/54/image_16122025_02_54_34_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/53/image_16122025_02_53_54_9728.jpg
/home/pi/Desktop/images/16122025/02/53/image_16122025_02_54_05_10612.jpg
/home/pi/Desktop/images/16122025/02/54/image_16122025_02_54_34_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":["1399586420","1399586414","1399586416"],"photo_ids_order":["1399586414","1399586416","1399586420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b97ee4eb0ebc81f48154180ef11e3973.jpg","text":"TemporaryFile(/tmp/multipartBody3283527086519078006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850124874,"filename":"image_16122025_02_54_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/16/2bc5179167b41b79aee4649b091fb383.jpg","text":"TemporaryFile(/tmp/multipartBody8104359621482848049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850124874,"filename":"image_16122025_02_53_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/16/c3f68bec393ce964e46145372e697664.jpg","text":"TemporaryFile(/tmp/multipartBody8025770901568688293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850124874,"filename":"image_16122025_02_54_05_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586420","file1":"1399586416","file0":"1399586414"},"map_files_photo_id_array":[{"photo_id":"1399586420","filename":"file2"},{"photo_id":"1399586416","filename":"file1"},{"photo_id":"1399586414","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586420":["hashtag1","hashtag2"]},{"1399586414":["hashtag1","hashtag2"]},{"1399586416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586420, 1399586414, 1399586416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.77619481086731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:55:03.223699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:55:12.715675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:55:22.741004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/54/image_16122025_02_54_45_10730.jpg', '/home/pi/Desktop/images/16122025/02/54/image_16122025_02_55_04_8661.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_14_9716.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_24_10434.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_34_9729.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_44_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/54/image_16122025_02_54_45_10730.jpg
/home/pi/Desktop/images/16122025/02/54/image_16122025_02_55_04_8661.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_14_9716.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_24_10434.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_34_9729.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_44_9944.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5571625232696533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:55:32.725841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:55:42.727208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_51_1639.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_53_1769.jpg', '/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_58_1667.jpg', '/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_05_7059.jpg', '/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_13_7045.jpg', '/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_15_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_51_1639.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_53_1769.jpg
/home/pi/Desktop/images/06112025/14/44/image_06112025_14_44_58_1667.jpg
/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_05_7059.jpg
/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_13_7045.jpg
/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_15_1564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586451","1399586448","1399586450","1399586452","1399586446","1399586449"],"photo_ids_order":["1399586446","1399586448","1399586449","1399586450","1399586451","1399586452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/584fed4e045569c5fb22055d879c2071.jpg","text":"TemporaryFile(/tmp/multipartBody5418054964312666615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850203476,"filename":"image_06112025_14_45_13_7045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/841478a7df042b36ae0cee5f0b13b2df.jpg","text":"TemporaryFile(/tmp/multipartBody641627288519003368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850203476,"filename":"image_06112025_14_44_53_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/16/a7b8961beacef80964d76ef6116efa11.jpg","text":"TemporaryFile(/tmp/multipartBody527926733234173805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850203476,"filename":"image_06112025_14_45_05_7059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/427e1e8eb2e1fab65447bd84af06fed5.jpg","text":"TemporaryFile(/tmp/multipartBody2038577269752946443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850203476,"filename":"image_06112025_14_45_15_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/16/d984d9a8967b421eccd40f2ee8540e65.jpg","text":"TemporaryFile(/tmp/multipartBody1669190493444058626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850203476,"filename":"image_06112025_14_44_51_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/16/ebf7aabccfdb469fcefba836fd2b17b8.jpg","text":"TemporaryFile(/tmp/multipartBody3428969373250190789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850203476,"filename":"image_06112025_14_44_58_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586449","file1":"1399586448","file0":"1399586446","file4":"1399586451","file5":"1399586452","file3":"1399586450"},"map_files_photo_id_array":[{"photo_id":"1399586452","filename":"file5"},{"photo_id":"1399586449","filename":"file2"},{"photo_id":"1399586451","filename":"file4"},{"photo_id":"1399586448","filename":"file1"},{"photo_id":"1399586446","filename":"file0"},{"photo_id":"1399586450","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586451":["hashtag1","hashtag2"]},{"1399586448":["hashtag1","hashtag2"]},{"1399586450":["hashtag1","hashtag2"]},{"1399586452":["hashtag1","hashtag2"]},{"1399586446":["hashtag1","hashtag2"]},{"1399586449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586451, 1399586448, 1399586450, 1399586452, 1399586446, 1399586449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99509024620056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:56:21.964565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/54/image_16122025_02_54_45_10730.jpg', '/home/pi/Desktop/images/16122025/02/54/image_16122025_02_55_04_8661.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_14_9716.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_24_10434.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_34_9729.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_44_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/54/image_16122025_02_54_45_10730.jpg
/home/pi/Desktop/images/16122025/02/54/image_16122025_02_55_04_8661.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_14_9716.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_24_10434.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_34_9729.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_44_9944.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586463","1399586465","1399586467","1399586461","1399586458","1399586475"],"photo_ids_order":["1399586458","1399586461","1399586463","1399586465","1399586467","1399586475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e07f4b54b2aaf7347103414e2b500a0c.jpg","text":"TemporaryFile(/tmp/multipartBody3756282415075972476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850242667,"filename":"image_16122025_02_55_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/582946d90a1d4df49fc409ba98205232.jpg","text":"TemporaryFile(/tmp/multipartBody2591677739041176294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850242667,"filename":"image_16122025_02_55_24_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/16/fffbee919650fe7459b4ac5eca5d40e5.jpg","text":"TemporaryFile(/tmp/multipartBody1348705155768895836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850242667,"filename":"image_16122025_02_55_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8efae7111a114b8f757e93e2eaf369a.jpg","text":"TemporaryFile(/tmp/multipartBody5092805595611147123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850242667,"filename":"image_16122025_02_55_04_8661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c7c79e60899054861e1df787e495f52.jpg","text":"TemporaryFile(/tmp/multipartBody1008141525261319871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850242667,"filename":"image_16122025_02_54_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97742876a2ae2ecd9df57b2e5850bd51.jpg","text":"TemporaryFile(/tmp/multipartBody7277029867641624648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850242667,"filename":"image_16122025_02_55_44_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586463","file1":"1399586461","file0":"1399586458","file4":"1399586467","file5":"1399586475","file3":"1399586465"},"map_files_photo_id_array":[{"photo_id":"1399586475","filename":"file5"},{"photo_id":"1399586463","filename":"file2"},{"photo_id":"1399586467","filename":"file4"},{"photo_id":"1399586461","filename":"file1"},{"photo_id":"1399586458","filename":"file0"},{"photo_id":"1399586465","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586463":["hashtag1","hashtag2"]},{"1399586465":["hashtag1","hashtag2"]},{"1399586467":["hashtag1","hashtag2"]},{"1399586461":["hashtag1","hashtag2"]},{"1399586458":["hashtag1","hashtag2"]},{"1399586475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586463, 1399586465, 1399586467, 1399586461, 1399586458, 1399586475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00188612937927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:57:02.908166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_55_10777.jpg', '/home/pi/Desktop/images/16122025/02/55/image_16122025_02_56_04_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_55_55_10777.jpg
/home/pi/Desktop/images/16122025/02/55/image_16122025_02_56_04_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586483","1399586485"],"photo_ids_order":["1399586483","1399586485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1dfc8d180b5c0c1579848dc9cf4557fb.jpg","text":"TemporaryFile(/tmp/multipartBody1761055893428713195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850283426,"filename":"image_16122025_02_55_55_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1afb2e72fab653fbaac1b116fdbb4366.jpg","text":"TemporaryFile(/tmp/multipartBody1719933473610964593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850283426,"filename":"image_16122025_02_56_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399586485","file0":"1399586483"},"map_files_photo_id_array":[{"photo_id":"1399586485","filename":"file1"},{"photo_id":"1399586483","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586483":["hashtag1","hashtag2"]},{"1399586485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586483, 1399586485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.18348741531372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 02:57:22.252364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/56/image_16122025_02_56_35_10607.jpg', '/home/pi/Desktop/images/16122025/02/57/image_16122025_02_57_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/56/image_16122025_02_56_35_10607.jpg
/home/pi/Desktop/images/16122025/02/57/image_16122025_02_57_24_9732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586565","1399586524"],"photo_ids_order":["1399586524","1399586565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18a820669e43d65495bc84f1d46cda75.jpg","text":"TemporaryFile(/tmp/multipartBody171253010336087366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850302743,"filename":"image_16122025_02_57_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/16/8d9945263ce19f0705468d5e46f637ca.jpg","text":"TemporaryFile(/tmp/multipartBody6151175717335512488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850302743,"filename":"image_16122025_02_56_35_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399586565","file0":"1399586524"},"map_files_photo_id_array":[{"photo_id":"1399586565","filename":"file1"},{"photo_id":"1399586524","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399586565":["hashtag1","hashtag2"]},{"1399586524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399586565, 1399586524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.496504306793213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:57:42.295090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_20_1622.jpg', '/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_28_2740.jpg', '/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_58_23477.jpg', '/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_59_1543.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_01_1633.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_02_1544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_20_1622.jpg
/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_28_2740.jpg
/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_58_23477.jpg
/home/pi/Desktop/images/06112025/14/45/image_06112025_14_45_59_1543.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_01_1633.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_02_1544.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399586670","1399586730","1399586648","1399586650","1399586713","1399586707"],"photo_ids_order":["1399586648","1399586650","1399586670","1399586707","1399586713","1399586730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca8bb2c392da2fc9a1c0f1af7799ba9d.jpg","text":"TemporaryFile(/tmp/multipartBody3215595479597026588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850322975,"filename":"image_06112025_14_45_58_23477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07a6a5e758a49c5478f8df59ee2406a2.jpg","text":"TemporaryFile(/tmp/multipartBody710479007725090189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850322975,"filename":"image_06112025_14_46_02_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/16/466a18c61803768d86784a2323ed7135.jpg","text":"TemporaryFile(/tmp/multipartBody2099992078073823916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850322975,"filename":"image_06112025_14_45_20_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17f18b566263f24d481b445addf375d9.jpg","text":"TemporaryFile(/tmp/multipartBody6391731866537983258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850322975,"filename":"image_06112025_14_45_28_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/16/eaf199cde7401f34be3760dfd2951755.jpg","text":"TemporaryFile(/tmp/multipartBody3062546937462823346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850322975,"filename":"image_06112025_14_46_01_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e875601b32bd686c3b0460d3fd9cd744.jpg","text":"TemporaryFile(/tmp/multipartBody1081140975225060409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850322975,"filename":"image_06112025_14_45_59_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399586670","file1":"1399586650","file0":"1399586648","file4":"1399586713","file5":"1399586730","file3":"1399586707"},"map_files_photo_id_array":[{"photo_id":"1399586730","filename":"file5"},{"photo_id":"1399586670","filename":"file2"},{"photo_id":"1399586713","filename":"file4"},{"photo_id":"1399586650","filename":"file1"},{"photo_id":"1399586648","filename":"file0"},{"photo_id":"1399586707","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399586670":["hashtag1","hashtag2"]},{"1399586730":["hashtag1","hashtag2"]},{"1399586648":["hashtag1","hashtag2"]},{"1399586650":["hashtag1","hashtag2"]},{"1399586713":["hashtag1","hashtag2"]},{"1399586707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399586670, 1399586730, 1399586648, 1399586650, 1399586713, 1399586707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.645992040634155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 02:59:03.699109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/57/image_16122025_02_57_54_9840.jpg', '/home/pi/Desktop/images/16122025/02/57/image_16122025_02_58_04_9857.jpg', '/home/pi/Desktop/images/16122025/02/58/image_16122025_02_58_25_10723.jpg', '/home/pi/Desktop/images/16122025/02/58/image_16122025_02_58_34_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/57/image_16122025_02_57_54_9840.jpg
/home/pi/Desktop/images/16122025/02/57/image_16122025_02_58_04_9857.jpg
/home/pi/Desktop/images/16122025/02/58/image_16122025_02_58_25_10723.jpg
/home/pi/Desktop/images/16122025/02/58/image_16122025_02_58_34_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399587057","1399587021","1399586942","1399586982"],"photo_ids_order":["1399586942","1399586982","1399587021","1399587057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44d4dbfa9315b46ce1e3fd2e587cb097.jpg","text":"TemporaryFile(/tmp/multipartBody6793333072877164608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850404385,"filename":"image_16122025_02_58_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/759dadbc8731b432204d228524ab6712.jpg","text":"TemporaryFile(/tmp/multipartBody7843112282748607909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850404385,"filename":"image_16122025_02_58_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0577d465a80d4fbc5a58d1c7721dab26.jpg","text":"TemporaryFile(/tmp/multipartBody11032845775740919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850404385,"filename":"image_16122025_02_57_54_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31b30f957ecc247eeb3df9b37b6d35cc.jpg","text":"TemporaryFile(/tmp/multipartBody1176535643132813220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850404385,"filename":"image_16122025_02_58_04_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399587021","file1":"1399586982","file0":"1399586942","file3":"1399587057"},"map_files_photo_id_array":[{"photo_id":"1399587021","filename":"file2"},{"photo_id":"1399586982","filename":"file1"},{"photo_id":"1399586942","filename":"file0"},{"photo_id":"1399587057","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399587057":["hashtag1","hashtag2"]},{"1399587021":["hashtag1","hashtag2"]},{"1399586942":["hashtag1","hashtag2"]},{"1399586982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399587057, 1399587021, 1399586942, 1399586982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.7452712059021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 02:59:32.817610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 02:59:42.784461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_13_10166.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_14_1581.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_16_1665.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_17_1594.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_19_1699.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_21_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_13_10166.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_14_1581.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_16_1665.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_17_1594.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_19_1699.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_21_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399587603","1399587519","1399587446","1399587374","1399587295","1399587567"],"photo_ids_order":["1399587295","1399587374","1399587446","1399587519","1399587567","1399587603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccdb303d54551cbf9071c48c3c30dc7c.jpg","text":"TemporaryFile(/tmp/multipartBody1487011378578732004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850443480,"filename":"image_06112025_14_46_21_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3398620fb1b8a11fd1daf63cc34beaad.jpg","text":"TemporaryFile(/tmp/multipartBody578052486773386746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850443480,"filename":"image_06112025_14_46_17_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ebba9e0adc386fc38e6a2ea0aaa4c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2157739607208314130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850443480,"filename":"image_06112025_14_46_16_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/16/cd68372b10e276fdaa9b7dd2225bbfb7.jpg","text":"TemporaryFile(/tmp/multipartBody7416110202872229587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850443480,"filename":"image_06112025_14_46_14_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/16/16888f6f51bc7c33f6bdcf0a0a752fb7.jpg","text":"TemporaryFile(/tmp/multipartBody3748613130620845007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850443480,"filename":"image_06112025_14_46_13_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/16/0db22f1d33e0eba17203045c21f90aea.jpg","text":"TemporaryFile(/tmp/multipartBody792299865962805587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850443480,"filename":"image_06112025_14_46_19_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399587446","file1":"1399587374","file0":"1399587295","file4":"1399587567","file5":"1399587603","file3":"1399587519"},"map_files_photo_id_array":[{"photo_id":"1399587603","filename":"file5"},{"photo_id":"1399587446","filename":"file2"},{"photo_id":"1399587567","filename":"file4"},{"photo_id":"1399587374","filename":"file1"},{"photo_id":"1399587295","filename":"file0"},{"photo_id":"1399587519","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399587603":["hashtag1","hashtag2"]},{"1399587519":["hashtag1","hashtag2"]},{"1399587446":["hashtag1","hashtag2"]},{"1399587374":["hashtag1","hashtag2"]},{"1399587295":["hashtag1","hashtag2"]},{"1399587567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399587603, 1399587519, 1399587446, 1399587374, 1399587295, 1399587567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00217819213867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:00:22.112034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/02/58/image_16122025_02_58_55_10738.jpg', '/home/pi/Desktop/images/16122025/02/59/image_16122025_02_59_35_10762.jpg', '/home/pi/Desktop/images/16122025/02/59/image_16122025_03_00_04_9843.jpg', '/home/pi/Desktop/images/16122025/03/00/image_16122025_03_00_15_10724.jpg', '/home/pi/Desktop/images/16122025/03/00/image_16122025_03_00_24_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/02/58/image_16122025_02_58_55_10738.jpg
/home/pi/Desktop/images/16122025/02/59/image_16122025_02_59_35_10762.jpg
/home/pi/Desktop/images/16122025/02/59/image_16122025_03_00_04_9843.jpg
/home/pi/Desktop/images/16122025/03/00/image_16122025_03_00_15_10724.jpg
/home/pi/Desktop/images/16122025/03/00/image_16122025_03_00_24_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399587810","1399587734","1399587772","1399587889","1399587847"],"photo_ids_order":["1399587734","1399587772","1399587810","1399587847","1399587889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab20320efdeb863e326f376814147622.jpg","text":"TemporaryFile(/tmp/multipartBody6517162988103561556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850482719,"filename":"image_16122025_03_00_04_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ba575c6f7ef473d836a75e0f3bf6c8f.jpg","text":"TemporaryFile(/tmp/multipartBody8395792378527055816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850482719,"filename":"image_16122025_02_58_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/16/3642f1cb5f19ecf5d90764626b8b1a7c.jpg","text":"TemporaryFile(/tmp/multipartBody8020603706203220025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850482719,"filename":"image_16122025_02_59_35_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca028ee5ce83904fe3c8397cded4b2ff.jpg","text":"TemporaryFile(/tmp/multipartBody3348577449295839701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850482719,"filename":"image_16122025_03_00_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/16/079a30a2717eb6c9e9f70b7263483a37.jpg","text":"TemporaryFile(/tmp/multipartBody7212390997005950232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850482719,"filename":"image_16122025_03_00_15_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399587810","file1":"1399587772","file0":"1399587734","file4":"1399587889","file3":"1399587847"},"map_files_photo_id_array":[{"photo_id":"1399587810","filename":"file2"},{"photo_id":"1399587889","filename":"file4"},{"photo_id":"1399587772","filename":"file1"},{"photo_id":"1399587734","filename":"file0"},{"photo_id":"1399587847","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399587810":["hashtag1","hashtag2"]},{"1399587734":["hashtag1","hashtag2"]},{"1399587772":["hashtag1","hashtag2"]},{"1399587889":["hashtag1","hashtag2"]},{"1399587847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399587810, 1399587734, 1399587772, 1399587889, 1399587847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.774208784103394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:01:03.000004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:01:12.270064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:01:22.443758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/00/image_16122025_03_00_55_10754.jpg', '/home/pi/Desktop/images/16122025/03/00/image_16122025_03_01_05_9926.jpg', '/home/pi/Desktop/images/16122025/03/01/image_16122025_03_01_24_9827.jpg', '/home/pi/Desktop/images/16122025/03/01/image_16122025_03_01_34_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/00/image_16122025_03_00_55_10754.jpg
/home/pi/Desktop/images/16122025/03/00/image_16122025_03_01_05_9926.jpg
/home/pi/Desktop/images/16122025/03/01/image_16122025_03_01_24_9827.jpg
/home/pi/Desktop/images/16122025/03/01/image_16122025_03_01_34_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":["1399588271","1399588268","1399588288","1399588219"],"photo_ids_order":["1399588219","1399588268","1399588271","1399588288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64fd847d11b30eadbd435fdee7036a34.jpg","text":"TemporaryFile(/tmp/multipartBody520880030039160668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850543006,"filename":"image_16122025_03_01_24_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3d2498a97a98f90a0bbb9835711e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody3436667749124774574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850543006,"filename":"image_16122025_03_01_05_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/598329f62b18e6bffd2e624724bfb24d.jpg","text":"TemporaryFile(/tmp/multipartBody8541735648828966575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850543006,"filename":"image_16122025_03_01_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/16/79e867fd057cf935820d6ac1132ededa.jpg","text":"TemporaryFile(/tmp/multipartBody9118082506642452374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850543006,"filename":"image_16122025_03_00_55_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588271","file1":"1399588268","file0":"1399588219","file3":"1399588288"},"map_files_photo_id_array":[{"photo_id":"1399588271","filename":"file2"},{"photo_id":"1399588268","filename":"file1"},{"photo_id":"1399588219","filename":"file0"},{"photo_id":"1399588288","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588271":["hashtag1","hashtag2"]},{"1399588268":["hashtag1","hashtag2"]},{"1399588288":["hashtag1","hashtag2"]},{"1399588219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588271, 1399588268, 1399588288, 1399588219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.22709012031555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:02:03.022911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 03:02:12.556107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:02:22.611250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/01/image_16122025_03_01_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/01/image_16122025_03_01_54_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588333"],"photo_id":"1399588333","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9414ebeca479aeaf5ef411594561dce6.jpg","text":"TemporaryFile(/tmp/multipartBody6586681912158355626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850603018,"filename":"image_16122025_03_01_54_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399588333"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399588333"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.546546459197998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:02:42.631997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_22_1594.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_24_1527.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_28_4232.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_30_1507.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_31_1583.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_33_1506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_22_1594.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_24_1527.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_28_4232.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_30_1507.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_31_1583.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_33_1506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588352","1399588361","1399588354","1399588357","1399588356","1399588341"],"photo_ids_order":["1399588341","1399588352","1399588354","1399588356","1399588357","1399588361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ceafb050c61a5df4e30b198928efda9a.jpg","text":"TemporaryFile(/tmp/multipartBody3266355087111640755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850623357,"filename":"image_06112025_14_46_24_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/16/a54dd93a28adf147982c7357553feb3b.jpg","text":"TemporaryFile(/tmp/multipartBody4575295137920792319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850623357,"filename":"image_06112025_14_46_33_1506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d3fba29f78b23cabe8f60a1ed9f8e89.jpg","text":"TemporaryFile(/tmp/multipartBody4173541381009973191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850623357,"filename":"image_06112025_14_46_28_4232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3d7cb5ec37d35eea016f0f58d7190d8.jpg","text":"TemporaryFile(/tmp/multipartBody4316813791267232155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850623357,"filename":"image_06112025_14_46_31_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/16/752c244a8ade0cff9e9d3eb1256509a0.jpg","text":"TemporaryFile(/tmp/multipartBody8485831151215880365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850623357,"filename":"image_06112025_14_46_30_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c3c359f0fb0537a6033ee83848eab10.jpg","text":"TemporaryFile(/tmp/multipartBody5574655085856633948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850623357,"filename":"image_06112025_14_46_22_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588354","file1":"1399588352","file0":"1399588341","file4":"1399588357","file5":"1399588361","file3":"1399588356"},"map_files_photo_id_array":[{"photo_id":"1399588361","filename":"file5"},{"photo_id":"1399588354","filename":"file2"},{"photo_id":"1399588357","filename":"file4"},{"photo_id":"1399588352","filename":"file1"},{"photo_id":"1399588341","filename":"file0"},{"photo_id":"1399588356","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588352":["hashtag1","hashtag2"]},{"1399588361":["hashtag1","hashtag2"]},{"1399588354":["hashtag1","hashtag2"]},{"1399588357":["hashtag1","hashtag2"]},{"1399588356":["hashtag1","hashtag2"]},{"1399588341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588352, 1399588361, 1399588354, 1399588357, 1399588356, 1399588341)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.79895544052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:03:32.849007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:03:42.882668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_34_1539.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_36_1528.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_38_2231.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_39_1495.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_41_1589.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_43_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_34_1539.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_36_1528.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_38_2231.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_39_1495.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_41_1589.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_43_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588372","1399588375","1399588378","1399588374","1399588377","1399588376"],"photo_ids_order":["1399588372","1399588374","1399588375","1399588376","1399588377","1399588378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b0e63b00c0c00792bc2d536a5504c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4032164670365532031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850683615,"filename":"image_06112025_14_46_34_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/16/22681432884c8ceb37205dd9e337a814.jpg","text":"TemporaryFile(/tmp/multipartBody8653184747471217732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850683615,"filename":"image_06112025_14_46_38_2231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8cc685d34206a6b66901daf0b87e2bc2.jpg","text":"TemporaryFile(/tmp/multipartBody6893090988329776091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850683615,"filename":"image_06112025_14_46_43_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/16/6acbd92037c8da39a9c3c859d257ea19.jpg","text":"TemporaryFile(/tmp/multipartBody5618586671480846445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850683615,"filename":"image_06112025_14_46_36_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/16/fdec720c6de98f4413b53f277c1400ef.jpg","text":"TemporaryFile(/tmp/multipartBody2727042739422354512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850683615,"filename":"image_06112025_14_46_41_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/16/405fe94151bfd11f7310e64e636fa70b.jpg","text":"TemporaryFile(/tmp/multipartBody2977030859407890709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850683615,"filename":"image_06112025_14_46_39_1495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588375","file1":"1399588374","file0":"1399588372","file4":"1399588377","file5":"1399588378","file3":"1399588376"},"map_files_photo_id_array":[{"photo_id":"1399588378","filename":"file5"},{"photo_id":"1399588375","filename":"file2"},{"photo_id":"1399588377","filename":"file4"},{"photo_id":"1399588374","filename":"file1"},{"photo_id":"1399588372","filename":"file0"},{"photo_id":"1399588376","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588372":["hashtag1","hashtag2"]},{"1399588375":["hashtag1","hashtag2"]},{"1399588378":["hashtag1","hashtag2"]},{"1399588374":["hashtag1","hashtag2"]},{"1399588377":["hashtag1","hashtag2"]},{"1399588376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588372, 1399588375, 1399588378, 1399588374, 1399588377, 1399588376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47197389602661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:04:22.101048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/02/image_16122025_03_02_15_10611.jpg', '/home/pi/Desktop/images/16122025/03/03/image_16122025_03_03_24_9832.jpg', '/home/pi/Desktop/images/16122025/03/03/image_16122025_03_03_44_9746.jpg', '/home/pi/Desktop/images/16122025/03/03/image_16122025_03_04_04_9608.jpg', '/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_15_10811.jpg', '/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_25_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/02/image_16122025_03_02_15_10611.jpg
/home/pi/Desktop/images/16122025/03/03/image_16122025_03_03_24_9832.jpg
/home/pi/Desktop/images/16122025/03/03/image_16122025_03_03_44_9746.jpg
/home/pi/Desktop/images/16122025/03/03/image_16122025_03_04_04_9608.jpg
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_15_10811.jpg
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_25_9954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588391","1399588393","1399588383","1399588386","1399588395","1399588397"],"photo_ids_order":["1399588383","1399588386","1399588391","1399588393","1399588395","1399588397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/329cab1bb309e692615cacde867b8e83.jpg","text":"TemporaryFile(/tmp/multipartBody2188263837994711998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850722727,"filename":"image_16122025_03_03_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14ad5217edd89143fb2c451a5aa3e009.jpg","text":"TemporaryFile(/tmp/multipartBody8292868747887825328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850722727,"filename":"image_16122025_03_04_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/16/0b3eb0b9de194fbb18dc4c1149ce5463.jpg","text":"TemporaryFile(/tmp/multipartBody2148222569269981100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850722727,"filename":"image_16122025_03_02_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/609d34fa90ab3965d509374911324016.jpg","text":"TemporaryFile(/tmp/multipartBody3339911134452727466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850722727,"filename":"image_16122025_03_03_24_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9a41e9ba7344ac0cbb3b0eccce41ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1479230851861663084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850722727,"filename":"image_16122025_03_04_15_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab97a48d41b0cda9e7325633a5bacd2e.jpg","text":"TemporaryFile(/tmp/multipartBody1967046236066066757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850722727,"filename":"image_16122025_03_04_25_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588391","file1":"1399588386","file0":"1399588383","file4":"1399588395","file5":"1399588397","file3":"1399588393"},"map_files_photo_id_array":[{"photo_id":"1399588397","filename":"file5"},{"photo_id":"1399588391","filename":"file2"},{"photo_id":"1399588395","filename":"file4"},{"photo_id":"1399588386","filename":"file1"},{"photo_id":"1399588383","filename":"file0"},{"photo_id":"1399588393","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588391":["hashtag1","hashtag2"]},{"1399588393":["hashtag1","hashtag2"]},{"1399588383":["hashtag1","hashtag2"]},{"1399588386":["hashtag1","hashtag2"]},{"1399588395":["hashtag1","hashtag2"]},{"1399588397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588391, 1399588393, 1399588383, 1399588386, 1399588395, 1399588397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.408589601516724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:05:02.912975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_34_9771.jpg', '/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_44_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_34_9771.jpg
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_44_9968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588404","1399588407"],"photo_ids_order":["1399588404","1399588407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57c14306174d1d1078ae30da1d8750ff.jpg","text":"TemporaryFile(/tmp/multipartBody5358681576470379415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850763440,"filename":"image_16122025_03_04_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a5bd9e5be0622696e09847f2d2ccc75.jpg","text":"TemporaryFile(/tmp/multipartBody7434890056180538997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850763440,"filename":"image_16122025_03_04_44_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399588407","file0":"1399588404"},"map_files_photo_id_array":[{"photo_id":"1399588407","filename":"file1"},{"photo_id":"1399588404","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588404":["hashtag1","hashtag2"]},{"1399588407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588404, 1399588407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.450625896453857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:05:22.140645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_54_9606.jpg', '/home/pi/Desktop/images/16122025/03/04/image_16122025_03_05_05_10837.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_15_9836.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_24_9693.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_34_9675.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_54_9606.jpg
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_05_05_10837.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_15_9836.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_24_9693.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_34_9675.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_45_10642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5190401077270508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:05:32.184086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:05:42.157134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_44_1612.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_46_1639.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_48_1596.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_49_1647.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_52_2707.jpg', '/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_56_3853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_44_1612.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_46_1639.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_48_1596.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_49_1647.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_52_2707.jpg
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_56_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":["1399588433","1399588435","1399588432","1399588429","1399588420","1399588434"],"photo_ids_order":["1399588420","1399588429","1399588432","1399588433","1399588434","1399588435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68a2e94fd768d1b094d4d916b957ad92.jpg","text":"TemporaryFile(/tmp/multipartBody1996134380709062775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850802862,"filename":"image_06112025_14_46_49_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/16/e1f6e8274a1e900105b3673daf527ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5207347503953490920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850802862,"filename":"image_06112025_14_46_56_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/16/c68cff69222d51c9064022c3c52bb1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6032659461259269526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850802862,"filename":"image_06112025_14_46_48_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/16/0e33738973d21ee6958815ef75d3a0fa.jpg","text":"TemporaryFile(/tmp/multipartBody6327326428626678141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850802862,"filename":"image_06112025_14_46_46_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/16/626421b82f798bdd51497588945dbab2.jpg","text":"TemporaryFile(/tmp/multipartBody3325695666554779623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850802862,"filename":"image_06112025_14_46_44_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/16/fe14e2ef1741ba9021fb839011b798dc.jpg","text":"TemporaryFile(/tmp/multipartBody2748330604268694231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850802862,"filename":"image_06112025_14_46_52_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588432","file1":"1399588429","file0":"1399588420","file4":"1399588434","file5":"1399588435","file3":"1399588433"},"map_files_photo_id_array":[{"photo_id":"1399588435","filename":"file5"},{"photo_id":"1399588432","filename":"file2"},{"photo_id":"1399588434","filename":"file4"},{"photo_id":"1399588429","filename":"file1"},{"photo_id":"1399588420","filename":"file0"},{"photo_id":"1399588433","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588433":["hashtag1","hashtag2"]},{"1399588435":["hashtag1","hashtag2"]},{"1399588432":["hashtag1","hashtag2"]},{"1399588429":["hashtag1","hashtag2"]},{"1399588420":["hashtag1","hashtag2"]},{"1399588434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588433, 1399588435, 1399588432, 1399588429, 1399588420, 1399588434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28352403640747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:06:22.428789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_54_9606.jpg', '/home/pi/Desktop/images/16122025/03/04/image_16122025_03_05_05_10837.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_15_9836.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_24_9693.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_34_9675.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_04_54_9606.jpg
/home/pi/Desktop/images/16122025/03/04/image_16122025_03_05_05_10837.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_15_9836.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_24_9693.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_34_9675.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_45_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588445","1399588456","1399588441","1399588450","1399588447","1399588458"],"photo_ids_order":["1399588441","1399588445","1399588447","1399588450","1399588456","1399588458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab550f0dfd135f0415e73cc1c3ab0a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8390064482896248757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850843088,"filename":"image_16122025_03_05_05_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e9ce10bb61a0b204fff56e3d389c6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8895216337850933198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850843088,"filename":"image_16122025_03_05_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/16/4df4dfab321464d51016d3e529ec776a.jpg","text":"TemporaryFile(/tmp/multipartBody5808857667578724585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850843088,"filename":"image_16122025_03_04_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/16/9915546f173c951bff3a8bdd3c4f0854.jpg","text":"TemporaryFile(/tmp/multipartBody6139756985316283527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850843088,"filename":"image_16122025_03_05_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/16/e0c76f19423fbc49fb05ddb90b44af1d.jpg","text":"TemporaryFile(/tmp/multipartBody8165430030798411763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850843088,"filename":"image_16122025_03_05_15_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/99524211d43bb102708e8d561b8a4c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1874504767566221063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850843088,"filename":"image_16122025_03_05_45_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588447","file1":"1399588445","file0":"1399588441","file4":"1399588456","file5":"1399588458","file3":"1399588450"},"map_files_photo_id_array":[{"photo_id":"1399588458","filename":"file5"},{"photo_id":"1399588447","filename":"file2"},{"photo_id":"1399588456","filename":"file4"},{"photo_id":"1399588445","filename":"file1"},{"photo_id":"1399588441","filename":"file0"},{"photo_id":"1399588450","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588445":["hashtag1","hashtag2"]},{"1399588456":["hashtag1","hashtag2"]},{"1399588441":["hashtag1","hashtag2"]},{"1399588450":["hashtag1","hashtag2"]},{"1399588447":["hashtag1","hashtag2"]},{"1399588458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588445, 1399588456, 1399588441, 1399588450, 1399588447, 1399588458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76973605155945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:07:03.412360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_54_9782.jpg', '/home/pi/Desktop/images/16122025/03/05/image_16122025_03_06_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_05_54_9782.jpg
/home/pi/Desktop/images/16122025/03/05/image_16122025_03_06_04_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588463","1399588465"],"photo_ids_order":["1399588463","1399588465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81b286e3415d212cad62cf5692bd08cd.jpg","text":"TemporaryFile(/tmp/multipartBody5586311933475921111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850883909,"filename":"image_16122025_03_05_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/16/82fda9ecf2b53fee1baf67cdc747c6b3.jpg","text":"TemporaryFile(/tmp/multipartBody1735785685372332342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850883909,"filename":"image_16122025_03_06_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399588465","file0":"1399588463"},"map_files_photo_id_array":[{"photo_id":"1399588465","filename":"file1"},{"photo_id":"1399588463","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588463":["hashtag1","hashtag2"]},{"1399588465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588463, 1399588465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.938074827194214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:07:22.566554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/06/image_16122025_03_06_34_9593.jpg', '/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_14_9909.jpg', '/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_24_9600.jpg', '/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/06/image_16122025_03_06_34_9593.jpg
/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_14_9909.jpg
/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_24_9600.jpg
/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_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":["1399588477","1399588470","1399588473","1399588475"],"photo_ids_order":["1399588470","1399588473","1399588475","1399588477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44f2ebb8b170c5939f4e2f4a31e61709.jpg","text":"TemporaryFile(/tmp/multipartBody6781109307471732008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850903110,"filename":"image_16122025_03_07_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/16/c70414ede9d1ab18d801c855a2476e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2756311243857461900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850903110,"filename":"image_16122025_03_06_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/16/cdeb0e0f2f36a47d1af8863cad6885c2.jpg","text":"TemporaryFile(/tmp/multipartBody6476420646798370292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850903110,"filename":"image_16122025_03_07_14_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75cbbfc0c42455152df559fcc39831f1.jpg","text":"TemporaryFile(/tmp/multipartBody944701029389910718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850903110,"filename":"image_16122025_03_07_24_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588475","file1":"1399588473","file0":"1399588470","file3":"1399588477"},"map_files_photo_id_array":[{"photo_id":"1399588475","filename":"file2"},{"photo_id":"1399588473","filename":"file1"},{"photo_id":"1399588470","filename":"file0"},{"photo_id":"1399588477","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588477":["hashtag1","hashtag2"]},{"1399588470":["hashtag1","hashtag2"]},{"1399588473":["hashtag1","hashtag2"]},{"1399588475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588477, 1399588470, 1399588473, 1399588475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.16590404510498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:08:02.306440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:08:11.822730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:08:21.899731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_54_9836.jpg', '/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_15_10733.jpg', '/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_34_9614.jpg', '/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/07/image_16122025_03_07_54_9836.jpg
/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_15_10733.jpg
/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_34_9614.jpg
/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_44_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588499","1399588490","1399588492","1399588485"],"photo_ids_order":["1399588485","1399588490","1399588492","1399588499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c83496573556919b1d4c6ac368325fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4982468151999842865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850962465,"filename":"image_16122025_03_08_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/16/2fe298c09211f4221962b9707a524d30.jpg","text":"TemporaryFile(/tmp/multipartBody8707990169295733453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850962465,"filename":"image_16122025_03_08_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/819a98ca620b1116a04d93f0933f1f10.jpg","text":"TemporaryFile(/tmp/multipartBody8438698082089375912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850962465,"filename":"image_16122025_03_08_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/16/997b7735431b543528b7be63f406985e.jpg","text":"TemporaryFile(/tmp/multipartBody1361059444929718686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765850962465,"filename":"image_16122025_03_07_54_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588492","file1":"1399588490","file0":"1399588485","file3":"1399588499"},"map_files_photo_id_array":[{"photo_id":"1399588492","filename":"file2"},{"photo_id":"1399588490","filename":"file1"},{"photo_id":"1399588485","filename":"file0"},{"photo_id":"1399588499","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588499":["hashtag1","hashtag2"]},{"1399588490":["hashtag1","hashtag2"]},{"1399588492":["hashtag1","hashtag2"]},{"1399588485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588499, 1399588490, 1399588492, 1399588485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.95540452003479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:09:03.000560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:09:12.195654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:09:22.185613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_55_10684.jpg', '/home/pi/Desktop/images/16122025/03/08/image_16122025_03_09_04_9763.jpg', '/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_14_9685.jpg', '/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_25_10660.jpg', '/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_44_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/08/image_16122025_03_08_55_10684.jpg
/home/pi/Desktop/images/16122025/03/08/image_16122025_03_09_04_9763.jpg
/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_14_9685.jpg
/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_25_10660.jpg
/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_44_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588523","1399588522","1399588516","1399588519","1399588513"],"photo_ids_order":["1399588513","1399588516","1399588519","1399588522","1399588523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9784db9d136b64f76362dba6f934b169.jpg","text":"TemporaryFile(/tmp/multipartBody4818601171087418543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851022797,"filename":"image_16122025_03_09_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/16/f5b485efa50b4361035d0c4ee81d55af.jpg","text":"TemporaryFile(/tmp/multipartBody2861432031504842289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851022797,"filename":"image_16122025_03_09_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce043a777d275fe226e395e762fcbdbb.jpg","text":"TemporaryFile(/tmp/multipartBody6965949281236437646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851022797,"filename":"image_16122025_03_09_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/16/c17f49eedcabc3c433ac4abb746ed484.jpg","text":"TemporaryFile(/tmp/multipartBody6612816714647328173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851022797,"filename":"image_16122025_03_09_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b67a9b5ee076c3985bac37b663e7f30f.jpg","text":"TemporaryFile(/tmp/multipartBody2068726676453942857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851022797,"filename":"image_16122025_03_08_55_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588519","file1":"1399588516","file0":"1399588513","file4":"1399588523","file3":"1399588522"},"map_files_photo_id_array":[{"photo_id":"1399588519","filename":"file2"},{"photo_id":"1399588523","filename":"file4"},{"photo_id":"1399588516","filename":"file1"},{"photo_id":"1399588513","filename":"file0"},{"photo_id":"1399588522","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588523":["hashtag1","hashtag2"]},{"1399588522":["hashtag1","hashtag2"]},{"1399588516":["hashtag1","hashtag2"]},{"1399588519":["hashtag1","hashtag2"]},{"1399588513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588523, 1399588522, 1399588516, 1399588519, 1399588513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.16742420196533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:10:02.917582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:10:12.456552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:10:22.449632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_54_9637.jpg', '/home/pi/Desktop/images/16122025/03/10/image_16122025_03_10_14_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/09/image_16122025_03_09_54_9637.jpg
/home/pi/Desktop/images/16122025/03/10/image_16122025_03_10_14_9745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588538","1399588536"],"photo_ids_order":["1399588536","1399588538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb8e0dbe3a1d7108b6973ab5253b40b2.jpg","text":"TemporaryFile(/tmp/multipartBody443519845278416772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851083336,"filename":"image_16122025_03_10_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bb5a9e7b2417d6958b319263293728a.jpg","text":"TemporaryFile(/tmp/multipartBody5982894619259463360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851083336,"filename":"image_16122025_03_09_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399588538","file0":"1399588536"},"map_files_photo_id_array":[{"photo_id":"1399588538","filename":"file1"},{"photo_id":"1399588536","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588538":["hashtag1","hashtag2"]},{"1399588536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588538, 1399588536)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 21.87512493133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:11:03.299061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:11:12.660578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:11:23.028454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/10/image_16122025_03_10_34_9648.jpg', '/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_14_9727.jpg', '/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_25_10723.jpg', '/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/10/image_16122025_03_10_34_9648.jpg
/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_14_9727.jpg
/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_25_10723.jpg
/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_34_9665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4269592761993408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:11:32.792078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:11:44.068863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_57_1580.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_08_10227.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_23_15149.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_26_3142.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_28_1644.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_41_13039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/46/image_06112025_14_46_57_1580.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_08_10227.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_23_15149.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_26_3142.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_28_1644.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_41_13039.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588577","1399588570","1399588576","1399588572","1399588575","1399588568"],"photo_ids_order":["1399588568","1399588570","1399588572","1399588575","1399588576","1399588577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92be8bef58a8fcf6733a9748d02df2df.jpg","text":"TemporaryFile(/tmp/multipartBody8239031842408598075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851164889,"filename":"image_06112025_14_47_41_13039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1490bddd4fefe9e93d5b57bf8c9dbb89.jpg","text":"TemporaryFile(/tmp/multipartBody769283108869360120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851164889,"filename":"image_06112025_14_47_08_10227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44e863ed6453d7b6c1c5d431d8c511a8.jpg","text":"TemporaryFile(/tmp/multipartBody5859042958565942764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851164889,"filename":"image_06112025_14_47_28_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/16/86b103fe9263828d65a453462c295bff.jpg","text":"TemporaryFile(/tmp/multipartBody3626920558537198862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851164889,"filename":"image_06112025_14_47_23_15149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e7aee28843ec2688e1a66123bb5654c.jpg","text":"TemporaryFile(/tmp/multipartBody8798680218108376151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851164889,"filename":"image_06112025_14_47_26_3142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab034c500ec804e04c5ab5a4b00576ab.jpg","text":"TemporaryFile(/tmp/multipartBody3643727335572481670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851164889,"filename":"image_06112025_14_46_57_1580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588572","file1":"1399588570","file0":"1399588568","file4":"1399588576","file5":"1399588577","file3":"1399588575"},"map_files_photo_id_array":[{"photo_id":"1399588577","filename":"file5"},{"photo_id":"1399588572","filename":"file2"},{"photo_id":"1399588576","filename":"file4"},{"photo_id":"1399588570","filename":"file1"},{"photo_id":"1399588568","filename":"file0"},{"photo_id":"1399588575","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588577":["hashtag1","hashtag2"]},{"1399588570":["hashtag1","hashtag2"]},{"1399588576":["hashtag1","hashtag2"]},{"1399588572":["hashtag1","hashtag2"]},{"1399588575":["hashtag1","hashtag2"]},{"1399588568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588577, 1399588570, 1399588576, 1399588572, 1399588575, 1399588568)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.61945199966431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:12:33.197323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:12:44.120019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_50_8969.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_51_1759.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_53_1570.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_55_1788.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_56_1622.jpg', '/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_58_1593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_50_8969.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_51_1759.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_53_1570.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_55_1788.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_56_1622.jpg
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_58_1593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588598","1399588613","1399588597","1399588596","1399588599","1399588605"],"photo_ids_order":["1399588596","1399588597","1399588598","1399588599","1399588605","1399588613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19b124796ffec4e943396031359fc327.jpg","text":"TemporaryFile(/tmp/multipartBody8888286922492280046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851227024,"filename":"image_06112025_14_47_53_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/16/1da50fe785aae98e6110d4aeeb8c5005.jpg","text":"TemporaryFile(/tmp/multipartBody4747597967104940254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851227024,"filename":"image_06112025_14_47_58_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/16/3ea97057452550d4ff543f635cc29185.jpg","text":"TemporaryFile(/tmp/multipartBody1689491395773697145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851227024,"filename":"image_06112025_14_47_51_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/16/9f5d98d4a495f8b85b9cbb8bbad423ae.jpg","text":"TemporaryFile(/tmp/multipartBody5204605118815682453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851227024,"filename":"image_06112025_14_47_50_8969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae0fd897bd5809a525c8725e56603e40.jpg","text":"TemporaryFile(/tmp/multipartBody430560709881336295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851227024,"filename":"image_06112025_14_47_55_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/16/b43f167fef49153ef3eea0fe697b4adb.jpg","text":"TemporaryFile(/tmp/multipartBody2273639758977864979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851227024,"filename":"image_06112025_14_47_56_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588598","file1":"1399588597","file0":"1399588596","file4":"1399588605","file5":"1399588613","file3":"1399588599"},"map_files_photo_id_array":[{"photo_id":"1399588613","filename":"file5"},{"photo_id":"1399588598","filename":"file2"},{"photo_id":"1399588605","filename":"file4"},{"photo_id":"1399588597","filename":"file1"},{"photo_id":"1399588596","filename":"file0"},{"photo_id":"1399588599","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588598":["hashtag1","hashtag2"]},{"1399588613":["hashtag1","hashtag2"]},{"1399588597":["hashtag1","hashtag2"]},{"1399588596":["hashtag1","hashtag2"]},{"1399588599":["hashtag1","hashtag2"]},{"1399588605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588598, 1399588613, 1399588597, 1399588596, 1399588599, 1399588605)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.783589363098145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:13:42.285236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_59_1561.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_01_1643.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_03_1601.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_04_1688.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_07_2223.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_08_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/47/image_06112025_14_47_59_1561.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_01_1643.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_03_1601.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_04_1688.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_07_2223.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_08_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588622","1399588625","1399588634","1399588633","1399588630","1399588624"],"photo_ids_order":["1399588622","1399588624","1399588625","1399588630","1399588633","1399588634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/678bf98424f768c789acfb0d761c2f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6902062586117166382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851283030,"filename":"image_06112025_14_47_59_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5e88d287475f40fe46979f1d7efdc30.jpg","text":"TemporaryFile(/tmp/multipartBody1726858359289004553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851283030,"filename":"image_06112025_14_48_03_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/16/cabaf0e425f81fa4d062b1844ac5367b.jpg","text":"TemporaryFile(/tmp/multipartBody4877412812776373014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851283030,"filename":"image_06112025_14_48_08_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d389d8bdde7f842885a03fa9105750f.jpg","text":"TemporaryFile(/tmp/multipartBody3118983311063755829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851283030,"filename":"image_06112025_14_48_07_2223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c253c7757232d800eef726ff528f731f.jpg","text":"TemporaryFile(/tmp/multipartBody7878096449022646550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851283030,"filename":"image_06112025_14_48_04_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/16/c0a79deb1df447a26cf4831ffac1a477.jpg","text":"TemporaryFile(/tmp/multipartBody4107185471244317317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851283030,"filename":"image_06112025_14_48_01_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588625","file1":"1399588624","file0":"1399588622","file4":"1399588633","file5":"1399588634","file3":"1399588630"},"map_files_photo_id_array":[{"photo_id":"1399588634","filename":"file5"},{"photo_id":"1399588625","filename":"file2"},{"photo_id":"1399588633","filename":"file4"},{"photo_id":"1399588624","filename":"file1"},{"photo_id":"1399588622","filename":"file0"},{"photo_id":"1399588630","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588622":["hashtag1","hashtag2"]},{"1399588625":["hashtag1","hashtag2"]},{"1399588634":["hashtag1","hashtag2"]},{"1399588633":["hashtag1","hashtag2"]},{"1399588630":["hashtag1","hashtag2"]},{"1399588624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588622, 1399588625, 1399588634, 1399588633, 1399588630, 1399588624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.384361267089844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:14:22.431214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/10/image_16122025_03_10_34_9648.jpg', '/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_14_9727.jpg', '/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_25_10723.jpg', '/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_34_9665.jpg', '/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_55_10601.jpg', '/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/10/image_16122025_03_10_34_9648.jpg
/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_14_9727.jpg
/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_25_10723.jpg
/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_34_9665.jpg
/home/pi/Desktop/images/16122025/03/11/image_16122025_03_11_55_10601.jpg
/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_14_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588655","1399588649","1399588664","1399588666","1399588644","1399588647"],"photo_ids_order":["1399588644","1399588647","1399588649","1399588655","1399588664","1399588666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9c8cf6c97ad48bbd553da2da38ea240.jpg","text":"TemporaryFile(/tmp/multipartBody4105731640496765682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851325977,"filename":"image_16122025_03_11_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1afced3622f6c7a32efc61ba5e7a7fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3597634372484462202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851325977,"filename":"image_16122025_03_11_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/16/f3d742cb2ff545442e7f132662d6ed7d.jpg","text":"TemporaryFile(/tmp/multipartBody6905163558926489413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851325977,"filename":"image_16122025_03_11_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/16/6600428cb34c0725d274c340e8c7053d.jpg","text":"TemporaryFile(/tmp/multipartBody9053044249525905676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851325977,"filename":"image_16122025_03_12_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/16/ccb13bc10d8c4683250e3be431e9c4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8362268676203539816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851325977,"filename":"image_16122025_03_10_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/16/d8e54a365b25c08ea7a11b2c25696134.jpg","text":"TemporaryFile(/tmp/multipartBody2109920636423456781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851325977,"filename":"image_16122025_03_11_14_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588649","file1":"1399588647","file0":"1399588644","file4":"1399588664","file5":"1399588666","file3":"1399588655"},"map_files_photo_id_array":[{"photo_id":"1399588666","filename":"file5"},{"photo_id":"1399588649","filename":"file2"},{"photo_id":"1399588664","filename":"file4"},{"photo_id":"1399588647","filename":"file1"},{"photo_id":"1399588644","filename":"file0"},{"photo_id":"1399588655","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588655":["hashtag1","hashtag2"]},{"1399588649":["hashtag1","hashtag2"]},{"1399588664":["hashtag1","hashtag2"]},{"1399588666":["hashtag1","hashtag2"]},{"1399588644":["hashtag1","hashtag2"]},{"1399588647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588655, 1399588649, 1399588664, 1399588666, 1399588644, 1399588647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.970744371414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:15:12.723031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:15:22.602834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_25_10612.jpg', '/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_34_9591.jpg', '/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_55_10764.jpg', '/home/pi/Desktop/images/16122025/03/13/image_16122025_03_13_14_9664.jpg', '/home/pi/Desktop/images/16122025/03/13/image_16122025_03_13_25_10599.jpg', '/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_25_10245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_25_10612.jpg
/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_34_9591.jpg
/home/pi/Desktop/images/16122025/03/12/image_16122025_03_12_55_10764.jpg
/home/pi/Desktop/images/16122025/03/13/image_16122025_03_13_14_9664.jpg
/home/pi/Desktop/images/16122025/03/13/image_16122025_03_13_25_10599.jpg
/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_25_10245.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588690","1399588687","1399588692","1399588689","1399588683","1399588685"],"photo_ids_order":["1399588683","1399588685","1399588687","1399588689","1399588690","1399588692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7af4622e3a1fac79648355091d5915b.jpg","text":"TemporaryFile(/tmp/multipartBody4931526932653736669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851383300,"filename":"image_16122025_03_13_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/debed3014cf5e504801e70451fe8c3e0.jpg","text":"TemporaryFile(/tmp/multipartBody7456341189811343939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851383300,"filename":"image_16122025_03_12_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/000f60b76c62ffd86b480a5b27832dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7373503296022304528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851383300,"filename":"image_16122025_03_14_25_10245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd579747879fc67d55f2b8696e23d2fa.jpg","text":"TemporaryFile(/tmp/multipartBody2549171691945394236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851383300,"filename":"image_16122025_03_13_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/16/8927a9505f146ade9e5ea2f42bfac8da.jpg","text":"TemporaryFile(/tmp/multipartBody6098193724762860955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851383300,"filename":"image_16122025_03_12_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7adaa8c37b64d4b0b29613d5132622a.jpg","text":"TemporaryFile(/tmp/multipartBody5842438795209769066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851383300,"filename":"image_16122025_03_12_34_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588687","file1":"1399588685","file0":"1399588683","file4":"1399588690","file5":"1399588692","file3":"1399588689"},"map_files_photo_id_array":[{"photo_id":"1399588692","filename":"file5"},{"photo_id":"1399588687","filename":"file2"},{"photo_id":"1399588690","filename":"file4"},{"photo_id":"1399588685","filename":"file1"},{"photo_id":"1399588683","filename":"file0"},{"photo_id":"1399588689","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588690":["hashtag1","hashtag2"]},{"1399588687":["hashtag1","hashtag2"]},{"1399588692":["hashtag1","hashtag2"]},{"1399588689":["hashtag1","hashtag2"]},{"1399588683":["hashtag1","hashtag2"]},{"1399588685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588690, 1399588687, 1399588692, 1399588689, 1399588683, 1399588685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29895853996277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:16:03.321964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_34_9571.jpg', '/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_44_9681.jpg', '/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_55_10748.jpg', '/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_14_9915.jpg', '/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_34_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_34_9571.jpg
/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_44_9681.jpg
/home/pi/Desktop/images/16122025/03/14/image_16122025_03_14_55_10748.jpg
/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_14_9915.jpg
/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_34_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":["1399588696","1399588700","1399588702","1399588698","1399588694"],"photo_ids_order":["1399588694","1399588696","1399588698","1399588700","1399588702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b37f9dcf4f61374152111d45a2426d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3259284289830659513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851423970,"filename":"image_16122025_03_14_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3cd9b520d38f589d98e1688dcc95702.jpg","text":"TemporaryFile(/tmp/multipartBody2561983833421747512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851423970,"filename":"image_16122025_03_15_14_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/16/4386770f8b1da8e78dacfb349f18da7c.jpg","text":"TemporaryFile(/tmp/multipartBody4059387135366050838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851423970,"filename":"image_16122025_03_15_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/16/5b3599703ef915341c6679c170e744e8.jpg","text":"TemporaryFile(/tmp/multipartBody2934640785435452774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851423970,"filename":"image_16122025_03_14_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/16/c42e9058fb3cd241ea0fcd70efe53506.jpg","text":"TemporaryFile(/tmp/multipartBody1426632508898341950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851423970,"filename":"image_16122025_03_14_34_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588698","file1":"1399588696","file0":"1399588694","file4":"1399588702","file3":"1399588700"},"map_files_photo_id_array":[{"photo_id":"1399588698","filename":"file2"},{"photo_id":"1399588702","filename":"file4"},{"photo_id":"1399588696","filename":"file1"},{"photo_id":"1399588694","filename":"file0"},{"photo_id":"1399588700","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588696":["hashtag1","hashtag2"]},{"1399588700":["hashtag1","hashtag2"]},{"1399588702":["hashtag1","hashtag2"]},{"1399588698":["hashtag1","hashtag2"]},{"1399588694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588696, 1399588700, 1399588702, 1399588698, 1399588694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.246325731277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:16:44.177974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_10_1690.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_14_4004.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_16_1786.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_17_1513.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_19_1619.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_22_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_10_1690.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_14_4004.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_16_1786.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_17_1513.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_19_1619.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_22_1719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588712","1399588715","1399588709","1399588714","1399588711","1399588713"],"photo_ids_order":["1399588709","1399588711","1399588712","1399588713","1399588714","1399588715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61f47933d2fb8288fa98f14306739c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3898988863791681551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851464877,"filename":"image_06112025_14_48_16_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b50592b449b15cad24f88e0ec655202e.jpg","text":"TemporaryFile(/tmp/multipartBody8091492544801612391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851464877,"filename":"image_06112025_14_48_22_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/16/fd4c5e274b2a2cecb5beea338148adbd.jpg","text":"TemporaryFile(/tmp/multipartBody7946526712131491459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851464877,"filename":"image_06112025_14_48_10_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/16/15bf61f3f09d5bd15afbb09767ad4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6825035519160138384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851464877,"filename":"image_06112025_14_48_19_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/16/4f34f4376c08348af6b55558f327478a.jpg","text":"TemporaryFile(/tmp/multipartBody1090529864922999640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851464877,"filename":"image_06112025_14_48_14_4004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e38d8263146e442d9ff4decb5d23a97.jpg","text":"TemporaryFile(/tmp/multipartBody971900987477144632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851464877,"filename":"image_06112025_14_48_17_1513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588712","file1":"1399588711","file0":"1399588709","file4":"1399588714","file5":"1399588715","file3":"1399588713"},"map_files_photo_id_array":[{"photo_id":"1399588715","filename":"file5"},{"photo_id":"1399588712","filename":"file2"},{"photo_id":"1399588714","filename":"file4"},{"photo_id":"1399588711","filename":"file1"},{"photo_id":"1399588709","filename":"file0"},{"photo_id":"1399588713","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588712":["hashtag1","hashtag2"]},{"1399588715":["hashtag1","hashtag2"]},{"1399588709":["hashtag1","hashtag2"]},{"1399588714":["hashtag1","hashtag2"]},{"1399588711":["hashtag1","hashtag2"]},{"1399588713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588712, 1399588715, 1399588709, 1399588714, 1399588711, 1399588713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81775093078613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:17:22.490125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_55_10635.jpg', '/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_24_10079.jpg', '/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_44_9648.jpg', '/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_55_10635.jpg
/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_24_10079.jpg
/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_44_9648.jpg
/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_55_10715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4990391731262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:17:32.526817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:17:42.511588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_24_1523.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_25_1680.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_28_2961.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_40_10265.jpg', '/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_55_14725.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_04_9041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_24_1523.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_25_1680.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_28_2961.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_40_10265.jpg
/home/pi/Desktop/images/06112025/14/48/image_06112025_14_48_55_14725.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_04_9041.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588730","1399588733","1399588732","1399588731","1399588734","1399588728"],"photo_ids_order":["1399588728","1399588730","1399588731","1399588732","1399588733","1399588734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a21e632fd67bd246b82baf4d780e1a65.jpg","text":"TemporaryFile(/tmp/multipartBody5623167446726347690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851523229,"filename":"image_06112025_14_48_25_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2fe29f0e37b2ea1e9b1d5baa2baec203.jpg","text":"TemporaryFile(/tmp/multipartBody1646783279097799701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851523229,"filename":"image_06112025_14_48_55_14725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccbe48cb965f6a631cfeb0316b85f568.jpg","text":"TemporaryFile(/tmp/multipartBody1776442424662609925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851523229,"filename":"image_06112025_14_48_40_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/16/df47f725b2ec02c5887aa7c4251aeb11.jpg","text":"TemporaryFile(/tmp/multipartBody4638399626625390025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851523229,"filename":"image_06112025_14_48_28_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/16/eeaa1f833733ecbde20dcff750a0df48.jpg","text":"TemporaryFile(/tmp/multipartBody4151509096828061588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851523229,"filename":"image_06112025_14_49_04_9041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6d73b76d8de6dffe66092846e6afddd.jpg","text":"TemporaryFile(/tmp/multipartBody3897889623470162264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851523229,"filename":"image_06112025_14_48_24_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588731","file1":"1399588730","file0":"1399588728","file4":"1399588733","file5":"1399588734","file3":"1399588732"},"map_files_photo_id_array":[{"photo_id":"1399588734","filename":"file5"},{"photo_id":"1399588731","filename":"file2"},{"photo_id":"1399588733","filename":"file4"},{"photo_id":"1399588730","filename":"file1"},{"photo_id":"1399588728","filename":"file0"},{"photo_id":"1399588732","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588730":["hashtag1","hashtag2"]},{"1399588733":["hashtag1","hashtag2"]},{"1399588732":["hashtag1","hashtag2"]},{"1399588731":["hashtag1","hashtag2"]},{"1399588734":["hashtag1","hashtag2"]},{"1399588728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588730, 1399588733, 1399588732, 1399588731, 1399588734, 1399588728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.862504720687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:18:22.835391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_55_10635.jpg', '/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_24_10079.jpg', '/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_44_9648.jpg', '/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_55_10715.jpg', '/home/pi/Desktop/images/16122025/03/17/image_16122025_03_17_34_9844.jpg', '/home/pi/Desktop/images/16122025/03/18/image_16122025_03_18_14_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/15/image_16122025_03_15_55_10635.jpg
/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_24_10079.jpg
/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_44_9648.jpg
/home/pi/Desktop/images/16122025/03/16/image_16122025_03_16_55_10715.jpg
/home/pi/Desktop/images/16122025/03/17/image_16122025_03_17_34_9844.jpg
/home/pi/Desktop/images/16122025/03/18/image_16122025_03_18_14_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588748","1399588750","1399588743","1399588752","1399588746","1399588740"],"photo_ids_order":["1399588740","1399588743","1399588746","1399588748","1399588750","1399588752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fee232d741b7f01c287fcb560f3444b.jpg","text":"TemporaryFile(/tmp/multipartBody2450287437647644240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851563507,"filename":"image_16122025_03_16_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/439f3b8a1c6eacdcf53b14644131797c.jpg","text":"TemporaryFile(/tmp/multipartBody6098685716194720542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851563507,"filename":"image_16122025_03_17_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/16/6032d6067dee3a8cd7bb38795fe48b46.jpg","text":"TemporaryFile(/tmp/multipartBody7676274407118115908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851563507,"filename":"image_16122025_03_16_24_10079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6da68aa30de544877d9ecf725506af3c.jpg","text":"TemporaryFile(/tmp/multipartBody6002010360341718355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851563507,"filename":"image_16122025_03_18_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/16/a9fdfaf9ec32c0ed863c500cd55f2328.jpg","text":"TemporaryFile(/tmp/multipartBody8604496408319727853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851563507,"filename":"image_16122025_03_16_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fee16e4f23303cf3b1dc71da71f79104.jpg","text":"TemporaryFile(/tmp/multipartBody1213691539282104744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851563507,"filename":"image_16122025_03_15_55_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588746","file1":"1399588743","file0":"1399588740","file4":"1399588750","file5":"1399588752","file3":"1399588748"},"map_files_photo_id_array":[{"photo_id":"1399588752","filename":"file5"},{"photo_id":"1399588746","filename":"file2"},{"photo_id":"1399588750","filename":"file4"},{"photo_id":"1399588743","filename":"file1"},{"photo_id":"1399588740","filename":"file0"},{"photo_id":"1399588748","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588748":["hashtag1","hashtag2"]},{"1399588750":["hashtag1","hashtag2"]},{"1399588743":["hashtag1","hashtag2"]},{"1399588752":["hashtag1","hashtag2"]},{"1399588746":["hashtag1","hashtag2"]},{"1399588740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588748, 1399588750, 1399588743, 1399588752, 1399588746, 1399588740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93676137924194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:19:02.956897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/18/image_16122025_03_18_24_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/18/image_16122025_03_18_24_9893.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588753"],"photo_id":"1399588753","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f335a3175759a3cc4bc7b691f180580.jpg","text":"TemporaryFile(/tmp/multipartBody5306415193402727172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851603447,"filename":"image_16122025_03_18_24_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399588753"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399588753"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.1782386302948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:19:22.136452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/18/image_16122025_03_18_45_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/18/image_16122025_03_18_45_10810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588758"],"photo_id":"1399588758","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2488afd02a68030745f9ed4776e074a9.jpg","text":"TemporaryFile(/tmp/multipartBody8685765917281908547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851622569,"filename":"image_16122025_03_18_45_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399588758"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399588758"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.991197109222412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:19:42.130571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_06_1687.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_07_1684.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_39_31527.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_41_1676.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_42_1732.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_44_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_06_1687.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_07_1684.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_39_31527.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_41_1676.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_42_1732.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_44_1599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588769","1399588765","1399588768","1399588770","1399588764","1399588767"],"photo_ids_order":["1399588764","1399588765","1399588767","1399588768","1399588769","1399588770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4599aac51a7f59a4b8641c98291415a8.jpg","text":"TemporaryFile(/tmp/multipartBody5403316755968640838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851642878,"filename":"image_06112025_14_49_42_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/16/5d8671051d059e1cd620167975ba33e3.jpg","text":"TemporaryFile(/tmp/multipartBody1900753439625742702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851642878,"filename":"image_06112025_14_49_07_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c7d87bd9ab0fedb558da5e425c84be2.jpg","text":"TemporaryFile(/tmp/multipartBody1028447743015146856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851642878,"filename":"image_06112025_14_49_41_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a23f0d6a34e3efab3243295f3570ca4b.jpg","text":"TemporaryFile(/tmp/multipartBody3358390929928316361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851642878,"filename":"image_06112025_14_49_44_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/16/eb42da4ca6412cf2e274f2219331209e.jpg","text":"TemporaryFile(/tmp/multipartBody1347845857655180059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851642878,"filename":"image_06112025_14_49_06_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/16/bd32f71a108e29d1bde1804c7f595abf.jpg","text":"TemporaryFile(/tmp/multipartBody4329132680366897448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851642878,"filename":"image_06112025_14_49_39_31527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588767","file1":"1399588765","file0":"1399588764","file4":"1399588769","file5":"1399588770","file3":"1399588768"},"map_files_photo_id_array":[{"photo_id":"1399588770","filename":"file5"},{"photo_id":"1399588767","filename":"file2"},{"photo_id":"1399588769","filename":"file4"},{"photo_id":"1399588765","filename":"file1"},{"photo_id":"1399588764","filename":"file0"},{"photo_id":"1399588768","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588769":["hashtag1","hashtag2"]},{"1399588765":["hashtag1","hashtag2"]},{"1399588768":["hashtag1","hashtag2"]},{"1399588770":["hashtag1","hashtag2"]},{"1399588764":["hashtag1","hashtag2"]},{"1399588767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588769, 1399588765, 1399588768, 1399588770, 1399588764, 1399588767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46832728385925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:20:22.378958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/19/image_16122025_03_19_34_10035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/19/image_16122025_03_19_34_10035.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588777"],"photo_id":"1399588777","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b222ad652a9f4f1ef19210a51dbe1331.jpg","text":"TemporaryFile(/tmp/multipartBody7221364173769053704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851682874,"filename":"image_16122025_03_19_34_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399588777"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399588777"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.747105836868286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:20:42.357449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_46_1588.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_47_1715.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_49_1737.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_51_1651.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_52_1546.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_54_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_46_1588.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_47_1715.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_49_1737.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_51_1651.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_52_1546.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_54_1720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588789","1399588786","1399588788","1399588790","1399588784","1399588787"],"photo_ids_order":["1399588784","1399588786","1399588787","1399588788","1399588789","1399588790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab05be200f044db201f077dbf45f4d7a.jpg","text":"TemporaryFile(/tmp/multipartBody463617754462136258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851703103,"filename":"image_06112025_14_49_52_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/16/f5b744341ba11cf30b518110e93b173f.jpg","text":"TemporaryFile(/tmp/multipartBody2432608513161197622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851703103,"filename":"image_06112025_14_49_47_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/16/bf59dc3babc233f4fab9ebf54a88098f.jpg","text":"TemporaryFile(/tmp/multipartBody1314652258239278769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851703103,"filename":"image_06112025_14_49_51_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/16/c1e0cee3cdd0ef1ac9a0fe1b566074fe.jpg","text":"TemporaryFile(/tmp/multipartBody3467583124498992995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851703103,"filename":"image_06112025_14_49_54_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f467aca0404106638ade5163f0e5650d.jpg","text":"TemporaryFile(/tmp/multipartBody2807974573759106184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851703103,"filename":"image_06112025_14_49_46_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcf612e9d9f8be2b412bc8053899d4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3841040903001148435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851703103,"filename":"image_06112025_14_49_49_1737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588787","file1":"1399588786","file0":"1399588784","file4":"1399588789","file5":"1399588790","file3":"1399588788"},"map_files_photo_id_array":[{"photo_id":"1399588790","filename":"file5"},{"photo_id":"1399588787","filename":"file2"},{"photo_id":"1399588789","filename":"file4"},{"photo_id":"1399588786","filename":"file1"},{"photo_id":"1399588784","filename":"file0"},{"photo_id":"1399588788","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588789":["hashtag1","hashtag2"]},{"1399588786":["hashtag1","hashtag2"]},{"1399588788":["hashtag1","hashtag2"]},{"1399588790":["hashtag1","hashtag2"]},{"1399588784":["hashtag1","hashtag2"]},{"1399588787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588789, 1399588786, 1399588788, 1399588790, 1399588784, 1399588787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.516918897628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:21:22.723236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 03:21:32.622163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:21:42.639717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_55_1541.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_57_1634.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_59_1669.jpg', '/home/pi/Desktop/images/06112025/14/49/image_06112025_14_50_00_1752.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_02_1537.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_04_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_55_1541.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_57_1634.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_49_59_1669.jpg
/home/pi/Desktop/images/06112025/14/49/image_06112025_14_50_00_1752.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_02_1537.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_04_1590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588805","1399588801","1399588804","1399588807","1399588806","1399588803"],"photo_ids_order":["1399588801","1399588803","1399588804","1399588805","1399588806","1399588807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff4eb550aa38af77ace48697a4e9b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody6703673075421196267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851763388,"filename":"image_06112025_14_50_00_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/16/1f0a8a11dbf1ecfd17caf694567f90d7.jpg","text":"TemporaryFile(/tmp/multipartBody5849170173945940178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851763388,"filename":"image_06112025_14_49_55_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/16/6fa9eed0e3088c0fddf46ec74af362a8.jpg","text":"TemporaryFile(/tmp/multipartBody7246875959189271493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851763388,"filename":"image_06112025_14_49_59_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/16/6c523f31a92e9e8e9fd6c0df17fae0c7.jpg","text":"TemporaryFile(/tmp/multipartBody7224433746079048254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851763388,"filename":"image_06112025_14_50_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/16/ba109967b607b02b09e7a0eac7d85763.jpg","text":"TemporaryFile(/tmp/multipartBody1713648583548041118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851763388,"filename":"image_06112025_14_50_02_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/16/f699ae0313fda001c1097cb717dbf9b7.jpg","text":"TemporaryFile(/tmp/multipartBody4439162658363729757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851763388,"filename":"image_06112025_14_49_57_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588804","file1":"1399588803","file0":"1399588801","file4":"1399588806","file5":"1399588807","file3":"1399588805"},"map_files_photo_id_array":[{"photo_id":"1399588807","filename":"file5"},{"photo_id":"1399588804","filename":"file2"},{"photo_id":"1399588806","filename":"file4"},{"photo_id":"1399588803","filename":"file1"},{"photo_id":"1399588801","filename":"file0"},{"photo_id":"1399588805","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588805":["hashtag1","hashtag2"]},{"1399588801":["hashtag1","hashtag2"]},{"1399588804":["hashtag1","hashtag2"]},{"1399588807":["hashtag1","hashtag2"]},{"1399588806":["hashtag1","hashtag2"]},{"1399588803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588805, 1399588801, 1399588804, 1399588807, 1399588806, 1399588803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87422037124634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:22:22.836758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/20/image_16122025_03_20_34_9692.jpg', '/home/pi/Desktop/images/16122025/03/21/image_16122025_03_21_24_9815.jpg', '/home/pi/Desktop/images/16122025/03/21/image_16122025_03_21_34_9958.jpg', '/home/pi/Desktop/images/16122025/03/21/image_16122025_03_21_44_9815.jpg', '/home/pi/Desktop/images/16122025/03/22/image_16122025_03_22_14_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/20/image_16122025_03_20_34_9692.jpg
/home/pi/Desktop/images/16122025/03/21/image_16122025_03_21_24_9815.jpg
/home/pi/Desktop/images/16122025/03/21/image_16122025_03_21_34_9958.jpg
/home/pi/Desktop/images/16122025/03/21/image_16122025_03_21_44_9815.jpg
/home/pi/Desktop/images/16122025/03/22/image_16122025_03_22_14_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":["1399588817","1399588813","1399588819","1399588821","1399588815"],"photo_ids_order":["1399588813","1399588815","1399588817","1399588819","1399588821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1271f65c62b1e28cd4f1178e138084b.jpg","text":"TemporaryFile(/tmp/multipartBody8646480036996633018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851803500,"filename":"image_16122025_03_21_34_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88965a80bea912c11ab0c82ad0b9375d.jpg","text":"TemporaryFile(/tmp/multipartBody1154036301855248178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851803500,"filename":"image_16122025_03_20_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/16/0b62e7e81c7330fa2702dda30e3b5184.jpg","text":"TemporaryFile(/tmp/multipartBody6086478213814155417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851803500,"filename":"image_16122025_03_21_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/16/08db3a6a9c046f94a35ef66df51924c2.jpg","text":"TemporaryFile(/tmp/multipartBody5396551046987973223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851803500,"filename":"image_16122025_03_22_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff1eae8b06be4abb76f6cd3761f9c11e.jpg","text":"TemporaryFile(/tmp/multipartBody3263784953796561038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851803500,"filename":"image_16122025_03_21_24_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588817","file1":"1399588815","file0":"1399588813","file4":"1399588821","file3":"1399588819"},"map_files_photo_id_array":[{"photo_id":"1399588817","filename":"file2"},{"photo_id":"1399588821","filename":"file4"},{"photo_id":"1399588815","filename":"file1"},{"photo_id":"1399588813","filename":"file0"},{"photo_id":"1399588819","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588817":["hashtag1","hashtag2"]},{"1399588813":["hashtag1","hashtag2"]},{"1399588819":["hashtag1","hashtag2"]},{"1399588821":["hashtag1","hashtag2"]},{"1399588815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588817, 1399588813, 1399588819, 1399588821, 1399588815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.56386709213257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:23:02.631058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:23:11.989235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:23:22.121061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/22/image_16122025_03_22_55_10007.jpg', '/home/pi/Desktop/images/16122025/03/22/image_16122025_03_23_04_9666.jpg', '/home/pi/Desktop/images/16122025/03/23/image_16122025_03_23_35_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/22/image_16122025_03_22_55_10007.jpg
/home/pi/Desktop/images/16122025/03/22/image_16122025_03_23_04_9666.jpg
/home/pi/Desktop/images/16122025/03/23/image_16122025_03_23_35_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588829","1399588831","1399588827"],"photo_ids_order":["1399588827","1399588829","1399588831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d02c6e9b60ce5bcb7575c2405934407.jpg","text":"TemporaryFile(/tmp/multipartBody5547476196993385309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851862649,"filename":"image_16122025_03_23_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea50602d7be9e308b88cd1d7a5457287.jpg","text":"TemporaryFile(/tmp/multipartBody887997675129958665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851862649,"filename":"image_16122025_03_23_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3e34a0917b81a940651258cd98bbb5b.jpg","text":"TemporaryFile(/tmp/multipartBody4319852388910388961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851862649,"filename":"image_16122025_03_22_55_10007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588831","file1":"1399588829","file0":"1399588827"},"map_files_photo_id_array":[{"photo_id":"1399588831","filename":"file2"},{"photo_id":"1399588829","filename":"file1"},{"photo_id":"1399588827","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588829":["hashtag1","hashtag2"]},{"1399588831":["hashtag1","hashtag2"]},{"1399588827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588829, 1399588831, 1399588827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.716068744659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:24:02.907076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:24:12.245068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:24:22.211349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/23/image_16122025_03_23_54_9905.jpg', '/home/pi/Desktop/images/16122025/03/23/image_16122025_03_24_04_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/23/image_16122025_03_23_54_9905.jpg
/home/pi/Desktop/images/16122025/03/23/image_16122025_03_24_04_9832.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588846","1399588849"],"photo_ids_order":["1399588846","1399588849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e6198719efc7f3e5270e6aa6743edc2.jpg","text":"TemporaryFile(/tmp/multipartBody3318583269614330285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851922703,"filename":"image_16122025_03_23_54_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95653c4d6ab4d962b57b4727a50412ad.jpg","text":"TemporaryFile(/tmp/multipartBody3898876159626034599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851922703,"filename":"image_16122025_03_24_04_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399588849","file0":"1399588846"},"map_files_photo_id_array":[{"photo_id":"1399588849","filename":"file1"},{"photo_id":"1399588846","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588846":["hashtag1","hashtag2"]},{"1399588849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588846, 1399588849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.31540608406067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:24:42.314800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_05_1643.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_07_1521.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_08_1608.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_10_1670.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_12_1598.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_13_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_05_1643.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_07_1521.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_08_1608.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_10_1670.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_12_1598.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_13_1552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588859","1399588858","1399588861","1399588855","1399588860","1399588857"],"photo_ids_order":["1399588855","1399588857","1399588858","1399588859","1399588860","1399588861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0577c0b881aa8b254db5ff7e5d7491d.jpg","text":"TemporaryFile(/tmp/multipartBody3178212626547379535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851943025,"filename":"image_06112025_14_50_10_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe8e075ca990b53723bf782498aa3ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4866158066350369650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851943025,"filename":"image_06112025_14_50_08_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66512b9116a7627aaab935cadfc44184.jpg","text":"TemporaryFile(/tmp/multipartBody388486354853000085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851943025,"filename":"image_06112025_14_50_13_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/16/10d756ce54b3e2a34b29a551559f12b4.jpg","text":"TemporaryFile(/tmp/multipartBody6395046667217301041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851943025,"filename":"image_06112025_14_50_05_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/16/62e0e0947732f5fd93b7c99ebda0018d.jpg","text":"TemporaryFile(/tmp/multipartBody2227523375807000636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851943025,"filename":"image_06112025_14_50_12_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/16/95da0df3f6415f814f87fb4507292852.jpg","text":"TemporaryFile(/tmp/multipartBody2572922495622574265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765851943025,"filename":"image_06112025_14_50_07_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588858","file1":"1399588857","file0":"1399588855","file4":"1399588860","file5":"1399588861","file3":"1399588859"},"map_files_photo_id_array":[{"photo_id":"1399588861","filename":"file5"},{"photo_id":"1399588858","filename":"file2"},{"photo_id":"1399588860","filename":"file4"},{"photo_id":"1399588857","filename":"file1"},{"photo_id":"1399588855","filename":"file0"},{"photo_id":"1399588859","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588859":["hashtag1","hashtag2"]},{"1399588858":["hashtag1","hashtag2"]},{"1399588861":["hashtag1","hashtag2"]},{"1399588855":["hashtag1","hashtag2"]},{"1399588860":["hashtag1","hashtag2"]},{"1399588857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588859, 1399588858, 1399588861, 1399588855, 1399588860, 1399588857)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.74080419540405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:25:32.574606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:25:42.505366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_15_1615.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_21_5793.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_32_11760.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_34_1593.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_36_1632.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_37_1488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_15_1615.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_21_5793.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_32_11760.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_34_1593.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_36_1632.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_37_1488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588874","1399588877","1399588876","1399588873","1399588875","1399588871"],"photo_ids_order":["1399588871","1399588873","1399588874","1399588875","1399588876","1399588877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9079f1d4c7b64e3084249d984c45863b.jpg","text":"TemporaryFile(/tmp/multipartBody8422974603170530944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852003206,"filename":"image_06112025_14_50_32_11760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b0d589c0b01783f27679a79f0ea6e3d.jpg","text":"TemporaryFile(/tmp/multipartBody4612867255107035652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852003206,"filename":"image_06112025_14_50_37_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/16/588a853faff0f97dc972b9a91819360c.jpg","text":"TemporaryFile(/tmp/multipartBody3742855319847797439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852003206,"filename":"image_06112025_14_50_36_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26a943e8a1ad834607de88760c97770b.jpg","text":"TemporaryFile(/tmp/multipartBody3959398958869837638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852003206,"filename":"image_06112025_14_50_21_5793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22b21cf6b005da3abb9ee4051da0a2be.jpg","text":"TemporaryFile(/tmp/multipartBody3341668608985683240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852003206,"filename":"image_06112025_14_50_34_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/16/6237c5e35e1b36469fa57e2b4de9e183.jpg","text":"TemporaryFile(/tmp/multipartBody4148344469890337982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852003206,"filename":"image_06112025_14_50_15_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588874","file1":"1399588873","file0":"1399588871","file4":"1399588876","file5":"1399588877","file3":"1399588875"},"map_files_photo_id_array":[{"photo_id":"1399588877","filename":"file5"},{"photo_id":"1399588874","filename":"file2"},{"photo_id":"1399588876","filename":"file4"},{"photo_id":"1399588873","filename":"file1"},{"photo_id":"1399588871","filename":"file0"},{"photo_id":"1399588875","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588874":["hashtag1","hashtag2"]},{"1399588877":["hashtag1","hashtag2"]},{"1399588876":["hashtag1","hashtag2"]},{"1399588873":["hashtag1","hashtag2"]},{"1399588875":["hashtag1","hashtag2"]},{"1399588871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588874, 1399588877, 1399588876, 1399588873, 1399588875, 1399588871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43732404708862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:26:22.764601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/24/image_16122025_03_24_14_9699.jpg', '/home/pi/Desktop/images/16122025/03/25/image_16122025_03_25_14_9579.jpg', '/home/pi/Desktop/images/16122025/03/25/image_16122025_03_25_34_9694.jpg', '/home/pi/Desktop/images/16122025/03/25/image_16122025_03_25_54_9752.jpg', '/home/pi/Desktop/images/16122025/03/26/image_16122025_03_26_25_10730.jpg', '/home/pi/Desktop/images/16122025/03/26/image_16122025_03_26_45_10099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/24/image_16122025_03_24_14_9699.jpg
/home/pi/Desktop/images/16122025/03/25/image_16122025_03_25_14_9579.jpg
/home/pi/Desktop/images/16122025/03/25/image_16122025_03_25_34_9694.jpg
/home/pi/Desktop/images/16122025/03/25/image_16122025_03_25_54_9752.jpg
/home/pi/Desktop/images/16122025/03/26/image_16122025_03_26_25_10730.jpg
/home/pi/Desktop/images/16122025/03/26/image_16122025_03_26_45_10099.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588889","1399588891","1399588885","1399588893","1399588887","1399588883"],"photo_ids_order":["1399588883","1399588885","1399588887","1399588889","1399588891","1399588893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/63b22e648d5b19d4fefa9c4dcfb577ae.jpg","text":"TemporaryFile(/tmp/multipartBody1085667512249596341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852043440,"filename":"image_16122025_03_25_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/16/8815cd03442bfdbf1504b0f988ef1388.jpg","text":"TemporaryFile(/tmp/multipartBody4867948964881728414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852043440,"filename":"image_16122025_03_26_25_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/937155548b8d3102b1deb13e24525e50.jpg","text":"TemporaryFile(/tmp/multipartBody5464069714106040353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852043440,"filename":"image_16122025_03_25_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/16/5295494359d3f6b50c7f7d6a8b6d6912.jpg","text":"TemporaryFile(/tmp/multipartBody3888977064279053216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852043440,"filename":"image_16122025_03_26_45_10099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ea4a54e7977b337f8ab9424ee1a20c6.jpg","text":"TemporaryFile(/tmp/multipartBody7656438995999590645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852043440,"filename":"image_16122025_03_25_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f1701b367efef847720754c55f5da9d.jpg","text":"TemporaryFile(/tmp/multipartBody7580161657459624656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852043440,"filename":"image_16122025_03_24_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588887","file1":"1399588885","file0":"1399588883","file4":"1399588891","file5":"1399588893","file3":"1399588889"},"map_files_photo_id_array":[{"photo_id":"1399588893","filename":"file5"},{"photo_id":"1399588887","filename":"file2"},{"photo_id":"1399588891","filename":"file4"},{"photo_id":"1399588885","filename":"file1"},{"photo_id":"1399588883","filename":"file0"},{"photo_id":"1399588889","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588889":["hashtag1","hashtag2"]},{"1399588891":["hashtag1","hashtag2"]},{"1399588885":["hashtag1","hashtag2"]},{"1399588893":["hashtag1","hashtag2"]},{"1399588887":["hashtag1","hashtag2"]},{"1399588883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588889, 1399588891, 1399588885, 1399588893, 1399588887, 1399588883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32178521156311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:27:02.708307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:27:11.984058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:27:22.018897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/26/image_16122025_03_26_54_9411.jpg', '/home/pi/Desktop/images/16122025/03/26/image_16122025_03_27_04_9951.jpg', '/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_15_10687.jpg', '/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_24_9790.jpg', '/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_34_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/26/image_16122025_03_26_54_9411.jpg
/home/pi/Desktop/images/16122025/03/26/image_16122025_03_27_04_9951.jpg
/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_15_10687.jpg
/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_24_9790.jpg
/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_34_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588904","1399588906","1399588908","1399588898","1399588902"],"photo_ids_order":["1399588898","1399588902","1399588904","1399588906","1399588908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c8c8cc515697a564a2408d496b13bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4595454342434369810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852102641,"filename":"image_16122025_03_27_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cc24d8fd704b3c84b052f71cc79b79b.jpg","text":"TemporaryFile(/tmp/multipartBody1733854790352063491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852102641,"filename":"image_16122025_03_27_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10d82724545eac12f4d38bfe82995cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4273938181328433532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852102641,"filename":"image_16122025_03_27_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d7f9abf2dd2b3290cd098f30089fbce.jpg","text":"TemporaryFile(/tmp/multipartBody3929910364704987038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852102641,"filename":"image_16122025_03_26_54_9411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d88a5e291ea935f081eef0d815520a5.jpg","text":"TemporaryFile(/tmp/multipartBody7916291839272933662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852102641,"filename":"image_16122025_03_27_04_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588904","file1":"1399588902","file0":"1399588898","file4":"1399588908","file3":"1399588906"},"map_files_photo_id_array":[{"photo_id":"1399588904","filename":"file2"},{"photo_id":"1399588908","filename":"file4"},{"photo_id":"1399588902","filename":"file1"},{"photo_id":"1399588898","filename":"file0"},{"photo_id":"1399588906","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588904":["hashtag1","hashtag2"]},{"1399588906":["hashtag1","hashtag2"]},{"1399588908":["hashtag1","hashtag2"]},{"1399588898":["hashtag1","hashtag2"]},{"1399588902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588904, 1399588906, 1399588908, 1399588898, 1399588902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.98293972015381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:28:02.713701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:28:12.145809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:28:22.217600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_54_9751.jpg', '/home/pi/Desktop/images/16122025/03/27/image_16122025_03_28_04_9942.jpg', '/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_15_10763.jpg', '/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_24_9757.jpg', '/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_34_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/27/image_16122025_03_27_54_9751.jpg
/home/pi/Desktop/images/16122025/03/27/image_16122025_03_28_04_9942.jpg
/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_15_10763.jpg
/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_24_9757.jpg
/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_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":["1399588919","1399588921","1399588923","1399588917","1399588914"],"photo_ids_order":["1399588914","1399588917","1399588919","1399588921","1399588923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2cc5954f9ba952865613013ba8379e38.jpg","text":"TemporaryFile(/tmp/multipartBody2155538490553415921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852162844,"filename":"image_16122025_03_28_15_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/16/65d63ea8a4d2407829af8c2efafaba67.jpg","text":"TemporaryFile(/tmp/multipartBody1571780530568941329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852162844,"filename":"image_16122025_03_28_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/16/2f390fd473be25674a94931bab8c7762.jpg","text":"TemporaryFile(/tmp/multipartBody3471482142271996066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852162844,"filename":"image_16122025_03_28_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/16/816fe67a4e50a8e98fae77a19d942d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8366160698317206070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852162844,"filename":"image_16122025_03_28_04_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ea5b0f721132d6a316eb9c17d8acd6a.jpg","text":"TemporaryFile(/tmp/multipartBody5361002210796097934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852162844,"filename":"image_16122025_03_27_54_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588919","file1":"1399588917","file0":"1399588914","file4":"1399588923","file3":"1399588921"},"map_files_photo_id_array":[{"photo_id":"1399588919","filename":"file2"},{"photo_id":"1399588923","filename":"file4"},{"photo_id":"1399588917","filename":"file1"},{"photo_id":"1399588914","filename":"file0"},{"photo_id":"1399588921","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588919":["hashtag1","hashtag2"]},{"1399588921":["hashtag1","hashtag2"]},{"1399588923":["hashtag1","hashtag2"]},{"1399588917":["hashtag1","hashtag2"]},{"1399588914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588919, 1399588921, 1399588923, 1399588917, 1399588914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.03001618385315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:29:03.448765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:29:12.552463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:29:22.576374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_45_10718.jpg', '/home/pi/Desktop/images/16122025/03/28/image_16122025_03_29_04_9826.jpg', '/home/pi/Desktop/images/16122025/03/29/image_16122025_03_29_14_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/28/image_16122025_03_28_45_10718.jpg
/home/pi/Desktop/images/16122025/03/28/image_16122025_03_29_04_9826.jpg
/home/pi/Desktop/images/16122025/03/29/image_16122025_03_29_14_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588935","1399588932","1399588929"],"photo_ids_order":["1399588929","1399588932","1399588935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e32632b31fcfcfad839b937ea9b2d824.jpg","text":"TemporaryFile(/tmp/multipartBody3356704295433285202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852223125,"filename":"image_16122025_03_29_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb288924ddd9da3a1da9c44ec857645b.jpg","text":"TemporaryFile(/tmp/multipartBody3795155743926997876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852223125,"filename":"image_16122025_03_29_04_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f2c3e67c58fcbcb21ccb55f95913bb7.jpg","text":"TemporaryFile(/tmp/multipartBody8493478116459685267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852223125,"filename":"image_16122025_03_28_45_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588935","file1":"1399588932","file0":"1399588929"},"map_files_photo_id_array":[{"photo_id":"1399588935","filename":"file2"},{"photo_id":"1399588932","filename":"file1"},{"photo_id":"1399588929","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588935":["hashtag1","hashtag2"]},{"1399588932":["hashtag1","hashtag2"]},{"1399588929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588935, 1399588932, 1399588929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.674567222595215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:30:03.138502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:30:12.748977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:30:22.718933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/29/image_16122025_03_29_24_9753.jpg', '/home/pi/Desktop/images/16122025/03/29/image_16122025_03_30_04_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/29/image_16122025_03_29_24_9753.jpg
/home/pi/Desktop/images/16122025/03/29/image_16122025_03_30_04_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588946","1399588948"],"photo_ids_order":["1399588946","1399588948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc9205c5c41c2c11301fb4e711352179.jpg","text":"TemporaryFile(/tmp/multipartBody4014665112974745055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852283210,"filename":"image_16122025_03_29_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/16/f8ccb9a741e0d2ed6cae9c9f69d38b67.jpg","text":"TemporaryFile(/tmp/multipartBody4872513404956158928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852283210,"filename":"image_16122025_03_30_04_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399588948","file0":"1399588946"},"map_files_photo_id_array":[{"photo_id":"1399588948","filename":"file1"},{"photo_id":"1399588946","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588946":["hashtag1","hashtag2"]},{"1399588948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588946, 1399588948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.276739835739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:30:42.720698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_45_8017.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_47_1578.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_48_1644.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_50_1581.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_52_1717.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_53_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_45_8017.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_47_1578.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_48_1644.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_50_1581.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_52_1717.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_53_1536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588960","1399588957","1399588954","1399588956","1399588959","1399588958"],"photo_ids_order":["1399588954","1399588956","1399588957","1399588958","1399588959","1399588960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7393011daa3fcc1d99664a13271d8996.jpg","text":"TemporaryFile(/tmp/multipartBody6467147347587124680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852303420,"filename":"image_06112025_14_50_53_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/16/7f55be45abfd468e672845b20b8cfc8c.jpg","text":"TemporaryFile(/tmp/multipartBody6802729830154818873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852303420,"filename":"image_06112025_14_50_48_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/16/05db15f91159e82366dcb29aac2c3491.jpg","text":"TemporaryFile(/tmp/multipartBody3746816262917434491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852303420,"filename":"image_06112025_14_50_45_8017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ea2d1624ab05bddd79b1fe6908d170b.jpg","text":"TemporaryFile(/tmp/multipartBody7222875189197956212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852303420,"filename":"image_06112025_14_50_47_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/16/04dca27561c9357539f22a43da57c9c3.jpg","text":"TemporaryFile(/tmp/multipartBody528140874705588004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852303420,"filename":"image_06112025_14_50_52_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/16/e052edc41d06dbdaa2398e93fcac976c.jpg","text":"TemporaryFile(/tmp/multipartBody558962618824543591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852303420,"filename":"image_06112025_14_50_50_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588957","file1":"1399588956","file0":"1399588954","file4":"1399588959","file5":"1399588960","file3":"1399588958"},"map_files_photo_id_array":[{"photo_id":"1399588960","filename":"file5"},{"photo_id":"1399588957","filename":"file2"},{"photo_id":"1399588959","filename":"file4"},{"photo_id":"1399588956","filename":"file1"},{"photo_id":"1399588954","filename":"file0"},{"photo_id":"1399588958","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399588960":["hashtag1","hashtag2"]},{"1399588957":["hashtag1","hashtag2"]},{"1399588954":["hashtag1","hashtag2"]},{"1399588956":["hashtag1","hashtag2"]},{"1399588959":["hashtag1","hashtag2"]},{"1399588958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399588960, 1399588957, 1399588954, 1399588956, 1399588959, 1399588958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05440068244934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:31:21.976500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/30/image_16122025_03_30_55_10700.jpg', '/home/pi/Desktop/images/16122025/03/30/image_16122025_03_31_05_9908.jpg', '/home/pi/Desktop/images/16122025/03/31/image_16122025_03_31_24_9693.jpg', '/home/pi/Desktop/images/16122025/03/31/image_16122025_03_31_34_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/30/image_16122025_03_30_55_10700.jpg
/home/pi/Desktop/images/16122025/03/30/image_16122025_03_31_05_9908.jpg
/home/pi/Desktop/images/16122025/03/31/image_16122025_03_31_24_9693.jpg
/home/pi/Desktop/images/16122025/03/31/image_16122025_03_31_34_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":["1399588967","1399588971","1399588965","1399588970"],"photo_ids_order":["1399588965","1399588967","1399588970","1399588971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4367426cb54b24f9eb856fbbfb6f75c.jpg","text":"TemporaryFile(/tmp/multipartBody6388570272623869242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852342606,"filename":"image_16122025_03_31_05_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b18ba65ec0d19dacd90eed3cba7cc43.jpg","text":"TemporaryFile(/tmp/multipartBody2599852040352632230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852342606,"filename":"image_16122025_03_31_34_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21bf5ed446f0e23d6aa7570654b0b3c3.jpg","text":"TemporaryFile(/tmp/multipartBody1503240000030115781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852342606,"filename":"image_16122025_03_30_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/16/2a4d54cd34aa826080c20093ce24b318.jpg","text":"TemporaryFile(/tmp/multipartBody5440516112109344078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852342606,"filename":"image_16122025_03_31_24_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588970","file1":"1399588967","file0":"1399588965","file3":"1399588971"},"map_files_photo_id_array":[{"photo_id":"1399588970","filename":"file2"},{"photo_id":"1399588967","filename":"file1"},{"photo_id":"1399588965","filename":"file0"},{"photo_id":"1399588971","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588967":["hashtag1","hashtag2"]},{"1399588971":["hashtag1","hashtag2"]},{"1399588965":["hashtag1","hashtag2"]},{"1399588970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588967, 1399588971, 1399588965, 1399588970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.398768186569214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:32:02.638015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:32:12.125201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:32:22.225195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/31/image_16122025_03_31_55_10787.jpg', '/home/pi/Desktop/images/16122025/03/31/image_16122025_03_32_04_9772.jpg', '/home/pi/Desktop/images/16122025/03/32/image_16122025_03_32_14_9772.jpg', '/home/pi/Desktop/images/16122025/03/32/image_16122025_03_32_24_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/31/image_16122025_03_31_55_10787.jpg
/home/pi/Desktop/images/16122025/03/31/image_16122025_03_32_04_9772.jpg
/home/pi/Desktop/images/16122025/03/32/image_16122025_03_32_14_9772.jpg
/home/pi/Desktop/images/16122025/03/32/image_16122025_03_32_24_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588987","1399588982","1399588985","1399588979"],"photo_ids_order":["1399588979","1399588982","1399588985","1399588987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c99d39af173fe7741674c82d4bb339b.jpg","text":"TemporaryFile(/tmp/multipartBody1884727134208039219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852402798,"filename":"image_16122025_03_32_24_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f2ebcfd642e7116dfa844348395c183.jpg","text":"TemporaryFile(/tmp/multipartBody1300340615126463755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852402798,"filename":"image_16122025_03_32_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/853738215ed0141be89ab4b35cbc129e.jpg","text":"TemporaryFile(/tmp/multipartBody7933954724220815235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852402798,"filename":"image_16122025_03_32_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/16/3c0182175d5770253442ccf173cfaa67.jpg","text":"TemporaryFile(/tmp/multipartBody5143824243992558733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852402798,"filename":"image_16122025_03_31_55_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399588985","file1":"1399588982","file0":"1399588979","file3":"1399588987"},"map_files_photo_id_array":[{"photo_id":"1399588985","filename":"file2"},{"photo_id":"1399588982","filename":"file1"},{"photo_id":"1399588979","filename":"file0"},{"photo_id":"1399588987","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399588987":["hashtag1","hashtag2"]},{"1399588982":["hashtag1","hashtag2"]},{"1399588985":["hashtag1","hashtag2"]},{"1399588979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399588987, 1399588982, 1399588985, 1399588979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.85141348838806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:33:03.169632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:33:12.532940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:33:22.578743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/32/image_16122025_03_32_35_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/32/image_16122025_03_32_35_10792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399588995"],"photo_id":"1399588995","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca5ece034d3f04bcef80504d45624924.jpg","text":"TemporaryFile(/tmp/multipartBody2015361186509992134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852463014,"filename":"image_16122025_03_32_35_10792.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399588995"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399588995"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.70864486694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:33:42.480320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_55_1619.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_56_1526.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_58_1681.jpg', '/home/pi/Desktop/images/06112025/14/50/image_06112025_14_51_00_1595.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_01_1576.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_03_1806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_55_1619.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_56_1526.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_50_58_1681.jpg
/home/pi/Desktop/images/06112025/14/50/image_06112025_14_51_00_1595.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_01_1576.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_03_1806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589006","1399589005","1399589008","1399589002","1399589004","1399589007"],"photo_ids_order":["1399589002","1399589004","1399589005","1399589006","1399589007","1399589008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66976b42db66b8606f275587693943a2.jpg","text":"TemporaryFile(/tmp/multipartBody6897891452332496304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852483183,"filename":"image_06112025_14_51_00_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/16/e353a27387323b71c8b567da73a5ddc0.jpg","text":"TemporaryFile(/tmp/multipartBody1253934711090373376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852483183,"filename":"image_06112025_14_50_58_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5255a7ea7a01b5f388aca02175ab45d1.jpg","text":"TemporaryFile(/tmp/multipartBody6760312800471478405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852483183,"filename":"image_06112025_14_51_03_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb5d47920b5b636e98ccc3ecd9aba996.jpg","text":"TemporaryFile(/tmp/multipartBody1481736405342100887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852483183,"filename":"image_06112025_14_50_55_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/16/d64f17a987bfd47d26da952049dca4fd.jpg","text":"TemporaryFile(/tmp/multipartBody7891881751270569584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852483183,"filename":"image_06112025_14_50_56_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b13b280a3c8d8c02a889f370dcb014eb.jpg","text":"TemporaryFile(/tmp/multipartBody3657798930242938347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852483183,"filename":"image_06112025_14_51_01_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589005","file1":"1399589004","file0":"1399589002","file4":"1399589007","file5":"1399589008","file3":"1399589006"},"map_files_photo_id_array":[{"photo_id":"1399589008","filename":"file5"},{"photo_id":"1399589005","filename":"file2"},{"photo_id":"1399589007","filename":"file4"},{"photo_id":"1399589004","filename":"file1"},{"photo_id":"1399589002","filename":"file0"},{"photo_id":"1399589006","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589006":["hashtag1","hashtag2"]},{"1399589005":["hashtag1","hashtag2"]},{"1399589008":["hashtag1","hashtag2"]},{"1399589002":["hashtag1","hashtag2"]},{"1399589004":["hashtag1","hashtag2"]},{"1399589007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589006, 1399589005, 1399589008, 1399589002, 1399589004, 1399589007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.331364154815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:34:22.822738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/33/image_16122025_03_33_44_9949.jpg', '/home/pi/Desktop/images/16122025/03/33/image_16122025_03_34_05_10785.jpg', '/home/pi/Desktop/images/16122025/03/34/image_16122025_03_34_24_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/33/image_16122025_03_33_44_9949.jpg
/home/pi/Desktop/images/16122025/03/33/image_16122025_03_34_05_10785.jpg
/home/pi/Desktop/images/16122025/03/34/image_16122025_03_34_24_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589018","1399589016","1399589013"],"photo_ids_order":["1399589013","1399589016","1399589018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b31ab74db7ff56849bbf290617ece1c.jpg","text":"TemporaryFile(/tmp/multipartBody3848386956033368504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852523356,"filename":"image_16122025_03_34_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88eb4a39a870028facad721695eed317.jpg","text":"TemporaryFile(/tmp/multipartBody1844982221984093320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852523356,"filename":"image_16122025_03_34_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/16/20bbd44977d22889611572f49eda5acd.jpg","text":"TemporaryFile(/tmp/multipartBody4190611176821633322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852523356,"filename":"image_16122025_03_33_44_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589018","file1":"1399589016","file0":"1399589013"},"map_files_photo_id_array":[{"photo_id":"1399589018","filename":"file2"},{"photo_id":"1399589016","filename":"file1"},{"photo_id":"1399589013","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589018":["hashtag1","hashtag2"]},{"1399589016":["hashtag1","hashtag2"]},{"1399589013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589018, 1399589016, 1399589013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.1016628742218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:35:02.554566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:35:11.939007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:35:22.038770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/34/image_16122025_03_34_45_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/34/image_16122025_03_34_45_10726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589026"],"photo_id":"1399589026","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f853252e3187ce070400f5aeaed1cdff.jpg","text":"TemporaryFile(/tmp/multipartBody5084542734850183537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852582472,"filename":"image_16122025_03_34_45_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399589026"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399589026"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.948063611984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:35:41.865209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_05_1610.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_06_1754.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_08_1725.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_10_1658.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_11_1540.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_13_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_05_1610.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_06_1754.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_08_1725.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_10_1658.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_11_1540.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_13_1617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589036","1399589038","1399589035","1399589040","1399589037","1399589033"],"photo_ids_order":["1399589033","1399589035","1399589036","1399589037","1399589038","1399589040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87aca9379607d89b6b3bc786f7962022.jpg","text":"TemporaryFile(/tmp/multipartBody8395578582054632108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852602572,"filename":"image_06112025_14_51_08_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/16/d1728155064e3acc5b4d5e15dd50305d.jpg","text":"TemporaryFile(/tmp/multipartBody5780197575577179776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852602572,"filename":"image_06112025_14_51_11_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb3e7f4d97f03bafe5a9ccbcdd6a3d28.jpg","text":"TemporaryFile(/tmp/multipartBody105167017811952779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852602572,"filename":"image_06112025_14_51_06_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/16/ec0da945a2c559aa6f639fd30aecd901.jpg","text":"TemporaryFile(/tmp/multipartBody2118947811247778662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852602572,"filename":"image_06112025_14_51_13_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/16/d0c8586dbff4a48dc79081676171164c.jpg","text":"TemporaryFile(/tmp/multipartBody4862068983846683414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852602572,"filename":"image_06112025_14_51_10_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/16/3c00cb1aa67809df60281f190471683f.jpg","text":"TemporaryFile(/tmp/multipartBody172429574426732108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852602572,"filename":"image_06112025_14_51_05_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589036","file1":"1399589035","file0":"1399589033","file4":"1399589038","file5":"1399589040","file3":"1399589037"},"map_files_photo_id_array":[{"photo_id":"1399589040","filename":"file5"},{"photo_id":"1399589036","filename":"file2"},{"photo_id":"1399589038","filename":"file4"},{"photo_id":"1399589035","filename":"file1"},{"photo_id":"1399589033","filename":"file0"},{"photo_id":"1399589037","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589036":["hashtag1","hashtag2"]},{"1399589038":["hashtag1","hashtag2"]},{"1399589035":["hashtag1","hashtag2"]},{"1399589040":["hashtag1","hashtag2"]},{"1399589037":["hashtag1","hashtag2"]},{"1399589033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589036, 1399589038, 1399589035, 1399589040, 1399589037, 1399589033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.630993366241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:36:22.278231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/34/image_16122025_03_35_04_9874.jpg', '/home/pi/Desktop/images/16122025/03/36/image_16122025_03_36_24_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/34/image_16122025_03_35_04_9874.jpg
/home/pi/Desktop/images/16122025/03/36/image_16122025_03_36_24_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589049","1399589046"],"photo_ids_order":["1399589046","1399589049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/610bab15b3052e0361bea32911d10be0.jpg","text":"TemporaryFile(/tmp/multipartBody8403497112684724808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852642754,"filename":"image_16122025_03_36_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/16/fecd92791a009a096a4806f57d267817.jpg","text":"TemporaryFile(/tmp/multipartBody1145278129062335442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852642754,"filename":"image_16122025_03_35_04_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399589049","file0":"1399589046"},"map_files_photo_id_array":[{"photo_id":"1399589049","filename":"file1"},{"photo_id":"1399589046","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589049":["hashtag1","hashtag2"]},{"1399589046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589049, 1399589046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.786262273788452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:36:42.215637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_15_1794.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_16_1566.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_18_1662.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_20_1709.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_23_3627.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_25_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_15_1794.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_16_1566.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_18_1662.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_20_1709.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_23_3627.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_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
<Response [200]>
b'{"photo_ids":["1399589057","1399589056","1399589053","1399589055","1399589058","1399589054"],"photo_ids_order":["1399589053","1399589054","1399589055","1399589056","1399589057","1399589058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04da7cc3d4073455eb6e990a5e4ae2fd.jpg","text":"TemporaryFile(/tmp/multipartBody7176891252850535513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852662922,"filename":"image_06112025_14_51_23_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/16/11f9272febeab7189e2e23aef5fba358.jpg","text":"TemporaryFile(/tmp/multipartBody5475087157896706241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852662922,"filename":"image_06112025_14_51_20_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/16/a7be832df7ade7d059aa57189fc6bae2.jpg","text":"TemporaryFile(/tmp/multipartBody5529434828894966454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852662922,"filename":"image_06112025_14_51_15_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/16/d60c66410dab16f76b78f5b2b0a5a934.jpg","text":"TemporaryFile(/tmp/multipartBody5408870805294830863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852662922,"filename":"image_06112025_14_51_18_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3f72d981ce27e91fd7a456aca540875.jpg","text":"TemporaryFile(/tmp/multipartBody8098070351059225894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852662922,"filename":"image_06112025_14_51_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/16/9648cd27b813936aab3bef95e3485d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4309254661930246191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852662922,"filename":"image_06112025_14_51_16_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589055","file1":"1399589054","file0":"1399589053","file4":"1399589057","file5":"1399589058","file3":"1399589056"},"map_files_photo_id_array":[{"photo_id":"1399589058","filename":"file5"},{"photo_id":"1399589055","filename":"file2"},{"photo_id":"1399589057","filename":"file4"},{"photo_id":"1399589054","filename":"file1"},{"photo_id":"1399589053","filename":"file0"},{"photo_id":"1399589056","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589057":["hashtag1","hashtag2"]},{"1399589056":["hashtag1","hashtag2"]},{"1399589053":["hashtag1","hashtag2"]},{"1399589055":["hashtag1","hashtag2"]},{"1399589058":["hashtag1","hashtag2"]},{"1399589054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589057, 1399589056, 1399589053, 1399589055, 1399589058, 1399589054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24574327468872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:37:22.452485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/36/image_16122025_03_36_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/36/image_16122025_03_36_55_10650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.32791996002197266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:37:32.473752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:37:42.478342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_50_24645.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_53_3336.jpg', '/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_55_1666.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_06_3010.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_10_3876.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_13_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_50_24645.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_53_3336.jpg
/home/pi/Desktop/images/06112025/14/51/image_06112025_14_51_55_1666.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_06_3010.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_10_3876.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_13_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":["1399589074","1399589071","1399589073","1399589072","1399589075","1399589069"],"photo_ids_order":["1399589069","1399589071","1399589072","1399589073","1399589074","1399589075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17c7bdecaf8f9e592d2f9216743290ba.jpg","text":"TemporaryFile(/tmp/multipartBody3092377871711405507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852723184,"filename":"image_06112025_14_53_10_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f9de4106ca49b352fb7822d3343054e.jpg","text":"TemporaryFile(/tmp/multipartBody906007170461204443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852723184,"filename":"image_06112025_14_51_53_3336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5985b9fcc45f880a6ca95b276c31ca11.jpg","text":"TemporaryFile(/tmp/multipartBody4745218758725480353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852723184,"filename":"image_06112025_14_53_06_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50c03fe20011030b03b319a31347b7c1.jpg","text":"TemporaryFile(/tmp/multipartBody5229343252131280200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852723184,"filename":"image_06112025_14_51_55_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4031a8c923d75cb474418fb9448f2a7.jpg","text":"TemporaryFile(/tmp/multipartBody6739954732687202889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852723184,"filename":"image_06112025_14_53_13_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/16/3b919f21b1f6ee32646a3bb59d375325.jpg","text":"TemporaryFile(/tmp/multipartBody5230148899627664223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852723184,"filename":"image_06112025_14_51_50_24645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589072","file1":"1399589071","file0":"1399589069","file4":"1399589074","file5":"1399589075","file3":"1399589073"},"map_files_photo_id_array":[{"photo_id":"1399589075","filename":"file5"},{"photo_id":"1399589072","filename":"file2"},{"photo_id":"1399589074","filename":"file4"},{"photo_id":"1399589071","filename":"file1"},{"photo_id":"1399589069","filename":"file0"},{"photo_id":"1399589073","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589074":["hashtag1","hashtag2"]},{"1399589071":["hashtag1","hashtag2"]},{"1399589073":["hashtag1","hashtag2"]},{"1399589072":["hashtag1","hashtag2"]},{"1399589075":["hashtag1","hashtag2"]},{"1399589069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589074, 1399589071, 1399589073, 1399589072, 1399589075, 1399589069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47933578491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:38:22.739662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/36/image_16122025_03_36_55_10650.jpg', '/home/pi/Desktop/images/16122025/03/36/image_16122025_03_37_04_9630.jpg', '/home/pi/Desktop/images/16122025/03/37/image_16122025_03_38_04_9663.jpg', '/home/pi/Desktop/images/16122025/03/38/image_16122025_03_38_25_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/36/image_16122025_03_36_55_10650.jpg
/home/pi/Desktop/images/16122025/03/36/image_16122025_03_37_04_9630.jpg
/home/pi/Desktop/images/16122025/03/37/image_16122025_03_38_04_9663.jpg
/home/pi/Desktop/images/16122025/03/38/image_16122025_03_38_25_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589089","1399589081","1399589084","1399589087"],"photo_ids_order":["1399589081","1399589084","1399589087","1399589089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b59b5303c3e244f22f3b339eaeaae9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1383976205348578755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852763313,"filename":"image_16122025_03_38_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/16/7542b4e7d1272b8b69d6cd11feee3845.jpg","text":"TemporaryFile(/tmp/multipartBody5515120578075307289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852763313,"filename":"image_16122025_03_36_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/825c90dab983c1962dc45b051a55c0c6.jpg","text":"TemporaryFile(/tmp/multipartBody3480237992506021156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852763313,"filename":"image_16122025_03_37_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/158897d22d6ec2e49b7d87cef1c3a408.jpg","text":"TemporaryFile(/tmp/multipartBody2062342621955799488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852763313,"filename":"image_16122025_03_38_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589087","file1":"1399589084","file0":"1399589081","file3":"1399589089"},"map_files_photo_id_array":[{"photo_id":"1399589087","filename":"file2"},{"photo_id":"1399589084","filename":"file1"},{"photo_id":"1399589081","filename":"file0"},{"photo_id":"1399589089","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589089":["hashtag1","hashtag2"]},{"1399589081":["hashtag1","hashtag2"]},{"1399589084":["hashtag1","hashtag2"]},{"1399589087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589089, 1399589081, 1399589084, 1399589087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.49264144897461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:39:03.090877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:39:12.055691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:39:22.035415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/38/image_16122025_03_38_34_9736.jpg', '/home/pi/Desktop/images/16122025/03/38/image_16122025_03_39_05_10786.jpg', '/home/pi/Desktop/images/16122025/03/39/image_16122025_03_39_14_9671.jpg', '/home/pi/Desktop/images/16122025/03/39/image_16122025_03_39_45_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/38/image_16122025_03_38_34_9736.jpg
/home/pi/Desktop/images/16122025/03/38/image_16122025_03_39_05_10786.jpg
/home/pi/Desktop/images/16122025/03/39/image_16122025_03_39_14_9671.jpg
/home/pi/Desktop/images/16122025/03/39/image_16122025_03_39_45_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589098","1399589094","1399589096","1399589100"],"photo_ids_order":["1399589094","1399589096","1399589098","1399589100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fab315fb790098ab0053d1f106cdf332.jpg","text":"TemporaryFile(/tmp/multipartBody5956966163398241246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852822612,"filename":"image_16122025_03_39_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/16/74d2992f89672d7bbdf16dddea006589.jpg","text":"TemporaryFile(/tmp/multipartBody7017766578968826139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852822612,"filename":"image_16122025_03_38_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fce22193018037099184767bc274b479.jpg","text":"TemporaryFile(/tmp/multipartBody6322156497687714276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852822612,"filename":"image_16122025_03_39_05_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3c4fe6246f8e427d050810797d72bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4247681698397597912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852822612,"filename":"image_16122025_03_39_45_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589098","file1":"1399589096","file0":"1399589094","file3":"1399589100"},"map_files_photo_id_array":[{"photo_id":"1399589098","filename":"file2"},{"photo_id":"1399589096","filename":"file1"},{"photo_id":"1399589094","filename":"file0"},{"photo_id":"1399589100","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589098":["hashtag1","hashtag2"]},{"1399589094":["hashtag1","hashtag2"]},{"1399589096":["hashtag1","hashtag2"]},{"1399589100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589098, 1399589094, 1399589096, 1399589100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.675326585769653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:40:02.720263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:40:12.151038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:40:22.230097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/39/image_16122025_03_39_54_9946.jpg', '/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_14_9793.jpg', '/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_24_9720.jpg', '/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_44_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/39/image_16122025_03_39_54_9946.jpg
/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_14_9793.jpg
/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_24_9720.jpg
/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_44_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589114","1399589108","1399589110","1399589112"],"photo_ids_order":["1399589108","1399589110","1399589112","1399589114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72a45815462e76180636d07de44303c6.jpg","text":"TemporaryFile(/tmp/multipartBody1198584423995255833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852882813,"filename":"image_16122025_03_40_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/16/655ee382c24652a53d2d9d5e002d0b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2146958543969169102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852882813,"filename":"image_16122025_03_39_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/16/4fae611b90b4aee19f9c39e1b332e8a1.jpg","text":"TemporaryFile(/tmp/multipartBody4121198986965339037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852882813,"filename":"image_16122025_03_40_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/16/b80bbeaeb4f1a89407135187ff73d767.jpg","text":"TemporaryFile(/tmp/multipartBody8080077586723650338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852882813,"filename":"image_16122025_03_40_24_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589112","file1":"1399589110","file0":"1399589108","file3":"1399589114"},"map_files_photo_id_array":[{"photo_id":"1399589112","filename":"file2"},{"photo_id":"1399589110","filename":"file1"},{"photo_id":"1399589108","filename":"file0"},{"photo_id":"1399589114","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589114":["hashtag1","hashtag2"]},{"1399589108":["hashtag1","hashtag2"]},{"1399589110":["hashtag1","hashtag2"]},{"1399589112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589114, 1399589108, 1399589110, 1399589112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.07874369621277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:41:03.143261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:41:12.436164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:41:22.458865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_54_9805.jpg', '/home/pi/Desktop/images/16122025/03/41/image_16122025_03_41_34_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/40/image_16122025_03_40_54_9805.jpg
/home/pi/Desktop/images/16122025/03/41/image_16122025_03_41_34_9731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589129","1399589132"],"photo_ids_order":["1399589129","1399589132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06f8bf4613987362b5ade8565db53cd0.jpg","text":"TemporaryFile(/tmp/multipartBody780204043542090590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852942949,"filename":"image_16122025_03_40_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/16/ee963c9d54bce2ebd89dda6f83154e43.jpg","text":"TemporaryFile(/tmp/multipartBody8245823425695086942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852942949,"filename":"image_16122025_03_41_34_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399589132","file0":"1399589129"},"map_files_photo_id_array":[{"photo_id":"1399589132","filename":"file1"},{"photo_id":"1399589129","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589129":["hashtag1","hashtag2"]},{"1399589132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589129, 1399589132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.234132051467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:41:42.572801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_15_2668.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_19_3695.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_22_2595.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_31_9110.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_32_1663.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_34_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_15_2668.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_19_3695.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_22_2595.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_31_9110.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_32_1663.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_34_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589137","1399589151","1399589154","1399589163","1399589139","1399589150"],"photo_ids_order":["1399589137","1399589139","1399589150","1399589151","1399589154","1399589163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08041ba3011a1cdfe4d28812b0b62ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8198356158131499384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852963260,"filename":"image_06112025_14_53_15_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/16/1777977c3b8e54c564a7eb89b961106d.jpg","text":"TemporaryFile(/tmp/multipartBody5431035011131232988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852963260,"filename":"image_06112025_14_53_31_9110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd041cb8784ab939958411706aa110da.jpg","text":"TemporaryFile(/tmp/multipartBody5827852854623162863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852963260,"filename":"image_06112025_14_53_32_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/16/6753a9025baab999758e70c0d38c50c7.jpg","text":"TemporaryFile(/tmp/multipartBody1412024865281782358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852963260,"filename":"image_06112025_14_53_34_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/16/95bb700a96737979a29f82b3a29c0a86.jpg","text":"TemporaryFile(/tmp/multipartBody7042910684305882069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852963260,"filename":"image_06112025_14_53_19_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/16/3644f0c0a2997c1fbcd6c351f68e2d69.jpg","text":"TemporaryFile(/tmp/multipartBody5398979691932051929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765852963260,"filename":"image_06112025_14_53_22_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589150","file1":"1399589139","file0":"1399589137","file4":"1399589154","file5":"1399589163","file3":"1399589151"},"map_files_photo_id_array":[{"photo_id":"1399589163","filename":"file5"},{"photo_id":"1399589150","filename":"file2"},{"photo_id":"1399589154","filename":"file4"},{"photo_id":"1399589139","filename":"file1"},{"photo_id":"1399589137","filename":"file0"},{"photo_id":"1399589151","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589137":["hashtag1","hashtag2"]},{"1399589151":["hashtag1","hashtag2"]},{"1399589154":["hashtag1","hashtag2"]},{"1399589163":["hashtag1","hashtag2"]},{"1399589139":["hashtag1","hashtag2"]},{"1399589150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589137, 1399589151, 1399589154, 1399589163, 1399589139, 1399589150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82887125015259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:42:21.816707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/41/image_16122025_03_41_45_10700.jpg', '/home/pi/Desktop/images/16122025/03/42/image_16122025_03_42_14_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/41/image_16122025_03_41_45_10700.jpg
/home/pi/Desktop/images/16122025/03/42/image_16122025_03_42_14_9742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589176","1399589174"],"photo_ids_order":["1399589174","1399589176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e36c520a47c0239ea01aee9342c3d27.jpg","text":"TemporaryFile(/tmp/multipartBody3825924654575348372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853002294,"filename":"image_16122025_03_42_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e32b90f65a2729591cf8c2a56ddea9ef.jpg","text":"TemporaryFile(/tmp/multipartBody2324730955849213535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853002294,"filename":"image_16122025_03_41_45_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399589176","file0":"1399589174"},"map_files_photo_id_array":[{"photo_id":"1399589176","filename":"file1"},{"photo_id":"1399589174","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589176":["hashtag1","hashtag2"]},{"1399589174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589176, 1399589174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.22579002380371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:42:41.908149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_36_1545.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_37_1529.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_40_2593.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_42_2539.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_46_3562.jpg', '/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_49_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_36_1545.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_37_1529.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_40_2593.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_42_2539.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_46_3562.jpg
/home/pi/Desktop/images/06112025/14/53/image_06112025_14_53_49_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":["1399589188","1399589197","1399589190","1399589189","1399589198","1399589186"],"photo_ids_order":["1399589186","1399589188","1399589189","1399589190","1399589197","1399589198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b15c9b070eb51ae8e4d24e485ac1080.jpg","text":"TemporaryFile(/tmp/multipartBody2501836719456169118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853022598,"filename":"image_06112025_14_53_37_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/16/c02fec4ff1e452f1addc7f09d7c05f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3482316652928487190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853022598,"filename":"image_06112025_14_53_46_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/16/fa976dd5ca257275ca3255165f478941.jpg","text":"TemporaryFile(/tmp/multipartBody1601557847309588346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853022598,"filename":"image_06112025_14_53_42_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/16/907200e6a8ed7f5971a676fe108dfee3.jpg","text":"TemporaryFile(/tmp/multipartBody6154064994544329028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853022598,"filename":"image_06112025_14_53_40_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/16/981589fb738e0ed48a0100850d76586a.jpg","text":"TemporaryFile(/tmp/multipartBody858541223161390907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853022598,"filename":"image_06112025_14_53_49_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1763b1d5a10f90ff07a8648396eb27e4.jpg","text":"TemporaryFile(/tmp/multipartBody1427977748761694991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853022598,"filename":"image_06112025_14_53_36_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589189","file1":"1399589188","file0":"1399589186","file4":"1399589197","file5":"1399589198","file3":"1399589190"},"map_files_photo_id_array":[{"photo_id":"1399589198","filename":"file5"},{"photo_id":"1399589189","filename":"file2"},{"photo_id":"1399589197","filename":"file4"},{"photo_id":"1399589188","filename":"file1"},{"photo_id":"1399589186","filename":"file0"},{"photo_id":"1399589190","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589188":["hashtag1","hashtag2"]},{"1399589197":["hashtag1","hashtag2"]},{"1399589190":["hashtag1","hashtag2"]},{"1399589189":["hashtag1","hashtag2"]},{"1399589198":["hashtag1","hashtag2"]},{"1399589186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589188, 1399589197, 1399589190, 1399589189, 1399589198, 1399589186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03309106826782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:43:22.165421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/42/image_16122025_03_42_54_9809.jpg', '/home/pi/Desktop/images/16122025/03/43/image_16122025_03_43_24_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/42/image_16122025_03_42_54_9809.jpg
/home/pi/Desktop/images/16122025/03/43/image_16122025_03_43_24_9835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589203","1399589206"],"photo_ids_order":["1399589203","1399589206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b96f157c7a8b2317c971fe53b26b774a.jpg","text":"TemporaryFile(/tmp/multipartBody5387299211605746743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853062653,"filename":"image_16122025_03_42_54_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f0c650752159899b1dda77d592e59ec.jpg","text":"TemporaryFile(/tmp/multipartBody557446762576876301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853062653,"filename":"image_16122025_03_43_24_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399589206","file0":"1399589203"},"map_files_photo_id_array":[{"photo_id":"1399589206","filename":"file1"},{"photo_id":"1399589203","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589203":["hashtag1","hashtag2"]},{"1399589206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589203, 1399589206)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 19.70288872718811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:44:03.295961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:44:12.668472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:44:22.807679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/43/image_16122025_03_43_34_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/43/image_16122025_03_43_34_9672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589227"],"photo_id":"1399589227","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8a5b90bb0cb49b3cf22f6da84a8bf1a.jpg","text":"TemporaryFile(/tmp/multipartBody914698558605776109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853123242,"filename":"image_16122025_03_43_34_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399589227"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399589227"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.214696407318115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:44:42.621515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_04_15650.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_06_1512.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_07_1745.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_09_1720.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_25_15364.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_26_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_04_15650.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_06_1512.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_07_1745.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_09_1720.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_25_15364.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_26_1691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589240","1399589260","1399589263","1399589259","1399589268","1399589258"],"photo_ids_order":["1399589240","1399589258","1399589259","1399589260","1399589263","1399589268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73e90633813e550a1aae1d178c7e89c4.jpg","text":"TemporaryFile(/tmp/multipartBody8821284210646348990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853143326,"filename":"image_06112025_14_54_04_15650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0a9c8705b9fc5d2d56ac79eda042a62.jpg","text":"TemporaryFile(/tmp/multipartBody4866448556176194466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853143326,"filename":"image_06112025_14_54_09_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/16/e26282d9fe742108150b699e9ccacc86.jpg","text":"TemporaryFile(/tmp/multipartBody7904509933358084162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853143326,"filename":"image_06112025_14_54_25_15364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a97fa8120d80dd2603be0e0c13d4df6.jpg","text":"TemporaryFile(/tmp/multipartBody5007228547460127760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853143326,"filename":"image_06112025_14_54_07_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/16/9b41b470de1dc2f92ca499b2a0082343.jpg","text":"TemporaryFile(/tmp/multipartBody7652309190794800447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853143326,"filename":"image_06112025_14_54_26_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7055582fce02add9b30a4eac0586b052.jpg","text":"TemporaryFile(/tmp/multipartBody3768656757592418212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853143326,"filename":"image_06112025_14_54_06_1512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589259","file1":"1399589258","file0":"1399589240","file4":"1399589263","file5":"1399589268","file3":"1399589260"},"map_files_photo_id_array":[{"photo_id":"1399589268","filename":"file5"},{"photo_id":"1399589259","filename":"file2"},{"photo_id":"1399589263","filename":"file4"},{"photo_id":"1399589258","filename":"file1"},{"photo_id":"1399589240","filename":"file0"},{"photo_id":"1399589260","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589240":["hashtag1","hashtag2"]},{"1399589260":["hashtag1","hashtag2"]},{"1399589263":["hashtag1","hashtag2"]},{"1399589259":["hashtag1","hashtag2"]},{"1399589268":["hashtag1","hashtag2"]},{"1399589258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589240, 1399589260, 1399589263, 1399589259, 1399589268, 1399589258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.748732805252075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:45:26.716131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/43/image_16122025_03_44_04_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/43/image_16122025_03_44_04_9727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589274"],"photo_id":"1399589274","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d5b74289f3ab5f4e0eb79332da7ea91.jpg","text":"TemporaryFile(/tmp/multipartBody3847800885224374618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853187142,"filename":"image_16122025_03_44_04_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399589274"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399589274"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.357243537902832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:45:46.755890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_28_1764.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_30_1603.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_31_1789.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_33_1508.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_34_1564.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_36_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_28_1764.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_30_1603.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_31_1789.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_33_1508.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_34_1564.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_36_1695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.150973320007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:46:02.383139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 03:46:12.294240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:46:21.832139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/45/image_16122025_03_46_04_9587.jpg', '/home/pi/Desktop/images/16122025/03/46/image_16122025_03_46_34_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/45/image_16122025_03_46_04_9587.jpg
/home/pi/Desktop/images/16122025/03/46/image_16122025_03_46_34_9889.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589293","1399589296"],"photo_ids_order":["1399589293","1399589296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d253960c9211f857a435a854a68abbc.jpg","text":"TemporaryFile(/tmp/multipartBody7149659226153510105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853242285,"filename":"image_16122025_03_46_04_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/16/d858733f1fb4c46b870cc04ad7e6cba0.jpg","text":"TemporaryFile(/tmp/multipartBody1792657681398023827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853242285,"filename":"image_16122025_03_46_34_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399589296","file0":"1399589293"},"map_files_photo_id_array":[{"photo_id":"1399589296","filename":"file1"},{"photo_id":"1399589293","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589293":["hashtag1","hashtag2"]},{"1399589296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589293, 1399589296)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 21.185125827789307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:47:03.276787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:47:12.611995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:47:22.614291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/46/image_16122025_03_46_54_9710.jpg', '/home/pi/Desktop/images/16122025/03/46/image_16122025_03_47_04_9794.jpg', '/home/pi/Desktop/images/16122025/03/47/image_16122025_03_47_44_9999.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/46/image_16122025_03_46_54_9710.jpg
/home/pi/Desktop/images/16122025/03/46/image_16122025_03_47_04_9794.jpg
/home/pi/Desktop/images/16122025/03/47/image_16122025_03_47_44_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":["1399589320","1399589323","1399589325"],"photo_ids_order":["1399589320","1399589323","1399589325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2480b6e50a9d2512eeba5197358fd627.jpg","text":"TemporaryFile(/tmp/multipartBody594548135451090408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853303096,"filename":"image_16122025_03_46_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/16/b4fed1659125b6d521dfd67400d020dd.jpg","text":"TemporaryFile(/tmp/multipartBody7760730290152957627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853303096,"filename":"image_16122025_03_47_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/16/10ca8c9eebe106cdc094e9f71cd757f7.jpg","text":"TemporaryFile(/tmp/multipartBody4647555420794881211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853303096,"filename":"image_16122025_03_47_44_9999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589325","file1":"1399589323","file0":"1399589320"},"map_files_photo_id_array":[{"photo_id":"1399589325","filename":"file2"},{"photo_id":"1399589323","filename":"file1"},{"photo_id":"1399589320","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589320":["hashtag1","hashtag2"]},{"1399589323":["hashtag1","hashtag2"]},{"1399589325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589320, 1399589323, 1399589325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.87114191055298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:48:02.377424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:48:11.783624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:48:21.821933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_28_1764.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_30_1603.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_31_1789.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_33_1508.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_34_1564.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_36_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_28_1764.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_30_1603.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_31_1789.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_33_1508.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_34_1564.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_36_1695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589348","1399589350","1399589352","1399589361","1399589363","1399589357"],"photo_ids_order":["1399589348","1399589350","1399589352","1399589357","1399589361","1399589363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6c2275810d378985fb46024a791d994.jpg","text":"TemporaryFile(/tmp/multipartBody2040872459598547391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853362474,"filename":"image_06112025_14_54_28_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/16/3751ae6784520120ca94b4c2866411c3.jpg","text":"TemporaryFile(/tmp/multipartBody964832110146135990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853362474,"filename":"image_06112025_14_54_30_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/16/94306855e942a11ebd8c54016051fa76.jpg","text":"TemporaryFile(/tmp/multipartBody4496044649717240856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853362474,"filename":"image_06112025_14_54_31_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/16/c67690447b7713420279fde6c625796f.jpg","text":"TemporaryFile(/tmp/multipartBody3695794338352179908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853362474,"filename":"image_06112025_14_54_34_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/16/9df0fc1e96e70870919a7448069fd1cd.jpg","text":"TemporaryFile(/tmp/multipartBody5423712711565058839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853362474,"filename":"image_06112025_14_54_36_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/16/9025651a3a22be77ab43a6de71a78230.jpg","text":"TemporaryFile(/tmp/multipartBody9151356685666112618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853362474,"filename":"image_06112025_14_54_33_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589352","file1":"1399589350","file0":"1399589348","file4":"1399589361","file5":"1399589363","file3":"1399589357"},"map_files_photo_id_array":[{"photo_id":"1399589363","filename":"file5"},{"photo_id":"1399589352","filename":"file2"},{"photo_id":"1399589361","filename":"file4"},{"photo_id":"1399589350","filename":"file1"},{"photo_id":"1399589348","filename":"file0"},{"photo_id":"1399589357","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589348":["hashtag1","hashtag2"]},{"1399589350":["hashtag1","hashtag2"]},{"1399589352":["hashtag1","hashtag2"]},{"1399589361":["hashtag1","hashtag2"]},{"1399589363":["hashtag1","hashtag2"]},{"1399589357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589348, 1399589350, 1399589352, 1399589361, 1399589363, 1399589357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.769193172454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:49:02.837507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:49:12.004728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:49:22.170580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/47/image_16122025_03_47_54_9770.jpg', '/home/pi/Desktop/images/16122025/03/49/image_16122025_03_49_15_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/47/image_16122025_03_47_54_9770.jpg
/home/pi/Desktop/images/16122025/03/49/image_16122025_03_49_15_9976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589372","1399589369"],"photo_ids_order":["1399589369","1399589372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/caef2f2cdae34bda56aa53e34f2530b5.jpg","text":"TemporaryFile(/tmp/multipartBody6187534319132698217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853422652,"filename":"image_16122025_03_49_15_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f1a28a78c45ce704c1ffd4215a8caad.jpg","text":"TemporaryFile(/tmp/multipartBody7696593804064054464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853422652,"filename":"image_16122025_03_47_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399589372","file0":"1399589369"},"map_files_photo_id_array":[{"photo_id":"1399589372","filename":"file1"},{"photo_id":"1399589369","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589372":["hashtag1","hashtag2"]},{"1399589369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589372, 1399589369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.937787771224976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:49:41.934639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_38_1500.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_39_1556.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_41_1627.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_43_1872.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_44_1632.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_46_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_38_1500.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_39_1556.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_41_1627.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_43_1872.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_44_1632.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_46_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589383","1399589380","1399589382","1399589385","1399589381","1399589378"],"photo_ids_order":["1399589378","1399589380","1399589381","1399589382","1399589383","1399589385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/198b6ca0485798f9d30f4eaf93f9f704.jpg","text":"TemporaryFile(/tmp/multipartBody5074286307626685422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853442641,"filename":"image_06112025_14_54_44_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/16/2d5863225646869c0aab79dcb12e274b.jpg","text":"TemporaryFile(/tmp/multipartBody5714368644332004612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853442641,"filename":"image_06112025_14_54_39_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/16/895e74d27c9fa8721eb71ba4977b9d53.jpg","text":"TemporaryFile(/tmp/multipartBody358429352188032939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853442641,"filename":"image_06112025_14_54_43_1872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/407ffa19bfd1a09a105707c31143f436.jpg","text":"TemporaryFile(/tmp/multipartBody7672480790393198910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853442641,"filename":"image_06112025_14_54_46_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/16/9a6638b7bcdf07ca3432a67506cc0d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3954150006831640345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853442641,"filename":"image_06112025_14_54_41_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/16/2fd0231658d48d443f06524d2f7df727.jpg","text":"TemporaryFile(/tmp/multipartBody7909055449437105508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853442641,"filename":"image_06112025_14_54_38_1500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589381","file1":"1399589380","file0":"1399589378","file4":"1399589383","file5":"1399589385","file3":"1399589382"},"map_files_photo_id_array":[{"photo_id":"1399589385","filename":"file5"},{"photo_id":"1399589381","filename":"file2"},{"photo_id":"1399589383","filename":"file4"},{"photo_id":"1399589380","filename":"file1"},{"photo_id":"1399589378","filename":"file0"},{"photo_id":"1399589382","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589383":["hashtag1","hashtag2"]},{"1399589380":["hashtag1","hashtag2"]},{"1399589382":["hashtag1","hashtag2"]},{"1399589385":["hashtag1","hashtag2"]},{"1399589381":["hashtag1","hashtag2"]},{"1399589378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589383, 1399589380, 1399589382, 1399589385, 1399589381, 1399589378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41817283630371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:50:22.161868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_48_1842.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_49_1541.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_52_2516.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_55_2875.jpg', '/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_58_2832.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_04_6122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_48_1842.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_49_1541.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_52_2516.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_55_2875.jpg
/home/pi/Desktop/images/06112025/14/54/image_06112025_14_54_58_2832.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_04_6122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589398","1399589404","1399589406","1399589390","1399589393","1399589396"],"photo_ids_order":["1399589390","1399589393","1399589396","1399589398","1399589404","1399589406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d653cd5abaf8fb4a8680b7db88a4d74f.jpg","text":"TemporaryFile(/tmp/multipartBody224359275778932504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853482896,"filename":"image_06112025_14_54_55_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/16/604912a341240e8cce3a8808b46b14f0.jpg","text":"TemporaryFile(/tmp/multipartBody670112083656837899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853482896,"filename":"image_06112025_14_54_58_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/16/a67f7900c3e5768cea62aaf2dc67e210.jpg","text":"TemporaryFile(/tmp/multipartBody5870571240606195274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853482896,"filename":"image_06112025_14_55_04_6122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fa09d330031e2f7f5331a6d94369487.jpg","text":"TemporaryFile(/tmp/multipartBody567152130291784848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853482896,"filename":"image_06112025_14_54_48_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e08614c8ec46c6950f501fde3d7488dc.jpg","text":"TemporaryFile(/tmp/multipartBody4909651413483333648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853482896,"filename":"image_06112025_14_54_49_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22d8aa73dc0608db6cefdaa4edf966c5.jpg","text":"TemporaryFile(/tmp/multipartBody7575508645749165784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853482896,"filename":"image_06112025_14_54_52_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589396","file1":"1399589393","file0":"1399589390","file4":"1399589404","file5":"1399589406","file3":"1399589398"},"map_files_photo_id_array":[{"photo_id":"1399589406","filename":"file5"},{"photo_id":"1399589396","filename":"file2"},{"photo_id":"1399589404","filename":"file4"},{"photo_id":"1399589393","filename":"file1"},{"photo_id":"1399589390","filename":"file0"},{"photo_id":"1399589398","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589398":["hashtag1","hashtag2"]},{"1399589404":["hashtag1","hashtag2"]},{"1399589406":["hashtag1","hashtag2"]},{"1399589390":["hashtag1","hashtag2"]},{"1399589393":["hashtag1","hashtag2"]},{"1399589396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589398, 1399589404, 1399589406, 1399589390, 1399589393, 1399589396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28129005432129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:51:03.191260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:51:12.310957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:51:22.472853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/49/image_16122025_03_49_45_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/49/image_16122025_03_49_45_10673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589421"],"photo_id":"1399589421","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/857a83beb8e7f0b8c90a52310db2b590.jpg","text":"TemporaryFile(/tmp/multipartBody1145941860888581175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853542912,"filename":"image_16122025_03_49_45_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399589421"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399589421"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.49232029914856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:51:42.353551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_10_5986.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_11_1505.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_19_7510.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_20_1636.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_22_1673.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_24_1790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_10_5986.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_11_1505.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_19_7510.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_20_1636.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_22_1673.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_24_1790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589447","1399589432","1399589426","1399589434","1399589428","1399589441"],"photo_ids_order":["1399589426","1399589428","1399589432","1399589434","1399589441","1399589447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7b799cefb5b7bfd5970ce3c1bc1404b.jpg","text":"TemporaryFile(/tmp/multipartBody8328197197146815127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853563087,"filename":"image_06112025_14_55_24_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2ff6f19ac57b7b19aebfee9528c100d.jpg","text":"TemporaryFile(/tmp/multipartBody3300891493137353878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853563087,"filename":"image_06112025_14_55_19_7510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5fc2ed8136e9ef25250006ee07ebd3c5.jpg","text":"TemporaryFile(/tmp/multipartBody750615560221628007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853563087,"filename":"image_06112025_14_55_10_5986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f29051998b6db26105bd2ef0e88fab0.jpg","text":"TemporaryFile(/tmp/multipartBody3288337611625238215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853563087,"filename":"image_06112025_14_55_20_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/16/c8fb5b5406b0a08a634c081641cef731.jpg","text":"TemporaryFile(/tmp/multipartBody4427995680762219653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853563087,"filename":"image_06112025_14_55_11_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60e5395edca6a50b80a49960b5de3176.jpg","text":"TemporaryFile(/tmp/multipartBody3380361910046941309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853563087,"filename":"image_06112025_14_55_22_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589432","file1":"1399589428","file0":"1399589426","file4":"1399589441","file5":"1399589447","file3":"1399589434"},"map_files_photo_id_array":[{"photo_id":"1399589447","filename":"file5"},{"photo_id":"1399589432","filename":"file2"},{"photo_id":"1399589441","filename":"file4"},{"photo_id":"1399589428","filename":"file1"},{"photo_id":"1399589426","filename":"file0"},{"photo_id":"1399589434","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589447":["hashtag1","hashtag2"]},{"1399589432":["hashtag1","hashtag2"]},{"1399589426":["hashtag1","hashtag2"]},{"1399589434":["hashtag1","hashtag2"]},{"1399589428":["hashtag1","hashtag2"]},{"1399589441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589447, 1399589432, 1399589426, 1399589434, 1399589428, 1399589441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.198302268981934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:52:22.636199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_25_1596.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_27_1608.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_29_1567.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_30_1836.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_33_2645.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_39_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_25_1596.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_27_1608.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_29_1567.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_30_1836.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_33_2645.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_39_2671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6198873519897461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:52:32.621051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:52:42.594580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_25_1596.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_27_1608.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_29_1567.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_30_1836.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_33_2645.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_39_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_25_1596.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_27_1608.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_29_1567.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_30_1836.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_33_2645.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_39_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589470","1399589464","1399589469","1399589472","1399589471","1399589468"],"photo_ids_order":["1399589464","1399589468","1399589469","1399589470","1399589471","1399589472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/99cf6c611c4901f8854bce9d436684df.jpg","text":"TemporaryFile(/tmp/multipartBody1740704147059184929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853623201,"filename":"image_06112025_14_55_30_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/16/a949531acb5c8fd16344a4690cf6a9ab.jpg","text":"TemporaryFile(/tmp/multipartBody7883184301492060402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853623201,"filename":"image_06112025_14_55_25_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/16/01ecc5533581ef7d6a2a96009b220237.jpg","text":"TemporaryFile(/tmp/multipartBody2531609823164247525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853623201,"filename":"image_06112025_14_55_29_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/16/6d4dfa1d454eaa05a96ba9e0b5d097ee.jpg","text":"TemporaryFile(/tmp/multipartBody3950020488466418691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853623201,"filename":"image_06112025_14_55_39_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44c8bf6b0136bbeff604d20f40a153de.jpg","text":"TemporaryFile(/tmp/multipartBody8044893416257158851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853623201,"filename":"image_06112025_14_55_33_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/16/9174e3c6a7317d70aefb7ff108d476ba.jpg","text":"TemporaryFile(/tmp/multipartBody4324054290327226045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853623201,"filename":"image_06112025_14_55_27_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589469","file1":"1399589468","file0":"1399589464","file4":"1399589471","file5":"1399589472","file3":"1399589470"},"map_files_photo_id_array":[{"photo_id":"1399589472","filename":"file5"},{"photo_id":"1399589469","filename":"file2"},{"photo_id":"1399589471","filename":"file4"},{"photo_id":"1399589468","filename":"file1"},{"photo_id":"1399589464","filename":"file0"},{"photo_id":"1399589470","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589470":["hashtag1","hashtag2"]},{"1399589464":["hashtag1","hashtag2"]},{"1399589469":["hashtag1","hashtag2"]},{"1399589472":["hashtag1","hashtag2"]},{"1399589471":["hashtag1","hashtag2"]},{"1399589468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589470, 1399589464, 1399589469, 1399589472, 1399589471, 1399589468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.364218950271606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:53:21.868801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/51/image_16122025_03_51_15_10872.jpg', '/home/pi/Desktop/images/16122025/03/53/image_16122025_03_53_14_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/51/image_16122025_03_51_15_10872.jpg
/home/pi/Desktop/images/16122025/03/53/image_16122025_03_53_14_9829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589479","1399589477"],"photo_ids_order":["1399589477","1399589479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32e04da1b9795144d8188451f2f846ef.jpg","text":"TemporaryFile(/tmp/multipartBody1701731391586159942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853662346,"filename":"image_16122025_03_53_14_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a10af8d189c9c950dccea75834d3212.jpg","text":"TemporaryFile(/tmp/multipartBody2646944105416776244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853662346,"filename":"image_16122025_03_51_15_10872.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399589479","file0":"1399589477"},"map_files_photo_id_array":[{"photo_id":"1399589479","filename":"file1"},{"photo_id":"1399589477","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589479":["hashtag1","hashtag2"]},{"1399589477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589479, 1399589477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.966303825378418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:53:41.812001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_42_2619.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_45_3586.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_50_4435.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_52_1734.jpg', '/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_54_2601.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_01_6486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_42_2619.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_45_3586.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_50_4435.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_52_1734.jpg
/home/pi/Desktop/images/06112025/14/55/image_06112025_14_55_54_2601.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_01_6486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589501","1399589485","1399589500","1399589499","1399589492","1399589483"],"photo_ids_order":["1399589483","1399589485","1399589492","1399589499","1399589500","1399589501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8db737f9c52ee3632dd665db411ba711.jpg","text":"TemporaryFile(/tmp/multipartBody5737265692206461183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853682502,"filename":"image_06112025_14_56_01_6486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/487c2ae61d5406f36fa845005cda8936.jpg","text":"TemporaryFile(/tmp/multipartBody1318447309146099591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853682502,"filename":"image_06112025_14_55_45_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/16/30d8d1290a065584e668fb767751053e.jpg","text":"TemporaryFile(/tmp/multipartBody4080341198624249647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853682502,"filename":"image_06112025_14_55_54_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/16/6f0a9a49ab7f19d8989f37a4c1a4e582.jpg","text":"TemporaryFile(/tmp/multipartBody4481314428633693584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853682502,"filename":"image_06112025_14_55_52_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ba7a86efc813661d42bf148c36f7b1e.jpg","text":"TemporaryFile(/tmp/multipartBody3188768559164476507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853682502,"filename":"image_06112025_14_55_50_4435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03d518ad7fe9aef3c5bd5aded2745469.jpg","text":"TemporaryFile(/tmp/multipartBody255268505532337801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853682502,"filename":"image_06112025_14_55_42_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589492","file1":"1399589485","file0":"1399589483","file4":"1399589500","file5":"1399589501","file3":"1399589499"},"map_files_photo_id_array":[{"photo_id":"1399589501","filename":"file5"},{"photo_id":"1399589492","filename":"file2"},{"photo_id":"1399589500","filename":"file4"},{"photo_id":"1399589485","filename":"file1"},{"photo_id":"1399589483","filename":"file0"},{"photo_id":"1399589499","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589501":["hashtag1","hashtag2"]},{"1399589485":["hashtag1","hashtag2"]},{"1399589500":["hashtag1","hashtag2"]},{"1399589499":["hashtag1","hashtag2"]},{"1399589492":["hashtag1","hashtag2"]},{"1399589483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589501, 1399589485, 1399589500, 1399589499, 1399589492, 1399589483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46626853942871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:54:22.133936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/53/image_16122025_03_53_44_9661.jpg', '/home/pi/Desktop/images/16122025/03/53/image_16122025_03_54_04_9752.jpg', '/home/pi/Desktop/images/16122025/03/54/image_16122025_03_54_15_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/53/image_16122025_03_53_44_9661.jpg
/home/pi/Desktop/images/16122025/03/53/image_16122025_03_54_04_9752.jpg
/home/pi/Desktop/images/16122025/03/54/image_16122025_03_54_15_10843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589507","1399589511","1399589508"],"photo_ids_order":["1399589507","1399589508","1399589511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/236666c8b1a5593b4d3ec7ab35c74bee.jpg","text":"TemporaryFile(/tmp/multipartBody1666147839512301094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853722662,"filename":"image_16122025_03_53_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/16/3103bcff4f147b4a7ac4ad51642003a5.jpg","text":"TemporaryFile(/tmp/multipartBody8753782666520753967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853722662,"filename":"image_16122025_03_54_15_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4216a54f732366222dbff9733bfc0afc.jpg","text":"TemporaryFile(/tmp/multipartBody8208866578610271930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853722662,"filename":"image_16122025_03_54_04_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589511","file1":"1399589508","file0":"1399589507"},"map_files_photo_id_array":[{"photo_id":"1399589511","filename":"file2"},{"photo_id":"1399589508","filename":"file1"},{"photo_id":"1399589507","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589507":["hashtag1","hashtag2"]},{"1399589511":["hashtag1","hashtag2"]},{"1399589508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589507, 1399589511, 1399589508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.246561288833618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:55:02.917399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:55:12.266511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:55:22.296609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/54/image_16122025_03_54_55_10810.jpg', '/home/pi/Desktop/images/16122025/03/54/image_16122025_03_55_04_9698.jpg', '/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_14_9731.jpg', '/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_35_10634.jpg', '/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_44_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/54/image_16122025_03_54_55_10810.jpg
/home/pi/Desktop/images/16122025/03/54/image_16122025_03_55_04_9698.jpg
/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_14_9731.jpg
/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_35_10634.jpg
/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_44_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589527","1399589536","1399589530","1399589532","1399589534"],"photo_ids_order":["1399589527","1399589530","1399589532","1399589534","1399589536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/15f9db3966e35be181b4cf155526f744.jpg","text":"TemporaryFile(/tmp/multipartBody4495129848155808709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853782918,"filename":"image_16122025_03_54_55_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/16/7d5d70227cf582ccf226c4fe30786ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7884546493730959697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853782918,"filename":"image_16122025_03_55_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/16/52adb6d77c39a4935e3da02012ff1567.jpg","text":"TemporaryFile(/tmp/multipartBody7214211481710837313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853782918,"filename":"image_16122025_03_55_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/16/1804b24381917d047b0b5f3fc9ab7806.jpg","text":"TemporaryFile(/tmp/multipartBody3112404137191169283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853782918,"filename":"image_16122025_03_55_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6f7708cbd688d8d50802984a8f45dd2.jpg","text":"TemporaryFile(/tmp/multipartBody1694497795686478165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853782918,"filename":"image_16122025_03_55_35_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589532","file1":"1399589530","file0":"1399589527","file4":"1399589536","file3":"1399589534"},"map_files_photo_id_array":[{"photo_id":"1399589532","filename":"file2"},{"photo_id":"1399589536","filename":"file4"},{"photo_id":"1399589530","filename":"file1"},{"photo_id":"1399589527","filename":"file0"},{"photo_id":"1399589534","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589527":["hashtag1","hashtag2"]},{"1399589536":["hashtag1","hashtag2"]},{"1399589530":["hashtag1","hashtag2"]},{"1399589532":["hashtag1","hashtag2"]},{"1399589534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589527, 1399589536, 1399589530, 1399589532, 1399589534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.81822752952576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:56:03.078794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:56:12.593384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:56:22.619118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_07_5801.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_08_1672.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_10_1610.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_22_3789.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_40_15533.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_49_8967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_07_5801.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_08_1672.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_10_1610.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_22_3789.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_40_15533.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_49_8967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589551","1399589545","1399589559","1399589553","1399589570","1399589549"],"photo_ids_order":["1399589545","1399589549","1399589551","1399589553","1399589559","1399589570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b07198f13365bab3a1bfb19c2039c36.jpg","text":"TemporaryFile(/tmp/multipartBody4607539564034836474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853843359,"filename":"image_06112025_14_56_10_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/16/54041d102134635e38c85d3805b53f15.jpg","text":"TemporaryFile(/tmp/multipartBody8877466201868277152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853843359,"filename":"image_06112025_14_56_07_5801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea20c4d6e81993eb68d70a8e4bbce331.jpg","text":"TemporaryFile(/tmp/multipartBody6187780097469326228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853843359,"filename":"image_06112025_14_56_40_15533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84f8654bf82321b195455e6090c49be6.jpg","text":"TemporaryFile(/tmp/multipartBody3184999235950607995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853843359,"filename":"image_06112025_14_56_22_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/16/fd89e95656effd24ee7d30732059bed2.jpg","text":"TemporaryFile(/tmp/multipartBody3840953890661587468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853843359,"filename":"image_06112025_14_56_49_8967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9599629ddde6621d9c176ffd81dab97.jpg","text":"TemporaryFile(/tmp/multipartBody2213538762129776259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853843359,"filename":"image_06112025_14_56_08_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589551","file1":"1399589549","file0":"1399589545","file4":"1399589559","file5":"1399589570","file3":"1399589553"},"map_files_photo_id_array":[{"photo_id":"1399589570","filename":"file5"},{"photo_id":"1399589551","filename":"file2"},{"photo_id":"1399589559","filename":"file4"},{"photo_id":"1399589549","filename":"file1"},{"photo_id":"1399589545","filename":"file0"},{"photo_id":"1399589553","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589551":["hashtag1","hashtag2"]},{"1399589545":["hashtag1","hashtag2"]},{"1399589559":["hashtag1","hashtag2"]},{"1399589553":["hashtag1","hashtag2"]},{"1399589570":["hashtag1","hashtag2"]},{"1399589549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589551, 1399589545, 1399589559, 1399589553, 1399589570, 1399589549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65457105636597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:57:02.635389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:57:11.842268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 03:57:21.883869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_54_9618.jpg', '/home/pi/Desktop/images/16122025/03/56/image_16122025_03_57_04_9792.jpg', '/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_14_9729.jpg', '/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_34_9698.jpg', '/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_44_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/55/image_16122025_03_55_54_9618.jpg
/home/pi/Desktop/images/16122025/03/56/image_16122025_03_57_04_9792.jpg
/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_14_9729.jpg
/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_34_9698.jpg
/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_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":["1399589590","1399589587","1399589595","1399589598","1399589594"],"photo_ids_order":["1399589587","1399589590","1399589594","1399589595","1399589598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58e2f4b5d5d132a5daca0984c211ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody9210004587329468966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853902493,"filename":"image_16122025_03_57_04_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93cc86af1c517dbd5ea8f0aa84aab3a5.jpg","text":"TemporaryFile(/tmp/multipartBody3032518055145188488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853902493,"filename":"image_16122025_03_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/16/284360bb4934fcd3ab2827c40cebe40e.jpg","text":"TemporaryFile(/tmp/multipartBody8908192442680425496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853902493,"filename":"image_16122025_03_57_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/16/74cfefab5ef115c577c060743391c51c.jpg","text":"TemporaryFile(/tmp/multipartBody3258032828895394299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853902493,"filename":"image_16122025_03_57_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/16/2b64bac71386a0b497eebabf351555ec.jpg","text":"TemporaryFile(/tmp/multipartBody5730376072749122596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765853902493,"filename":"image_16122025_03_57_14_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589594","file1":"1399589590","file0":"1399589587","file4":"1399589598","file3":"1399589595"},"map_files_photo_id_array":[{"photo_id":"1399589594","filename":"file2"},{"photo_id":"1399589598","filename":"file4"},{"photo_id":"1399589590","filename":"file1"},{"photo_id":"1399589587","filename":"file0"},{"photo_id":"1399589595","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589590":["hashtag1","hashtag2"]},{"1399589587":["hashtag1","hashtag2"]},{"1399589595":["hashtag1","hashtag2"]},{"1399589598":["hashtag1","hashtag2"]},{"1399589594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589590, 1399589587, 1399589595, 1399589598, 1399589594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.18496656417847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 03:59:03.252462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_54_9646.jpg', '/home/pi/Desktop/images/16122025/03/57/image_16122025_03_58_05_10789.jpg', '/home/pi/Desktop/images/16122025/03/58/image_16122025_03_58_14_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/57/image_16122025_03_57_54_9646.jpg
/home/pi/Desktop/images/16122025/03/57/image_16122025_03_58_05_10789.jpg
/home/pi/Desktop/images/16122025/03/58/image_16122025_03_58_14_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":["1399589816","1399589820","1399589814"],"photo_ids_order":["1399589814","1399589816","1399589820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54eea7ccd04d74916afa4e6e5541ca99.jpg","text":"TemporaryFile(/tmp/multipartBody7614992398326780478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854003900,"filename":"image_16122025_03_58_05_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4074f7bb59a279ef76ee7e55c2d48aa.jpg","text":"TemporaryFile(/tmp/multipartBody3970892560355678409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854003900,"filename":"image_16122025_03_58_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/16/ca0fda934c015a51d1bbea00faff585f.jpg","text":"TemporaryFile(/tmp/multipartBody6610843029724410746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854003900,"filename":"image_16122025_03_57_54_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589820","file1":"1399589816","file0":"1399589814"},"map_files_photo_id_array":[{"photo_id":"1399589820","filename":"file2"},{"photo_id":"1399589816","filename":"file1"},{"photo_id":"1399589814","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589816":["hashtag1","hashtag2"]},{"1399589820":["hashtag1","hashtag2"]},{"1399589814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589816, 1399589820, 1399589814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.115597009658813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 03:59:32.220535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 03:59:42.293880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_52_3291.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_53_1512.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_55_1647.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_57_1652.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_58_1538.jpg', '/home/pi/Desktop/images/06112025/14/56/image_06112025_14_57_00_1493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_52_3291.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_53_1512.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_55_1647.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_57_1652.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_56_58_1538.jpg
/home/pi/Desktop/images/06112025/14/56/image_06112025_14_57_00_1493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589869","1399589857","1399589865","1399589841","1399589832","1399589861"],"photo_ids_order":["1399589832","1399589841","1399589857","1399589861","1399589865","1399589869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/795ca18b725b846ea3bb860c373d4468.jpg","text":"TemporaryFile(/tmp/multipartBody5176082260405697297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854043309,"filename":"image_06112025_14_57_00_1493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7fcb21f6a637cb26945533863195fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3223339402505974266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854043309,"filename":"image_06112025_14_56_55_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/16/718501fe133dd9aadfbee69d765d4bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3371299719512005858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854043309,"filename":"image_06112025_14_56_58_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52bc146bfdf90b53e463b06864265b07.jpg","text":"TemporaryFile(/tmp/multipartBody8326788140483364054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854043309,"filename":"image_06112025_14_56_53_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/16/3a9c7c2df1eb170b2b9bdf027f1fe2a6.jpg","text":"TemporaryFile(/tmp/multipartBody7076127992004182618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854043309,"filename":"image_06112025_14_56_52_3291.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1761515d783119a2689b58072ad45aa.jpg","text":"TemporaryFile(/tmp/multipartBody35546921117217352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854043309,"filename":"image_06112025_14_56_57_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589857","file1":"1399589841","file0":"1399589832","file4":"1399589865","file5":"1399589869","file3":"1399589861"},"map_files_photo_id_array":[{"photo_id":"1399589869","filename":"file5"},{"photo_id":"1399589857","filename":"file2"},{"photo_id":"1399589865","filename":"file4"},{"photo_id":"1399589841","filename":"file1"},{"photo_id":"1399589832","filename":"file0"},{"photo_id":"1399589861","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589869":["hashtag1","hashtag2"]},{"1399589857":["hashtag1","hashtag2"]},{"1399589865":["hashtag1","hashtag2"]},{"1399589841":["hashtag1","hashtag2"]},{"1399589832":["hashtag1","hashtag2"]},{"1399589861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589869, 1399589857, 1399589865, 1399589841, 1399589832, 1399589861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.02197551727295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:00:42.526384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_01_1638.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_03_1573.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_05_1559.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_06_1585.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_08_1850.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_10_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_01_1638.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_03_1573.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_05_1559.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_06_1585.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_08_1850.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_10_1618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589890","1399589887","1399589881","1399589884","1399589877","1399589879"],"photo_ids_order":["1399589877","1399589879","1399589881","1399589884","1399589887","1399589890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f63242d883a3e906a46c9843229e0c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3752677470432721421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854103226,"filename":"image_06112025_14_57_10_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f40e0d8e611a174b5c183a334c31aa77.jpg","text":"TemporaryFile(/tmp/multipartBody3294972481448874876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854103226,"filename":"image_06112025_14_57_08_1850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ed1c1635822ad2ab450a887e775d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody2725917866956958124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854103226,"filename":"image_06112025_14_57_05_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/16/b7dd2cabb0e0a7dcdbaa792c4caf0e96.jpg","text":"TemporaryFile(/tmp/multipartBody6885050127930477839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854103226,"filename":"image_06112025_14_57_06_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/16/123d8dd0a3756e3a313c33e48ebde54c.jpg","text":"TemporaryFile(/tmp/multipartBody6599759464429390740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854103226,"filename":"image_06112025_14_57_01_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/565c20f7812b4aa149552f2e17da5179.jpg","text":"TemporaryFile(/tmp/multipartBody1162230025881317329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854103226,"filename":"image_06112025_14_57_03_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589881","file1":"1399589879","file0":"1399589877","file4":"1399589887","file5":"1399589890","file3":"1399589884"},"map_files_photo_id_array":[{"photo_id":"1399589890","filename":"file5"},{"photo_id":"1399589881","filename":"file2"},{"photo_id":"1399589887","filename":"file4"},{"photo_id":"1399589879","filename":"file1"},{"photo_id":"1399589877","filename":"file0"},{"photo_id":"1399589884","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589890":["hashtag1","hashtag2"]},{"1399589887":["hashtag1","hashtag2"]},{"1399589881":["hashtag1","hashtag2"]},{"1399589884":["hashtag1","hashtag2"]},{"1399589877":["hashtag1","hashtag2"]},{"1399589879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589890, 1399589887, 1399589881, 1399589884, 1399589877, 1399589879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21093130111694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:01:22.793856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/03/58/image_16122025_03_58_44_9760.jpg', '/home/pi/Desktop/images/16122025/03/58/image_16122025_03_59_04_9897.jpg', '/home/pi/Desktop/images/16122025/03/59/image_16122025_03_59_15_10584.jpg', '/home/pi/Desktop/images/16122025/03/59/image_16122025_03_59_24_9593.jpg', '/home/pi/Desktop/images/16122025/03/59/image_16122025_03_59_34_9878.jpg', '/home/pi/Desktop/images/16122025/03/59/image_16122025_04_00_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/03/58/image_16122025_03_58_44_9760.jpg
/home/pi/Desktop/images/16122025/03/58/image_16122025_03_59_04_9897.jpg
/home/pi/Desktop/images/16122025/03/59/image_16122025_03_59_15_10584.jpg
/home/pi/Desktop/images/16122025/03/59/image_16122025_03_59_24_9593.jpg
/home/pi/Desktop/images/16122025/03/59/image_16122025_03_59_34_9878.jpg
/home/pi/Desktop/images/16122025/03/59/image_16122025_04_00_04_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":["1399589900","1399589903","1399589905","1399589908","1399589902","1399589904"],"photo_ids_order":["1399589900","1399589902","1399589903","1399589904","1399589905","1399589908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c607a37cf94b3654047cb6e5fd129db0.jpg","text":"TemporaryFile(/tmp/multipartBody6327075803165096209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854143457,"filename":"image_16122025_03_58_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/16/78c7486d0f2b05507182294c6a9a07f1.jpg","text":"TemporaryFile(/tmp/multipartBody4230507353299389892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854143457,"filename":"image_16122025_03_59_15_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/16/f5a12fd4c03a40cddc88be048dbcd6e3.jpg","text":"TemporaryFile(/tmp/multipartBody5927810714170323635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854143457,"filename":"image_16122025_03_59_34_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/16/6681ab189c5929c96e64ff1f4ff98dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6602093389681478490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854143457,"filename":"image_16122025_04_00_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/941acd92e0750d69865ab9bdf0107967.jpg","text":"TemporaryFile(/tmp/multipartBody359630330061454981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854143457,"filename":"image_16122025_03_59_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/16/96e31730fa6681ffe5bce4f96721aee9.jpg","text":"TemporaryFile(/tmp/multipartBody8183996437197524930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854143457,"filename":"image_16122025_03_59_24_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589903","file1":"1399589902","file0":"1399589900","file4":"1399589905","file5":"1399589908","file3":"1399589904"},"map_files_photo_id_array":[{"photo_id":"1399589908","filename":"file5"},{"photo_id":"1399589903","filename":"file2"},{"photo_id":"1399589905","filename":"file4"},{"photo_id":"1399589902","filename":"file1"},{"photo_id":"1399589900","filename":"file0"},{"photo_id":"1399589904","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589900":["hashtag1","hashtag2"]},{"1399589903":["hashtag1","hashtag2"]},{"1399589905":["hashtag1","hashtag2"]},{"1399589908":["hashtag1","hashtag2"]},{"1399589902":["hashtag1","hashtag2"]},{"1399589904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589900, 1399589903, 1399589905, 1399589908, 1399589902, 1399589904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.567312240600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:02:02.462533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/01/image_16122025_04_01_44_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/01/image_16122025_04_01_44_9851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589920"],"photo_id":"1399589920","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0bf9564322de50f90d5f9e270a0bcb04.jpg","text":"TemporaryFile(/tmp/multipartBody2873071050466471328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854182903,"filename":"image_16122025_04_01_44_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399589920"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399589920"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.97661828994751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:02:22.056890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/01/image_16122025_04_01_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/01/image_16122025_04_01_54_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589927"],"photo_id":"1399589927","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df72c2a1c818c1de101aca7c16d9a708.jpg","text":"TemporaryFile(/tmp/multipartBody709959461130050768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854202486,"filename":"image_16122025_04_01_54_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399589927"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399589927"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.373898983001709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:02:42.098881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_11_1629.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_13_1559.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_15_2612.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_18_2618.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_22_3716.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_24_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_11_1629.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_13_1559.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_15_2612.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_18_2618.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_22_3716.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_24_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399589941","1399589959","1399589950","1399589946","1399589954","1399589948"],"photo_ids_order":["1399589941","1399589946","1399589948","1399589950","1399589954","1399589959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74c2ca6cdcb4ddf8937ffc2d63308c86.jpg","text":"TemporaryFile(/tmp/multipartBody1072352391810431335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854222836,"filename":"image_06112025_14_57_11_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/16/e8717ea44ed1e5547e572a61e5a557e9.jpg","text":"TemporaryFile(/tmp/multipartBody554040170926837892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854222836,"filename":"image_06112025_14_57_24_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/16/5fdf982b4808b2b260f1b209365da32c.jpg","text":"TemporaryFile(/tmp/multipartBody2279662143499705418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854222836,"filename":"image_06112025_14_57_18_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/16/32a5b17baaa4e529a7e53b62a72c35ab.jpg","text":"TemporaryFile(/tmp/multipartBody1326810640984625009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854222836,"filename":"image_06112025_14_57_13_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/16/10c2cbdb795b3a4f315924f4d5bbdb9a.jpg","text":"TemporaryFile(/tmp/multipartBody3881204774654677860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854222836,"filename":"image_06112025_14_57_22_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/16/0fe63302c9940031b3e0c73e995f2bff.jpg","text":"TemporaryFile(/tmp/multipartBody957371420340793345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854222836,"filename":"image_06112025_14_57_15_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589948","file1":"1399589946","file0":"1399589941","file4":"1399589954","file5":"1399589959","file3":"1399589950"},"map_files_photo_id_array":[{"photo_id":"1399589959","filename":"file5"},{"photo_id":"1399589948","filename":"file2"},{"photo_id":"1399589954","filename":"file4"},{"photo_id":"1399589946","filename":"file1"},{"photo_id":"1399589941","filename":"file0"},{"photo_id":"1399589950","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399589941":["hashtag1","hashtag2"]},{"1399589959":["hashtag1","hashtag2"]},{"1399589950":["hashtag1","hashtag2"]},{"1399589946":["hashtag1","hashtag2"]},{"1399589954":["hashtag1","hashtag2"]},{"1399589948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399589941, 1399589959, 1399589950, 1399589946, 1399589954, 1399589948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32905435562134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:03:22.313969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/01/image_16122025_04_02_05_10776.jpg', '/home/pi/Desktop/images/16122025/04/03/image_16122025_04_03_14_9738.jpg', '/home/pi/Desktop/images/16122025/04/03/image_16122025_04_03_35_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/01/image_16122025_04_02_05_10776.jpg
/home/pi/Desktop/images/16122025/04/03/image_16122025_04_03_14_9738.jpg
/home/pi/Desktop/images/16122025/04/03/image_16122025_04_03_35_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":["1399589968","1399589964","1399589966"],"photo_ids_order":["1399589964","1399589966","1399589968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c9d1fbe8464ba129160b2ba532c0602.jpg","text":"TemporaryFile(/tmp/multipartBody8284046068755471258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854262831,"filename":"image_16122025_04_03_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ec67beb22b767d052f7a8be74690962.jpg","text":"TemporaryFile(/tmp/multipartBody6298785238475823209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854262831,"filename":"image_16122025_04_02_05_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/16/a3ad3e41bf3810592211e8c3e15e25ad.jpg","text":"TemporaryFile(/tmp/multipartBody5740599793929945362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854262831,"filename":"image_16122025_04_03_14_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399589968","file1":"1399589966","file0":"1399589964"},"map_files_photo_id_array":[{"photo_id":"1399589968","filename":"file2"},{"photo_id":"1399589966","filename":"file1"},{"photo_id":"1399589964","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399589968":["hashtag1","hashtag2"]},{"1399589964":["hashtag1","hashtag2"]},{"1399589966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399589968, 1399589964, 1399589966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.247466325759888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:04:03.252204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:04:12.531467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:04:22.602874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/03/image_16122025_04_03_44_9611.jpg', '/home/pi/Desktop/images/16122025/04/03/image_16122025_04_04_05_10670.jpg', '/home/pi/Desktop/images/16122025/04/04/image_16122025_04_04_24_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/03/image_16122025_04_03_44_9611.jpg
/home/pi/Desktop/images/16122025/04/03/image_16122025_04_04_05_10670.jpg
/home/pi/Desktop/images/16122025/04/04/image_16122025_04_04_24_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399590085","1399590157","1399590120"],"photo_ids_order":["1399590085","1399590120","1399590157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9c3af157933eb65f64fb72b48929480.jpg","text":"TemporaryFile(/tmp/multipartBody732287917090069404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854323125,"filename":"image_16122025_04_03_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/16/233ec25d4cefd913a34952c82ec9ccc5.jpg","text":"TemporaryFile(/tmp/multipartBody4470097119884353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854323125,"filename":"image_16122025_04_04_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/16/867b7bbd1dbaa6d8aa569d53a97c4d4e.jpg","text":"TemporaryFile(/tmp/multipartBody942046370329468320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854323125,"filename":"image_16122025_04_04_05_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399590157","file1":"1399590120","file0":"1399590085"},"map_files_photo_id_array":[{"photo_id":"1399590157","filename":"file2"},{"photo_id":"1399590120","filename":"file1"},{"photo_id":"1399590085","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399590085":["hashtag1","hashtag2"]},{"1399590157":["hashtag1","hashtag2"]},{"1399590120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399590085, 1399590157, 1399590120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.370656728744507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:05:02.612619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:05:11.833473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:05:21.953470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_27_2551.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_31_3630.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_33_2709.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_38_4828.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_47_9024.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_49_1846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_27_2551.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_31_3630.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_33_2709.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_38_4828.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_47_9024.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_49_1846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399590635","1399590512","1399590607","1399590663","1399590543","1399590578"],"photo_ids_order":["1399590512","1399590543","1399590578","1399590607","1399590635","1399590663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4342eb73695ecf507d0065ac2bd9ce33.jpg","text":"TemporaryFile(/tmp/multipartBody8610222728371321767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854382734,"filename":"image_06112025_14_57_47_9024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee2a5bd38464bf8eb41b64a88df4acec.jpg","text":"TemporaryFile(/tmp/multipartBody5889362832586100047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854382734,"filename":"image_06112025_14_57_27_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/16/e85114cb1e9949dc71d8b7d5f863af97.jpg","text":"TemporaryFile(/tmp/multipartBody6168865664452196423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854382734,"filename":"image_06112025_14_57_38_4828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9821e84bf811235f5dc584791d3030e.jpg","text":"TemporaryFile(/tmp/multipartBody9125534145301559758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854382734,"filename":"image_06112025_14_57_49_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9cb0f229b5497ea212cb8343b8c99696.jpg","text":"TemporaryFile(/tmp/multipartBody9091887769388314495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854382734,"filename":"image_06112025_14_57_31_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/16/c627c7d6b8138752758b550fcf8da9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1293788509637463935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854382734,"filename":"image_06112025_14_57_33_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399590578","file1":"1399590543","file0":"1399590512","file4":"1399590635","file5":"1399590663","file3":"1399590607"},"map_files_photo_id_array":[{"photo_id":"1399590663","filename":"file5"},{"photo_id":"1399590578","filename":"file2"},{"photo_id":"1399590635","filename":"file4"},{"photo_id":"1399590543","filename":"file1"},{"photo_id":"1399590512","filename":"file0"},{"photo_id":"1399590607","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399590635":["hashtag1","hashtag2"]},{"1399590512":["hashtag1","hashtag2"]},{"1399590607":["hashtag1","hashtag2"]},{"1399590663":["hashtag1","hashtag2"]},{"1399590543":["hashtag1","hashtag2"]},{"1399590578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399590635, 1399590512, 1399590607, 1399590663, 1399590543, 1399590578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.67941665649414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:06:12.109439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:06:22.193784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/04/image_16122025_04_04_35_10680.jpg', '/home/pi/Desktop/images/16122025/04/05/image_16122025_04_06_05_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/04/image_16122025_04_04_35_10680.jpg
/home/pi/Desktop/images/16122025/04/05/image_16122025_04_06_05_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399590891","1399590849"],"photo_ids_order":["1399590849","1399590891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83d9c27a3631269374d5baed7959f646.jpg","text":"TemporaryFile(/tmp/multipartBody2714952938145132747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854442667,"filename":"image_16122025_04_06_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/16/8f8f782c618afca3cb6122e22cc643bc.jpg","text":"TemporaryFile(/tmp/multipartBody6679096226415576068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854442667,"filename":"image_16122025_04_04_35_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399590891","file0":"1399590849"},"map_files_photo_id_array":[{"photo_id":"1399590891","filename":"file1"},{"photo_id":"1399590849","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399590891":["hashtag1","hashtag2"]},{"1399590849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399590891, 1399590849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.539148092269897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:07:03.009190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:07:12.305594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:07:22.353737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/06/image_16122025_04_06_24_9727.jpg', '/home/pi/Desktop/images/16122025/04/07/image_16122025_04_07_25_10780.jpg', '/home/pi/Desktop/images/16122025/04/07/image_16122025_04_07_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/06/image_16122025_04_06_24_9727.jpg
/home/pi/Desktop/images/16122025/04/07/image_16122025_04_07_25_10780.jpg
/home/pi/Desktop/images/16122025/04/07/image_16122025_04_07_34_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591507","1399591377","1399591463"],"photo_ids_order":["1399591377","1399591463","1399591507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb1e32d25cd9b92d402b9c69960aa995.jpg","text":"TemporaryFile(/tmp/multipartBody2524574306705611827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854502874,"filename":"image_16122025_04_07_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/16/0c2b40d1fe4b5b2b3fb702bcfedcd084.jpg","text":"TemporaryFile(/tmp/multipartBody9206217408757164349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854502874,"filename":"image_16122025_04_06_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/16/ce7ae48466d53ebdbd8a1e5d76db9bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4694677017815327094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854502874,"filename":"image_16122025_04_07_25_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591507","file1":"1399591463","file0":"1399591377"},"map_files_photo_id_array":[{"photo_id":"1399591507","filename":"file2"},{"photo_id":"1399591463","filename":"file1"},{"photo_id":"1399591377","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591507":["hashtag1","hashtag2"]},{"1399591377":["hashtag1","hashtag2"]},{"1399591463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591507, 1399591377, 1399591463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.528906106948853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:08:03.087254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:08:12.551103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:08:22.620027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/07/image_16122025_04_07_44_9765.jpg', '/home/pi/Desktop/images/16122025/04/08/image_16122025_04_08_25_10817.jpg', '/home/pi/Desktop/images/16122025/04/08/image_16122025_04_08_45_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/07/image_16122025_04_07_44_9765.jpg
/home/pi/Desktop/images/16122025/04/08/image_16122025_04_08_25_10817.jpg
/home/pi/Desktop/images/16122025/04/08/image_16122025_04_08_45_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591633","1399591627","1399591631"],"photo_ids_order":["1399591627","1399591631","1399591633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aed28aa57a010b9d38a6c60f37a1056b.jpg","text":"TemporaryFile(/tmp/multipartBody5271686815064540572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854563135,"filename":"image_16122025_04_08_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/16/6a58e1949ab1871ce5335ad6d3571547.jpg","text":"TemporaryFile(/tmp/multipartBody1687037924180646296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854563135,"filename":"image_16122025_04_07_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/16/f452c4f75f475dc6ca0d848eab098581.jpg","text":"TemporaryFile(/tmp/multipartBody8769384211218921682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854563135,"filename":"image_16122025_04_08_25_10817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591633","file1":"1399591631","file0":"1399591627"},"map_files_photo_id_array":[{"photo_id":"1399591633","filename":"file2"},{"photo_id":"1399591631","filename":"file1"},{"photo_id":"1399591627","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591633":["hashtag1","hashtag2"]},{"1399591627":["hashtag1","hashtag2"]},{"1399591631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591633, 1399591627, 1399591631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.478090524673462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:09:03.794212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:09:12.803128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:09:22.831163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/08/image_16122025_04_08_54_9742.jpg', '/home/pi/Desktop/images/16122025/04/09/image_16122025_04_09_14_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/08/image_16122025_04_08_54_9742.jpg
/home/pi/Desktop/images/16122025/04/09/image_16122025_04_09_14_9810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591666","1399591668"],"photo_ids_order":["1399591666","1399591668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d052025da10d1d66ee645e573d0061a.jpg","text":"TemporaryFile(/tmp/multipartBody3834682190749103858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854623323,"filename":"image_16122025_04_08_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7ee75ebac55474ed313961935a29916.jpg","text":"TemporaryFile(/tmp/multipartBody3588636264211429337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854623323,"filename":"image_16122025_04_09_14_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399591668","file0":"1399591666"},"map_files_photo_id_array":[{"photo_id":"1399591668","filename":"file1"},{"photo_id":"1399591666","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591666":["hashtag1","hashtag2"]},{"1399591668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591666, 1399591668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.835270404815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:09:42.767239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_51_1690.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_54_1531.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_55_1686.jpg', '/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_57_1814.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_01_3494.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_03_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_51_1690.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_54_1531.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_55_1686.jpg
/home/pi/Desktop/images/06112025/14/57/image_06112025_14_57_57_1814.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_01_3494.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_03_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591681","1399591683","1399591685","1399591673","1399591676","1399591679"],"photo_ids_order":["1399591673","1399591676","1399591679","1399591681","1399591683","1399591685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e6b68674a769405c3d64125894672ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8198119672790375135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854643498,"filename":"image_06112025_14_57_57_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4b0013b9462e66dafaf023ba39380d1.jpg","text":"TemporaryFile(/tmp/multipartBody6404966130157410581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854643498,"filename":"image_06112025_14_58_01_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/16/3b9a73434f7444a8f1445891e80591bd.jpg","text":"TemporaryFile(/tmp/multipartBody3193418069624806940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854643498,"filename":"image_06112025_14_58_03_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/16/abb3e65f56485a0edc3c032c72529976.jpg","text":"TemporaryFile(/tmp/multipartBody5264723199835929736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854643498,"filename":"image_06112025_14_57_51_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/16/42207cb355a9e9c27703993d59c269b1.jpg","text":"TemporaryFile(/tmp/multipartBody5276965814402783463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854643498,"filename":"image_06112025_14_57_54_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/16/e66714d5f0d3cf76149ab0d580358270.jpg","text":"TemporaryFile(/tmp/multipartBody4399912316227700202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854643498,"filename":"image_06112025_14_57_55_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591679","file1":"1399591676","file0":"1399591673","file4":"1399591683","file5":"1399591685","file3":"1399591681"},"map_files_photo_id_array":[{"photo_id":"1399591685","filename":"file5"},{"photo_id":"1399591679","filename":"file2"},{"photo_id":"1399591683","filename":"file4"},{"photo_id":"1399591676","filename":"file1"},{"photo_id":"1399591673","filename":"file0"},{"photo_id":"1399591681","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399591681":["hashtag1","hashtag2"]},{"1399591683":["hashtag1","hashtag2"]},{"1399591685":["hashtag1","hashtag2"]},{"1399591673":["hashtag1","hashtag2"]},{"1399591676":["hashtag1","hashtag2"]},{"1399591679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399591681, 1399591683, 1399591685, 1399591673, 1399591676, 1399591679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.576897621154785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:10:22.033082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/09/image_16122025_04_09_24_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/09/image_16122025_04_09_24_10051.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591687"],"photo_id":"1399591687","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a956282628b9f0516f225a044f9a3e20.jpg","text":"TemporaryFile(/tmp/multipartBody6271538853030546134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854682459,"filename":"image_16122025_04_09_24_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399591687"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399591687"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.642838716506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:10:41.972428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_06_2545.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_10_3698.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_12_2750.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_15_2697.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_18_2668.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_21_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_06_2545.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_10_3698.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_12_2750.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_15_2697.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_18_2668.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_21_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591706","1399591717","1399591702","1399591698","1399591713","1399591704"],"photo_ids_order":["1399591698","1399591702","1399591704","1399591706","1399591713","1399591717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9dfa53a2731fe21f74730823bbe5b89.jpg","text":"TemporaryFile(/tmp/multipartBody569471144816912240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854702656,"filename":"image_06112025_14_58_15_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e6afc716b626414a6d3e6c59e3174815.jpg","text":"TemporaryFile(/tmp/multipartBody5628912064184954837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854702656,"filename":"image_06112025_14_58_21_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/16/10c897bf313bae8e3a9fa1362badda9b.jpg","text":"TemporaryFile(/tmp/multipartBody6625144349913055696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854702656,"filename":"image_06112025_14_58_10_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f50f3d10c7575449a7fd01dc07f4b017.jpg","text":"TemporaryFile(/tmp/multipartBody6908690429134686142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854702656,"filename":"image_06112025_14_58_06_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e1515be08b65a192ada3acd714087ca.jpg","text":"TemporaryFile(/tmp/multipartBody6159678360866184676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854702656,"filename":"image_06112025_14_58_18_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8da1c51f7d5ae59e85ed06fa77cd8946.jpg","text":"TemporaryFile(/tmp/multipartBody3947395349096560090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854702656,"filename":"image_06112025_14_58_12_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591704","file1":"1399591702","file0":"1399591698","file4":"1399591713","file5":"1399591717","file3":"1399591706"},"map_files_photo_id_array":[{"photo_id":"1399591717","filename":"file5"},{"photo_id":"1399591704","filename":"file2"},{"photo_id":"1399591713","filename":"file4"},{"photo_id":"1399591702","filename":"file1"},{"photo_id":"1399591698","filename":"file0"},{"photo_id":"1399591706","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399591706":["hashtag1","hashtag2"]},{"1399591717":["hashtag1","hashtag2"]},{"1399591702":["hashtag1","hashtag2"]},{"1399591698":["hashtag1","hashtag2"]},{"1399591713":["hashtag1","hashtag2"]},{"1399591704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399591706, 1399591717, 1399591702, 1399591698, 1399591713, 1399591704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.707674741744995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:11:22.226573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/09/image_16122025_04_10_04_9924.jpg', '/home/pi/Desktop/images/16122025/04/10/image_16122025_04_11_04_9721.jpg', '/home/pi/Desktop/images/16122025/04/11/image_16122025_04_11_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/09/image_16122025_04_10_04_9924.jpg
/home/pi/Desktop/images/16122025/04/10/image_16122025_04_11_04_9721.jpg
/home/pi/Desktop/images/16122025/04/11/image_16122025_04_11_34_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591722","1399591721","1399591718"],"photo_ids_order":["1399591718","1399591721","1399591722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ffa06b4f0b7d099c89baa0661bfe9f9.jpg","text":"TemporaryFile(/tmp/multipartBody5311282955131095290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854742749,"filename":"image_16122025_04_11_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4f1ffd8a45d3ae8e97ba9ae8edb5dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4862169789796335112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854742749,"filename":"image_16122025_04_11_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/16/72371c7bf5a4abd2854d527feed818c1.jpg","text":"TemporaryFile(/tmp/multipartBody8442138948152217658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854742749,"filename":"image_16122025_04_10_04_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591722","file1":"1399591721","file0":"1399591718"},"map_files_photo_id_array":[{"photo_id":"1399591722","filename":"file2"},{"photo_id":"1399591721","filename":"file1"},{"photo_id":"1399591718","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591722":["hashtag1","hashtag2"]},{"1399591721":["hashtag1","hashtag2"]},{"1399591718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591722, 1399591721, 1399591718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.173362970352173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:12:02.893730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:12:12.442930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:12:22.568251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/11/image_16122025_04_11_54_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/11/image_16122025_04_11_54_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591741"],"photo_id":"1399591741","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1161853fb129ecb9dc7e7399770f80bd.jpg","text":"TemporaryFile(/tmp/multipartBody447056229080472900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854803002,"filename":"image_16122025_04_11_54_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399591741"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399591741"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.32939600944519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:12:42.402725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_35_13502.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_36_1562.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_38_1781.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_40_1692.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_41_1677.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_43_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_35_13502.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_36_1562.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_38_1781.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_40_1692.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_41_1677.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_43_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591762","1399591756","1399591764","1399591758","1399591752","1399591760"],"photo_ids_order":["1399591752","1399591756","1399591758","1399591760","1399591762","1399591764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fca1abc6322c0af39684419f9f0759f4.jpg","text":"TemporaryFile(/tmp/multipartBody8652064193462412307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854823107,"filename":"image_06112025_14_58_41_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/16/5b86fd1304d90efb7c3e26ecf3a57684.jpg","text":"TemporaryFile(/tmp/multipartBody4675867930733703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854823107,"filename":"image_06112025_14_58_36_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/16/f89ba4739f5e2a5ec3f4d77a5579aa5d.jpg","text":"TemporaryFile(/tmp/multipartBody2997214586453361584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854823107,"filename":"image_06112025_14_58_43_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/16/ec932ae634701cfe96fd2efe511d47d4.jpg","text":"TemporaryFile(/tmp/multipartBody7716839963631889710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854823107,"filename":"image_06112025_14_58_38_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/16/cb8bd3c5d33bdc4e6de6bdda14f5a350.jpg","text":"TemporaryFile(/tmp/multipartBody2244769847305831373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854823107,"filename":"image_06112025_14_58_35_13502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba2d1b0d110ff68e132d9614e7c96e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4314293246510797408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854823107,"filename":"image_06112025_14_58_40_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591758","file1":"1399591756","file0":"1399591752","file4":"1399591762","file5":"1399591764","file3":"1399591760"},"map_files_photo_id_array":[{"photo_id":"1399591764","filename":"file5"},{"photo_id":"1399591758","filename":"file2"},{"photo_id":"1399591762","filename":"file4"},{"photo_id":"1399591756","filename":"file1"},{"photo_id":"1399591752","filename":"file0"},{"photo_id":"1399591760","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399591762":["hashtag1","hashtag2"]},{"1399591756":["hashtag1","hashtag2"]},{"1399591764":["hashtag1","hashtag2"]},{"1399591758":["hashtag1","hashtag2"]},{"1399591752":["hashtag1","hashtag2"]},{"1399591760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399591762, 1399591756, 1399591764, 1399591758, 1399591752, 1399591760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04699635505676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:13:22.680052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/12/image_16122025_04_12_34_9613.jpg', '/home/pi/Desktop/images/16122025/04/12/image_16122025_04_13_05_10019.jpg', '/home/pi/Desktop/images/16122025/04/13/image_16122025_04_13_15_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/12/image_16122025_04_12_34_9613.jpg
/home/pi/Desktop/images/16122025/04/12/image_16122025_04_13_05_10019.jpg
/home/pi/Desktop/images/16122025/04/13/image_16122025_04_13_15_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":["1399591765","1399591768","1399591766"],"photo_ids_order":["1399591765","1399591766","1399591768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9aa9a9b2dec091c9b2c6ad5270a76b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1824035999122464739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854863198,"filename":"image_16122025_04_12_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d67903314f5e13596a26a57dc73036c.jpg","text":"TemporaryFile(/tmp/multipartBody3288932228164054041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854863198,"filename":"image_16122025_04_13_15_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/16/330dccb239229b5a3f1bffb23927561e.jpg","text":"TemporaryFile(/tmp/multipartBody3051470934133152845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854863198,"filename":"image_16122025_04_13_05_10019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591768","file1":"1399591766","file0":"1399591765"},"map_files_photo_id_array":[{"photo_id":"1399591768","filename":"file2"},{"photo_id":"1399591766","filename":"file1"},{"photo_id":"1399591765","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591765":["hashtag1","hashtag2"]},{"1399591768":["hashtag1","hashtag2"]},{"1399591766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591765, 1399591768, 1399591766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.048087120056152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:14:02.693488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:14:11.969501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:14:22.053792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/13/image_16122025_04_13_55_10600.jpg', '/home/pi/Desktop/images/16122025/04/13/image_16122025_04_14_04_9664.jpg', '/home/pi/Desktop/images/16122025/04/14/image_16122025_04_14_34_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/13/image_16122025_04_13_55_10600.jpg
/home/pi/Desktop/images/16122025/04/13/image_16122025_04_14_04_9664.jpg
/home/pi/Desktop/images/16122025/04/14/image_16122025_04_14_34_9578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4129600524902344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:14:32.112299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:14:42.047282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_45_1543.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_46_1604.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_48_1775.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_51_2577.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_54_3794.jpg', '/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_57_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_45_1543.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_46_1604.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_48_1775.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_51_2577.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_54_3794.jpg
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_58_57_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591832","1399591840","1399591842","1399591830","1399591821","1399591838"],"photo_ids_order":["1399591821","1399591830","1399591832","1399591838","1399591840","1399591842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3845152ceb9600a70e86fc395339ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7853507341701507890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854942826,"filename":"image_06112025_14_58_48_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9ef93dedc47b5d94de96d264ee6a13ec.jpg","text":"TemporaryFile(/tmp/multipartBody2370485371132115087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854942826,"filename":"image_06112025_14_58_54_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/16/c1cf4162b671e9e0430af3bb29ab0e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1622670804998649792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854942826,"filename":"image_06112025_14_58_57_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/16/f7142d8b79f9923da34893d4d607c5e4.jpg","text":"TemporaryFile(/tmp/multipartBody1129200119274330019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854942826,"filename":"image_06112025_14_58_46_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a51b6818a53cd7e91e98fa667cb60b04.jpg","text":"TemporaryFile(/tmp/multipartBody2073206438242935458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854942826,"filename":"image_06112025_14_58_45_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/16/6311f746c8ca2f68ae628904422d0d39.jpg","text":"TemporaryFile(/tmp/multipartBody3330632687853134209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854942826,"filename":"image_06112025_14_58_51_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591832","file1":"1399591830","file0":"1399591821","file4":"1399591840","file5":"1399591842","file3":"1399591838"},"map_files_photo_id_array":[{"photo_id":"1399591842","filename":"file5"},{"photo_id":"1399591832","filename":"file2"},{"photo_id":"1399591840","filename":"file4"},{"photo_id":"1399591830","filename":"file1"},{"photo_id":"1399591821","filename":"file0"},{"photo_id":"1399591838","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399591832":["hashtag1","hashtag2"]},{"1399591840":["hashtag1","hashtag2"]},{"1399591842":["hashtag1","hashtag2"]},{"1399591830":["hashtag1","hashtag2"]},{"1399591821":["hashtag1","hashtag2"]},{"1399591838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399591832, 1399591840, 1399591842, 1399591830, 1399591821, 1399591838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37479209899902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:15:22.318882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/13/image_16122025_04_13_55_10600.jpg', '/home/pi/Desktop/images/16122025/04/13/image_16122025_04_14_04_9664.jpg', '/home/pi/Desktop/images/16122025/04/14/image_16122025_04_14_34_9578.jpg', '/home/pi/Desktop/images/16122025/04/14/image_16122025_04_14_55_10720.jpg', '/home/pi/Desktop/images/16122025/04/14/image_16122025_04_15_04_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/13/image_16122025_04_13_55_10600.jpg
/home/pi/Desktop/images/16122025/04/13/image_16122025_04_14_04_9664.jpg
/home/pi/Desktop/images/16122025/04/14/image_16122025_04_14_34_9578.jpg
/home/pi/Desktop/images/16122025/04/14/image_16122025_04_14_55_10720.jpg
/home/pi/Desktop/images/16122025/04/14/image_16122025_04_15_04_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591852","1399591849","1399591851","1399591845","1399591847"],"photo_ids_order":["1399591845","1399591847","1399591849","1399591851","1399591852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f77d5dcf564598060e9b35deae6201c.jpg","text":"TemporaryFile(/tmp/multipartBody3653104280684093833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854982929,"filename":"image_16122025_04_15_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/16/65a46d7e4fbce09c3934797261da61f3.jpg","text":"TemporaryFile(/tmp/multipartBody162591874250366969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854982929,"filename":"image_16122025_04_14_34_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/974cabcf3b757c284a09eb00bc58ee8c.jpg","text":"TemporaryFile(/tmp/multipartBody6593738562201479510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854982929,"filename":"image_16122025_04_14_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/16/665bb87c60b0242d9c3417613266daad.jpg","text":"TemporaryFile(/tmp/multipartBody3631309784994392210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854982929,"filename":"image_16122025_04_13_55_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a005bba6c19c0a63b4a0053add4ff9c4.jpg","text":"TemporaryFile(/tmp/multipartBody307868713724655625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765854982929,"filename":"image_16122025_04_14_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591849","file1":"1399591847","file0":"1399591845","file4":"1399591852","file3":"1399591851"},"map_files_photo_id_array":[{"photo_id":"1399591849","filename":"file2"},{"photo_id":"1399591852","filename":"file4"},{"photo_id":"1399591847","filename":"file1"},{"photo_id":"1399591845","filename":"file0"},{"photo_id":"1399591851","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591852":["hashtag1","hashtag2"]},{"1399591849":["hashtag1","hashtag2"]},{"1399591851":["hashtag1","hashtag2"]},{"1399591845":["hashtag1","hashtag2"]},{"1399591847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591852, 1399591849, 1399591851, 1399591845, 1399591847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.71328520774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:16:03.047592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:16:12.431146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:16:22.487371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/15/image_16122025_04_15_14_9821.jpg', '/home/pi/Desktop/images/16122025/04/16/image_16122025_04_16_14_9731.jpg', '/home/pi/Desktop/images/16122025/04/16/image_16122025_04_16_24_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/15/image_16122025_04_15_14_9821.jpg
/home/pi/Desktop/images/16122025/04/16/image_16122025_04_16_14_9731.jpg
/home/pi/Desktop/images/16122025/04/16/image_16122025_04_16_24_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":["1399591867","1399591863","1399591865"],"photo_ids_order":["1399591863","1399591865","1399591867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/790f91c83f060f72cec3a7b1a91e66e0.jpg","text":"TemporaryFile(/tmp/multipartBody7124481891695296855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855043027,"filename":"image_16122025_04_16_24_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af555069f43d19ef57a8f5d796ad7e50.jpg","text":"TemporaryFile(/tmp/multipartBody8806888547425304089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855043027,"filename":"image_16122025_04_15_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/16/a972703f655872a57110dc597f2bd0db.jpg","text":"TemporaryFile(/tmp/multipartBody8444910380737299930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855043027,"filename":"image_16122025_04_16_14_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591867","file1":"1399591865","file0":"1399591863"},"map_files_photo_id_array":[{"photo_id":"1399591867","filename":"file2"},{"photo_id":"1399591865","filename":"file1"},{"photo_id":"1399591863","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591867":["hashtag1","hashtag2"]},{"1399591863":["hashtag1","hashtag2"]},{"1399591865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591867, 1399591863, 1399591865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.83130669593811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:17:03.485867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:17:12.755592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:17:22.824557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/16/image_16122025_04_16_44_9609.jpg', '/home/pi/Desktop/images/16122025/04/17/image_16122025_04_17_15_10699.jpg', '/home/pi/Desktop/images/16122025/04/17/image_16122025_04_17_24_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/16/image_16122025_04_16_44_9609.jpg
/home/pi/Desktop/images/16122025/04/17/image_16122025_04_17_15_10699.jpg
/home/pi/Desktop/images/16122025/04/17/image_16122025_04_17_24_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591888","1399591890","1399591892"],"photo_ids_order":["1399591888","1399591890","1399591892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57a190899564dc9447d7054bdd3f4bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3206899999310588136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855103345,"filename":"image_16122025_04_16_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/16/67a041370a6baeb6aa126dd6556ee2c3.jpg","text":"TemporaryFile(/tmp/multipartBody8589854893690959565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855103345,"filename":"image_16122025_04_17_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5971165d6251d25d3c5562ad4b4aae43.jpg","text":"TemporaryFile(/tmp/multipartBody571730752484426283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855103345,"filename":"image_16122025_04_17_24_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591892","file1":"1399591890","file0":"1399591888"},"map_files_photo_id_array":[{"photo_id":"1399591892","filename":"file2"},{"photo_id":"1399591890","filename":"file1"},{"photo_id":"1399591888","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591888":["hashtag1","hashtag2"]},{"1399591890":["hashtag1","hashtag2"]},{"1399591892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591888, 1399591890, 1399591892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.982961416244507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:18:02.594460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:18:12.123901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:18:22.112692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/58/image_06112025_14_59_00_2687.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_07_7060.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_14_6701.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_15_1709.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_17_1683.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_19_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/58/image_06112025_14_59_00_2687.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_07_7060.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_14_6701.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_15_1709.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_17_1683.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_19_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591925","1399591930","1399591944","1399591932","1399591934","1399591928"],"photo_ids_order":["1399591925","1399591928","1399591930","1399591932","1399591934","1399591944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/494bc9b76dd56082cbccb953c6820120.jpg","text":"TemporaryFile(/tmp/multipartBody1887444027998762386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855162874,"filename":"image_06112025_14_59_00_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c98abdeb0c714461ade408cd5c03ce4a.jpg","text":"TemporaryFile(/tmp/multipartBody6049392292447798527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855162874,"filename":"image_06112025_14_59_14_6701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c41636a6e61e97fa9842c4e7bc2b30d.jpg","text":"TemporaryFile(/tmp/multipartBody3493416858198720661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855162874,"filename":"image_06112025_14_59_19_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97a5a7d71f9edc0c7bc3ed32dfd91ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7034517862017994222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855162874,"filename":"image_06112025_14_59_15_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/16/d448a8beaccc30177f73ae95e8218f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6445970096580063789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855162874,"filename":"image_06112025_14_59_17_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7fd5ce19b74155fb66a49f76944379a.jpg","text":"TemporaryFile(/tmp/multipartBody3192538372240661926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855162874,"filename":"image_06112025_14_59_07_7060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591930","file1":"1399591928","file0":"1399591925","file4":"1399591934","file5":"1399591944","file3":"1399591932"},"map_files_photo_id_array":[{"photo_id":"1399591944","filename":"file5"},{"photo_id":"1399591930","filename":"file2"},{"photo_id":"1399591934","filename":"file4"},{"photo_id":"1399591928","filename":"file1"},{"photo_id":"1399591925","filename":"file0"},{"photo_id":"1399591932","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399591925":["hashtag1","hashtag2"]},{"1399591930":["hashtag1","hashtag2"]},{"1399591944":["hashtag1","hashtag2"]},{"1399591932":["hashtag1","hashtag2"]},{"1399591934":["hashtag1","hashtag2"]},{"1399591928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399591925, 1399591930, 1399591944, 1399591932, 1399591934, 1399591928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77577590942383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:19:03.242385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:19:12.471606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:19:22.500680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/17/image_16122025_04_17_34_9901.jpg', '/home/pi/Desktop/images/16122025/04/19/image_16122025_04_19_25_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/17/image_16122025_04_17_34_9901.jpg
/home/pi/Desktop/images/16122025/04/19/image_16122025_04_19_25_9873.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591966","1399591962"],"photo_ids_order":["1399591962","1399591966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83c70413ffc614bdad4777e18c254f22.jpg","text":"TemporaryFile(/tmp/multipartBody1087249079562812022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855222975,"filename":"image_16122025_04_19_25_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/16/937a3d56baab2554b0a421c010d7711f.jpg","text":"TemporaryFile(/tmp/multipartBody7202787410644279284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855222975,"filename":"image_16122025_04_17_34_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399591966","file0":"1399591962"},"map_files_photo_id_array":[{"photo_id":"1399591966","filename":"file1"},{"photo_id":"1399591962","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591966":["hashtag1","hashtag2"]},{"1399591962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591966, 1399591962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.884546279907227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:19:42.355906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_20_1569.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_22_1767.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_24_1664.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_27_3616.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_30_2579.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_33_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_20_1569.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_22_1767.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_24_1664.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_27_3616.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_30_2579.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_33_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":["1399591981","1399591975","1399591971","1399591977","1399591979","1399591973"],"photo_ids_order":["1399591971","1399591973","1399591975","1399591977","1399591979","1399591981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6373d3950ca64748ad020b1a7acaac0.jpg","text":"TemporaryFile(/tmp/multipartBody7214592329262757697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855243051,"filename":"image_06112025_14_59_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/16/280f56ab2bfa483482436ee7c8a33652.jpg","text":"TemporaryFile(/tmp/multipartBody4094107887590508316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855243051,"filename":"image_06112025_14_59_24_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78c3444eabd14eeb3c03ccf8aa62ba66.jpg","text":"TemporaryFile(/tmp/multipartBody5268248024104226800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855243051,"filename":"image_06112025_14_59_20_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/16/55103e5daffe1792bad1c736124e367a.jpg","text":"TemporaryFile(/tmp/multipartBody4554869873112493374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855243051,"filename":"image_06112025_14_59_27_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/16/6a36abe0189765cada68002d28db21f5.jpg","text":"TemporaryFile(/tmp/multipartBody1164709097992225039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855243051,"filename":"image_06112025_14_59_30_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/16/fe61fbdf0eb3bf83fab711f1e7d59763.jpg","text":"TemporaryFile(/tmp/multipartBody3521855183321436106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855243051,"filename":"image_06112025_14_59_22_1767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591975","file1":"1399591973","file0":"1399591971","file4":"1399591979","file5":"1399591981","file3":"1399591977"},"map_files_photo_id_array":[{"photo_id":"1399591981","filename":"file5"},{"photo_id":"1399591975","filename":"file2"},{"photo_id":"1399591979","filename":"file4"},{"photo_id":"1399591973","filename":"file1"},{"photo_id":"1399591971","filename":"file0"},{"photo_id":"1399591977","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399591981":["hashtag1","hashtag2"]},{"1399591975":["hashtag1","hashtag2"]},{"1399591971":["hashtag1","hashtag2"]},{"1399591977":["hashtag1","hashtag2"]},{"1399591979":["hashtag1","hashtag2"]},{"1399591973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399591981, 1399591975, 1399591971, 1399591977, 1399591979, 1399591973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05714154243469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:20:22.712059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/19/image_16122025_04_19_44_9816.jpg', '/home/pi/Desktop/images/16122025/04/19/image_16122025_04_20_04_9694.jpg', '/home/pi/Desktop/images/16122025/04/20/image_16122025_04_20_14_9878.jpg', '/home/pi/Desktop/images/16122025/04/20/image_16122025_04_20_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/19/image_16122025_04_19_44_9816.jpg
/home/pi/Desktop/images/16122025/04/19/image_16122025_04_20_04_9694.jpg
/home/pi/Desktop/images/16122025/04/20/image_16122025_04_20_14_9878.jpg
/home/pi/Desktop/images/16122025/04/20/image_16122025_04_20_24_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399591984","1399591986","1399591982","1399591988"],"photo_ids_order":["1399591982","1399591984","1399591986","1399591988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb01480fca324a201dcdb2553fc1440e.jpg","text":"TemporaryFile(/tmp/multipartBody8189277647071242020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855283302,"filename":"image_16122025_04_20_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/16/d9157922c9aaa2cb8d0d175a9b9e0490.jpg","text":"TemporaryFile(/tmp/multipartBody2138400093409334167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855283302,"filename":"image_16122025_04_20_14_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7bb89744b45620c841809ddafc959eb.jpg","text":"TemporaryFile(/tmp/multipartBody2538956373506488216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855283302,"filename":"image_16122025_04_19_44_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a5c3fe15a0708c6e0c5bc8597a251dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2122613649200756217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855283302,"filename":"image_16122025_04_20_24_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399591986","file1":"1399591984","file0":"1399591982","file3":"1399591988"},"map_files_photo_id_array":[{"photo_id":"1399591986","filename":"file2"},{"photo_id":"1399591984","filename":"file1"},{"photo_id":"1399591982","filename":"file0"},{"photo_id":"1399591988","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399591984":["hashtag1","hashtag2"]},{"1399591986":["hashtag1","hashtag2"]},{"1399591982":["hashtag1","hashtag2"]},{"1399591988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399591984, 1399591986, 1399591982, 1399591988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.88930106163025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:21:02.493103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:21:11.818360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:21:21.876286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/20/image_16122025_04_20_45_10739.jpg', '/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_24_9729.jpg', '/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_34_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/20/image_16122025_04_20_45_10739.jpg
/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_24_9729.jpg
/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_34_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592020","1399592022","1399592018"],"photo_ids_order":["1399592018","1399592020","1399592022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b5d846fca4e96aeb2a6d72236bce987.jpg","text":"TemporaryFile(/tmp/multipartBody2028475390937441605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855342396,"filename":"image_16122025_04_21_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/16/403124e0303e2e887a0f008c63fd1dcd.jpg","text":"TemporaryFile(/tmp/multipartBody8862658616374814741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855342396,"filename":"image_16122025_04_21_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/16/2d82f97b94eade4c75c0065e2b039798.jpg","text":"TemporaryFile(/tmp/multipartBody4528267671048823910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855342396,"filename":"image_16122025_04_20_45_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592022","file1":"1399592020","file0":"1399592018"},"map_files_photo_id_array":[{"photo_id":"1399592022","filename":"file2"},{"photo_id":"1399592020","filename":"file1"},{"photo_id":"1399592018","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592020":["hashtag1","hashtag2"]},{"1399592022":["hashtag1","hashtag2"]},{"1399592018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592020, 1399592022, 1399592018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.713600397109985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:22:02.410115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:22:11.956601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:22:22.067936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_55_10745.jpg', '/home/pi/Desktop/images/16122025/04/21/image_16122025_04_22_04_9634.jpg', '/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_14_9760.jpg', '/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_44_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_55_10745.jpg
/home/pi/Desktop/images/16122025/04/21/image_16122025_04_22_04_9634.jpg
/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_14_9760.jpg
/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_44_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.46016716957092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:22:32.013520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:22:41.940748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_36_2660.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_39_2584.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_42_3614.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_45_2926.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_48_2676.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_51_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_36_2660.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_39_2584.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_42_3614.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_45_2926.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_48_2676.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_51_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592056","1399592059","1399592053","1399592064","1399592060","1399592074"],"photo_ids_order":["1399592053","1399592056","1399592059","1399592060","1399592064","1399592074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/142e8f1bda0d0359a8d57105aa755a1f.jpg","text":"TemporaryFile(/tmp/multipartBody9022730413989312832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855422641,"filename":"image_06112025_14_59_39_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/16/a50535ab3bde8bc974f1eb666ba95acf.jpg","text":"TemporaryFile(/tmp/multipartBody4037913422989401626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855422641,"filename":"image_06112025_14_59_42_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/16/5656cde19533114e0a221c07c74bf525.jpg","text":"TemporaryFile(/tmp/multipartBody5137775696922006668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855422641,"filename":"image_06112025_14_59_36_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e33acd9003f1b36ce0d64f856b86f7bb.jpg","text":"TemporaryFile(/tmp/multipartBody5792086999135823862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855422641,"filename":"image_06112025_14_59_48_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/16/c04536bf1ea9f6267bd9279921b963ec.jpg","text":"TemporaryFile(/tmp/multipartBody7829950326636294359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855422641,"filename":"image_06112025_14_59_45_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b6fed8d3e9dc461b1896e9e184aeb16.jpg","text":"TemporaryFile(/tmp/multipartBody2322638349032760485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855422641,"filename":"image_06112025_14_59_51_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592059","file1":"1399592056","file0":"1399592053","file4":"1399592064","file5":"1399592074","file3":"1399592060"},"map_files_photo_id_array":[{"photo_id":"1399592074","filename":"file5"},{"photo_id":"1399592059","filename":"file2"},{"photo_id":"1399592064","filename":"file4"},{"photo_id":"1399592056","filename":"file1"},{"photo_id":"1399592053","filename":"file0"},{"photo_id":"1399592060","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592056":["hashtag1","hashtag2"]},{"1399592059":["hashtag1","hashtag2"]},{"1399592053":["hashtag1","hashtag2"]},{"1399592064":["hashtag1","hashtag2"]},{"1399592060":["hashtag1","hashtag2"]},{"1399592074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592056, 1399592059, 1399592053, 1399592064, 1399592060, 1399592074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.838862895965576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:23:22.194648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_55_10745.jpg', '/home/pi/Desktop/images/16122025/04/21/image_16122025_04_22_04_9634.jpg', '/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_14_9760.jpg', '/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_44_9738.jpg', '/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_54_9739.jpg', '/home/pi/Desktop/images/16122025/04/22/image_16122025_04_23_05_10842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/21/image_16122025_04_21_55_10745.jpg
/home/pi/Desktop/images/16122025/04/21/image_16122025_04_22_04_9634.jpg
/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_14_9760.jpg
/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_44_9738.jpg
/home/pi/Desktop/images/16122025/04/22/image_16122025_04_22_54_9739.jpg
/home/pi/Desktop/images/16122025/04/22/image_16122025_04_23_05_10842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592079","1399592082","1399592076","1399592084","1399592078","1399592089"],"photo_ids_order":["1399592076","1399592078","1399592079","1399592082","1399592084","1399592089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07b9389c85daf559561d55036752c762.jpg","text":"TemporaryFile(/tmp/multipartBody2825494930524555755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855462894,"filename":"image_16122025_04_22_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/16/d599c2878f9a95b43ceb100c574b9754.jpg","text":"TemporaryFile(/tmp/multipartBody643405595998161488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855462894,"filename":"image_16122025_04_22_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/16/a525d8e6f9824a75c8e2c7a50882d715.jpg","text":"TemporaryFile(/tmp/multipartBody917764390763914908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855462894,"filename":"image_16122025_04_21_55_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e96bac224d161ccbe0d3fca4c1ffd22.jpg","text":"TemporaryFile(/tmp/multipartBody1059839197444506025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855462894,"filename":"image_16122025_04_22_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b7cf0f8dcdd74c907833943ff103803.jpg","text":"TemporaryFile(/tmp/multipartBody1139439689765878908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855462894,"filename":"image_16122025_04_22_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/16/b65fd906cb3d97b98c272aa076cc242e.jpg","text":"TemporaryFile(/tmp/multipartBody8831010859150177256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855462894,"filename":"image_16122025_04_23_05_10842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592079","file1":"1399592078","file0":"1399592076","file4":"1399592084","file5":"1399592089","file3":"1399592082"},"map_files_photo_id_array":[{"photo_id":"1399592089","filename":"file5"},{"photo_id":"1399592079","filename":"file2"},{"photo_id":"1399592084","filename":"file4"},{"photo_id":"1399592078","filename":"file1"},{"photo_id":"1399592076","filename":"file0"},{"photo_id":"1399592082","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592079":["hashtag1","hashtag2"]},{"1399592082":["hashtag1","hashtag2"]},{"1399592076":["hashtag1","hashtag2"]},{"1399592084":["hashtag1","hashtag2"]},{"1399592078":["hashtag1","hashtag2"]},{"1399592089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592079, 1399592082, 1399592076, 1399592084, 1399592078, 1399592089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.215697050094604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:24:03.052801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:24:12.427442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:24:22.469987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/23/image_16122025_04_23_14_9581.jpg', '/home/pi/Desktop/images/16122025/04/23/image_16122025_04_24_04_9913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/23/image_16122025_04_23_14_9581.jpg
/home/pi/Desktop/images/16122025/04/23/image_16122025_04_24_04_9913.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592098","1399592096"],"photo_ids_order":["1399592096","1399592098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea6388416d4c2412b839186aac7d0f11.jpg","text":"TemporaryFile(/tmp/multipartBody6605204193614719284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855522963,"filename":"image_16122025_04_24_04_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b367af0ed0c421c96490c5e529d7b41.jpg","text":"TemporaryFile(/tmp/multipartBody6121904466719613917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855522963,"filename":"image_16122025_04_23_14_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399592098","file0":"1399592096"},"map_files_photo_id_array":[{"photo_id":"1399592098","filename":"file1"},{"photo_id":"1399592096","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592098":["hashtag1","hashtag2"]},{"1399592096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592098, 1399592096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.80359387397766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:24:42.328125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_54_2954.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_57_3579.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_15_00_00_2707.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_09_5275.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_13_3141.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_14_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_54_2954.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_57_3579.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_15_00_00_2707.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_09_5275.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_13_3141.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_14_1634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6025612354278564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:25:03.087376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:25:12.636439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:25:22.571545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/24/image_16122025_04_24_15_10658.jpg', '/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_14_9643.jpg', '/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_25_10640.jpg', '/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/24/image_16122025_04_24_15_10658.jpg
/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_14_9643.jpg
/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_25_10640.jpg
/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_34_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592134","1399592136","1399592130","1399592132"],"photo_ids_order":["1399592130","1399592132","1399592134","1399592136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26b69e8ba0c7da49fd46dfa2db738c13.jpg","text":"TemporaryFile(/tmp/multipartBody2644047186193261822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855583158,"filename":"image_16122025_04_25_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/16/3b0f2453d901791086440ea74f30d98e.jpg","text":"TemporaryFile(/tmp/multipartBody1323070243817778323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855583158,"filename":"image_16122025_04_25_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/16/f37622a1297e56539be71c9de75f8517.jpg","text":"TemporaryFile(/tmp/multipartBody2004456099990125879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855583158,"filename":"image_16122025_04_24_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/16/fb22156bd166e6e431889bc07c424086.jpg","text":"TemporaryFile(/tmp/multipartBody3494864468645286128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855583158,"filename":"image_16122025_04_25_14_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592134","file1":"1399592132","file0":"1399592130","file3":"1399592136"},"map_files_photo_id_array":[{"photo_id":"1399592134","filename":"file2"},{"photo_id":"1399592132","filename":"file1"},{"photo_id":"1399592130","filename":"file0"},{"photo_id":"1399592136","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592134":["hashtag1","hashtag2"]},{"1399592136":["hashtag1","hashtag2"]},{"1399592130":["hashtag1","hashtag2"]},{"1399592132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592134, 1399592136, 1399592130, 1399592132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.393004894256592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:26:02.397549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:26:11.854451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:26:21.982960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_44_9664.jpg', '/home/pi/Desktop/images/16122025/04/26/image_16122025_04_26_25_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/25/image_16122025_04_25_44_9664.jpg
/home/pi/Desktop/images/16122025/04/26/image_16122025_04_26_25_10712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592146","1399592144"],"photo_ids_order":["1399592144","1399592146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c125fbdcf73ed58e09d16886bf9f61bd.jpg","text":"TemporaryFile(/tmp/multipartBody8386562371937104124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855642454,"filename":"image_16122025_04_26_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bced198db2f67954967699b7a2b90191.jpg","text":"TemporaryFile(/tmp/multipartBody6569431362999211602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855642454,"filename":"image_16122025_04_25_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399592146","file0":"1399592144"},"map_files_photo_id_array":[{"photo_id":"1399592146","filename":"file1"},{"photo_id":"1399592144","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592146":["hashtag1","hashtag2"]},{"1399592144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592146, 1399592144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.235087394714355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:26:41.837340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_54_2954.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_57_3579.jpg', '/home/pi/Desktop/images/06112025/14/59/image_06112025_15_00_00_2707.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_09_5275.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_13_3141.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_14_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_54_2954.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_14_59_57_3579.jpg
/home/pi/Desktop/images/06112025/14/59/image_06112025_15_00_00_2707.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_09_5275.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_13_3141.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_14_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592170","1399592163","1399592150","1399592156","1399592173","1399592167"],"photo_ids_order":["1399592150","1399592156","1399592163","1399592167","1399592170","1399592173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84becbd34176a52ce25f9b47b3e47f43.jpg","text":"TemporaryFile(/tmp/multipartBody8883513946011721531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855662434,"filename":"image_06112025_15_00_13_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/16/765ab45a123a7135029a2491727afaa8.jpg","text":"TemporaryFile(/tmp/multipartBody6134103461528630248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855662434,"filename":"image_06112025_15_00_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/16/9da047bb46cfa92074ddff9e5d15d8c0.jpg","text":"TemporaryFile(/tmp/multipartBody3616090667514917082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855662434,"filename":"image_06112025_14_59_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/16/aa869dce84201d8fef658b6597bee05c.jpg","text":"TemporaryFile(/tmp/multipartBody810874329165287496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855662434,"filename":"image_06112025_14_59_57_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/16/74687c167ed104ed6f57e9205f651836.jpg","text":"TemporaryFile(/tmp/multipartBody6588509072724963900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855662434,"filename":"image_06112025_15_00_14_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/405a9ce81a5ad15181481218a9562233.jpg","text":"TemporaryFile(/tmp/multipartBody5765267400507780065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855662434,"filename":"image_06112025_15_00_09_5275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592163","file1":"1399592156","file0":"1399592150","file4":"1399592170","file5":"1399592173","file3":"1399592167"},"map_files_photo_id_array":[{"photo_id":"1399592173","filename":"file5"},{"photo_id":"1399592163","filename":"file2"},{"photo_id":"1399592170","filename":"file4"},{"photo_id":"1399592156","filename":"file1"},{"photo_id":"1399592150","filename":"file0"},{"photo_id":"1399592167","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592170":["hashtag1","hashtag2"]},{"1399592163":["hashtag1","hashtag2"]},{"1399592150":["hashtag1","hashtag2"]},{"1399592156":["hashtag1","hashtag2"]},{"1399592173":["hashtag1","hashtag2"]},{"1399592167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592170, 1399592163, 1399592150, 1399592156, 1399592173, 1399592167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57528734207153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:27:22.109912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_17_2718.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_20_3349.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_23_2598.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_32_9137.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_34_1668.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_35_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_17_2718.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_20_3349.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_23_2598.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_32_9137.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_34_1668.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_35_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592179","1399592181","1399592175","1399592183","1399592177","1399592185"],"photo_ids_order":["1399592175","1399592177","1399592179","1399592181","1399592183","1399592185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f103dde3b49e55de5b8addffda61c39.jpg","text":"TemporaryFile(/tmp/multipartBody3950242667943488037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855702851,"filename":"image_06112025_15_00_23_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/16/bc0e5d90b1cdbbb5c50ac6cdf2e26a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4667201269969091946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855702851,"filename":"image_06112025_15_00_32_9137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1d49ea171ec22c9d209fda4ae5f421d.jpg","text":"TemporaryFile(/tmp/multipartBody4320522756160037666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855702851,"filename":"image_06112025_15_00_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/16/56fd797eccaf9a8fb352e3a741a8cbc3.jpg","text":"TemporaryFile(/tmp/multipartBody6971750730340397770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855702851,"filename":"image_06112025_15_00_34_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad1b8373ed17bedde8740accba010729.jpg","text":"TemporaryFile(/tmp/multipartBody2226888914747938629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855702851,"filename":"image_06112025_15_00_20_3349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a048d9ae0074b4f657948544bbbe1abf.jpg","text":"TemporaryFile(/tmp/multipartBody6520098137471125270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855702851,"filename":"image_06112025_15_00_35_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592179","file1":"1399592177","file0":"1399592175","file4":"1399592183","file5":"1399592185","file3":"1399592181"},"map_files_photo_id_array":[{"photo_id":"1399592185","filename":"file5"},{"photo_id":"1399592179","filename":"file2"},{"photo_id":"1399592183","filename":"file4"},{"photo_id":"1399592177","filename":"file1"},{"photo_id":"1399592175","filename":"file0"},{"photo_id":"1399592181","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592179":["hashtag1","hashtag2"]},{"1399592181":["hashtag1","hashtag2"]},{"1399592175":["hashtag1","hashtag2"]},{"1399592183":["hashtag1","hashtag2"]},{"1399592177":["hashtag1","hashtag2"]},{"1399592185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592179, 1399592181, 1399592175, 1399592183, 1399592177, 1399592185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1258442401886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:28:02.744099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:28:12.237200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:28:22.303655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/26/image_16122025_04_26_34_9546.jpg', '/home/pi/Desktop/images/16122025/04/28/image_16122025_04_28_15_10689.jpg', '/home/pi/Desktop/images/16122025/04/28/image_16122025_04_28_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/26/image_16122025_04_26_34_9546.jpg
/home/pi/Desktop/images/16122025/04/28/image_16122025_04_28_15_10689.jpg
/home/pi/Desktop/images/16122025/04/28/image_16122025_04_28_24_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592197","1399592203","1399592200"],"photo_ids_order":["1399592197","1399592200","1399592203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf0947b53405c1fe1ddc64508140a56a.jpg","text":"TemporaryFile(/tmp/multipartBody8796675890844547607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855762820,"filename":"image_16122025_04_26_34_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/792a1bee4ceaba94c1843e9845126ead.jpg","text":"TemporaryFile(/tmp/multipartBody1193360032313201160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855762820,"filename":"image_16122025_04_28_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/16/35490bfa999ca1846269a687cc4b7598.jpg","text":"TemporaryFile(/tmp/multipartBody5185508292220692860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855762820,"filename":"image_16122025_04_28_15_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592203","file1":"1399592200","file0":"1399592197"},"map_files_photo_id_array":[{"photo_id":"1399592203","filename":"file2"},{"photo_id":"1399592200","filename":"file1"},{"photo_id":"1399592197","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592197":["hashtag1","hashtag2"]},{"1399592203":["hashtag1","hashtag2"]},{"1399592200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592197, 1399592203, 1399592200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.869004487991333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:29:03.602891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:29:12.501159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:29:22.647353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/28/image_16122025_04_28_34_9684.jpg', '/home/pi/Desktop/images/16122025/04/28/image_16122025_04_29_04_9701.jpg', '/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_15_10618.jpg', '/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_34_9690.jpg', '/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_44_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/28/image_16122025_04_28_34_9684.jpg
/home/pi/Desktop/images/16122025/04/28/image_16122025_04_29_04_9701.jpg
/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_15_10618.jpg
/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_34_9690.jpg
/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_44_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":["1399592221","1399592218","1399592215","1399592223","1399592225"],"photo_ids_order":["1399592215","1399592218","1399592221","1399592223","1399592225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4273f3174149a48f06a6234792c9939e.jpg","text":"TemporaryFile(/tmp/multipartBody4726200997810493579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855823261,"filename":"image_16122025_04_29_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3b653dc7c548cc7f42948cfbdc4f9d1.jpg","text":"TemporaryFile(/tmp/multipartBody4951604496817988191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855823261,"filename":"image_16122025_04_29_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/16/fc8affd0329005e197ede441564c8563.jpg","text":"TemporaryFile(/tmp/multipartBody3834314962699451889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855823261,"filename":"image_16122025_04_28_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/16/d6fd000c498a5bda2466fa89cb8e0b18.jpg","text":"TemporaryFile(/tmp/multipartBody3171020142820808910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855823261,"filename":"image_16122025_04_29_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/16/b349361139fd3cb95ba2ccd4b94fc745.jpg","text":"TemporaryFile(/tmp/multipartBody7371260175559885084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855823261,"filename":"image_16122025_04_29_44_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592221","file1":"1399592218","file0":"1399592215","file4":"1399592225","file3":"1399592223"},"map_files_photo_id_array":[{"photo_id":"1399592221","filename":"file2"},{"photo_id":"1399592225","filename":"file4"},{"photo_id":"1399592218","filename":"file1"},{"photo_id":"1399592215","filename":"file0"},{"photo_id":"1399592223","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592221":["hashtag1","hashtag2"]},{"1399592218":["hashtag1","hashtag2"]},{"1399592215":["hashtag1","hashtag2"]},{"1399592223":["hashtag1","hashtag2"]},{"1399592225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592221, 1399592218, 1399592215, 1399592223, 1399592225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.26384401321411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:30:03.241960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:30:12.673710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:30:22.818676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_55_10780.jpg', '/home/pi/Desktop/images/16122025/04/29/image_16122025_04_30_04_9687.jpg', '/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_14_9753.jpg', '/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_25_10681.jpg', '/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_35_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_55_10780.jpg
/home/pi/Desktop/images/16122025/04/29/image_16122025_04_30_04_9687.jpg
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_14_9753.jpg
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_25_10681.jpg
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_35_9757.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5054068565368652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:30:32.722220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:30:42.693418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_37_1563.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_38_1559.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_40_1753.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_44_3669.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_47_2884.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_49_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_37_1563.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_38_1559.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_40_1753.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_44_3669.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_47_2884.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_49_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":["1399592260","1399592251","1399592245","1399592262","1399592258","1399592249"],"photo_ids_order":["1399592245","1399592249","1399592251","1399592258","1399592260","1399592262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a798042eb7e626fb777a5088d2b4d98.jpg","text":"TemporaryFile(/tmp/multipartBody6807826102895449531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855903455,"filename":"image_06112025_15_00_47_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/16/169e0411e05c6c3491dfe0552ab0c5e9.jpg","text":"TemporaryFile(/tmp/multipartBody7151350212879026898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855903455,"filename":"image_06112025_15_00_40_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb29a58ca963ae4836bfeb2f8a98ac51.jpg","text":"TemporaryFile(/tmp/multipartBody2688054959036502805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855903455,"filename":"image_06112025_15_00_37_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/16/2eaa07f0fb72c3965e02734cc2b35eda.jpg","text":"TemporaryFile(/tmp/multipartBody4227832419432565427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855903455,"filename":"image_06112025_15_00_49_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37c8a3a6d85c5124fd2c18536e936b06.jpg","text":"TemporaryFile(/tmp/multipartBody5503684636019528206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855903455,"filename":"image_06112025_15_00_44_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/16/7b55a8f0bd524ac0204a2253df403dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1644068167917090928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855903455,"filename":"image_06112025_15_00_38_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592251","file1":"1399592249","file0":"1399592245","file4":"1399592260","file5":"1399592262","file3":"1399592258"},"map_files_photo_id_array":[{"photo_id":"1399592262","filename":"file5"},{"photo_id":"1399592251","filename":"file2"},{"photo_id":"1399592260","filename":"file4"},{"photo_id":"1399592249","filename":"file1"},{"photo_id":"1399592245","filename":"file0"},{"photo_id":"1399592258","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592260":["hashtag1","hashtag2"]},{"1399592251":["hashtag1","hashtag2"]},{"1399592245":["hashtag1","hashtag2"]},{"1399592262":["hashtag1","hashtag2"]},{"1399592258":["hashtag1","hashtag2"]},{"1399592249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592260, 1399592251, 1399592245, 1399592262, 1399592258, 1399592249)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.8016197681427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:31:32.098632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:31:41.941559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_53_3539.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_56_2675.jpg', '/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_58_2632.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_02_3557.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_04_2521.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_08_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_53_3539.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_56_2675.jpg
/home/pi/Desktop/images/06112025/15/00/image_06112025_15_00_58_2632.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_02_3557.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_04_2521.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_08_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592278","1399592271","1399592280","1399592274","1399592268","1399592276"],"photo_ids_order":["1399592268","1399592271","1399592274","1399592276","1399592278","1399592280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e6bb241e425a0ba4cfad9f62325c033.jpg","text":"TemporaryFile(/tmp/multipartBody4091361731651499368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855962668,"filename":"image_06112025_15_01_04_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/16/849d8bc82362d37cbe214934f78c2439.jpg","text":"TemporaryFile(/tmp/multipartBody5754122691395843171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855962668,"filename":"image_06112025_15_00_56_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/16/f5f2b4d3da5d09f367f791a0371d97e6.jpg","text":"TemporaryFile(/tmp/multipartBody1005085164772752578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855962668,"filename":"image_06112025_15_01_08_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/16/d21f8d439a3223531ac6e6818c1a2c46.jpg","text":"TemporaryFile(/tmp/multipartBody6069358682460716942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855962668,"filename":"image_06112025_15_00_58_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/16/4275223c79c1393eb171663f6bbce160.jpg","text":"TemporaryFile(/tmp/multipartBody7975200701426723128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855962668,"filename":"image_06112025_15_00_53_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6120fd2b19256a420f4387f214737c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5030864818394385782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765855962668,"filename":"image_06112025_15_01_02_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592274","file1":"1399592271","file0":"1399592268","file4":"1399592278","file5":"1399592280","file3":"1399592276"},"map_files_photo_id_array":[{"photo_id":"1399592280","filename":"file5"},{"photo_id":"1399592274","filename":"file2"},{"photo_id":"1399592278","filename":"file4"},{"photo_id":"1399592271","filename":"file1"},{"photo_id":"1399592268","filename":"file0"},{"photo_id":"1399592276","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592278":["hashtag1","hashtag2"]},{"1399592271":["hashtag1","hashtag2"]},{"1399592280":["hashtag1","hashtag2"]},{"1399592274":["hashtag1","hashtag2"]},{"1399592268":["hashtag1","hashtag2"]},{"1399592276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592278, 1399592271, 1399592280, 1399592274, 1399592268, 1399592276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70229721069336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:32:22.213195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_55_10780.jpg', '/home/pi/Desktop/images/16122025/04/29/image_16122025_04_30_04_9687.jpg', '/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_14_9753.jpg', '/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_25_10681.jpg', '/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_35_9757.jpg', '/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_44_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/29/image_16122025_04_29_55_10780.jpg
/home/pi/Desktop/images/16122025/04/29/image_16122025_04_30_04_9687.jpg
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_14_9753.jpg
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_25_10681.jpg
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_35_9757.jpg
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_30_44_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592298","1399592283","1399592289","1399592282","1399592285","1399592287"],"photo_ids_order":["1399592282","1399592283","1399592285","1399592287","1399592289","1399592298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7509352f32795567088c333b49f01b4.jpg","text":"TemporaryFile(/tmp/multipartBody5163927142314402141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856002868,"filename":"image_16122025_04_30_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c06669eb6138ca8afb8441f14b5ba120.jpg","text":"TemporaryFile(/tmp/multipartBody2115395446640558677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856002868,"filename":"image_16122025_04_30_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ffc1e402d73340df498c6f72460f42c.jpg","text":"TemporaryFile(/tmp/multipartBody8804833911587424022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856002868,"filename":"image_16122025_04_30_35_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/16/be847668adde8db9b57248fac1934bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4508255365379170956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856002868,"filename":"image_16122025_04_29_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/16/995b5e83fcabd153fe5b6408062e9dee.jpg","text":"TemporaryFile(/tmp/multipartBody3672485113317578557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856002868,"filename":"image_16122025_04_30_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/16/0e38b643e39dca6b53b3037aa82a1a10.jpg","text":"TemporaryFile(/tmp/multipartBody2148997952856252170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856002868,"filename":"image_16122025_04_30_25_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592285","file1":"1399592283","file0":"1399592282","file4":"1399592289","file5":"1399592298","file3":"1399592287"},"map_files_photo_id_array":[{"photo_id":"1399592298","filename":"file5"},{"photo_id":"1399592285","filename":"file2"},{"photo_id":"1399592289","filename":"file4"},{"photo_id":"1399592283","filename":"file1"},{"photo_id":"1399592282","filename":"file0"},{"photo_id":"1399592287","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592298":["hashtag1","hashtag2"]},{"1399592283":["hashtag1","hashtag2"]},{"1399592289":["hashtag1","hashtag2"]},{"1399592282":["hashtag1","hashtag2"]},{"1399592285":["hashtag1","hashtag2"]},{"1399592287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592298, 1399592283, 1399592289, 1399592282, 1399592285, 1399592287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.736730098724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:33:03.051602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/30/image_16122025_04_31_04_9864.jpg', '/home/pi/Desktop/images/16122025/04/31/image_16122025_04_32_04_9614.jpg', '/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_14_9748.jpg', '/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_25_10725.jpg', '/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/30/image_16122025_04_31_04_9864.jpg
/home/pi/Desktop/images/16122025/04/31/image_16122025_04_32_04_9614.jpg
/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_14_9748.jpg
/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_25_10725.jpg
/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592320","1399592323","1399592322","1399592324","1399592321"],"photo_ids_order":["1399592320","1399592321","1399592322","1399592323","1399592324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4fc357d05ad68bdfd7c667443363e7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6515428314048782614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856043715,"filename":"image_16122025_04_31_04_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/16/f21b167f4dd2d895cd2b906c9ee7b659.jpg","text":"TemporaryFile(/tmp/multipartBody6493081712664593576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856043715,"filename":"image_16122025_04_32_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/16/5d01731e75e4ee3d9ab52cceebcfec06.jpg","text":"TemporaryFile(/tmp/multipartBody7308225562083347785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856043715,"filename":"image_16122025_04_32_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e6c007e41aef9c0216ffd9d3d9c0dc5.jpg","text":"TemporaryFile(/tmp/multipartBody3766222765555275945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856043715,"filename":"image_16122025_04_32_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d2f9e2b70efe54b0bffb67492bdfce6.jpg","text":"TemporaryFile(/tmp/multipartBody7205448487656667071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856043715,"filename":"image_16122025_04_32_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592322","file1":"1399592321","file0":"1399592320","file4":"1399592324","file3":"1399592323"},"map_files_photo_id_array":[{"photo_id":"1399592322","filename":"file2"},{"photo_id":"1399592324","filename":"file4"},{"photo_id":"1399592321","filename":"file1"},{"photo_id":"1399592320","filename":"file0"},{"photo_id":"1399592323","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592320":["hashtag1","hashtag2"]},{"1399592323":["hashtag1","hashtag2"]},{"1399592322":["hashtag1","hashtag2"]},{"1399592324":["hashtag1","hashtag2"]},{"1399592321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592320, 1399592323, 1399592322, 1399592324, 1399592321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.52597212791443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:33:42.499074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_11_2582.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_13_2673.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_16_2946.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_20_3593.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_22_2539.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_26_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_11_2582.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_13_2673.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_16_2946.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_20_3593.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_22_2539.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_26_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592338","1399592331","1399592340","1399592334","1399592342","1399592336"],"photo_ids_order":["1399592331","1399592334","1399592336","1399592338","1399592340","1399592342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9836dc9cbc64754c3ab1fbf1cd4802d0.jpg","text":"TemporaryFile(/tmp/multipartBody2538366619284400325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856083208,"filename":"image_06112025_15_01_20_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/898c2987d9b2b21fb5d57ddc05ca7d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4495148599813647098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856083208,"filename":"image_06112025_15_01_11_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/16/f6afef2575e88c8a9408d5ce84bb7bde.jpg","text":"TemporaryFile(/tmp/multipartBody5964190445523037851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856083208,"filename":"image_06112025_15_01_22_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/16/a7101e977caabf797c09581133f9d594.jpg","text":"TemporaryFile(/tmp/multipartBody3816247768047567388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856083208,"filename":"image_06112025_15_01_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93295d0cb7ee982f735e840e8dac28b8.jpg","text":"TemporaryFile(/tmp/multipartBody8463959784234287856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856083208,"filename":"image_06112025_15_01_26_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/16/a5e648e8ec6e44897ad75326b5269010.jpg","text":"TemporaryFile(/tmp/multipartBody6676354745906119043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856083208,"filename":"image_06112025_15_01_16_2946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592336","file1":"1399592334","file0":"1399592331","file4":"1399592340","file5":"1399592342","file3":"1399592338"},"map_files_photo_id_array":[{"photo_id":"1399592342","filename":"file5"},{"photo_id":"1399592336","filename":"file2"},{"photo_id":"1399592340","filename":"file4"},{"photo_id":"1399592334","filename":"file1"},{"photo_id":"1399592331","filename":"file0"},{"photo_id":"1399592338","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592338":["hashtag1","hashtag2"]},{"1399592331":["hashtag1","hashtag2"]},{"1399592340":["hashtag1","hashtag2"]},{"1399592334":["hashtag1","hashtag2"]},{"1399592342":["hashtag1","hashtag2"]},{"1399592336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592338, 1399592331, 1399592340, 1399592334, 1399592342, 1399592336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.371949195861816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:34:22.777067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_55_10762.jpg', '/home/pi/Desktop/images/16122025/04/33/image_16122025_04_33_35_10752.jpg', '/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_25_10573.jpg', '/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_34_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_55_10762.jpg
/home/pi/Desktop/images/16122025/04/33/image_16122025_04_33_35_10752.jpg
/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_25_10573.jpg
/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_34_9587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46567821502685547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:34:32.853911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:34:42.700999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_29_2873.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_39_9913.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_40_1601.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_42_1621.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_44_1699.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_45_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_29_2873.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_39_9913.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_40_1601.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_42_1621.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_44_1699.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_45_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":["1399592367","1399592369","1399592360","1399592363","1399592371","1399592365"],"photo_ids_order":["1399592360","1399592363","1399592365","1399592367","1399592369","1399592371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc3851ecccb0df23800353c589ea032d.jpg","text":"TemporaryFile(/tmp/multipartBody5948709288413392358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856143584,"filename":"image_06112025_15_01_42_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/16/d9c6bb12e0d5b4b0556ec08200654305.jpg","text":"TemporaryFile(/tmp/multipartBody1995525826853083380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856143584,"filename":"image_06112025_15_01_44_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/16/94878187ceee9c88461f27d038099b00.jpg","text":"TemporaryFile(/tmp/multipartBody2241635217420042814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856143584,"filename":"image_06112025_15_01_29_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/16/97cf5238b431e04b67e4a3e441397a50.jpg","text":"TemporaryFile(/tmp/multipartBody5202591139020013641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856143584,"filename":"image_06112025_15_01_39_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/16/aec271c903881050511acb0a3b846cfb.jpg","text":"TemporaryFile(/tmp/multipartBody858574110658074079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856143584,"filename":"image_06112025_15_01_45_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/16/5d5b85f116a274af5184d28ae15ec81c.jpg","text":"TemporaryFile(/tmp/multipartBody7693980064212736815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856143584,"filename":"image_06112025_15_01_40_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592365","file1":"1399592363","file0":"1399592360","file4":"1399592369","file5":"1399592371","file3":"1399592367"},"map_files_photo_id_array":[{"photo_id":"1399592371","filename":"file5"},{"photo_id":"1399592365","filename":"file2"},{"photo_id":"1399592369","filename":"file4"},{"photo_id":"1399592363","filename":"file1"},{"photo_id":"1399592360","filename":"file0"},{"photo_id":"1399592367","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592367":["hashtag1","hashtag2"]},{"1399592369":["hashtag1","hashtag2"]},{"1399592360":["hashtag1","hashtag2"]},{"1399592363":["hashtag1","hashtag2"]},{"1399592371":["hashtag1","hashtag2"]},{"1399592365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592367, 1399592369, 1399592360, 1399592363, 1399592371, 1399592365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16921067237854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:35:21.996522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_55_10762.jpg', '/home/pi/Desktop/images/16122025/04/33/image_16122025_04_33_35_10752.jpg', '/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_25_10573.jpg', '/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_34_9587.jpg', '/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_44_9727.jpg', '/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_25_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/32/image_16122025_04_32_55_10762.jpg
/home/pi/Desktop/images/16122025/04/33/image_16122025_04_33_35_10752.jpg
/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_25_10573.jpg
/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_34_9587.jpg
/home/pi/Desktop/images/16122025/04/34/image_16122025_04_34_44_9727.jpg
/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_25_10772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592380","1399592374","1399592388","1399592376","1399592372","1399592378"],"photo_ids_order":["1399592372","1399592374","1399592376","1399592378","1399592380","1399592388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/65378ec2cf53b249ad4ed3fe3346b767.jpg","text":"TemporaryFile(/tmp/multipartBody4890105822449162652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856182653,"filename":"image_16122025_04_34_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/16/50a20b613713b73f74bfb6994959d843.jpg","text":"TemporaryFile(/tmp/multipartBody1703628211750720144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856182653,"filename":"image_16122025_04_33_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/402ac9feda3c264738ebcc01b3794f10.jpg","text":"TemporaryFile(/tmp/multipartBody6399667354130707765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856182653,"filename":"image_16122025_04_35_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3fb94c22b419232432ed061a77735fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1553172632403207868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856182653,"filename":"image_16122025_04_34_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e8477d6c7f5593eaa7998b32975df3f.jpg","text":"TemporaryFile(/tmp/multipartBody5048989554387201175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856182653,"filename":"image_16122025_04_32_55_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46426e8d5d83f25256105eb298cd9920.jpg","text":"TemporaryFile(/tmp/multipartBody5983440023698440593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856182653,"filename":"image_16122025_04_34_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592376","file1":"1399592374","file0":"1399592372","file4":"1399592380","file5":"1399592388","file3":"1399592378"},"map_files_photo_id_array":[{"photo_id":"1399592388","filename":"file5"},{"photo_id":"1399592376","filename":"file2"},{"photo_id":"1399592380","filename":"file4"},{"photo_id":"1399592374","filename":"file1"},{"photo_id":"1399592372","filename":"file0"},{"photo_id":"1399592378","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592380":["hashtag1","hashtag2"]},{"1399592374":["hashtag1","hashtag2"]},{"1399592388":["hashtag1","hashtag2"]},{"1399592376":["hashtag1","hashtag2"]},{"1399592372":["hashtag1","hashtag2"]},{"1399592378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592380, 1399592374, 1399592388, 1399592376, 1399592372, 1399592378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25950598716736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:36:02.550994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_34_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_34_9677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.341463565826416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:36:12.117690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:36:22.195856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_34_9677.jpg', '/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_44_9781.jpg', '/home/pi/Desktop/images/16122025/04/35/image_16122025_04_36_05_10713.jpg', '/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_24_9629.jpg', '/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_34_10656.jpg', '/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_34_9677.jpg
/home/pi/Desktop/images/16122025/04/35/image_16122025_04_35_44_9781.jpg
/home/pi/Desktop/images/16122025/04/35/image_16122025_04_36_05_10713.jpg
/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_24_9629.jpg
/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_34_10656.jpg
/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_44_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592395","1399592404","1399592407","1399592397","1399592400","1399592402"],"photo_ids_order":["1399592395","1399592397","1399592400","1399592402","1399592404","1399592407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ecf38d6b92f9d7776893f68e964a9a37.jpg","text":"TemporaryFile(/tmp/multipartBody2770004675609145098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856242858,"filename":"image_16122025_04_35_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/16/9bffb2c8c3a41f2753823dd4d219fac9.jpg","text":"TemporaryFile(/tmp/multipartBody7559629393546612251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856242858,"filename":"image_16122025_04_36_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccf9bc2358fb111d80a9558a57d0e88f.jpg","text":"TemporaryFile(/tmp/multipartBody7273538880467547341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856242858,"filename":"image_16122025_04_36_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/16/62a9cb0b13334ab8411822839e76834a.jpg","text":"TemporaryFile(/tmp/multipartBody3773432497892675179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856242858,"filename":"image_16122025_04_35_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9407022883445a955cd6ad02f8f61c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4769983110302027918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856242858,"filename":"image_16122025_04_36_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ece3f708d9865ea342d7e834fb92cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7866562187467763491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856242858,"filename":"image_16122025_04_36_24_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592400","file1":"1399592397","file0":"1399592395","file4":"1399592404","file5":"1399592407","file3":"1399592402"},"map_files_photo_id_array":[{"photo_id":"1399592407","filename":"file5"},{"photo_id":"1399592400","filename":"file2"},{"photo_id":"1399592404","filename":"file4"},{"photo_id":"1399592397","filename":"file1"},{"photo_id":"1399592395","filename":"file0"},{"photo_id":"1399592402","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592395":["hashtag1","hashtag2"]},{"1399592404":["hashtag1","hashtag2"]},{"1399592407":["hashtag1","hashtag2"]},{"1399592397":["hashtag1","hashtag2"]},{"1399592400":["hashtag1","hashtag2"]},{"1399592402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592395, 1399592404, 1399592407, 1399592397, 1399592400, 1399592402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95256447792053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:37:02.983220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:37:12.378539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:37:22.429617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_54_9754.jpg', '/home/pi/Desktop/images/16122025/04/36/image_16122025_04_37_05_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/36/image_16122025_04_36_54_9754.jpg
/home/pi/Desktop/images/16122025/04/36/image_16122025_04_37_05_10773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592422","1399592420"],"photo_ids_order":["1399592420","1399592422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b80e0c1c69eb2f9efa1c158ef3239916.jpg","text":"TemporaryFile(/tmp/multipartBody2787815007419478929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856302905,"filename":"image_16122025_04_37_05_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6ba995a1dbbea22c20c646994a255f8.jpg","text":"TemporaryFile(/tmp/multipartBody6895427579010504870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856302905,"filename":"image_16122025_04_36_54_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399592422","file0":"1399592420"},"map_files_photo_id_array":[{"photo_id":"1399592422","filename":"file1"},{"photo_id":"1399592420","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592422":["hashtag1","hashtag2"]},{"1399592420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592422, 1399592420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.982466220855713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:37:42.402490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_48_2307.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_49_1802.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_52_2739.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_56_3582.jpg', '/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_58_2659.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_01_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_48_2307.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_49_1802.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_52_2739.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_56_3582.jpg
/home/pi/Desktop/images/06112025/15/01/image_06112025_15_01_58_2659.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_01_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592437","1399592431","1399592439","1399592427","1399592435","1399592432"],"photo_ids_order":["1399592427","1399592431","1399592432","1399592435","1399592437","1399592439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fb2bad357a8029cef6f9ec420ffb710.jpg","text":"TemporaryFile(/tmp/multipartBody8237541203371059042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856323132,"filename":"image_06112025_15_01_58_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/16/c64b0c52f9c4d4b61b1c049001df5305.jpg","text":"TemporaryFile(/tmp/multipartBody108190337035769176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856323132,"filename":"image_06112025_15_01_49_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/16/d5f90d749cfe0bf2da3a738865a764d6.jpg","text":"TemporaryFile(/tmp/multipartBody1431019148830008099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856323132,"filename":"image_06112025_15_02_01_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/16/231bd967e81666077ac5ebc390f9d474.jpg","text":"TemporaryFile(/tmp/multipartBody8276560000671297315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856323132,"filename":"image_06112025_15_01_48_2307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29ddb00251ffbe301153cea3ec1c920d.jpg","text":"TemporaryFile(/tmp/multipartBody7679876056659726304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856323132,"filename":"image_06112025_15_01_56_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/16/4434cdaba0a8632d9d955dff3a406e20.jpg","text":"TemporaryFile(/tmp/multipartBody6310839223544881622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856323132,"filename":"image_06112025_15_01_52_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592432","file1":"1399592431","file0":"1399592427","file4":"1399592437","file5":"1399592439","file3":"1399592435"},"map_files_photo_id_array":[{"photo_id":"1399592439","filename":"file5"},{"photo_id":"1399592432","filename":"file2"},{"photo_id":"1399592437","filename":"file4"},{"photo_id":"1399592431","filename":"file1"},{"photo_id":"1399592427","filename":"file0"},{"photo_id":"1399592435","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592437":["hashtag1","hashtag2"]},{"1399592431":["hashtag1","hashtag2"]},{"1399592439":["hashtag1","hashtag2"]},{"1399592427":["hashtag1","hashtag2"]},{"1399592435":["hashtag1","hashtag2"]},{"1399592432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592437, 1399592431, 1399592439, 1399592427, 1399592435, 1399592432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34225797653198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:38:22.658853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/37/image_16122025_04_37_24_10001.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_24_9614.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_34_9807.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_45_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/37/image_16122025_04_37_24_10001.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_24_9614.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_34_9807.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_45_10769.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4677431583404541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:38:32.617353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:38:42.634499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_05_3611.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_07_2539.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_11_3619.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_14_2773.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_16_2786.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_19_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_05_3611.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_07_2539.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_11_3619.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_14_2773.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_16_2786.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_19_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592461","1399592455","1399592449","1399592457","1399592453","1399592459"],"photo_ids_order":["1399592449","1399592453","1399592455","1399592457","1399592459","1399592461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17c27a76091ecf2574b5e045c84ff955.jpg","text":"TemporaryFile(/tmp/multipartBody8744553758581014442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856383376,"filename":"image_06112025_15_02_19_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bfaa438b0bc6b2b345023a49d44e334c.jpg","text":"TemporaryFile(/tmp/multipartBody1188654632861251372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856383376,"filename":"image_06112025_15_02_11_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/16/c44d87c75ba107878ece166e1c995447.jpg","text":"TemporaryFile(/tmp/multipartBody1770875958855812251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856383376,"filename":"image_06112025_15_02_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/16/e981227c3a9c18c15d4d412d996e34d5.jpg","text":"TemporaryFile(/tmp/multipartBody4952280901052660803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856383376,"filename":"image_06112025_15_02_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/16/ea029a4b03120b2eadeb5ef6ff1d19e1.jpg","text":"TemporaryFile(/tmp/multipartBody8268977197108847648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856383376,"filename":"image_06112025_15_02_07_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/45d9cfa367c75264999fa3e59ec6f7f4.jpg","text":"TemporaryFile(/tmp/multipartBody472930153006113472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856383376,"filename":"image_06112025_15_02_16_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592455","file1":"1399592453","file0":"1399592449","file4":"1399592459","file5":"1399592461","file3":"1399592457"},"map_files_photo_id_array":[{"photo_id":"1399592461","filename":"file5"},{"photo_id":"1399592455","filename":"file2"},{"photo_id":"1399592459","filename":"file4"},{"photo_id":"1399592453","filename":"file1"},{"photo_id":"1399592449","filename":"file0"},{"photo_id":"1399592457","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592461":["hashtag1","hashtag2"]},{"1399592455":["hashtag1","hashtag2"]},{"1399592449":["hashtag1","hashtag2"]},{"1399592457":["hashtag1","hashtag2"]},{"1399592453":["hashtag1","hashtag2"]},{"1399592459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592461, 1399592455, 1399592449, 1399592457, 1399592453, 1399592459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.530800104141235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:39:21.980929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/37/image_16122025_04_37_24_10001.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_24_9614.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_34_9807.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_45_10769.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_55_9767.jpg', '/home/pi/Desktop/images/16122025/04/38/image_16122025_04_39_04_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/37/image_16122025_04_37_24_10001.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_24_9614.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_34_9807.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_45_10769.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_38_55_9767.jpg
/home/pi/Desktop/images/16122025/04/38/image_16122025_04_39_04_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":["1399592467","1399592463","1399592471","1399592474","1399592468","1399592465"],"photo_ids_order":["1399592463","1399592465","1399592467","1399592468","1399592471","1399592474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96695d0414b0e3ed1f955d75869a975f.jpg","text":"TemporaryFile(/tmp/multipartBody2708832198976463603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856422646,"filename":"image_16122025_04_38_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/16/4d177cdc535cc8427ceb776feb36f4db.jpg","text":"TemporaryFile(/tmp/multipartBody3153175938223182767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856422646,"filename":"image_16122025_04_37_24_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d368e7fbd0628ff8bed41d47d48b9114.jpg","text":"TemporaryFile(/tmp/multipartBody3494047091516957097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856422646,"filename":"image_16122025_04_38_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be2374d9422411048e7032208fb59f60.jpg","text":"TemporaryFile(/tmp/multipartBody7913884213241089681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856422646,"filename":"image_16122025_04_39_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/16/0da06f5ecfbed9b05de1da0ae9304ba6.jpg","text":"TemporaryFile(/tmp/multipartBody1678023391011073474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856422646,"filename":"image_16122025_04_38_45_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dbea71435c68e67a44c06308fe4b0724.jpg","text":"TemporaryFile(/tmp/multipartBody1490377518840401103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856422646,"filename":"image_16122025_04_38_24_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592467","file1":"1399592465","file0":"1399592463","file4":"1399592471","file5":"1399592474","file3":"1399592468"},"map_files_photo_id_array":[{"photo_id":"1399592474","filename":"file5"},{"photo_id":"1399592467","filename":"file2"},{"photo_id":"1399592471","filename":"file4"},{"photo_id":"1399592465","filename":"file1"},{"photo_id":"1399592463","filename":"file0"},{"photo_id":"1399592468","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592467":["hashtag1","hashtag2"]},{"1399592463":["hashtag1","hashtag2"]},{"1399592471":["hashtag1","hashtag2"]},{"1399592474":["hashtag1","hashtag2"]},{"1399592468":["hashtag1","hashtag2"]},{"1399592465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592467, 1399592463, 1399592471, 1399592474, 1399592468, 1399592465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35689187049866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:40:12.159564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:40:22.146325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_14_9743.jpg', '/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_25_10671.jpg', '/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_35_9924.jpg', '/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_44_9675.jpg', '/home/pi/Desktop/images/16122025/04/39/image_16122025_04_40_05_10675.jpg', '/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_14_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_14_9743.jpg
/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_25_10671.jpg
/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_35_9924.jpg
/home/pi/Desktop/images/16122025/04/39/image_16122025_04_39_44_9675.jpg
/home/pi/Desktop/images/16122025/04/39/image_16122025_04_40_05_10675.jpg
/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_14_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592493","1399592487","1399592481","1399592480","1399592483","1399592485"],"photo_ids_order":["1399592480","1399592481","1399592483","1399592485","1399592487","1399592493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce54cf811bef5ba24b6b70883b7cfb11.jpg","text":"TemporaryFile(/tmp/multipartBody7108200440853644048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856482846,"filename":"image_16122025_04_40_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2477d41fefc85aafcb0389f7ffc9c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2791545775193257520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856482846,"filename":"image_16122025_04_40_05_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/16/3b8f2be921ed8d27e6b5fa10a22eced2.jpg","text":"TemporaryFile(/tmp/multipartBody3377029969031649918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856482846,"filename":"image_16122025_04_39_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/16/48acff2f79bb90f8326da8cf495a43c3.jpg","text":"TemporaryFile(/tmp/multipartBody7654652244964254858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856482846,"filename":"image_16122025_04_39_14_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1eb0ba6eded862a677353ba29d0b3cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6663023091955636453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856482846,"filename":"image_16122025_04_39_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/16/e528c856c0f6977bc8c8972a30130661.jpg","text":"TemporaryFile(/tmp/multipartBody2300422991721767891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856482846,"filename":"image_16122025_04_39_44_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592483","file1":"1399592481","file0":"1399592480","file4":"1399592487","file5":"1399592493","file3":"1399592485"},"map_files_photo_id_array":[{"photo_id":"1399592493","filename":"file5"},{"photo_id":"1399592483","filename":"file2"},{"photo_id":"1399592487","filename":"file4"},{"photo_id":"1399592481","filename":"file1"},{"photo_id":"1399592480","filename":"file0"},{"photo_id":"1399592485","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592493":["hashtag1","hashtag2"]},{"1399592487":["hashtag1","hashtag2"]},{"1399592481":["hashtag1","hashtag2"]},{"1399592480":["hashtag1","hashtag2"]},{"1399592483":["hashtag1","hashtag2"]},{"1399592485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592493, 1399592487, 1399592481, 1399592480, 1399592483, 1399592485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94055509567261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:41:02.940921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_24_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_24_9585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592510"],"photo_id":"1399592510","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e19667ec2c6cb3824c187d8f52a3cb06.jpg","text":"TemporaryFile(/tmp/multipartBody6798923481902276921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856523403,"filename":"image_16122025_04_40_24_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399592510"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399592510"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.786682605743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:41:22.398241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_44_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_44_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.3216724395751953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:41:32.409246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:41:42.330383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_23_3556.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_25_2635.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_28_2713.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_32_3604.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_34_2668.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_38_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_23_3556.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_25_2635.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_28_2713.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_32_3604.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_34_2668.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_38_3560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592533","1399592527","1399592521","1399592529","1399592531","1399592525"],"photo_ids_order":["1399592521","1399592525","1399592527","1399592529","1399592531","1399592533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36d67a065898e8171e8a41e1eac14089.jpg","text":"TemporaryFile(/tmp/multipartBody7611844636911158581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856563074,"filename":"image_06112025_15_02_38_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/16/2dfebb135215a764d70d96ae0913389d.jpg","text":"TemporaryFile(/tmp/multipartBody5140568406179345523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856563074,"filename":"image_06112025_15_02_28_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/16/add24b2ae1944ff4f35dde0c5092c77f.jpg","text":"TemporaryFile(/tmp/multipartBody1793656255774395579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856563074,"filename":"image_06112025_15_02_23_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/16/95b45ba9300bedf660d0b7f3dddf37c5.jpg","text":"TemporaryFile(/tmp/multipartBody8726342441137080438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856563074,"filename":"image_06112025_15_02_32_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e0548939154a53d859f55987fe6f503.jpg","text":"TemporaryFile(/tmp/multipartBody6327871579725235516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856563074,"filename":"image_06112025_15_02_34_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4645248efa17c489a1f55f66ed6ba41.jpg","text":"TemporaryFile(/tmp/multipartBody3674249401354870456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856563074,"filename":"image_06112025_15_02_25_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592527","file1":"1399592525","file0":"1399592521","file4":"1399592531","file5":"1399592533","file3":"1399592529"},"map_files_photo_id_array":[{"photo_id":"1399592533","filename":"file5"},{"photo_id":"1399592527","filename":"file2"},{"photo_id":"1399592531","filename":"file4"},{"photo_id":"1399592525","filename":"file1"},{"photo_id":"1399592521","filename":"file0"},{"photo_id":"1399592529","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592533":["hashtag1","hashtag2"]},{"1399592527":["hashtag1","hashtag2"]},{"1399592521":["hashtag1","hashtag2"]},{"1399592529":["hashtag1","hashtag2"]},{"1399592531":["hashtag1","hashtag2"]},{"1399592525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592533, 1399592527, 1399592521, 1399592529, 1399592531, 1399592525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060325622558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:42:22.602662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_44_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/40/image_16122025_04_40_44_9574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592535"],"photo_id":"1399592535","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12f9939a08635c4a573d24442b81ed3a.jpg","text":"TemporaryFile(/tmp/multipartBody3619516596699006096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856603037,"filename":"image_16122025_04_40_44_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399592535"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399592535"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.993486404418945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:42:42.594566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_40_2575.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_43_2875.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_46_2652.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_49_3228.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_53_3607.jpg', '/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_55_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_40_2575.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_43_2875.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_46_2652.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_49_3228.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_53_3607.jpg
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_55_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":["1399592545","1399592542","1399592547","1399592552","1399592549","1399592540"],"photo_ids_order":["1399592540","1399592542","1399592545","1399592547","1399592549","1399592552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a21a583981b6f7269f8130aad4d62c9a.jpg","text":"TemporaryFile(/tmp/multipartBody799606202902576764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856623334,"filename":"image_06112025_15_02_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/16/8b7d8f2fadcbce1f183079558c521caa.jpg","text":"TemporaryFile(/tmp/multipartBody1345975565752714768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856623334,"filename":"image_06112025_15_02_43_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/16/b106dedd6dd09c77426681952abd53c0.jpg","text":"TemporaryFile(/tmp/multipartBody2820492557385389439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856623334,"filename":"image_06112025_15_02_49_3228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4a44fd7c5193592daa99d833208a378.jpg","text":"TemporaryFile(/tmp/multipartBody3727290739039913117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856623334,"filename":"image_06112025_15_02_55_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/16/5d13fd2886afe7606ca90caa5363d2e6.jpg","text":"TemporaryFile(/tmp/multipartBody6620264646311320661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856623334,"filename":"image_06112025_15_02_53_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be179e7cbaba7604c2572eec0e0ff74c.jpg","text":"TemporaryFile(/tmp/multipartBody5693180358236295461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856623334,"filename":"image_06112025_15_02_40_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592545","file1":"1399592542","file0":"1399592540","file4":"1399592549","file5":"1399592552","file3":"1399592547"},"map_files_photo_id_array":[{"photo_id":"1399592552","filename":"file5"},{"photo_id":"1399592545","filename":"file2"},{"photo_id":"1399592549","filename":"file4"},{"photo_id":"1399592542","filename":"file1"},{"photo_id":"1399592540","filename":"file0"},{"photo_id":"1399592547","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592545":["hashtag1","hashtag2"]},{"1399592542":["hashtag1","hashtag2"]},{"1399592547":["hashtag1","hashtag2"]},{"1399592552":["hashtag1","hashtag2"]},{"1399592549":["hashtag1","hashtag2"]},{"1399592540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592545, 1399592542, 1399592547, 1399592552, 1399592549, 1399592540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75805902481079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:43:21.941745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/40/image_16122025_04_41_05_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/40/image_16122025_04_41_05_10592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592557"],"photo_id":"1399592557","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4fed0fe6f29c1ff03116eaa699c406ef.jpg","text":"TemporaryFile(/tmp/multipartBody1918545886734234339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856662377,"filename":"image_16122025_04_41_05_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399592557"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399592557"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.599766731262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:43:41.815223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_58_2581.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_02_3645.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_04_2650.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_12_8000.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_14_1556.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_16_1835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/02/image_06112025_15_02_58_2581.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_02_3645.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_04_2650.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_12_8000.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_14_1556.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_16_1835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592572","1399592574","1399592570","1399592567","1399592576","1399592564"],"photo_ids_order":["1399592564","1399592567","1399592570","1399592572","1399592574","1399592576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2fddcf3de73ec3cbe52463c74562ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody849575385795360296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856682525,"filename":"image_06112025_15_03_12_8000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b5e203ce693f3d2875fa9abac28dd1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4438232695601575322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856682525,"filename":"image_06112025_15_03_14_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/16/25abc31b876c5127cd844ee96db40856.jpg","text":"TemporaryFile(/tmp/multipartBody2207509625748103151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856682525,"filename":"image_06112025_15_03_04_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/16/a24b2825b29f8e1e709bf9dcf70f03ee.jpg","text":"TemporaryFile(/tmp/multipartBody8566715467140678849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856682525,"filename":"image_06112025_15_03_02_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/16/1642408b914ad7af2c30ff7eaf75b6c9.jpg","text":"TemporaryFile(/tmp/multipartBody5446187308879295161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856682525,"filename":"image_06112025_15_03_16_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/56dacf45bcffeef25943318dcd4cdf06.jpg","text":"TemporaryFile(/tmp/multipartBody9079334872892781434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856682525,"filename":"image_06112025_15_02_58_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592570","file1":"1399592567","file0":"1399592564","file4":"1399592574","file5":"1399592576","file3":"1399592572"},"map_files_photo_id_array":[{"photo_id":"1399592576","filename":"file5"},{"photo_id":"1399592570","filename":"file2"},{"photo_id":"1399592574","filename":"file4"},{"photo_id":"1399592567","filename":"file1"},{"photo_id":"1399592564","filename":"file0"},{"photo_id":"1399592572","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592572":["hashtag1","hashtag2"]},{"1399592574":["hashtag1","hashtag2"]},{"1399592570":["hashtag1","hashtag2"]},{"1399592567":["hashtag1","hashtag2"]},{"1399592576":["hashtag1","hashtag2"]},{"1399592564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592572, 1399592574, 1399592570, 1399592567, 1399592576, 1399592564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48710918426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:44:22.080690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/43/image_16122025_04_43_14_9687.jpg', '/home/pi/Desktop/images/16122025/04/43/image_16122025_04_44_05_9769.jpg', '/home/pi/Desktop/images/16122025/04/44/image_16122025_04_44_45_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/43/image_16122025_04_43_14_9687.jpg
/home/pi/Desktop/images/16122025/04/43/image_16122025_04_44_05_9769.jpg
/home/pi/Desktop/images/16122025/04/44/image_16122025_04_44_45_10619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4091193675994873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:44:32.188821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:44:42.049082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_17_1637.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_19_1542.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_23_3789.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_25_2730.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_28_2525.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_32_3750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_17_1637.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_19_1542.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_23_3789.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_25_2730.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_28_2525.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_32_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":["1399592602","1399592592","1399592586","1399592595","1399592597","1399592599"],"photo_ids_order":["1399592586","1399592592","1399592595","1399592597","1399592599","1399592602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e380cc9c6b7ed99957006b946bc51d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3377273762638396020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856742756,"filename":"image_06112025_15_03_32_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/16/6e424df7158f0c461f96818b9fd321cd.jpg","text":"TemporaryFile(/tmp/multipartBody7507742454126704467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856742756,"filename":"image_06112025_15_03_19_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/223084432d0d6d742e7038e0d0ce4539.jpg","text":"TemporaryFile(/tmp/multipartBody7699684549325512439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856742756,"filename":"image_06112025_15_03_17_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/16/97d01e23ec4c963e6f5661d9a5e51835.jpg","text":"TemporaryFile(/tmp/multipartBody403036955994258817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856742756,"filename":"image_06112025_15_03_23_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/16/9e0d77ff6428e2f85df1ec1fcd35711a.jpg","text":"TemporaryFile(/tmp/multipartBody6628213495632966858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856742756,"filename":"image_06112025_15_03_25_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/16/b2e7ff077e3b02564a4a27014a1466a2.jpg","text":"TemporaryFile(/tmp/multipartBody3564473700155783765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856742756,"filename":"image_06112025_15_03_28_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592595","file1":"1399592592","file0":"1399592586","file4":"1399592599","file5":"1399592602","file3":"1399592597"},"map_files_photo_id_array":[{"photo_id":"1399592602","filename":"file5"},{"photo_id":"1399592595","filename":"file2"},{"photo_id":"1399592599","filename":"file4"},{"photo_id":"1399592592","filename":"file1"},{"photo_id":"1399592586","filename":"file0"},{"photo_id":"1399592597","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592602":["hashtag1","hashtag2"]},{"1399592592":["hashtag1","hashtag2"]},{"1399592586":["hashtag1","hashtag2"]},{"1399592595":["hashtag1","hashtag2"]},{"1399592597":["hashtag1","hashtag2"]},{"1399592599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592602, 1399592592, 1399592586, 1399592595, 1399592597, 1399592599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26021480560303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:45:22.367520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/43/image_16122025_04_43_14_9687.jpg', '/home/pi/Desktop/images/16122025/04/43/image_16122025_04_44_05_9769.jpg', '/home/pi/Desktop/images/16122025/04/44/image_16122025_04_44_45_10619.jpg', '/home/pi/Desktop/images/16122025/04/44/image_16122025_04_44_54_9802.jpg', '/home/pi/Desktop/images/16122025/04/44/image_16122025_04_45_04_9815.jpg', '/home/pi/Desktop/images/16122025/04/45/image_16122025_04_45_14_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/43/image_16122025_04_43_14_9687.jpg
/home/pi/Desktop/images/16122025/04/43/image_16122025_04_44_05_9769.jpg
/home/pi/Desktop/images/16122025/04/44/image_16122025_04_44_45_10619.jpg
/home/pi/Desktop/images/16122025/04/44/image_16122025_04_44_54_9802.jpg
/home/pi/Desktop/images/16122025/04/44/image_16122025_04_45_04_9815.jpg
/home/pi/Desktop/images/16122025/04/45/image_16122025_04_45_14_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592608","1399592610","1399592604","1399592615","1399592603","1399592606"],"photo_ids_order":["1399592603","1399592604","1399592606","1399592608","1399592610","1399592615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8dde83cce2006fb61d68c988c2cf7d9.jpg","text":"TemporaryFile(/tmp/multipartBody3229037855814623989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856783067,"filename":"image_16122025_04_44_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/16/3f627afc1fcf7540c789b21f34bbf44b.jpg","text":"TemporaryFile(/tmp/multipartBody6214646118918176586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856783067,"filename":"image_16122025_04_45_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/16/a44d6f8cb99575abb4c57b130800e364.jpg","text":"TemporaryFile(/tmp/multipartBody4688276315093183924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856783067,"filename":"image_16122025_04_44_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd4de1d5c00e08ad9f6a6e7510e4591a.jpg","text":"TemporaryFile(/tmp/multipartBody6119818348436687831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856783067,"filename":"image_16122025_04_45_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/16/cc13343f246ffac30aebcb088d3891d3.jpg","text":"TemporaryFile(/tmp/multipartBody53913501917674316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856783067,"filename":"image_16122025_04_43_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc139c14c92a3d5e1228d2c5063ee230.jpg","text":"TemporaryFile(/tmp/multipartBody843730440973195482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856783067,"filename":"image_16122025_04_44_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592606","file1":"1399592604","file0":"1399592603","file4":"1399592610","file5":"1399592615","file3":"1399592608"},"map_files_photo_id_array":[{"photo_id":"1399592615","filename":"file5"},{"photo_id":"1399592606","filename":"file2"},{"photo_id":"1399592610","filename":"file4"},{"photo_id":"1399592604","filename":"file1"},{"photo_id":"1399592603","filename":"file0"},{"photo_id":"1399592608","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592608":["hashtag1","hashtag2"]},{"1399592610":["hashtag1","hashtag2"]},{"1399592604":["hashtag1","hashtag2"]},{"1399592615":["hashtag1","hashtag2"]},{"1399592603":["hashtag1","hashtag2"]},{"1399592606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592608, 1399592610, 1399592604, 1399592615, 1399592603, 1399592606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.399394273757935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:46:02.859377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/45/image_16122025_04_45_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/45/image_16122025_04_45_25_10627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592624"],"photo_id":"1399592624","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb19250096e999095ecf01e1963538e3.jpg","text":"TemporaryFile(/tmp/multipartBody9217453694321590544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856823297,"filename":"image_16122025_04_45_25_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399592624"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399592624"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.853657722473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:46:22.527055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/45/image_16122025_04_45_44_9723.jpg', '/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_35_10729.jpg', '/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/45/image_16122025_04_45_44_9723.jpg
/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_35_10729.jpg
/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_44_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592626","1399592625","1399592628"],"photo_ids_order":["1399592625","1399592626","1399592628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/204f67382dda871fea70f6dde6c9b98c.jpg","text":"TemporaryFile(/tmp/multipartBody2475839610505417220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856843046,"filename":"image_16122025_04_46_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b7f1be33c80037ba0aa093b56f6a459.jpg","text":"TemporaryFile(/tmp/multipartBody4932706782067815526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856843046,"filename":"image_16122025_04_45_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0918d35cec114fa096089d879c4d443.jpg","text":"TemporaryFile(/tmp/multipartBody1082477053516962247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856843046,"filename":"image_16122025_04_46_44_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592628","file1":"1399592626","file0":"1399592625"},"map_files_photo_id_array":[{"photo_id":"1399592628","filename":"file2"},{"photo_id":"1399592626","filename":"file1"},{"photo_id":"1399592625","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592626":["hashtag1","hashtag2"]},{"1399592625":["hashtag1","hashtag2"]},{"1399592628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592626, 1399592625, 1399592628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.525538206100464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:47:03.385552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:47:12.690864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:47:22.762310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_54_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_54_9765.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.31903839111328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:47:32.756067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:47:42.734815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_34_2705.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_37_2574.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_41_3696.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_43_2603.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_46_2729.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_49_2869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_34_2705.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_37_2574.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_41_3696.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_43_2603.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_46_2729.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_49_2869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592664","1399592658","1399592666","1399592651","1399592660","1399592662"],"photo_ids_order":["1399592651","1399592658","1399592660","1399592662","1399592664","1399592666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49fd1ab9a120ccd7c34a6d80ec55139a.jpg","text":"TemporaryFile(/tmp/multipartBody1589654504842330326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856923500,"filename":"image_06112025_15_03_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/16/18839c409e08e0733ac5c0ade27f2cd9.jpg","text":"TemporaryFile(/tmp/multipartBody7283871024769488850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856923500,"filename":"image_06112025_15_03_37_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8eb2a163606ab7fb97af75cb359375a9.jpg","text":"TemporaryFile(/tmp/multipartBody7700140272501651951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856923500,"filename":"image_06112025_15_03_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/16/be974e2cf74ee16ce11e2d07c3df80df.jpg","text":"TemporaryFile(/tmp/multipartBody8491182388371944277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856923500,"filename":"image_06112025_15_03_34_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/16/ef66e7bfcd0547a367fbe73cd7bed464.jpg","text":"TemporaryFile(/tmp/multipartBody3591119957226657873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856923500,"filename":"image_06112025_15_03_41_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/16/c45345ea4eb47ea20c53857b522822ee.jpg","text":"TemporaryFile(/tmp/multipartBody8610557919011949094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856923500,"filename":"image_06112025_15_03_43_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592660","file1":"1399592658","file0":"1399592651","file4":"1399592664","file5":"1399592666","file3":"1399592662"},"map_files_photo_id_array":[{"photo_id":"1399592666","filename":"file5"},{"photo_id":"1399592660","filename":"file2"},{"photo_id":"1399592664","filename":"file4"},{"photo_id":"1399592658","filename":"file1"},{"photo_id":"1399592651","filename":"file0"},{"photo_id":"1399592662","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592664":["hashtag1","hashtag2"]},{"1399592658":["hashtag1","hashtag2"]},{"1399592666":["hashtag1","hashtag2"]},{"1399592651":["hashtag1","hashtag2"]},{"1399592660":["hashtag1","hashtag2"]},{"1399592662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592664, 1399592658, 1399592666, 1399592651, 1399592660, 1399592662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97721290588379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:48:21.969574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_54_9765.jpg', '/home/pi/Desktop/images/16122025/04/47/image_16122025_04_47_14_9628.jpg', '/home/pi/Desktop/images/16122025/04/47/image_16122025_04_48_04_9878.jpg', '/home/pi/Desktop/images/16122025/04/48/image_16122025_04_48_35_10704.jpg', '/home/pi/Desktop/images/16122025/04/48/image_16122025_04_48_44_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/46/image_16122025_04_46_54_9765.jpg
/home/pi/Desktop/images/16122025/04/47/image_16122025_04_47_14_9628.jpg
/home/pi/Desktop/images/16122025/04/47/image_16122025_04_48_04_9878.jpg
/home/pi/Desktop/images/16122025/04/48/image_16122025_04_48_35_10704.jpg
/home/pi/Desktop/images/16122025/04/48/image_16122025_04_48_44_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592668","1399592670","1399592672","1399592674","1399592683"],"photo_ids_order":["1399592668","1399592670","1399592672","1399592674","1399592683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/51fddb12a0fbdd97845e8f36a6325d33.jpg","text":"TemporaryFile(/tmp/multipartBody8596719900331241092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856962575,"filename":"image_16122025_04_46_54_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44d0a8e559061448ed6d963d071679a8.jpg","text":"TemporaryFile(/tmp/multipartBody7342120477951945672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856962575,"filename":"image_16122025_04_47_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/16/2a49e18a6fce19942f2b432207997798.jpg","text":"TemporaryFile(/tmp/multipartBody2119856588974125699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856962575,"filename":"image_16122025_04_48_04_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/16/fccfe2a6222806a303475259beb9bbdd.jpg","text":"TemporaryFile(/tmp/multipartBody2265853554104111724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856962575,"filename":"image_16122025_04_48_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c9359f7caa18348389160335eea1e20.jpg","text":"TemporaryFile(/tmp/multipartBody4077560025496890885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765856962575,"filename":"image_16122025_04_48_44_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592672","file1":"1399592670","file0":"1399592668","file4":"1399592683","file3":"1399592674"},"map_files_photo_id_array":[{"photo_id":"1399592672","filename":"file2"},{"photo_id":"1399592683","filename":"file4"},{"photo_id":"1399592670","filename":"file1"},{"photo_id":"1399592668","filename":"file0"},{"photo_id":"1399592674","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592668":["hashtag1","hashtag2"]},{"1399592670":["hashtag1","hashtag2"]},{"1399592672":["hashtag1","hashtag2"]},{"1399592674":["hashtag1","hashtag2"]},{"1399592683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592668, 1399592670, 1399592672, 1399592674, 1399592683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.999218463897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:49:03.145358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:49:12.228690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:49:22.283968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/48/image_16122025_04_48_54_9684.jpg', '/home/pi/Desktop/images/16122025/04/48/image_16122025_04_49_05_10837.jpg', '/home/pi/Desktop/images/16122025/04/49/image_16122025_04_49_34_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/48/image_16122025_04_48_54_9684.jpg
/home/pi/Desktop/images/16122025/04/48/image_16122025_04_49_05_10837.jpg
/home/pi/Desktop/images/16122025/04/49/image_16122025_04_49_34_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":["1399592694","1399592695","1399592698"],"photo_ids_order":["1399592694","1399592695","1399592698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1bf4fa116bb3f79226f02de25dacc71.jpg","text":"TemporaryFile(/tmp/multipartBody8439181010737247015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857022801,"filename":"image_16122025_04_48_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ff8bb6b67a5345f9d71fbf128bdf90a.jpg","text":"TemporaryFile(/tmp/multipartBody6308609846116823823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857022801,"filename":"image_16122025_04_49_05_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b81db56fe289b5bb5c503d82f206ef51.jpg","text":"TemporaryFile(/tmp/multipartBody6333236371957554355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857022801,"filename":"image_16122025_04_49_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592698","file1":"1399592695","file0":"1399592694"},"map_files_photo_id_array":[{"photo_id":"1399592698","filename":"file2"},{"photo_id":"1399592695","filename":"file1"},{"photo_id":"1399592694","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592694":["hashtag1","hashtag2"]},{"1399592695":["hashtag1","hashtag2"]},{"1399592698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592694, 1399592695, 1399592698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.130980014801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:50:02.884366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:50:12.468223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:50:22.492721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/49/image_16122025_04_49_54_9732.jpg', '/home/pi/Desktop/images/16122025/04/49/image_16122025_04_50_04_9576.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_15_10743.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_24_9687.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_34_9723.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_45_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/49/image_16122025_04_49_54_9732.jpg
/home/pi/Desktop/images/16122025/04/49/image_16122025_04_50_04_9576.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_15_10743.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_24_9687.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_34_9723.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_45_10676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5452005863189697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:50:32.466716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:50:42.543988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_53_3849.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_55_2619.jpg', '/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_58_2581.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_01_2916.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_04_3699.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_08_3871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_53_3849.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_55_2619.jpg
/home/pi/Desktop/images/06112025/15/03/image_06112025_15_03_58_2581.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_01_2916.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_04_3699.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_08_3871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592731","1399592725","1399592722","1399592733","1399592727","1399592729"],"photo_ids_order":["1399592722","1399592725","1399592727","1399592729","1399592731","1399592733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f9ac6836627ef343f3355e22c96fe62.jpg","text":"TemporaryFile(/tmp/multipartBody5099752453983135874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857103245,"filename":"image_06112025_15_04_04_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/16/a5af38cb847ed636d8f0888fec0ca266.jpg","text":"TemporaryFile(/tmp/multipartBody9101126658477268456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857103245,"filename":"image_06112025_15_03_55_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/16/91f2a187a613bc6875ce37ef7b6fb22a.jpg","text":"TemporaryFile(/tmp/multipartBody2357053263464470808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857103245,"filename":"image_06112025_15_03_53_3849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aeb610d77fef15a67c961b945e456389.jpg","text":"TemporaryFile(/tmp/multipartBody1155378729881472184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857103245,"filename":"image_06112025_15_04_08_3871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32139e1437ccc46d12168045eb0456bb.jpg","text":"TemporaryFile(/tmp/multipartBody7008479006203193112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857103245,"filename":"image_06112025_15_03_58_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/16/e9cd365983d68f25a4fc75bc882c308a.jpg","text":"TemporaryFile(/tmp/multipartBody7746164208316450616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857103245,"filename":"image_06112025_15_04_01_2916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592727","file1":"1399592725","file0":"1399592722","file4":"1399592731","file5":"1399592733","file3":"1399592729"},"map_files_photo_id_array":[{"photo_id":"1399592733","filename":"file5"},{"photo_id":"1399592727","filename":"file2"},{"photo_id":"1399592731","filename":"file4"},{"photo_id":"1399592725","filename":"file1"},{"photo_id":"1399592722","filename":"file0"},{"photo_id":"1399592729","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592731":["hashtag1","hashtag2"]},{"1399592725":["hashtag1","hashtag2"]},{"1399592722":["hashtag1","hashtag2"]},{"1399592733":["hashtag1","hashtag2"]},{"1399592727":["hashtag1","hashtag2"]},{"1399592729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592731, 1399592725, 1399592722, 1399592733, 1399592727, 1399592729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00973033905029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:51:22.790322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/49/image_16122025_04_49_54_9732.jpg', '/home/pi/Desktop/images/16122025/04/49/image_16122025_04_50_04_9576.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_15_10743.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_24_9687.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_34_9723.jpg', '/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_45_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/49/image_16122025_04_49_54_9732.jpg
/home/pi/Desktop/images/16122025/04/49/image_16122025_04_50_04_9576.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_15_10743.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_24_9687.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_34_9723.jpg
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_45_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592743","1399592737","1399592740","1399592745","1399592739","1399592735"],"photo_ids_order":["1399592735","1399592737","1399592739","1399592740","1399592743","1399592745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e451e3b00e76b8fe4e7680dfed2b6f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4334471241868485697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857143444,"filename":"image_16122025_04_50_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b751a5bab09a9a91cebcbfce81d6674.jpg","text":"TemporaryFile(/tmp/multipartBody4145751214717623333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857143444,"filename":"image_16122025_04_50_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3916f5fd65e1882d18386c85fad47334.jpg","text":"TemporaryFile(/tmp/multipartBody8453356770136029939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857143444,"filename":"image_16122025_04_50_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f524a8a63ce584fbe3ca8db30f64db5a.jpg","text":"TemporaryFile(/tmp/multipartBody5723327413486109946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857143444,"filename":"image_16122025_04_50_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/16/4823185998dec03079a99ec47a1bf958.jpg","text":"TemporaryFile(/tmp/multipartBody1552567822878879110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857143444,"filename":"image_16122025_04_50_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/16/34c3aba9a543a6a6cb4acd5b2e95bc6c.jpg","text":"TemporaryFile(/tmp/multipartBody2256527628801408906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857143444,"filename":"image_16122025_04_49_54_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592739","file1":"1399592737","file0":"1399592735","file4":"1399592743","file5":"1399592745","file3":"1399592740"},"map_files_photo_id_array":[{"photo_id":"1399592745","filename":"file5"},{"photo_id":"1399592739","filename":"file2"},{"photo_id":"1399592743","filename":"file4"},{"photo_id":"1399592737","filename":"file1"},{"photo_id":"1399592735","filename":"file0"},{"photo_id":"1399592740","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592743":["hashtag1","hashtag2"]},{"1399592737":["hashtag1","hashtag2"]},{"1399592740":["hashtag1","hashtag2"]},{"1399592745":["hashtag1","hashtag2"]},{"1399592739":["hashtag1","hashtag2"]},{"1399592735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592743, 1399592737, 1399592740, 1399592745, 1399592739, 1399592735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69347095489502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:52:02.643965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_54_9658.jpg', '/home/pi/Desktop/images/16122025/04/51/image_16122025_04_51_14_9677.jpg', '/home/pi/Desktop/images/16122025/04/51/image_16122025_04_51_34_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/50/image_16122025_04_50_54_9658.jpg
/home/pi/Desktop/images/16122025/04/51/image_16122025_04_51_14_9677.jpg
/home/pi/Desktop/images/16122025/04/51/image_16122025_04_51_34_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592750","1399592753","1399592756"],"photo_ids_order":["1399592750","1399592753","1399592756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b7e66582ce195f20eb4e5da70e5745c.jpg","text":"TemporaryFile(/tmp/multipartBody3518195521949633881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857183198,"filename":"image_16122025_04_50_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/16/c3c83338458cbe0107c938fb257331fd.jpg","text":"TemporaryFile(/tmp/multipartBody2576769982815121191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857183198,"filename":"image_16122025_04_51_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/16/d83ba8107eb589c802f6bb0abbd5cee3.jpg","text":"TemporaryFile(/tmp/multipartBody5612609929754217136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857183198,"filename":"image_16122025_04_51_34_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592756","file1":"1399592753","file0":"1399592750"},"map_files_photo_id_array":[{"photo_id":"1399592756","filename":"file2"},{"photo_id":"1399592753","filename":"file1"},{"photo_id":"1399592750","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592750":["hashtag1","hashtag2"]},{"1399592753":["hashtag1","hashtag2"]},{"1399592756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592750, 1399592753, 1399592756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.35000252723694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:52:32.191987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:52:42.154750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_11_3040.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_13_1480.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_17_3761.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_19_2790.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_22_2655.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_25_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_11_3040.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_13_1480.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_17_3761.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_19_2790.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_22_2655.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_25_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":["1399592775","1399592769","1399592777","1399592771","1399592765","1399592773"],"photo_ids_order":["1399592765","1399592769","1399592771","1399592773","1399592775","1399592777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba3ab8359dd7a58a334c3228856aeb62.jpg","text":"TemporaryFile(/tmp/multipartBody6517387430961036613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857222849,"filename":"image_06112025_15_04_22_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/16/f429af48810ca00227c1a1fee52be2dd.jpg","text":"TemporaryFile(/tmp/multipartBody5952714002735126237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857222849,"filename":"image_06112025_15_04_13_1480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f613ca045b91bfe73d60db26ace03c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5413042837342603524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857222849,"filename":"image_06112025_15_04_25_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca8eb9de377bc89ac58bb94d22c2c186.jpg","text":"TemporaryFile(/tmp/multipartBody1837356223746448568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857222849,"filename":"image_06112025_15_04_17_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/518a9f9cfec00bcf4b3a2399371a32f4.jpg","text":"TemporaryFile(/tmp/multipartBody3537200411680949010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857222849,"filename":"image_06112025_15_04_11_3040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/983f7c0eab24dee60ad266f6a5218125.jpg","text":"TemporaryFile(/tmp/multipartBody5628423248982550944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857222849,"filename":"image_06112025_15_04_19_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592771","file1":"1399592769","file0":"1399592765","file4":"1399592775","file5":"1399592777","file3":"1399592773"},"map_files_photo_id_array":[{"photo_id":"1399592777","filename":"file5"},{"photo_id":"1399592771","filename":"file2"},{"photo_id":"1399592775","filename":"file4"},{"photo_id":"1399592769","filename":"file1"},{"photo_id":"1399592765","filename":"file0"},{"photo_id":"1399592773","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592775":["hashtag1","hashtag2"]},{"1399592769":["hashtag1","hashtag2"]},{"1399592777":["hashtag1","hashtag2"]},{"1399592771":["hashtag1","hashtag2"]},{"1399592765":["hashtag1","hashtag2"]},{"1399592773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592775, 1399592769, 1399592777, 1399592771, 1399592765, 1399592773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87845849990845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:53:22.531942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/51/image_16122025_04_51_44_9709.jpg', '/home/pi/Desktop/images/16122025/04/51/image_16122025_04_52_04_10646.jpg', '/home/pi/Desktop/images/16122025/04/53/image_16122025_04_53_45_10885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/51/image_16122025_04_51_44_9709.jpg
/home/pi/Desktop/images/16122025/04/51/image_16122025_04_52_04_10646.jpg
/home/pi/Desktop/images/16122025/04/53/image_16122025_04_53_45_10885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592781","1399592778","1399592783"],"photo_ids_order":["1399592778","1399592781","1399592783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a26ed2c583b007f0fd4f7f693e3d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6775006877554010102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857263047,"filename":"image_16122025_04_52_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0252a2dd90ff710b886553a83cfcf60a.jpg","text":"TemporaryFile(/tmp/multipartBody8139382814820120302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857263047,"filename":"image_16122025_04_51_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/16/b767bda66a536ad6f995996d3050ffcc.jpg","text":"TemporaryFile(/tmp/multipartBody3538148623723636599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857263047,"filename":"image_16122025_04_53_45_10885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592783","file1":"1399592781","file0":"1399592778"},"map_files_photo_id_array":[{"photo_id":"1399592783","filename":"file2"},{"photo_id":"1399592781","filename":"file1"},{"photo_id":"1399592778","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592781":["hashtag1","hashtag2"]},{"1399592778":["hashtag1","hashtag2"]},{"1399592783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592781, 1399592778, 1399592783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.651583433151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:54:03.374468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:54:12.636231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:54:22.692043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/53/image_16122025_04_53_55_9782.jpg', '/home/pi/Desktop/images/16122025/04/54/image_16122025_04_54_34_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/53/image_16122025_04_53_55_9782.jpg
/home/pi/Desktop/images/16122025/04/54/image_16122025_04_54_34_10626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3808717727661133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:54:32.640979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:54:42.702159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_28_3685.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_31_2626.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_35_3555.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_37_2532.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_40_2629.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_43_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_28_3685.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_31_2626.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_35_3555.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_37_2532.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_40_2629.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_43_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":["1399592809","1399592799","1399592803","1399592805","1399592807","1399592801"],"photo_ids_order":["1399592799","1399592801","1399592803","1399592805","1399592807","1399592809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ea2d66804442d29686dfa0f96eee369.jpg","text":"TemporaryFile(/tmp/multipartBody6725414674543146758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857343401,"filename":"image_06112025_15_04_43_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/16/c7c5525ac353fafc2f635d5dc62fbf81.jpg","text":"TemporaryFile(/tmp/multipartBody3956824072618289894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857343401,"filename":"image_06112025_15_04_28_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9c1794970525f658efd676bbe45e135.jpg","text":"TemporaryFile(/tmp/multipartBody8509108377821845621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857343401,"filename":"image_06112025_15_04_35_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/16/56d3e8e295c9163bb057ad44a5b6592f.jpg","text":"TemporaryFile(/tmp/multipartBody1050989564243814267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857343401,"filename":"image_06112025_15_04_37_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/16/511e012f3a1d41d57ebbc9bd4085a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody222697981880860457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857343401,"filename":"image_06112025_15_04_40_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/16/4f5de5c1423d3e81a7429ad876ffd4c7.jpg","text":"TemporaryFile(/tmp/multipartBody8529194723016377952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857343401,"filename":"image_06112025_15_04_31_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592803","file1":"1399592801","file0":"1399592799","file4":"1399592807","file5":"1399592809","file3":"1399592805"},"map_files_photo_id_array":[{"photo_id":"1399592809","filename":"file5"},{"photo_id":"1399592803","filename":"file2"},{"photo_id":"1399592807","filename":"file4"},{"photo_id":"1399592801","filename":"file1"},{"photo_id":"1399592799","filename":"file0"},{"photo_id":"1399592805","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592809":["hashtag1","hashtag2"]},{"1399592799":["hashtag1","hashtag2"]},{"1399592803":["hashtag1","hashtag2"]},{"1399592805":["hashtag1","hashtag2"]},{"1399592807":["hashtag1","hashtag2"]},{"1399592801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592809, 1399592799, 1399592803, 1399592805, 1399592807, 1399592801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62138342857361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:55:21.940983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/53/image_16122025_04_53_55_9782.jpg', '/home/pi/Desktop/images/16122025/04/54/image_16122025_04_54_34_10626.jpg', '/home/pi/Desktop/images/16122025/04/54/image_16122025_04_54_44_9652.jpg', '/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_24_9731.jpg', '/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_35_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/53/image_16122025_04_53_55_9782.jpg
/home/pi/Desktop/images/16122025/04/54/image_16122025_04_54_34_10626.jpg
/home/pi/Desktop/images/16122025/04/54/image_16122025_04_54_44_9652.jpg
/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_24_9731.jpg
/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_35_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592818","1399592812","1399592817","1399592814","1399592810"],"photo_ids_order":["1399592810","1399592812","1399592814","1399592817","1399592818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e922a4a1881613c36c1e966601f23b0c.jpg","text":"TemporaryFile(/tmp/multipartBody8687357583985579819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857382559,"filename":"image_16122025_04_55_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/16/8d67647809c4a93b27bb793ab97e118d.jpg","text":"TemporaryFile(/tmp/multipartBody247746522520114158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857382559,"filename":"image_16122025_04_54_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/acdb698e78c10c315be912e1266425aa.jpg","text":"TemporaryFile(/tmp/multipartBody8214754858004858838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857382559,"filename":"image_16122025_04_55_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/16/6f3105f861c1718b665d3e093581281d.jpg","text":"TemporaryFile(/tmp/multipartBody5290144637428145225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857382559,"filename":"image_16122025_04_54_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ffa88a512b4272601a2d13db561f65e5.jpg","text":"TemporaryFile(/tmp/multipartBody946455132753088359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857382559,"filename":"image_16122025_04_53_55_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592814","file1":"1399592812","file0":"1399592810","file4":"1399592818","file3":"1399592817"},"map_files_photo_id_array":[{"photo_id":"1399592814","filename":"file2"},{"photo_id":"1399592818","filename":"file4"},{"photo_id":"1399592812","filename":"file1"},{"photo_id":"1399592810","filename":"file0"},{"photo_id":"1399592817","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592818":["hashtag1","hashtag2"]},{"1399592812":["hashtag1","hashtag2"]},{"1399592817":["hashtag1","hashtag2"]},{"1399592814":["hashtag1","hashtag2"]},{"1399592810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592818, 1399592812, 1399592817, 1399592814, 1399592810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.5369176864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:56:02.665838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:56:12.220734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:56:22.278201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_44_9712.jpg', '/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_15_10706.jpg', '/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_24_9714.jpg', '/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_34_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_44_9712.jpg
/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_15_10706.jpg
/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_24_9714.jpg
/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_34_9726.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45488548278808594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:56:32.333142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 04:56:42.277854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_46_2597.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_50_3557.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_52_2632.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_55_2552.jpg', '/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_58_3661.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_01_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_46_2597.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_50_3557.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_52_2632.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_55_2552.jpg
/home/pi/Desktop/images/06112025/15/04/image_06112025_15_04_58_3661.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_01_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592842","1399592848","1399592844","1399592846","1399592840","1399592834"],"photo_ids_order":["1399592834","1399592840","1399592842","1399592844","1399592846","1399592848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87e33cedfd26e253c071c0a29d974698.jpg","text":"TemporaryFile(/tmp/multipartBody2222273005807419509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857462981,"filename":"image_06112025_15_04_52_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/16/44e13411f3f5600b075d9ad9ea20a2df.jpg","text":"TemporaryFile(/tmp/multipartBody2259950100220498777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857462981,"filename":"image_06112025_15_05_01_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/16/5b47de9145842edc97f0afb5594e27d8.jpg","text":"TemporaryFile(/tmp/multipartBody3262187629832646643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857462981,"filename":"image_06112025_15_04_55_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3064eaad2dbc3b1975f2511d9fbe5153.jpg","text":"TemporaryFile(/tmp/multipartBody6494039775740335125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857462981,"filename":"image_06112025_15_04_58_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/16/87e3e7c37d91bc8a4da5ac7b86d3d9e6.jpg","text":"TemporaryFile(/tmp/multipartBody6501820283799149429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857462981,"filename":"image_06112025_15_04_50_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a9e801fb0f3bdf93d0ca6916d2617c2.jpg","text":"TemporaryFile(/tmp/multipartBody4719902990781402778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857462981,"filename":"image_06112025_15_04_46_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592842","file1":"1399592840","file0":"1399592834","file4":"1399592846","file5":"1399592848","file3":"1399592844"},"map_files_photo_id_array":[{"photo_id":"1399592848","filename":"file5"},{"photo_id":"1399592842","filename":"file2"},{"photo_id":"1399592846","filename":"file4"},{"photo_id":"1399592840","filename":"file1"},{"photo_id":"1399592834","filename":"file0"},{"photo_id":"1399592844","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399592842":["hashtag1","hashtag2"]},{"1399592848":["hashtag1","hashtag2"]},{"1399592844":["hashtag1","hashtag2"]},{"1399592846":["hashtag1","hashtag2"]},{"1399592840":["hashtag1","hashtag2"]},{"1399592834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399592842, 1399592848, 1399592844, 1399592846, 1399592840, 1399592834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.604421615600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:57:22.589527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_44_9712.jpg', '/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_15_10706.jpg', '/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_24_9714.jpg', '/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_34_9726.jpg', '/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_44_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/55/image_16122025_04_55_44_9712.jpg
/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_15_10706.jpg
/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_24_9714.jpg
/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_34_9726.jpg
/home/pi/Desktop/images/16122025/04/56/image_16122025_04_56_44_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399592857","1399592850","1399592852","1399592855","1399592854"],"photo_ids_order":["1399592850","1399592852","1399592854","1399592855","1399592857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/373d5ffda0218699d5155533b5e999ec.jpg","text":"TemporaryFile(/tmp/multipartBody1451369881805755961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857503196,"filename":"image_16122025_04_56_44_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1eec35d7f17f6ac4727b70e94122085b.jpg","text":"TemporaryFile(/tmp/multipartBody6124483679964680940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857503196,"filename":"image_16122025_04_55_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6fa2e3168ddec69d0651fd336642ea91.jpg","text":"TemporaryFile(/tmp/multipartBody2435742481987047613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857503196,"filename":"image_16122025_04_56_15_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9ce669658c9b1b05e8d78f0615ec3f5.jpg","text":"TemporaryFile(/tmp/multipartBody3219986912615137910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857503196,"filename":"image_16122025_04_56_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/16/f9113cabe6d8326f64f2fd5652375d6e.jpg","text":"TemporaryFile(/tmp/multipartBody8165193721702849676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857503196,"filename":"image_16122025_04_56_24_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399592854","file1":"1399592852","file0":"1399592850","file4":"1399592857","file3":"1399592855"},"map_files_photo_id_array":[{"photo_id":"1399592854","filename":"file2"},{"photo_id":"1399592857","filename":"file4"},{"photo_id":"1399592852","filename":"file1"},{"photo_id":"1399592850","filename":"file0"},{"photo_id":"1399592855","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399592857":["hashtag1","hashtag2"]},{"1399592850":["hashtag1","hashtag2"]},{"1399592852":["hashtag1","hashtag2"]},{"1399592855":["hashtag1","hashtag2"]},{"1399592854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399592857, 1399592850, 1399592852, 1399592855, 1399592854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.09034848213196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 04:59:02.812107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 04:59:14.073058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 04:59:22.132786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/57/image_16122025_04_57_24_9840.jpg', '/home/pi/Desktop/images/16122025/04/58/image_16122025_04_59_04_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/57/image_16122025_04_57_24_9840.jpg
/home/pi/Desktop/images/16122025/04/58/image_16122025_04_59_04_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399593248","1399593251"],"photo_ids_order":["1399593248","1399593251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91bc62f5419e592778ad74de37fda5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3989140392895273925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857622610,"filename":"image_16122025_04_57_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b61c62b264259c0f5a45b1bced28927.jpg","text":"TemporaryFile(/tmp/multipartBody6883041245352478181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857622610,"filename":"image_16122025_04_59_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399593251","file0":"1399593248"},"map_files_photo_id_array":[{"photo_id":"1399593251","filename":"file1"},{"photo_id":"1399593248","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399593248":["hashtag1","hashtag2"]},{"1399593251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399593248, 1399593251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.781729698181152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:00:02.699721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:00:12.251789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:00:22.334930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/04/59/image_16122025_04_59_35_9825.jpg', '/home/pi/Desktop/images/16122025/04/59/image_16122025_05_00_05_10826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/04/59/image_16122025_04_59_35_9825.jpg
/home/pi/Desktop/images/16122025/04/59/image_16122025_05_00_05_10826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399593482","1399593442"],"photo_ids_order":["1399593442","1399593482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47b86fdfd3af1093eb8da1739f1559f3.jpg","text":"TemporaryFile(/tmp/multipartBody1214009518851530080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857682804,"filename":"image_16122025_05_00_05_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a036df2413af580c8859173a3333688.jpg","text":"TemporaryFile(/tmp/multipartBody727784428808026190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857682804,"filename":"image_16122025_04_59_35_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399593482","file0":"1399593442"},"map_files_photo_id_array":[{"photo_id":"1399593482","filename":"file1"},{"photo_id":"1399593442","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399593482":["hashtag1","hashtag2"]},{"1399593442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399593482, 1399593442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.180571794509888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:00:42.255955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_04_2719.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_07_3071.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_10_3109.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_13_3672.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_25_11743.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_27_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_04_2719.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_07_3071.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_10_3109.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_13_3672.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_25_11743.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_27_1564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399593529","1399593528","1399593527","1399593530","1399593523","1399593532"],"photo_ids_order":["1399593523","1399593527","1399593528","1399593529","1399593530","1399593532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b27c3831204ba35f06d36da8b38d651.jpg","text":"TemporaryFile(/tmp/multipartBody4350961339389606288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857703009,"filename":"image_06112025_15_05_13_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/16/5d46a0fb3fb16416c2cba4de58a82d56.jpg","text":"TemporaryFile(/tmp/multipartBody6542079122142122489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857703009,"filename":"image_06112025_15_05_10_3109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5d3782a1364a755e585c7eceb9c5eb3.jpg","text":"TemporaryFile(/tmp/multipartBody2645972692336577741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857703009,"filename":"image_06112025_15_05_07_3071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab6b4ec9d7b28b44ebd0cb0c347ff3cc.jpg","text":"TemporaryFile(/tmp/multipartBody6724998497806716192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857703009,"filename":"image_06112025_15_05_25_11743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e19d3236a985fb1977ba2b8ba59c9c5.jpg","text":"TemporaryFile(/tmp/multipartBody704460560655184358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857703009,"filename":"image_06112025_15_05_04_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/16/930567cee4389cd9b3b8c9e45960b98f.jpg","text":"TemporaryFile(/tmp/multipartBody1232244360992224957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857703009,"filename":"image_06112025_15_05_27_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399593528","file1":"1399593527","file0":"1399593523","file4":"1399593530","file5":"1399593532","file3":"1399593529"},"map_files_photo_id_array":[{"photo_id":"1399593532","filename":"file5"},{"photo_id":"1399593528","filename":"file2"},{"photo_id":"1399593530","filename":"file4"},{"photo_id":"1399593527","filename":"file1"},{"photo_id":"1399593523","filename":"file0"},{"photo_id":"1399593529","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399593529":["hashtag1","hashtag2"]},{"1399593528":["hashtag1","hashtag2"]},{"1399593527":["hashtag1","hashtag2"]},{"1399593530":["hashtag1","hashtag2"]},{"1399593523":["hashtag1","hashtag2"]},{"1399593532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399593529, 1399593528, 1399593527, 1399593530, 1399593523, 1399593532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67111921310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:01:22.527903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/00/image_16122025_05_00_14_9795.jpg', '/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_14_9647.jpg', '/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_24_9940.jpg', '/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_35_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/00/image_16122025_05_00_14_9795.jpg
/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_14_9647.jpg
/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_24_9940.jpg
/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_35_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":["1399593588","1399593552","1399593539","1399593542"],"photo_ids_order":["1399593539","1399593542","1399593552","1399593588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25e4c7305c25104976b3ea73a6c05d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4475370826625916834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857743091,"filename":"image_16122025_05_01_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ccc4713d22d3af7d97af773836c080c.jpg","text":"TemporaryFile(/tmp/multipartBody7901391256186988231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857743091,"filename":"image_16122025_05_01_24_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0983472ca755c6dfff5a41a0424ab643.jpg","text":"TemporaryFile(/tmp/multipartBody2186833418851530549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857743091,"filename":"image_16122025_05_00_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f65c256f9889cecc4e01e0cc7d9c4f23.jpg","text":"TemporaryFile(/tmp/multipartBody3641763867603528470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857743091,"filename":"image_16122025_05_01_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399593552","file1":"1399593542","file0":"1399593539","file3":"1399593588"},"map_files_photo_id_array":[{"photo_id":"1399593552","filename":"file2"},{"photo_id":"1399593542","filename":"file1"},{"photo_id":"1399593539","filename":"file0"},{"photo_id":"1399593588","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399593588":["hashtag1","hashtag2"]},{"1399593552":["hashtag1","hashtag2"]},{"1399593539":["hashtag1","hashtag2"]},{"1399593542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399593588, 1399593552, 1399593539, 1399593542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.61522889137268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:02:02.318750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:02:11.892664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:02:21.879826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_55_10619.jpg', '/home/pi/Desktop/images/16122025/05/02/image_16122025_05_02_14_9682.jpg', '/home/pi/Desktop/images/16122025/05/02/image_16122025_05_02_45_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/01/image_16122025_05_01_55_10619.jpg
/home/pi/Desktop/images/16122025/05/02/image_16122025_05_02_14_9682.jpg
/home/pi/Desktop/images/16122025/05/02/image_16122025_05_02_45_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399593967","1399593931","1399594003"],"photo_ids_order":["1399593931","1399593967","1399594003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/380c8e7e41bb10fa79b1b2451ff8c88b.jpg","text":"TemporaryFile(/tmp/multipartBody8752648971449429216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857802462,"filename":"image_16122025_05_02_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/16/aab3d5ce068f8e6eed9a77bd9f64811e.jpg","text":"TemporaryFile(/tmp/multipartBody3798286782303876805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857802462,"filename":"image_16122025_05_01_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/16/f89891dd4d77cff2421e38b621891bee.jpg","text":"TemporaryFile(/tmp/multipartBody2933939602181423813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857802462,"filename":"image_16122025_05_02_45_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594003","file1":"1399593967","file0":"1399593931"},"map_files_photo_id_array":[{"photo_id":"1399594003","filename":"file2"},{"photo_id":"1399593967","filename":"file1"},{"photo_id":"1399593931","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399593967":["hashtag1","hashtag2"]},{"1399593931":["hashtag1","hashtag2"]},{"1399594003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399593967, 1399593931, 1399594003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.841862678527832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:03:02.734639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:03:12.034300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:03:22.065776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/02/image_16122025_05_02_55_9963.jpg', '/home/pi/Desktop/images/16122025/05/02/image_16122025_05_03_04_9693.jpg', '/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_14_9820.jpg', '/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_34_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/02/image_16122025_05_02_55_9963.jpg
/home/pi/Desktop/images/16122025/05/02/image_16122025_05_03_04_9693.jpg
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_14_9820.jpg
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_34_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594407","1399594403","1399594405","1399594398"],"photo_ids_order":["1399594398","1399594403","1399594405","1399594407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7f71a8b2376e8cb6b1f0f5cd625a8ce.jpg","text":"TemporaryFile(/tmp/multipartBody8566885268095008890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857862628,"filename":"image_16122025_05_03_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/16/448b9f9c70c9988ebb380dd19606678b.jpg","text":"TemporaryFile(/tmp/multipartBody334175984510098671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857862628,"filename":"image_16122025_05_03_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/16/a1a89179c5002f82b0eff9a4da5c0664.jpg","text":"TemporaryFile(/tmp/multipartBody7239782554456324433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857862628,"filename":"image_16122025_05_03_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/16/bae2374da9cf496906999fbf3378a675.jpg","text":"TemporaryFile(/tmp/multipartBody5217273815822806984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857862628,"filename":"image_16122025_05_02_55_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594405","file1":"1399594403","file0":"1399594398","file3":"1399594407"},"map_files_photo_id_array":[{"photo_id":"1399594405","filename":"file2"},{"photo_id":"1399594403","filename":"file1"},{"photo_id":"1399594398","filename":"file0"},{"photo_id":"1399594407","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399594407":["hashtag1","hashtag2"]},{"1399594403":["hashtag1","hashtag2"]},{"1399594405":["hashtag1","hashtag2"]},{"1399594398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399594407, 1399594403, 1399594405, 1399594398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.30511713027954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:04:03.119749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:04:12.386560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:04:22.390807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_44_9686.jpg', '/home/pi/Desktop/images/16122025/05/03/image_16122025_05_04_05_10791.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_14_9676.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_35_10632.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_44_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_44_9686.jpg
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_04_05_10791.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_14_9676.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_35_10632.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_44_9722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.603510856628418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:04:32.393445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:04:42.335610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_31_4401.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_40_8690.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_43_3162.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_45_1789.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_52_7096.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_54_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_31_4401.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_40_8690.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_43_3162.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_45_1789.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_52_7096.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_54_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594685","1399594688","1399594589","1399594687","1399594624","1399594662"],"photo_ids_order":["1399594589","1399594624","1399594662","1399594685","1399594687","1399594688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df4aa03e974d966ca0777e15efae92ea.jpg","text":"TemporaryFile(/tmp/multipartBody1938441834298650102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857943031,"filename":"image_06112025_15_05_45_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b058405b41e761c68d1065e62b4ba485.jpg","text":"TemporaryFile(/tmp/multipartBody3182011983323824508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857943031,"filename":"image_06112025_15_05_54_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/16/0a91b6c5175b72350f1f3312a51f4ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1110903773152266766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857943031,"filename":"image_06112025_15_05_31_4401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe2637d003d222459da5377c9912bf7b.jpg","text":"TemporaryFile(/tmp/multipartBody1504813791019901475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857943031,"filename":"image_06112025_15_05_52_7096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3dae67b066b28af77675fe2b35ea530.jpg","text":"TemporaryFile(/tmp/multipartBody816109421873727806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857943031,"filename":"image_06112025_15_05_40_8690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3de7d94be865c8a4725a6fc58aa95475.jpg","text":"TemporaryFile(/tmp/multipartBody4267741835653428997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765857943031,"filename":"image_06112025_15_05_43_3162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594662","file1":"1399594624","file0":"1399594589","file4":"1399594687","file5":"1399594688","file3":"1399594685"},"map_files_photo_id_array":[{"photo_id":"1399594688","filename":"file5"},{"photo_id":"1399594662","filename":"file2"},{"photo_id":"1399594687","filename":"file4"},{"photo_id":"1399594624","filename":"file1"},{"photo_id":"1399594589","filename":"file0"},{"photo_id":"1399594685","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399594685":["hashtag1","hashtag2"]},{"1399594688":["hashtag1","hashtag2"]},{"1399594589":["hashtag1","hashtag2"]},{"1399594687":["hashtag1","hashtag2"]},{"1399594624":["hashtag1","hashtag2"]},{"1399594662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399594685, 1399594688, 1399594589, 1399594687, 1399594624, 1399594662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72683143615723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:05:22.594565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_44_9686.jpg', '/home/pi/Desktop/images/16122025/05/03/image_16122025_05_04_05_10791.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_14_9676.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_35_10632.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_44_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_44_9686.jpg
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_04_05_10791.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_14_9676.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_35_10632.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_44_9722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5358898639678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:05:32.564053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:05:42.604827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_55_1548.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_57_1526.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_58_1575.jpg', '/home/pi/Desktop/images/06112025/15/05/image_06112025_15_06_00_1862.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_02_1718.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_04_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_55_1548.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_57_1526.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_05_58_1575.jpg
/home/pi/Desktop/images/06112025/15/05/image_06112025_15_06_00_1862.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_02_1718.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_04_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594821","1399594820","1399594823","1399594822","1399594816","1399594819"],"photo_ids_order":["1399594816","1399594819","1399594820","1399594821","1399594822","1399594823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce423bec9befd55f2ed22f16e7059eec.jpg","text":"TemporaryFile(/tmp/multipartBody8425618720763450688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858003320,"filename":"image_06112025_15_06_00_1862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78f33181d2b98c0d083cac12d16b692a.jpg","text":"TemporaryFile(/tmp/multipartBody8531129635020570426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858003320,"filename":"image_06112025_15_05_58_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/16/b50ee51b2903a55bf58c5c2f99d0acf8.jpg","text":"TemporaryFile(/tmp/multipartBody2807740733924383316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858003320,"filename":"image_06112025_15_06_04_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70e3aff8dd28f4c8f05a3d3ec0055cf6.jpg","text":"TemporaryFile(/tmp/multipartBody4736287138457162086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858003320,"filename":"image_06112025_15_06_02_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/16/46665ae5af140fcafb5ad9677cce4031.jpg","text":"TemporaryFile(/tmp/multipartBody3266894513073341794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858003320,"filename":"image_06112025_15_05_55_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/125ace4a612f7dd231e8c9e8c30afc8d.jpg","text":"TemporaryFile(/tmp/multipartBody377717890360970019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858003320,"filename":"image_06112025_15_05_57_1526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594820","file1":"1399594819","file0":"1399594816","file4":"1399594822","file5":"1399594823","file3":"1399594821"},"map_files_photo_id_array":[{"photo_id":"1399594823","filename":"file5"},{"photo_id":"1399594820","filename":"file2"},{"photo_id":"1399594822","filename":"file4"},{"photo_id":"1399594819","filename":"file1"},{"photo_id":"1399594816","filename":"file0"},{"photo_id":"1399594821","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399594821":["hashtag1","hashtag2"]},{"1399594820":["hashtag1","hashtag2"]},{"1399594823":["hashtag1","hashtag2"]},{"1399594822":["hashtag1","hashtag2"]},{"1399594816":["hashtag1","hashtag2"]},{"1399594819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399594821, 1399594820, 1399594823, 1399594822, 1399594816, 1399594819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22724795341492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:06:21.888934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_44_9686.jpg', '/home/pi/Desktop/images/16122025/05/03/image_16122025_05_04_05_10791.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_14_9676.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_35_10632.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_44_9722.jpg', '/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_54_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_03_44_9686.jpg
/home/pi/Desktop/images/16122025/05/03/image_16122025_05_04_05_10791.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_14_9676.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_35_10632.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_44_9722.jpg
/home/pi/Desktop/images/16122025/05/04/image_16122025_05_04_54_9889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594830","1399594833","1399594835","1399594831","1399594828","1399594837"],"photo_ids_order":["1399594828","1399594830","1399594831","1399594833","1399594835","1399594837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75883b63045945b8bf57f3c5968eddb0.jpg","text":"TemporaryFile(/tmp/multipartBody2228841514840706162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858042544,"filename":"image_16122025_05_04_05_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/16/d339532e30181bbaf5f69ffbd1689c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6564538588103241404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858042544,"filename":"image_16122025_05_04_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/429255a1de6d641d38fb8d5822f6fdef.jpg","text":"TemporaryFile(/tmp/multipartBody1368452328120639898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858042544,"filename":"image_16122025_05_04_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/16/bb769ef1653d3c127e367a415497bfbd.jpg","text":"TemporaryFile(/tmp/multipartBody578168903041938133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858042544,"filename":"image_16122025_05_04_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a5e2c7d863fde5e5b506b28886c0f843.jpg","text":"TemporaryFile(/tmp/multipartBody8117000589184287108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858042544,"filename":"image_16122025_05_03_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/16/b117cac20af7ba73f9e7c6c7d3d8a880.jpg","text":"TemporaryFile(/tmp/multipartBody7126104186884788044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858042544,"filename":"image_16122025_05_04_54_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594831","file1":"1399594830","file0":"1399594828","file4":"1399594835","file5":"1399594837","file3":"1399594833"},"map_files_photo_id_array":[{"photo_id":"1399594837","filename":"file5"},{"photo_id":"1399594831","filename":"file2"},{"photo_id":"1399594835","filename":"file4"},{"photo_id":"1399594830","filename":"file1"},{"photo_id":"1399594828","filename":"file0"},{"photo_id":"1399594833","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399594830":["hashtag1","hashtag2"]},{"1399594833":["hashtag1","hashtag2"]},{"1399594835":["hashtag1","hashtag2"]},{"1399594831":["hashtag1","hashtag2"]},{"1399594828":["hashtag1","hashtag2"]},{"1399594837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399594830, 1399594833, 1399594835, 1399594831, 1399594828, 1399594837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.208585262298584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:07:02.670249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/05/image_16122025_05_06_04_9878.jpg', '/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_14_9748.jpg', '/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_24_9814.jpg', '/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_35_10744.jpg', '/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_44_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/05/image_16122025_05_06_04_9878.jpg
/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_14_9748.jpg
/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_24_9814.jpg
/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_35_10744.jpg
/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_44_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594842","1399594839","1399594844","1399594838","1399594846"],"photo_ids_order":["1399594838","1399594839","1399594842","1399594844","1399594846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1e6e4ee70a6c039cf1a3cb8e58245bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3010682411926980730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858083332,"filename":"image_16122025_05_06_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11a7eba22be14ca93fa8ccd90ab62beb.jpg","text":"TemporaryFile(/tmp/multipartBody5068875578685289369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858083332,"filename":"image_16122025_05_06_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/16/bb6d965f309fb68fd8d649731d8bd073.jpg","text":"TemporaryFile(/tmp/multipartBody6475821231161728653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858083332,"filename":"image_16122025_05_06_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ab67a68ff1f74473184012b9ab46ba9.jpg","text":"TemporaryFile(/tmp/multipartBody4902280506454704281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858083332,"filename":"image_16122025_05_06_04_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/16/01c1b94c123aa66c93462542b741ed43.jpg","text":"TemporaryFile(/tmp/multipartBody3275337951305509939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858083332,"filename":"image_16122025_05_06_44_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594842","file1":"1399594839","file0":"1399594838","file4":"1399594846","file3":"1399594844"},"map_files_photo_id_array":[{"photo_id":"1399594842","filename":"file2"},{"photo_id":"1399594846","filename":"file4"},{"photo_id":"1399594839","filename":"file1"},{"photo_id":"1399594838","filename":"file0"},{"photo_id":"1399594844","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399594842":["hashtag1","hashtag2"]},{"1399594839":["hashtag1","hashtag2"]},{"1399594844":["hashtag1","hashtag2"]},{"1399594838":["hashtag1","hashtag2"]},{"1399594846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399594842, 1399594839, 1399594844, 1399594838, 1399594846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.74436569213867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:07:42.064471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_05_1674.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_08_2734.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_10_1640.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_11_1659.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_13_1562.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_16_3525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_05_1674.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_08_2734.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_10_1640.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_11_1659.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_13_1562.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_16_3525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594857","1399594859","1399594862","1399594858","1399594855","1399594860"],"photo_ids_order":["1399594855","1399594857","1399594858","1399594859","1399594860","1399594862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bee5ed15bc1bc3a904c0f075a6346e2.jpg","text":"TemporaryFile(/tmp/multipartBody3194297888086131895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858122777,"filename":"image_06112025_15_06_08_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/16/103c5e8735aac9884df85187f2f5bc1b.jpg","text":"TemporaryFile(/tmp/multipartBody710406241345279667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858122777,"filename":"image_06112025_15_06_11_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/16/223bb09a80ebaead17acfb4c2ded70c6.jpg","text":"TemporaryFile(/tmp/multipartBody237771611262530079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858122777,"filename":"image_06112025_15_06_16_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/16/46ad85acf79ad5c7468b7009299ac32b.jpg","text":"TemporaryFile(/tmp/multipartBody7767554558005626094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858122777,"filename":"image_06112025_15_06_10_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/16/9ba3405e82fde34d2a918bf4e1a5db91.jpg","text":"TemporaryFile(/tmp/multipartBody4234954130508090936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858122777,"filename":"image_06112025_15_06_05_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c9c891bce797bee057f1580824ce680.jpg","text":"TemporaryFile(/tmp/multipartBody1780600918123314250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858122777,"filename":"image_06112025_15_06_13_1562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594858","file1":"1399594857","file0":"1399594855","file4":"1399594860","file5":"1399594862","file3":"1399594859"},"map_files_photo_id_array":[{"photo_id":"1399594862","filename":"file5"},{"photo_id":"1399594858","filename":"file2"},{"photo_id":"1399594860","filename":"file4"},{"photo_id":"1399594857","filename":"file1"},{"photo_id":"1399594855","filename":"file0"},{"photo_id":"1399594859","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399594857":["hashtag1","hashtag2"]},{"1399594859":["hashtag1","hashtag2"]},{"1399594862":["hashtag1","hashtag2"]},{"1399594858":["hashtag1","hashtag2"]},{"1399594855":["hashtag1","hashtag2"]},{"1399594860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399594857, 1399594859, 1399594862, 1399594858, 1399594855, 1399594860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.142998695373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:08:22.323103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_54_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/06/image_16122025_05_06_54_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594870"],"photo_id":"1399594870","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be64435baaa262be1a3da82e4693b454.jpg","text":"TemporaryFile(/tmp/multipartBody8565114790698747949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858162749,"filename":"image_16122025_05_06_54_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399594870"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399594870"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.446138381958008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:08:42.286260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_28_11364.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_34_5935.jpg', '/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_35_1560.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_03_27425.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_04_1622.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_23_19083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_28_11364.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_34_5935.jpg
/home/pi/Desktop/images/06112025/15/06/image_06112025_15_06_35_1560.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_03_27425.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_04_1622.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_23_19083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594892","1399594889","1399594880","1399594891","1399594890","1399594893"],"photo_ids_order":["1399594880","1399594889","1399594890","1399594891","1399594892","1399594893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/48d3dbed9aa14dcd037d48550a04c766.jpg","text":"TemporaryFile(/tmp/multipartBody3907219158753087647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858182987,"filename":"image_06112025_15_07_04_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/16/5e46eb5b14638c75472cceef1dbe5daf.jpg","text":"TemporaryFile(/tmp/multipartBody1274225413815162290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858182987,"filename":"image_06112025_15_06_34_5935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59f4d66e4e192ccce7e378828459efb4.jpg","text":"TemporaryFile(/tmp/multipartBody1274113295536591409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858182987,"filename":"image_06112025_15_06_28_11364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7522d1753819286c60f881af96f7d422.jpg","text":"TemporaryFile(/tmp/multipartBody5223816936825731805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858182987,"filename":"image_06112025_15_07_03_27425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/40d3e5a1c00da245227547a2d4037260.jpg","text":"TemporaryFile(/tmp/multipartBody839405688615522366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858182987,"filename":"image_06112025_15_06_35_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/16/fcaea8b867b1fa9ea6e0968c7dda244f.jpg","text":"TemporaryFile(/tmp/multipartBody8751792367816134117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858182987,"filename":"image_06112025_15_07_23_19083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594890","file1":"1399594889","file0":"1399594880","file4":"1399594892","file5":"1399594893","file3":"1399594891"},"map_files_photo_id_array":[{"photo_id":"1399594893","filename":"file5"},{"photo_id":"1399594890","filename":"file2"},{"photo_id":"1399594892","filename":"file4"},{"photo_id":"1399594889","filename":"file1"},{"photo_id":"1399594880","filename":"file0"},{"photo_id":"1399594891","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399594892":["hashtag1","hashtag2"]},{"1399594889":["hashtag1","hashtag2"]},{"1399594880":["hashtag1","hashtag2"]},{"1399594891":["hashtag1","hashtag2"]},{"1399594890":["hashtag1","hashtag2"]},{"1399594893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399594892, 1399594889, 1399594880, 1399594891, 1399594890, 1399594893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.515700817108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:09:22.524377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/06/image_16122025_05_07_05_10638.jpg', '/home/pi/Desktop/images/16122025/05/09/image_16122025_05_09_35_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/06/image_16122025_05_07_05_10638.jpg
/home/pi/Desktop/images/16122025/05/09/image_16122025_05_09_35_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594902","1399594900"],"photo_ids_order":["1399594900","1399594902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a5d73e1a31bb9250ed857219b605dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3702373407173704539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858223007,"filename":"image_16122025_05_09_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47eb722ce5d86dae6e730176a80f57f2.jpg","text":"TemporaryFile(/tmp/multipartBody7893131001214214033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858223007,"filename":"image_16122025_05_07_05_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399594902","file0":"1399594900"},"map_files_photo_id_array":[{"photo_id":"1399594902","filename":"file1"},{"photo_id":"1399594900","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399594902":["hashtag1","hashtag2"]},{"1399594900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399594902, 1399594900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.21517324447632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:10:03.200102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:10:12.768544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:10:22.807137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/09/image_16122025_05_09_54_9675.jpg', '/home/pi/Desktop/images/16122025/05/10/image_16122025_05_10_14_9765.jpg', '/home/pi/Desktop/images/16122025/05/10/image_16122025_05_10_35_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/09/image_16122025_05_09_54_9675.jpg
/home/pi/Desktop/images/16122025/05/10/image_16122025_05_10_14_9765.jpg
/home/pi/Desktop/images/16122025/05/10/image_16122025_05_10_35_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594917","1399594913","1399594915"],"photo_ids_order":["1399594913","1399594915","1399594917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a530f63696156c6a7342eab599c2100e.jpg","text":"TemporaryFile(/tmp/multipartBody3387023157269983079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858283335,"filename":"image_16122025_05_10_35_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0662e925cc94f8e28187ce425d896159.jpg","text":"TemporaryFile(/tmp/multipartBody4663631805581290626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858283335,"filename":"image_16122025_05_09_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a65e7b6f45280139951b456af40b54d.jpg","text":"TemporaryFile(/tmp/multipartBody6729462942306185781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858283335,"filename":"image_16122025_05_10_14_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594917","file1":"1399594915","file0":"1399594913"},"map_files_photo_id_array":[{"photo_id":"1399594917","filename":"file2"},{"photo_id":"1399594915","filename":"file1"},{"photo_id":"1399594913","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399594917":["hashtag1","hashtag2"]},{"1399594913":["hashtag1","hashtag2"]},{"1399594915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399594917, 1399594913, 1399594915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.16584324836731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:11:02.576051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:11:11.949774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:11:22.015348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/10/image_16122025_05_10_44_9594.jpg', '/home/pi/Desktop/images/16122025/05/10/image_16122025_05_11_05_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/10/image_16122025_05_10_44_9594.jpg
/home/pi/Desktop/images/16122025/05/10/image_16122025_05_11_05_10613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594951","1399594948"],"photo_ids_order":["1399594948","1399594951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5f94b401b64530afecbd701b43f3d7ab.jpg","text":"TemporaryFile(/tmp/multipartBody3841804147359287648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858342481,"filename":"image_16122025_05_11_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c51bc8859d19fb4f8fa047c9efaf4a25.jpg","text":"TemporaryFile(/tmp/multipartBody5717384662092678112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858342481,"filename":"image_16122025_05_10_44_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399594951","file0":"1399594948"},"map_files_photo_id_array":[{"photo_id":"1399594951","filename":"file1"},{"photo_id":"1399594948","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399594951":["hashtag1","hashtag2"]},{"1399594948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399594951, 1399594948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.864670276641846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:11:42.008975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_25_1832.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_27_1683.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_28_1677.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_30_1669.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_32_1749.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_34_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_25_1832.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_27_1683.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_28_1677.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_30_1669.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_32_1749.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_34_1711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594970","1399594958","1399594967","1399594969","1399594966","1399594968"],"photo_ids_order":["1399594958","1399594966","1399594967","1399594968","1399594969","1399594970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f96a47a4f1b05248a04eb274008dd1cb.jpg","text":"TemporaryFile(/tmp/multipartBody4629733123067407543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858362722,"filename":"image_06112025_15_07_34_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbfee4cccce47ca2da5901894ea01e05.jpg","text":"TemporaryFile(/tmp/multipartBody1944034742146776839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858362722,"filename":"image_06112025_15_07_25_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92967441ae4afa95b7e0689e3e2ca7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1730160824793931512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858362722,"filename":"image_06112025_15_07_28_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/16/b6cad79f627aaf21384242b2146d5aee.jpg","text":"TemporaryFile(/tmp/multipartBody2365041825698215848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858362722,"filename":"image_06112025_15_07_32_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e3425fd43c2b6e32553195a3f251d60.jpg","text":"TemporaryFile(/tmp/multipartBody7352576363656848802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858362722,"filename":"image_06112025_15_07_27_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a38ea647abb3fc45dffba89ac491b973.jpg","text":"TemporaryFile(/tmp/multipartBody8354814340856956804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858362722,"filename":"image_06112025_15_07_30_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594967","file1":"1399594966","file0":"1399594958","file4":"1399594969","file5":"1399594970","file3":"1399594968"},"map_files_photo_id_array":[{"photo_id":"1399594970","filename":"file5"},{"photo_id":"1399594967","filename":"file2"},{"photo_id":"1399594969","filename":"file4"},{"photo_id":"1399594966","filename":"file1"},{"photo_id":"1399594958","filename":"file0"},{"photo_id":"1399594968","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399594970":["hashtag1","hashtag2"]},{"1399594958":["hashtag1","hashtag2"]},{"1399594967":["hashtag1","hashtag2"]},{"1399594969":["hashtag1","hashtag2"]},{"1399594966":["hashtag1","hashtag2"]},{"1399594968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399594970, 1399594958, 1399594967, 1399594969, 1399594966, 1399594968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4863498210907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:12:22.232410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/11/image_16122025_05_11_54_9704.jpg', '/home/pi/Desktop/images/16122025/05/11/image_16122025_05_12_05_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/11/image_16122025_05_11_54_9704.jpg
/home/pi/Desktop/images/16122025/05/11/image_16122025_05_12_05_10686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594977","1399594975"],"photo_ids_order":["1399594975","1399594977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02bb7056630f14e78554b797d40b2038.jpg","text":"TemporaryFile(/tmp/multipartBody8427450185117683911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858402719,"filename":"image_16122025_05_12_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/118e35604f69c32b7e99d57adf4028f2.jpg","text":"TemporaryFile(/tmp/multipartBody9117236460279687572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858402719,"filename":"image_16122025_05_11_54_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399594977","file0":"1399594975"},"map_files_photo_id_array":[{"photo_id":"1399594977","filename":"file1"},{"photo_id":"1399594975","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399594977":["hashtag1","hashtag2"]},{"1399594975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399594977, 1399594975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.58702063560486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:12:42.285346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_35_1641.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_37_1675.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_41_4528.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_45_1709.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_48_1671.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_50_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_35_1641.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_37_1675.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_41_4528.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_45_1709.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_48_1671.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_50_1752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399594994","1399594988","1399594993","1399594996","1399594990","1399594992"],"photo_ids_order":["1399594988","1399594990","1399594992","1399594993","1399594994","1399594996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39ad720a9249e8fbf6438f0f522fb444.jpg","text":"TemporaryFile(/tmp/multipartBody8393514246126648744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858422983,"filename":"image_06112025_15_07_48_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/16/b860923daa574a016a6d8a863c415c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3499199468437199336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858422983,"filename":"image_06112025_15_07_35_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/16/dc17fdb55785164fe3776c93c21188a2.jpg","text":"TemporaryFile(/tmp/multipartBody6198191792738241068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858422983,"filename":"image_06112025_15_07_45_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/16/c908a07126f5b6c90cb19f83f554ba03.jpg","text":"TemporaryFile(/tmp/multipartBody3860165577108168065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858422983,"filename":"image_06112025_15_07_50_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/16/69f2beecda3aaed4a61cb2cffb94b357.jpg","text":"TemporaryFile(/tmp/multipartBody2944340463785650047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858422983,"filename":"image_06112025_15_07_37_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/16/e747ca3fd95ba163aa8850dbe62c204c.jpg","text":"TemporaryFile(/tmp/multipartBody5864087070028400851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858422983,"filename":"image_06112025_15_07_41_4528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399594992","file1":"1399594990","file0":"1399594988","file4":"1399594994","file5":"1399594996","file3":"1399594993"},"map_files_photo_id_array":[{"photo_id":"1399594996","filename":"file5"},{"photo_id":"1399594992","filename":"file2"},{"photo_id":"1399594994","filename":"file4"},{"photo_id":"1399594990","filename":"file1"},{"photo_id":"1399594988","filename":"file0"},{"photo_id":"1399594993","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399594994":["hashtag1","hashtag2"]},{"1399594988":["hashtag1","hashtag2"]},{"1399594993":["hashtag1","hashtag2"]},{"1399594996":["hashtag1","hashtag2"]},{"1399594990":["hashtag1","hashtag2"]},{"1399594992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399594994, 1399594988, 1399594993, 1399594996, 1399594990, 1399594992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90263056755066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:13:22.492724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/12/image_16122025_05_12_24_9891.jpg', '/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_14_9648.jpg', '/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_25_10597.jpg', '/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_34_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/12/image_16122025_05_12_24_9891.jpg
/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_14_9648.jpg
/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_25_10597.jpg
/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_34_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595004","1399595007","1399595001","1399595009"],"photo_ids_order":["1399595001","1399595004","1399595007","1399595009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87f5f31ec38d83aba6e11118114aa276.jpg","text":"TemporaryFile(/tmp/multipartBody6109607349685366995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858463086,"filename":"image_16122025_05_13_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fe6ee8aec0ee66a03a12ea5ce8f1619.jpg","text":"TemporaryFile(/tmp/multipartBody7976180720280697004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858463086,"filename":"image_16122025_05_13_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39bcc3d30ffae0d17615afe62a48652d.jpg","text":"TemporaryFile(/tmp/multipartBody686244776920182708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858463086,"filename":"image_16122025_05_12_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/16/a7fff0cfa6625896bc3e340c822b6a69.jpg","text":"TemporaryFile(/tmp/multipartBody3021132246365225133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858463086,"filename":"image_16122025_05_13_34_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595007","file1":"1399595004","file0":"1399595001","file3":"1399595009"},"map_files_photo_id_array":[{"photo_id":"1399595007","filename":"file2"},{"photo_id":"1399595004","filename":"file1"},{"photo_id":"1399595001","filename":"file0"},{"photo_id":"1399595009","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595004":["hashtag1","hashtag2"]},{"1399595007":["hashtag1","hashtag2"]},{"1399595001":["hashtag1","hashtag2"]},{"1399595009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595004, 1399595007, 1399595001, 1399595009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.58030128479004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:14:03.476928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:14:12.742947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:14:22.794310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_44_9776.jpg', '/home/pi/Desktop/images/16122025/05/13/image_16122025_05_14_05_10857.jpg', '/home/pi/Desktop/images/16122025/05/14/image_16122025_05_14_44_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/13/image_16122025_05_13_44_9776.jpg
/home/pi/Desktop/images/16122025/05/13/image_16122025_05_14_05_10857.jpg
/home/pi/Desktop/images/16122025/05/14/image_16122025_05_14_44_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595023","1399595020","1399595028"],"photo_ids_order":["1399595020","1399595023","1399595028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ef34cc5bffdcdc738c0c77a0bcc6787.jpg","text":"TemporaryFile(/tmp/multipartBody828827081973474514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858523314,"filename":"image_16122025_05_14_05_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/00d37565d3c77d047572b079d3d932cf.jpg","text":"TemporaryFile(/tmp/multipartBody6785692325274335718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858523314,"filename":"image_16122025_05_13_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0c9751f86a878e1c21a3a5d58c71be6.jpg","text":"TemporaryFile(/tmp/multipartBody7495641093498366277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858523314,"filename":"image_16122025_05_14_44_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595028","file1":"1399595023","file0":"1399595020"},"map_files_photo_id_array":[{"photo_id":"1399595028","filename":"file2"},{"photo_id":"1399595023","filename":"file1"},{"photo_id":"1399595020","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595023":["hashtag1","hashtag2"]},{"1399595020":["hashtag1","hashtag2"]},{"1399595028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595023, 1399595020, 1399595028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.930003881454468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:15:02.816864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:15:12.017020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:15:22.091247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/14/image_16122025_05_14_55_10864.jpg', '/home/pi/Desktop/images/16122025/05/14/image_16122025_05_15_04_9779.jpg', '/home/pi/Desktop/images/16122025/05/15/image_16122025_05_15_14_9719.jpg', '/home/pi/Desktop/images/16122025/05/15/image_16122025_05_15_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/14/image_16122025_05_14_55_10864.jpg
/home/pi/Desktop/images/16122025/05/14/image_16122025_05_15_04_9779.jpg
/home/pi/Desktop/images/16122025/05/15/image_16122025_05_15_14_9719.jpg
/home/pi/Desktop/images/16122025/05/15/image_16122025_05_15_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595054","1399595050","1399595053","1399595047"],"photo_ids_order":["1399595047","1399595050","1399595053","1399595054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e8c1ed22b4339fea2d3fb8c0ffc9e25.jpg","text":"TemporaryFile(/tmp/multipartBody2727464205874940009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858582666,"filename":"image_16122025_05_15_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/16/21b838623b06dca247d66501ba428f92.jpg","text":"TemporaryFile(/tmp/multipartBody4089396345915216906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858582666,"filename":"image_16122025_05_15_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/13f2f6f38f1684b55151722b10f59e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4565795269166241678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858582666,"filename":"image_16122025_05_15_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/16/4cc948477e88635408780e9e86585820.jpg","text":"TemporaryFile(/tmp/multipartBody5948613160574042335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858582666,"filename":"image_16122025_05_14_55_10864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595053","file1":"1399595050","file0":"1399595047","file3":"1399595054"},"map_files_photo_id_array":[{"photo_id":"1399595053","filename":"file2"},{"photo_id":"1399595050","filename":"file1"},{"photo_id":"1399595047","filename":"file0"},{"photo_id":"1399595054","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595054":["hashtag1","hashtag2"]},{"1399595050":["hashtag1","hashtag2"]},{"1399595053":["hashtag1","hashtag2"]},{"1399595047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595054, 1399595050, 1399595053, 1399595047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.32606840133667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:16:02.696915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:16:12.179876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:16:22.294347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/15/image_16122025_05_15_54_9605.jpg', '/home/pi/Desktop/images/16122025/05/16/image_16122025_05_16_14_9764.jpg', '/home/pi/Desktop/images/16122025/05/16/image_16122025_05_16_45_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/15/image_16122025_05_15_54_9605.jpg
/home/pi/Desktop/images/16122025/05/16/image_16122025_05_16_14_9764.jpg
/home/pi/Desktop/images/16122025/05/16/image_16122025_05_16_45_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":["1399595063","1399595068","1399595065"],"photo_ids_order":["1399595063","1399595065","1399595068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b5f7aae8fd6ed67d3cf0e8318749617.jpg","text":"TemporaryFile(/tmp/multipartBody3393982625624950441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858642832,"filename":"image_16122025_05_15_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/16/a230660fbccf79c0161098ddb8edc49b.jpg","text":"TemporaryFile(/tmp/multipartBody3065047009799384358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858642832,"filename":"image_16122025_05_16_45_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/16/a442bcaf613912ce2dd2fa6f6316469b.jpg","text":"TemporaryFile(/tmp/multipartBody8423336783728105218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858642832,"filename":"image_16122025_05_16_14_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595068","file1":"1399595065","file0":"1399595063"},"map_files_photo_id_array":[{"photo_id":"1399595068","filename":"file2"},{"photo_id":"1399595065","filename":"file1"},{"photo_id":"1399595063","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595063":["hashtag1","hashtag2"]},{"1399595068":["hashtag1","hashtag2"]},{"1399595065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595063, 1399595068, 1399595065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.75752329826355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:17:03.025371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:17:12.549772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:17:22.510525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/16/image_16122025_05_16_54_9893.jpg', '/home/pi/Desktop/images/16122025/05/16/image_16122025_05_17_04_9751.jpg', '/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_14_9792.jpg', '/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_25_10666.jpg', '/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/16/image_16122025_05_16_54_9893.jpg
/home/pi/Desktop/images/16122025/05/16/image_16122025_05_17_04_9751.jpg
/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_14_9792.jpg
/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_25_10666.jpg
/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_44_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595111","1399595117","1399595119","1399595113","1399595115"],"photo_ids_order":["1399595111","1399595113","1399595115","1399595117","1399595119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b716b00dac091bcdf0a2974c4755f9d7.jpg","text":"TemporaryFile(/tmp/multipartBody721806649125170609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858703123,"filename":"image_16122025_05_16_54_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/199ffdeee9fd5fb554476736842792ba.jpg","text":"TemporaryFile(/tmp/multipartBody6506659650609563172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858703123,"filename":"image_16122025_05_17_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d737300da1763420b3e269fc28a883bf.jpg","text":"TemporaryFile(/tmp/multipartBody827492405258213709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858703123,"filename":"image_16122025_05_17_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/16/24c4e6dd95fd2e00bfd023eeace16b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4830724563480639072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858703123,"filename":"image_16122025_05_17_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58e2f7c46efc1d98695f2715daac0cf6.jpg","text":"TemporaryFile(/tmp/multipartBody6560619058137516832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858703123,"filename":"image_16122025_05_17_14_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595115","file1":"1399595113","file0":"1399595111","file4":"1399595119","file3":"1399595117"},"map_files_photo_id_array":[{"photo_id":"1399595115","filename":"file2"},{"photo_id":"1399595119","filename":"file4"},{"photo_id":"1399595113","filename":"file1"},{"photo_id":"1399595111","filename":"file0"},{"photo_id":"1399595117","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595111":["hashtag1","hashtag2"]},{"1399595117":["hashtag1","hashtag2"]},{"1399595119":["hashtag1","hashtag2"]},{"1399595113":["hashtag1","hashtag2"]},{"1399595115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595111, 1399595117, 1399595119, 1399595113, 1399595115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.22025513648987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:18:03.128275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:18:12.691232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:18:22.724170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_54_9837.jpg', '/home/pi/Desktop/images/16122025/05/17/image_16122025_05_18_05_10706.jpg', '/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_24_9758.jpg', '/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_34_9872.jpg', '/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_44_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/17/image_16122025_05_17_54_9837.jpg
/home/pi/Desktop/images/16122025/05/17/image_16122025_05_18_05_10706.jpg
/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_24_9758.jpg
/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_34_9872.jpg
/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_44_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595138","1399595141","1399595135","1399595143","1399595145"],"photo_ids_order":["1399595135","1399595138","1399595141","1399595143","1399595145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5b93a164765b9c9d49e81ce61e33d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8151280208726343848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858763335,"filename":"image_16122025_05_18_05_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba5387bd8b1a8f472e17b44b61462b79.jpg","text":"TemporaryFile(/tmp/multipartBody5135095954285387031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858763335,"filename":"image_16122025_05_18_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a945a09e8d33370e425e55b222609164.jpg","text":"TemporaryFile(/tmp/multipartBody4994767394175111955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858763335,"filename":"image_16122025_05_17_54_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f5ffaecfcf94536d9a102fd02d14d122.jpg","text":"TemporaryFile(/tmp/multipartBody4170834250089877662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858763335,"filename":"image_16122025_05_18_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/16/3fc725fe7a8711870690463fc7698288.jpg","text":"TemporaryFile(/tmp/multipartBody1146509401898361395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858763335,"filename":"image_16122025_05_18_44_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595141","file1":"1399595138","file0":"1399595135","file4":"1399595145","file3":"1399595143"},"map_files_photo_id_array":[{"photo_id":"1399595141","filename":"file2"},{"photo_id":"1399595145","filename":"file4"},{"photo_id":"1399595138","filename":"file1"},{"photo_id":"1399595135","filename":"file0"},{"photo_id":"1399595143","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595138":["hashtag1","hashtag2"]},{"1399595141":["hashtag1","hashtag2"]},{"1399595135":["hashtag1","hashtag2"]},{"1399595143":["hashtag1","hashtag2"]},{"1399595145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595138, 1399595141, 1399595135, 1399595143, 1399595145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.73241138458252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:19:02.945480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:19:12.086912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:19:22.035743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_55_10709.jpg', '/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_24_9805.jpg', '/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_44_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/18/image_16122025_05_18_55_10709.jpg
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_24_9805.jpg
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_44_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":["1399595189","1399595191","1399595187"],"photo_ids_order":["1399595187","1399595189","1399595191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62b9f4a40f6c6872b8ce645a45c9f388.jpg","text":"TemporaryFile(/tmp/multipartBody8060200301994565628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858822549,"filename":"image_16122025_05_19_24_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d96ee185c4e24eaad4447e22d076e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5147160024360070299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858822549,"filename":"image_16122025_05_19_44_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/864303f4dcf9a97fdd86ac81caea4e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4173363203528724167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858822549,"filename":"image_16122025_05_18_55_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595191","file1":"1399595189","file0":"1399595187"},"map_files_photo_id_array":[{"photo_id":"1399595191","filename":"file2"},{"photo_id":"1399595189","filename":"file1"},{"photo_id":"1399595187","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595189":["hashtag1","hashtag2"]},{"1399595191":["hashtag1","hashtag2"]},{"1399595187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595189, 1399595191, 1399595187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.286325454711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:20:02.690430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:20:12.311939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:20:22.223301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg', '/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4504861831665039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:20:32.242194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:20:42.204763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_53_1653.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_58_1751.jpg', '/home/pi/Desktop/images/06112025/15/07/image_06112025_15_08_00_1624.jpg', '/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_03_1592.jpg', '/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_13_10219.jpg', '/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_22_7461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_53_1653.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_07_58_1751.jpg
/home/pi/Desktop/images/06112025/15/07/image_06112025_15_08_00_1624.jpg
/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_03_1592.jpg
/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_13_10219.jpg
/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_22_7461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595217","1399595225","1399595213","1399595216","1399595224","1399595226"],"photo_ids_order":["1399595213","1399595216","1399595217","1399595224","1399595225","1399595226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a7e8ea22ccf8ab926160d70976d7b97.jpg","text":"TemporaryFile(/tmp/multipartBody6215106839680984950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858902905,"filename":"image_06112025_15_08_00_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c56315696f382c4bd873ca7e9b2ada39.jpg","text":"TemporaryFile(/tmp/multipartBody5401529875519498287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858902905,"filename":"image_06112025_15_08_13_10219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2e7232dd1ab6a163c30d7522b4c234a.jpg","text":"TemporaryFile(/tmp/multipartBody8328060424101452949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858902905,"filename":"image_06112025_15_07_53_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0974cbf8782d55ddc53fe0afb93cd172.jpg","text":"TemporaryFile(/tmp/multipartBody5681238476532833798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858902905,"filename":"image_06112025_15_07_58_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/16/2b28e2f8ea927493aa147b9af4ae6791.jpg","text":"TemporaryFile(/tmp/multipartBody1434398790273085553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858902905,"filename":"image_06112025_15_08_03_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/16/7459d9fffd71ccdd173cf77e514544d3.jpg","text":"TemporaryFile(/tmp/multipartBody4136515528528471737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858902905,"filename":"image_06112025_15_08_22_7461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595217","file1":"1399595216","file0":"1399595213","file4":"1399595225","file5":"1399595226","file3":"1399595224"},"map_files_photo_id_array":[{"photo_id":"1399595226","filename":"file5"},{"photo_id":"1399595217","filename":"file2"},{"photo_id":"1399595225","filename":"file4"},{"photo_id":"1399595216","filename":"file1"},{"photo_id":"1399595213","filename":"file0"},{"photo_id":"1399595224","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595217":["hashtag1","hashtag2"]},{"1399595225":["hashtag1","hashtag2"]},{"1399595213":["hashtag1","hashtag2"]},{"1399595216":["hashtag1","hashtag2"]},{"1399595224":["hashtag1","hashtag2"]},{"1399595226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595217, 1399595225, 1399595213, 1399595216, 1399595224, 1399595226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19437599182129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:21:22.448695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg', '/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_34_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_34_9748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5045247077941895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:21:32.527602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:21:42.385405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_46_23488.jpg', '/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_51_1505.jpg', '/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_54_1591.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_09_1556.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_11_1636.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_12_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_46_23488.jpg
/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_51_1505.jpg
/home/pi/Desktop/images/06112025/15/08/image_06112025_15_08_54_1591.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_09_1556.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_11_1636.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_12_1592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595243","1399595242","1399595245","1399595239","1399595244","1399595247"],"photo_ids_order":["1399595239","1399595242","1399595243","1399595244","1399595245","1399595247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/51145d2e543a2dc5729b2aecf8f84a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5079964967275396743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858963091,"filename":"image_06112025_15_08_54_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/16/12b19cdba6f7318cbf0d435e96016783.jpg","text":"TemporaryFile(/tmp/multipartBody8857827387379303322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858963091,"filename":"image_06112025_15_08_51_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/659eabb89b7570cf455f795df0787c74.jpg","text":"TemporaryFile(/tmp/multipartBody3377915921296906731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858963091,"filename":"image_06112025_15_09_11_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/16/b8b34897ef6e0a65cde6ed3009f99df8.jpg","text":"TemporaryFile(/tmp/multipartBody7436805589878391853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858963091,"filename":"image_06112025_15_08_46_23488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d70bf6fd3393a624823eed860d3e1bce.jpg","text":"TemporaryFile(/tmp/multipartBody6132789888871376581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858963091,"filename":"image_06112025_15_09_09_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ec4d225df8d7e65a78357cd0978a828.jpg","text":"TemporaryFile(/tmp/multipartBody2988638437273101403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765858963091,"filename":"image_06112025_15_09_12_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595243","file1":"1399595242","file0":"1399595239","file4":"1399595245","file5":"1399595247","file3":"1399595244"},"map_files_photo_id_array":[{"photo_id":"1399595247","filename":"file5"},{"photo_id":"1399595243","filename":"file2"},{"photo_id":"1399595245","filename":"file4"},{"photo_id":"1399595242","filename":"file1"},{"photo_id":"1399595239","filename":"file0"},{"photo_id":"1399595244","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595243":["hashtag1","hashtag2"]},{"1399595242":["hashtag1","hashtag2"]},{"1399595245":["hashtag1","hashtag2"]},{"1399595239":["hashtag1","hashtag2"]},{"1399595244":["hashtag1","hashtag2"]},{"1399595247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595243, 1399595242, 1399595245, 1399595239, 1399595244, 1399595247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.820743799209595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:22:22.683687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg', '/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_34_9748.jpg', '/home/pi/Desktop/images/16122025/05/21/image_16122025_05_21_34_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_34_9748.jpg
/home/pi/Desktop/images/16122025/05/21/image_16122025_05_21_34_9579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5875272750854492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:22:32.608960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:22:42.611160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_14_2170.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_16_1697.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_18_1669.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_19_1529.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_21_1595.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_22_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_14_2170.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_16_1697.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_18_1669.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_19_1529.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_21_1595.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_22_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595264","1399595266","1399595260","1399595263","1399595262","1399595265"],"photo_ids_order":["1399595260","1399595262","1399595263","1399595264","1399595265","1399595266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/013d795701f1686fbb42692c32053fef.jpg","text":"TemporaryFile(/tmp/multipartBody3413740721190307868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859023305,"filename":"image_06112025_15_09_19_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/16/755fb775fd14b1eb74913f721b911e14.jpg","text":"TemporaryFile(/tmp/multipartBody3585103887837948283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859023305,"filename":"image_06112025_15_09_22_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41c0e0c74456bbeb72241c147e353afd.jpg","text":"TemporaryFile(/tmp/multipartBody2330074072625647967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859023305,"filename":"image_06112025_15_09_14_2170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72a8f9d5fd2f09feba8152a49eeecb0b.jpg","text":"TemporaryFile(/tmp/multipartBody7742093886582177008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859023305,"filename":"image_06112025_15_09_18_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/16/e22514fc64c128bb7de7b62315aaefe9.jpg","text":"TemporaryFile(/tmp/multipartBody2984224083919906652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859023305,"filename":"image_06112025_15_09_16_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/16/6410b90ef8c481331b08ea95759d43cb.jpg","text":"TemporaryFile(/tmp/multipartBody6927276951164017000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859023305,"filename":"image_06112025_15_09_21_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595263","file1":"1399595262","file0":"1399595260","file4":"1399595265","file5":"1399595266","file3":"1399595264"},"map_files_photo_id_array":[{"photo_id":"1399595266","filename":"file5"},{"photo_id":"1399595263","filename":"file2"},{"photo_id":"1399595265","filename":"file4"},{"photo_id":"1399595262","filename":"file1"},{"photo_id":"1399595260","filename":"file0"},{"photo_id":"1399595264","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595264":["hashtag1","hashtag2"]},{"1399595266":["hashtag1","hashtag2"]},{"1399595260":["hashtag1","hashtag2"]},{"1399595263":["hashtag1","hashtag2"]},{"1399595262":["hashtag1","hashtag2"]},{"1399595265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595264, 1399595266, 1399595260, 1399595263, 1399595262, 1399595265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62256693840027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:23:21.919188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg', '/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg', '/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_34_9748.jpg', '/home/pi/Desktop/images/16122025/05/21/image_16122025_05_21_34_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_19_54_9677.jpg
/home/pi/Desktop/images/16122025/05/19/image_16122025_05_20_04_9700.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_15_10780.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_24_9698.jpg
/home/pi/Desktop/images/16122025/05/20/image_16122025_05_20_34_9748.jpg
/home/pi/Desktop/images/16122025/05/21/image_16122025_05_21_34_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595273","1399595276","1399595267","1399595278","1399595269","1399595271"],"photo_ids_order":["1399595267","1399595269","1399595271","1399595273","1399595276","1399595278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9adf578e27df9ed59371cee92a5bcfc8.jpg","text":"TemporaryFile(/tmp/multipartBody1110499538796151973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859062570,"filename":"image_16122025_05_20_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/16/698e8f70deec3cd649ef23925ddd637f.jpg","text":"TemporaryFile(/tmp/multipartBody527476252393984728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859062570,"filename":"image_16122025_05_20_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/16/43650ae4cdc94c61f00192e2ced15db2.jpg","text":"TemporaryFile(/tmp/multipartBody576322671038178457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859062570,"filename":"image_16122025_05_19_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/16/52623cfe94314807e45678d5b4e6fbf5.jpg","text":"TemporaryFile(/tmp/multipartBody7366984956239956659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859062570,"filename":"image_16122025_05_21_34_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df9fbcf51b8aa37a2ff98060f841e592.jpg","text":"TemporaryFile(/tmp/multipartBody6939468661640509339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859062570,"filename":"image_16122025_05_20_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c45f6f6291d694f4577752baaffb684.jpg","text":"TemporaryFile(/tmp/multipartBody8565488211890675760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859062570,"filename":"image_16122025_05_20_15_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595271","file1":"1399595269","file0":"1399595267","file4":"1399595276","file5":"1399595278","file3":"1399595273"},"map_files_photo_id_array":[{"photo_id":"1399595278","filename":"file5"},{"photo_id":"1399595271","filename":"file2"},{"photo_id":"1399595276","filename":"file4"},{"photo_id":"1399595269","filename":"file1"},{"photo_id":"1399595267","filename":"file0"},{"photo_id":"1399595273","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595273":["hashtag1","hashtag2"]},{"1399595276":["hashtag1","hashtag2"]},{"1399595267":["hashtag1","hashtag2"]},{"1399595278":["hashtag1","hashtag2"]},{"1399595269":["hashtag1","hashtag2"]},{"1399595271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595273, 1399595276, 1399595267, 1399595278, 1399595269, 1399595271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73253154754639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:24:02.666440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/21/image_16122025_05_22_04_9637.jpg', '/home/pi/Desktop/images/16122025/05/22/image_16122025_05_22_14_10007.jpg', '/home/pi/Desktop/images/16122025/05/22/image_16122025_05_22_25_10709.jpg', '/home/pi/Desktop/images/16122025/05/22/image_16122025_05_22_44_9675.jpg', '/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_14_9714.jpg', '/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_25_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/21/image_16122025_05_22_04_9637.jpg
/home/pi/Desktop/images/16122025/05/22/image_16122025_05_22_14_10007.jpg
/home/pi/Desktop/images/16122025/05/22/image_16122025_05_22_25_10709.jpg
/home/pi/Desktop/images/16122025/05/22/image_16122025_05_22_44_9675.jpg
/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_14_9714.jpg
/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_25_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":["1399595282","1399595284","1399595281","1399595280","1399595283","1399595286"],"photo_ids_order":["1399595280","1399595281","1399595282","1399595283","1399595284","1399595286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f34c98ba906a678b8da47d84b7672fc.jpg","text":"TemporaryFile(/tmp/multipartBody191365131012112542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859103348,"filename":"image_16122025_05_22_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/16/d6e49980f0a940f9ca0a72a60807742f.jpg","text":"TemporaryFile(/tmp/multipartBody3670678723975661756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859103348,"filename":"image_16122025_05_23_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/16/a5197ad5ac2388bf2d3c03e5df3221d1.jpg","text":"TemporaryFile(/tmp/multipartBody131974014114170507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859103348,"filename":"image_16122025_05_22_14_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a42126ad98cf6c342ee462adec79f61c.jpg","text":"TemporaryFile(/tmp/multipartBody8421914341287507845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859103348,"filename":"image_16122025_05_22_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/16/f049f2acebe6898fc0e7d08909255059.jpg","text":"TemporaryFile(/tmp/multipartBody2349698559027477419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859103348,"filename":"image_16122025_05_22_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/16/ad0bf6a09a05a6c2250e15ed0f892e92.jpg","text":"TemporaryFile(/tmp/multipartBody6142822158945478371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859103348,"filename":"image_16122025_05_23_25_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595282","file1":"1399595281","file0":"1399595280","file4":"1399595284","file5":"1399595286","file3":"1399595283"},"map_files_photo_id_array":[{"photo_id":"1399595286","filename":"file5"},{"photo_id":"1399595282","filename":"file2"},{"photo_id":"1399595284","filename":"file4"},{"photo_id":"1399595281","filename":"file1"},{"photo_id":"1399595280","filename":"file0"},{"photo_id":"1399595283","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595282":["hashtag1","hashtag2"]},{"1399595284":["hashtag1","hashtag2"]},{"1399595281":["hashtag1","hashtag2"]},{"1399595280":["hashtag1","hashtag2"]},{"1399595283":["hashtag1","hashtag2"]},{"1399595286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595282, 1399595284, 1399595281, 1399595280, 1399595283, 1399595286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43560576438904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:24:42.089731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5958502292633057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:25:03.094180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_34_9684.jpg', '/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_54_9665.jpg', '/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_14_9882.jpg', '/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_24_9603.jpg', '/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_34_9684.jpg
/home/pi/Desktop/images/16122025/05/23/image_16122025_05_23_54_9665.jpg
/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_14_9882.jpg
/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_24_9603.jpg
/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_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":["1399595306","1399595323","1399595317","1399595298","1399595325"],"photo_ids_order":["1399595298","1399595306","1399595317","1399595323","1399595325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a09f5c72e8cd18a357344eabe4c69c10.jpg","text":"TemporaryFile(/tmp/multipartBody1832017504100520040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859163812,"filename":"image_16122025_05_23_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/16/61c147b9d24d76b29bfa5c22aa8abc33.jpg","text":"TemporaryFile(/tmp/multipartBody8049218187116590404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859163812,"filename":"image_16122025_05_24_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/16/2c464c020343e8913da93f7f32091658.jpg","text":"TemporaryFile(/tmp/multipartBody5343315014644563837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859163812,"filename":"image_16122025_05_24_14_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/adbfa0650837409f699b73e2cff32f28.jpg","text":"TemporaryFile(/tmp/multipartBody8482171332388431329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859163812,"filename":"image_16122025_05_23_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/16/35aa4a4f733cc0c5931a7f96b8fe66f6.jpg","text":"TemporaryFile(/tmp/multipartBody8291638549878429167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859163812,"filename":"image_16122025_05_24_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595317","file1":"1399595306","file0":"1399595298","file4":"1399595325","file3":"1399595323"},"map_files_photo_id_array":[{"photo_id":"1399595317","filename":"file2"},{"photo_id":"1399595325","filename":"file4"},{"photo_id":"1399595306","filename":"file1"},{"photo_id":"1399595298","filename":"file0"},{"photo_id":"1399595323","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595306":["hashtag1","hashtag2"]},{"1399595323":["hashtag1","hashtag2"]},{"1399595317":["hashtag1","hashtag2"]},{"1399595298":["hashtag1","hashtag2"]},{"1399595325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595306, 1399595323, 1399595317, 1399595298, 1399595325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.52077317237854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:25:42.351109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4778311252593994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:26:03.123574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_54_9802.jpg', '/home/pi/Desktop/images/16122025/05/24/image_16122025_05_25_04_9867.jpg', '/home/pi/Desktop/images/16122025/05/25/image_16122025_05_25_24_9711.jpg', '/home/pi/Desktop/images/16122025/05/25/image_16122025_05_25_34_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/24/image_16122025_05_24_54_9802.jpg
/home/pi/Desktop/images/16122025/05/24/image_16122025_05_25_04_9867.jpg
/home/pi/Desktop/images/16122025/05/25/image_16122025_05_25_24_9711.jpg
/home/pi/Desktop/images/16122025/05/25/image_16122025_05_25_34_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595337","1399595341","1399595338","1399595343"],"photo_ids_order":["1399595337","1399595338","1399595341","1399595343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c034b9fa7303df3a81a546f03d6e63ed.jpg","text":"TemporaryFile(/tmp/multipartBody1001372708445942613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859223724,"filename":"image_16122025_05_24_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/16/63431f024d0fd3d0fa96d90808920e67.jpg","text":"TemporaryFile(/tmp/multipartBody1237777104469031681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859223724,"filename":"image_16122025_05_25_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a67e0e7f0b74cea023ee6798ef78c306.jpg","text":"TemporaryFile(/tmp/multipartBody4941344991767726576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859223724,"filename":"image_16122025_05_25_04_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/426e1db3d091d23b35a6aa1e97815653.jpg","text":"TemporaryFile(/tmp/multipartBody5614641200045382278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859223724,"filename":"image_16122025_05_25_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595341","file1":"1399595338","file0":"1399595337","file3":"1399595343"},"map_files_photo_id_array":[{"photo_id":"1399595341","filename":"file2"},{"photo_id":"1399595338","filename":"file1"},{"photo_id":"1399595337","filename":"file0"},{"photo_id":"1399595343","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595337":["hashtag1","hashtag2"]},{"1399595341":["hashtag1","hashtag2"]},{"1399595338":["hashtag1","hashtag2"]},{"1399595343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595337, 1399595341, 1399595338, 1399595343)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 28.966388702392578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:26:42.540701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4784121513366699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:27:03.465788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/25/image_16122025_05_25_54_9659.jpg', '/home/pi/Desktop/images/16122025/05/26/image_16122025_05_26_25_9752.jpg', '/home/pi/Desktop/images/16122025/05/26/image_16122025_05_26_34_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/25/image_16122025_05_25_54_9659.jpg
/home/pi/Desktop/images/16122025/05/26/image_16122025_05_26_25_9752.jpg
/home/pi/Desktop/images/16122025/05/26/image_16122025_05_26_34_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595378","1399595374","1399595376"],"photo_ids_order":["1399595374","1399595376","1399595378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9eb3e8ecb0a9a8f9f2bfd2aa721adde.jpg","text":"TemporaryFile(/tmp/multipartBody3714849780200396490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859284054,"filename":"image_16122025_05_26_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/16/78473e59c9732c8b913084fa3f08c794.jpg","text":"TemporaryFile(/tmp/multipartBody125428478586841863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859284054,"filename":"image_16122025_05_25_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/16/3e45d8e56d4c0e74e0134642d4b6011b.jpg","text":"TemporaryFile(/tmp/multipartBody7558237616205966557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859284054,"filename":"image_16122025_05_26_25_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595378","file1":"1399595376","file0":"1399595374"},"map_files_photo_id_array":[{"photo_id":"1399595378","filename":"file2"},{"photo_id":"1399595376","filename":"file1"},{"photo_id":"1399595374","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595378":["hashtag1","hashtag2"]},{"1399595374":["hashtag1","hashtag2"]},{"1399595376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595378, 1399595374, 1399595376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.425720691680908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:27:32.888357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:27:42.822612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5081450939178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:28:02.589417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/26/image_16122025_05_26_55_10693.jpg', '/home/pi/Desktop/images/16122025/05/26/image_16122025_05_27_04_9648.jpg', '/home/pi/Desktop/images/16122025/05/27/image_16122025_05_27_24_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/26/image_16122025_05_26_55_10693.jpg
/home/pi/Desktop/images/16122025/05/26/image_16122025_05_27_04_9648.jpg
/home/pi/Desktop/images/16122025/05/27/image_16122025_05_27_24_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595396","1399595392","1399595394"],"photo_ids_order":["1399595392","1399595394","1399595396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b51fedd7d01a70f8cd45de9124ff10d1.jpg","text":"TemporaryFile(/tmp/multipartBody6020274716576609745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859343176,"filename":"image_16122025_05_27_24_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66d502bdc89ef878dce3e9cedacad418.jpg","text":"TemporaryFile(/tmp/multipartBody5317581804103778542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859343176,"filename":"image_16122025_05_26_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/16/a4458ea278a59d50edd97bab1137a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody5543760342127585606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859343176,"filename":"image_16122025_05_27_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595396","file1":"1399595394","file0":"1399595392"},"map_files_photo_id_array":[{"photo_id":"1399595396","filename":"file2"},{"photo_id":"1399595394","filename":"file1"},{"photo_id":"1399595392","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595396":["hashtag1","hashtag2"]},{"1399595392":["hashtag1","hashtag2"]},{"1399595394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595396, 1399595392, 1399595394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.477203607559204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:28:32.076141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:28:42.037551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_24_1660.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_26_1531.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_27_1602.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_29_1621.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_31_1728.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_34_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595418","1399595408","1399595413","1399595419","1399595404","1399595407"],"photo_ids_order":["1399595404","1399595407","1399595408","1399595413","1399595418","1399595419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/627ce648d9cd6a60a9befb356b70ff2c.jpg","text":"TemporaryFile(/tmp/multipartBody6204109705547325101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859382624,"filename":"image_06112025_15_09_31_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/16/155b705b4f4a17e393b4dbb4563aa83a.jpg","text":"TemporaryFile(/tmp/multipartBody1651898155799428808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859382624,"filename":"image_06112025_15_09_27_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/16/5bbb1f877a1a25453e1770084b2516cd.jpg","text":"TemporaryFile(/tmp/multipartBody4044292066028490585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859382624,"filename":"image_06112025_15_09_29_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b7830a09b14ac6c20667b752a44d2cf.jpg","text":"TemporaryFile(/tmp/multipartBody9096914703659483797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859382624,"filename":"image_06112025_15_09_34_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/16/3f44836c91bc05308132ee78e06a8954.jpg","text":"TemporaryFile(/tmp/multipartBody3535125114320681274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859382624,"filename":"image_06112025_15_09_24_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/16/e0ade852fdb92c96023f3c6b30170220.jpg","text":"TemporaryFile(/tmp/multipartBody2153344872624271406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859382624,"filename":"image_06112025_15_09_26_1531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595408","file1":"1399595407","file0":"1399595404","file4":"1399595418","file5":"1399595419","file3":"1399595413"},"map_files_photo_id_array":[{"photo_id":"1399595419","filename":"file5"},{"photo_id":"1399595408","filename":"file2"},{"photo_id":"1399595418","filename":"file4"},{"photo_id":"1399595407","filename":"file1"},{"photo_id":"1399595404","filename":"file0"},{"photo_id":"1399595413","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595418":["hashtag1","hashtag2"]},{"1399595408":["hashtag1","hashtag2"]},{"1399595413":["hashtag1","hashtag2"]},{"1399595419":["hashtag1","hashtag2"]},{"1399595404":["hashtag1","hashtag2"]},{"1399595407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595418, 1399595408, 1399595413, 1399595419, 1399595404, 1399595407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.981770038604736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:29:22.329997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/27/image_16122025_05_27_44_9695.jpg', '/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_25_10697.jpg', '/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_35_9761.jpg', '/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_45_10011.jpg', '/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_54_9832.jpg', '/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_15_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/27/image_16122025_05_27_44_9695.jpg
/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_25_10697.jpg
/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_35_9761.jpg
/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_45_10011.jpg
/home/pi/Desktop/images/16122025/05/28/image_16122025_05_28_54_9832.jpg
/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_15_10784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595436","1399595432","1399595434","1399595430","1399595424","1399595427"],"photo_ids_order":["1399595424","1399595427","1399595430","1399595432","1399595434","1399595436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c492646d732233f0a294ac46c140486.jpg","text":"TemporaryFile(/tmp/multipartBody6129730527801340997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859422993,"filename":"image_16122025_05_29_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/16/0a1e7928c7762a2f0b8bd63f5b6a47c6.jpg","text":"TemporaryFile(/tmp/multipartBody435203291903617930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859422993,"filename":"image_16122025_05_28_45_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/16/4627af92003c9584a29b10e50f1a2642.jpg","text":"TemporaryFile(/tmp/multipartBody6741241441683906178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859422993,"filename":"image_16122025_05_28_54_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/387bf0d68543de9aef90333d14419cfc.jpg","text":"TemporaryFile(/tmp/multipartBody1537142677200716219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859422993,"filename":"image_16122025_05_28_35_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7efc161aea917d1e000e528b26220bac.jpg","text":"TemporaryFile(/tmp/multipartBody5549331646479223764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859422993,"filename":"image_16122025_05_27_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4213eef0e21ec23d6faeefa29d47d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody5860467630953201902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859422993,"filename":"image_16122025_05_28_25_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595430","file1":"1399595427","file0":"1399595424","file4":"1399595434","file5":"1399595436","file3":"1399595432"},"map_files_photo_id_array":[{"photo_id":"1399595436","filename":"file5"},{"photo_id":"1399595430","filename":"file2"},{"photo_id":"1399595434","filename":"file4"},{"photo_id":"1399595427","filename":"file1"},{"photo_id":"1399595424","filename":"file0"},{"photo_id":"1399595432","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595436":["hashtag1","hashtag2"]},{"1399595432":["hashtag1","hashtag2"]},{"1399595434":["hashtag1","hashtag2"]},{"1399595430":["hashtag1","hashtag2"]},{"1399595424":["hashtag1","hashtag2"]},{"1399595427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595436, 1399595432, 1399595434, 1399595430, 1399595424, 1399595427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.405367612838745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:30:02.995620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_25_9824.jpg', '/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_34_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_25_9824.jpg
/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_34_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595444","1399595445"],"photo_ids_order":["1399595444","1399595445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/367f2c1bfe3d484dd52620c03338c262.jpg","text":"TemporaryFile(/tmp/multipartBody7435804434700707211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859463481,"filename":"image_16122025_05_29_25_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/16/3d74e1c930d8f61cca7f23e0f325ff42.jpg","text":"TemporaryFile(/tmp/multipartBody3489825809274651217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859463481,"filename":"image_16122025_05_29_34_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399595445","file0":"1399595444"},"map_files_photo_id_array":[{"photo_id":"1399595445","filename":"file1"},{"photo_id":"1399595444","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595444":["hashtag1","hashtag2"]},{"1399595445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595444, 1399595445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.61669111251831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:30:22.611111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_44_9641.jpg', '/home/pi/Desktop/images/16122025/05/29/image_16122025_05_30_04_9616.jpg', '/home/pi/Desktop/images/16122025/05/30/image_16122025_05_30_14_9735.jpg', '/home/pi/Desktop/images/16122025/05/30/image_16122025_05_30_34_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/29/image_16122025_05_29_44_9641.jpg
/home/pi/Desktop/images/16122025/05/29/image_16122025_05_30_04_9616.jpg
/home/pi/Desktop/images/16122025/05/30/image_16122025_05_30_14_9735.jpg
/home/pi/Desktop/images/16122025/05/30/image_16122025_05_30_34_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595453","1399595462","1399595455","1399595451"],"photo_ids_order":["1399595451","1399595453","1399595455","1399595462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc53bc1e8e780b4345479a7e340ca5b3.jpg","text":"TemporaryFile(/tmp/multipartBody2095041532742853013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859483205,"filename":"image_16122025_05_30_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/16/e562522fffe34528a40c019fbdd35b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8788178546090683206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859483205,"filename":"image_16122025_05_30_34_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84e560afe3d21ed1be740a76f2b4a71b.jpg","text":"TemporaryFile(/tmp/multipartBody6213182907806346870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859483205,"filename":"image_16122025_05_30_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/16/0b46f221a18421243d266c02d0c919e9.jpg","text":"TemporaryFile(/tmp/multipartBody3687386347064289033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859483205,"filename":"image_16122025_05_29_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595455","file1":"1399595453","file0":"1399595451","file3":"1399595462"},"map_files_photo_id_array":[{"photo_id":"1399595455","filename":"file2"},{"photo_id":"1399595453","filename":"file1"},{"photo_id":"1399595451","filename":"file0"},{"photo_id":"1399595462","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595453":["hashtag1","hashtag2"]},{"1399595462":["hashtag1","hashtag2"]},{"1399595455":["hashtag1","hashtag2"]},{"1399595451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595453, 1399595462, 1399595455, 1399595451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.500141620635986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:31:02.637105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:31:11.951451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:31:21.976707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/30/image_16122025_05_30_44_9770.jpg', '/home/pi/Desktop/images/16122025/05/30/image_16122025_05_31_05_9938.jpg', '/home/pi/Desktop/images/16122025/05/31/image_16122025_05_31_14_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/30/image_16122025_05_30_44_9770.jpg
/home/pi/Desktop/images/16122025/05/30/image_16122025_05_31_05_9938.jpg
/home/pi/Desktop/images/16122025/05/31/image_16122025_05_31_14_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":["1399595489","1399595485","1399595487"],"photo_ids_order":["1399595485","1399595487","1399595489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/056804367b55e3bdaf507efb18a9a8f2.jpg","text":"TemporaryFile(/tmp/multipartBody1185737455402722840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859542491,"filename":"image_16122025_05_31_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/16/3ea80675f49f8493e11321da1a68eefe.jpg","text":"TemporaryFile(/tmp/multipartBody2528407892233673971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859542491,"filename":"image_16122025_05_30_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/16/2838fe6fd53a80577194692c91dc4f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4416484391824114822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859542491,"filename":"image_16122025_05_31_05_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595489","file1":"1399595487","file0":"1399595485"},"map_files_photo_id_array":[{"photo_id":"1399595489","filename":"file2"},{"photo_id":"1399595487","filename":"file1"},{"photo_id":"1399595485","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595489":["hashtag1","hashtag2"]},{"1399595485":["hashtag1","hashtag2"]},{"1399595487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595489, 1399595485, 1399595487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.992782831192017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:32:02.663951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:32:12.160304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:32:22.310757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/31/image_16122025_05_31_24_9652.jpg', '/home/pi/Desktop/images/16122025/05/32/image_16122025_05_32_15_10745.jpg', '/home/pi/Desktop/images/16122025/05/32/image_16122025_05_32_24_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/31/image_16122025_05_31_24_9652.jpg
/home/pi/Desktop/images/16122025/05/32/image_16122025_05_32_15_10745.jpg
/home/pi/Desktop/images/16122025/05/32/image_16122025_05_32_24_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595509","1399595500","1399595503"],"photo_ids_order":["1399595500","1399595503","1399595509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e42ca91fd3ee14a6b8ee19dd64c6270.jpg","text":"TemporaryFile(/tmp/multipartBody2566895254109796352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859602828,"filename":"image_16122025_05_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/16/c28b8643307480ee4b2b6ab902a359ff.jpg","text":"TemporaryFile(/tmp/multipartBody8553696697112970691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859602828,"filename":"image_16122025_05_31_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae06d2068ce9037807153f62991a0b87.jpg","text":"TemporaryFile(/tmp/multipartBody7276924626825314207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859602828,"filename":"image_16122025_05_32_15_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595509","file1":"1399595503","file0":"1399595500"},"map_files_photo_id_array":[{"photo_id":"1399595509","filename":"file2"},{"photo_id":"1399595503","filename":"file1"},{"photo_id":"1399595500","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595509":["hashtag1","hashtag2"]},{"1399595500":["hashtag1","hashtag2"]},{"1399595503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595509, 1399595500, 1399595503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.05838704109192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:33:03.093934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:33:12.362249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:33:22.435844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/32/image_16122025_05_32_34_9672.jpg', '/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_24_9744.jpg', '/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_34_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/32/image_16122025_05_32_34_9672.jpg
/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_24_9744.jpg
/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_34_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595534","1399595531","1399595536"],"photo_ids_order":["1399595531","1399595534","1399595536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ffd1f17a1567100bfacad299dbf8913.jpg","text":"TemporaryFile(/tmp/multipartBody7837193789552482895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859662956,"filename":"image_16122025_05_33_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/16/1f5b82b356e62f4ed7cfb7c5b33df7a3.jpg","text":"TemporaryFile(/tmp/multipartBody8659100635542243524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859662956,"filename":"image_16122025_05_32_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/16/09f26be8b9418218266629fb12051655.jpg","text":"TemporaryFile(/tmp/multipartBody4234862815166106336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859662956,"filename":"image_16122025_05_33_34_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595536","file1":"1399595534","file0":"1399595531"},"map_files_photo_id_array":[{"photo_id":"1399595536","filename":"file2"},{"photo_id":"1399595534","filename":"file1"},{"photo_id":"1399595531","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595534":["hashtag1","hashtag2"]},{"1399595531":["hashtag1","hashtag2"]},{"1399595536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595534, 1399595531, 1399595536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.807193279266357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:34:03.250671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:34:12.602299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:34:22.725570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_44_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_44_10360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3294863700866699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:34:32.727666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:34:42.618594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_35_1633.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_37_1665.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_39_1761.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_41_1710.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_42_1596.jpg', '/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_44_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_35_1633.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_37_1665.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_39_1761.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_41_1710.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_42_1596.jpg
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_44_1629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595561","1399595575","1399595563","1399595569","1399595562","1399595559"],"photo_ids_order":["1399595559","1399595561","1399595562","1399595563","1399595569","1399595575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aeb0130c99d5669c1a5a254ece166f20.jpg","text":"TemporaryFile(/tmp/multipartBody6328210867059185739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859743402,"filename":"image_06112025_15_09_37_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/16/467fbce90e40666a94029eaaf677f790.jpg","text":"TemporaryFile(/tmp/multipartBody3700412609922866605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859743402,"filename":"image_06112025_15_09_44_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/16/bfd5beac49970002e3279f959bb4e20c.jpg","text":"TemporaryFile(/tmp/multipartBody6805806650219976555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859743402,"filename":"image_06112025_15_09_41_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/16/e9eed789180f695de8a303caf273d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody7679757467374232284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859743402,"filename":"image_06112025_15_09_42_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/16/4947b606d5a73fcbf5a01f0ca853f960.jpg","text":"TemporaryFile(/tmp/multipartBody8866304799866707400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859743402,"filename":"image_06112025_15_09_39_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/16/8e72b9b37ffaa6e5b35e9f4fc8c5105b.jpg","text":"TemporaryFile(/tmp/multipartBody2911780616902882244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859743402,"filename":"image_06112025_15_09_35_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595562","file1":"1399595561","file0":"1399595559","file4":"1399595569","file5":"1399595575","file3":"1399595563"},"map_files_photo_id_array":[{"photo_id":"1399595575","filename":"file5"},{"photo_id":"1399595562","filename":"file2"},{"photo_id":"1399595569","filename":"file4"},{"photo_id":"1399595561","filename":"file1"},{"photo_id":"1399595559","filename":"file0"},{"photo_id":"1399595563","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595561":["hashtag1","hashtag2"]},{"1399595575":["hashtag1","hashtag2"]},{"1399595563":["hashtag1","hashtag2"]},{"1399595569":["hashtag1","hashtag2"]},{"1399595562":["hashtag1","hashtag2"]},{"1399595559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595561, 1399595575, 1399595563, 1399595569, 1399595562, 1399595559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75199890136719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:35:31.886532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:35:41.800698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_45_1517.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_02_16924.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_04_1754.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_06_1801.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_07_1559.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_29_21759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/09/image_06112025_15_09_45_1517.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_02_16924.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_04_1754.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_06_1801.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_07_1559.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_29_21759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595597","1399595585","1399595594","1399595593","1399595596","1399595595"],"photo_ids_order":["1399595585","1399595593","1399595594","1399595595","1399595596","1399595597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab5587c2e0d8f14b103e29a7d2676f67.jpg","text":"TemporaryFile(/tmp/multipartBody5300096251496379658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859802528,"filename":"image_06112025_15_10_29_21759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2efcaa271ee71a8e96628066ebf07ef.jpg","text":"TemporaryFile(/tmp/multipartBody7013830583320564843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859802528,"filename":"image_06112025_15_09_45_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/16/3e76fae0f5b27975f0569294f13a75b5.jpg","text":"TemporaryFile(/tmp/multipartBody3694348585171412414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859802528,"filename":"image_06112025_15_10_04_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/16/10b5b7521c37a0726f8d7d91e2ce8c03.jpg","text":"TemporaryFile(/tmp/multipartBody5120828998177694259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859802528,"filename":"image_06112025_15_10_02_16924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b810680769a720c7ba985aeb86cf1172.jpg","text":"TemporaryFile(/tmp/multipartBody6594354331881530189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859802528,"filename":"image_06112025_15_10_07_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b38acc678039e683fc6bcd7f9e652b3.jpg","text":"TemporaryFile(/tmp/multipartBody930292423485055234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859802528,"filename":"image_06112025_15_10_06_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595594","file1":"1399595593","file0":"1399595585","file4":"1399595596","file5":"1399595597","file3":"1399595595"},"map_files_photo_id_array":[{"photo_id":"1399595597","filename":"file5"},{"photo_id":"1399595594","filename":"file2"},{"photo_id":"1399595596","filename":"file4"},{"photo_id":"1399595593","filename":"file1"},{"photo_id":"1399595585","filename":"file0"},{"photo_id":"1399595595","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595597":["hashtag1","hashtag2"]},{"1399595585":["hashtag1","hashtag2"]},{"1399595594":["hashtag1","hashtag2"]},{"1399595593":["hashtag1","hashtag2"]},{"1399595596":["hashtag1","hashtag2"]},{"1399595595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595597, 1399595585, 1399595594, 1399595593, 1399595596, 1399595595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.368056297302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:36:22.194358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_44_10360.jpg', '/home/pi/Desktop/images/16122025/05/34/image_16122025_05_34_54_9766.jpg', '/home/pi/Desktop/images/16122025/05/34/image_16122025_05_35_04_9625.jpg', '/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_15_10640.jpg', '/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_24_9775.jpg', '/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_34_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/33/image_16122025_05_33_44_10360.jpg
/home/pi/Desktop/images/16122025/05/34/image_16122025_05_34_54_9766.jpg
/home/pi/Desktop/images/16122025/05/34/image_16122025_05_35_04_9625.jpg
/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_15_10640.jpg
/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_24_9775.jpg
/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_34_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595613","1399595607","1399595609","1399595603","1399595611","1399595616"],"photo_ids_order":["1399595603","1399595607","1399595609","1399595611","1399595613","1399595616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92e5fc2b0f9a350894c5e16a93771691.jpg","text":"TemporaryFile(/tmp/multipartBody1560692817418111111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859842845,"filename":"image_16122025_05_35_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/16/697544f960e24fa2bbbeed439b60912c.jpg","text":"TemporaryFile(/tmp/multipartBody5826016851559709049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859842845,"filename":"image_16122025_05_34_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/16/4e303088b36a248e2de2443b59464db6.jpg","text":"TemporaryFile(/tmp/multipartBody7983191146998893488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859842845,"filename":"image_16122025_05_35_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/16/7f4c5821ca52c47e507d3e2b982b4826.jpg","text":"TemporaryFile(/tmp/multipartBody5600869869001944820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859842845,"filename":"image_16122025_05_33_44_10360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5311f7dc5fe82b1ab64481be704853c8.jpg","text":"TemporaryFile(/tmp/multipartBody3380071544953710734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859842845,"filename":"image_16122025_05_35_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/229731731b6257f7b6fd93cd7fc09032.jpg","text":"TemporaryFile(/tmp/multipartBody7880041628632181935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859842845,"filename":"image_16122025_05_35_34_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595609","file1":"1399595607","file0":"1399595603","file4":"1399595613","file5":"1399595616","file3":"1399595611"},"map_files_photo_id_array":[{"photo_id":"1399595616","filename":"file5"},{"photo_id":"1399595609","filename":"file2"},{"photo_id":"1399595613","filename":"file4"},{"photo_id":"1399595607","filename":"file1"},{"photo_id":"1399595603","filename":"file0"},{"photo_id":"1399595611","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595613":["hashtag1","hashtag2"]},{"1399595607":["hashtag1","hashtag2"]},{"1399595609":["hashtag1","hashtag2"]},{"1399595603":["hashtag1","hashtag2"]},{"1399595611":["hashtag1","hashtag2"]},{"1399595616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595613, 1399595607, 1399595609, 1399595603, 1399595611, 1399595616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29312300682068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:37:02.958613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_55_9787.jpg', '/home/pi/Desktop/images/16122025/05/35/image_16122025_05_36_04_9779.jpg', '/home/pi/Desktop/images/16122025/05/36/image_16122025_05_36_24_9800.jpg', '/home/pi/Desktop/images/16122025/05/36/image_16122025_05_36_34_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/35/image_16122025_05_35_55_9787.jpg
/home/pi/Desktop/images/16122025/05/35/image_16122025_05_36_04_9779.jpg
/home/pi/Desktop/images/16122025/05/36/image_16122025_05_36_24_9800.jpg
/home/pi/Desktop/images/16122025/05/36/image_16122025_05_36_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":["1399595627","1399595621","1399595623","1399595625"],"photo_ids_order":["1399595621","1399595623","1399595625","1399595627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a1a6f43e7c3eb40a74a9bba08724bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4359361155702143193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859883585,"filename":"image_16122025_05_36_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/16/3f6edfc09eaf458f15615ef9240d2b33.jpg","text":"TemporaryFile(/tmp/multipartBody3594728971716487634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859883585,"filename":"image_16122025_05_35_55_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a293f5c0715d9bdbdf776fc70da0853f.jpg","text":"TemporaryFile(/tmp/multipartBody6066941469289520126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859883585,"filename":"image_16122025_05_36_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/45871ecd19836686bea9c61f2235bc90.jpg","text":"TemporaryFile(/tmp/multipartBody3868428430137155904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859883585,"filename":"image_16122025_05_36_24_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595625","file1":"1399595623","file0":"1399595621","file3":"1399595627"},"map_files_photo_id_array":[{"photo_id":"1399595625","filename":"file2"},{"photo_id":"1399595623","filename":"file1"},{"photo_id":"1399595621","filename":"file0"},{"photo_id":"1399595627","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595627":["hashtag1","hashtag2"]},{"1399595621":["hashtag1","hashtag2"]},{"1399595623":["hashtag1","hashtag2"]},{"1399595625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595627, 1399595621, 1399595623, 1399595625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.186740159988403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:37:32.227273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:37:42.163911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_31_1577.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_32_1598.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_34_1660.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_36_1582.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_37_1610.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_39_1888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_31_1577.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_32_1598.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_34_1660.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_36_1582.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_37_1610.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_39_1888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595639","1399595638","1399595641","1399595640","1399595634","1399595637"],"photo_ids_order":["1399595634","1399595637","1399595638","1399595639","1399595640","1399595641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37a624323696ab662f9cc94bc29a8b86.jpg","text":"TemporaryFile(/tmp/multipartBody642815955632310839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859922861,"filename":"image_06112025_15_10_36_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fdf447e539d46c47de7751d28e51d54f.jpg","text":"TemporaryFile(/tmp/multipartBody182548587637301070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859922861,"filename":"image_06112025_15_10_34_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6ac32d377bc29da7fcc4e130cf5c928.jpg","text":"TemporaryFile(/tmp/multipartBody6093179003311225204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859922861,"filename":"image_06112025_15_10_39_1888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f5ab821873df20ed745cabfdc6d3c2e.jpg","text":"TemporaryFile(/tmp/multipartBody8588839642119606738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859922861,"filename":"image_06112025_15_10_37_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/16/2455c029f51d243a6eccc2e4834ef1bc.jpg","text":"TemporaryFile(/tmp/multipartBody5990250038927773297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859922861,"filename":"image_06112025_15_10_31_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/16/e24837beea946f427bdbccf0ce3fcd10.jpg","text":"TemporaryFile(/tmp/multipartBody2263961316613394025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859922861,"filename":"image_06112025_15_10_32_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595638","file1":"1399595637","file0":"1399595634","file4":"1399595640","file5":"1399595641","file3":"1399595639"},"map_files_photo_id_array":[{"photo_id":"1399595641","filename":"file5"},{"photo_id":"1399595638","filename":"file2"},{"photo_id":"1399595640","filename":"file4"},{"photo_id":"1399595637","filename":"file1"},{"photo_id":"1399595634","filename":"file0"},{"photo_id":"1399595639","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595639":["hashtag1","hashtag2"]},{"1399595638":["hashtag1","hashtag2"]},{"1399595641":["hashtag1","hashtag2"]},{"1399595640":["hashtag1","hashtag2"]},{"1399595634":["hashtag1","hashtag2"]},{"1399595637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595639, 1399595638, 1399595641, 1399595640, 1399595634, 1399595637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93012881278992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:38:22.518742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/36/image_16122025_05_36_44_9709.jpg', '/home/pi/Desktop/images/16122025/05/37/image_16122025_05_37_14_9724.jpg', '/home/pi/Desktop/images/16122025/05/37/image_16122025_05_38_04_9608.jpg', '/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_14_9887.jpg', '/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_25_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/36/image_16122025_05_36_44_9709.jpg
/home/pi/Desktop/images/16122025/05/37/image_16122025_05_37_14_9724.jpg
/home/pi/Desktop/images/16122025/05/37/image_16122025_05_38_04_9608.jpg
/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_14_9887.jpg
/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_25_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595651","1399595653","1399595647","1399595649","1399595646"],"photo_ids_order":["1399595646","1399595647","1399595649","1399595651","1399595653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1875f251605d97cb06646504f855ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody4234380545427251785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859963126,"filename":"image_16122025_05_38_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/16/aab74f7ee6f2ee16274f67e817cdcf1d.jpg","text":"TemporaryFile(/tmp/multipartBody5389294799974559554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859963126,"filename":"image_16122025_05_38_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/16/c4b2841554de8bddadc171b181ef2efc.jpg","text":"TemporaryFile(/tmp/multipartBody8964618763811673758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859963126,"filename":"image_16122025_05_37_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ad2540c3d44620eab6e1fd524b3b59f.jpg","text":"TemporaryFile(/tmp/multipartBody5659794164887606482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859963126,"filename":"image_16122025_05_38_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/16/1b09434ac261621648fcf92afa1d8931.jpg","text":"TemporaryFile(/tmp/multipartBody6481787658991048995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765859963126,"filename":"image_16122025_05_36_44_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595649","file1":"1399595647","file0":"1399595646","file4":"1399595653","file3":"1399595651"},"map_files_photo_id_array":[{"photo_id":"1399595649","filename":"file2"},{"photo_id":"1399595653","filename":"file4"},{"photo_id":"1399595647","filename":"file1"},{"photo_id":"1399595646","filename":"file0"},{"photo_id":"1399595651","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595651":["hashtag1","hashtag2"]},{"1399595653":["hashtag1","hashtag2"]},{"1399595647":["hashtag1","hashtag2"]},{"1399595649":["hashtag1","hashtag2"]},{"1399595646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595651, 1399595653, 1399595647, 1399595649, 1399595646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.710068702697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:39:03.583978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:39:12.832433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:39:22.736114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_34_9666.jpg', '/home/pi/Desktop/images/16122025/05/38/image_16122025_05_39_05_9813.jpg', '/home/pi/Desktop/images/16122025/05/39/image_16122025_05_39_14_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_34_9666.jpg
/home/pi/Desktop/images/16122025/05/38/image_16122025_05_39_05_9813.jpg
/home/pi/Desktop/images/16122025/05/39/image_16122025_05_39_14_9699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41489529609680176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:39:32.839585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:39:42.820699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_41_1587.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_42_1551.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_44_1695.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_46_1687.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_47_1871.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_52_1497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_41_1587.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_42_1551.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_44_1695.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_46_1687.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_47_1871.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_52_1497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595696","1399595700","1399595699","1399595698","1399595701","1399595703"],"photo_ids_order":["1399595696","1399595698","1399595699","1399595700","1399595701","1399595703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/019f7dd92de78658fef4dcaaf5219d63.jpg","text":"TemporaryFile(/tmp/multipartBody7729591002555090729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860043511,"filename":"image_06112025_15_10_41_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/16/38cdb20622c3c75a7718612ee5536035.jpg","text":"TemporaryFile(/tmp/multipartBody5765896439115071099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860043511,"filename":"image_06112025_15_10_46_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/16/ebd529372d3b020aa7b243d29f18774f.jpg","text":"TemporaryFile(/tmp/multipartBody5334558139439687461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860043511,"filename":"image_06112025_15_10_44_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/16/5f399fcce574fd0b620d842583d7f46e.jpg","text":"TemporaryFile(/tmp/multipartBody3375711917083112232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860043511,"filename":"image_06112025_15_10_42_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/16/a7c1c3b358fdca72fefd43038f478249.jpg","text":"TemporaryFile(/tmp/multipartBody8488405902902471745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860043511,"filename":"image_06112025_15_10_47_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2774b65d943e78a97064d35df0f2078.jpg","text":"TemporaryFile(/tmp/multipartBody4913773737409231034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860043511,"filename":"image_06112025_15_10_52_1497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595699","file1":"1399595698","file0":"1399595696","file4":"1399595701","file5":"1399595703","file3":"1399595700"},"map_files_photo_id_array":[{"photo_id":"1399595703","filename":"file5"},{"photo_id":"1399595699","filename":"file2"},{"photo_id":"1399595701","filename":"file4"},{"photo_id":"1399595698","filename":"file1"},{"photo_id":"1399595696","filename":"file0"},{"photo_id":"1399595700","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595696":["hashtag1","hashtag2"]},{"1399595700":["hashtag1","hashtag2"]},{"1399595699":["hashtag1","hashtag2"]},{"1399595698":["hashtag1","hashtag2"]},{"1399595701":["hashtag1","hashtag2"]},{"1399595703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595696, 1399595700, 1399595699, 1399595698, 1399595701, 1399595703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71734428405762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:40:22.106573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_34_9666.jpg', '/home/pi/Desktop/images/16122025/05/38/image_16122025_05_39_05_9813.jpg', '/home/pi/Desktop/images/16122025/05/39/image_16122025_05_39_14_9699.jpg', '/home/pi/Desktop/images/16122025/05/39/image_16122025_05_39_44_9735.jpg', '/home/pi/Desktop/images/16122025/05/39/image_16122025_05_40_04_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/38/image_16122025_05_38_34_9666.jpg
/home/pi/Desktop/images/16122025/05/38/image_16122025_05_39_05_9813.jpg
/home/pi/Desktop/images/16122025/05/39/image_16122025_05_39_14_9699.jpg
/home/pi/Desktop/images/16122025/05/39/image_16122025_05_39_44_9735.jpg
/home/pi/Desktop/images/16122025/05/39/image_16122025_05_40_04_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595708","1399595711","1399595713","1399595722","1399595715"],"photo_ids_order":["1399595708","1399595711","1399595713","1399595715","1399595722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ecc5445346d2d6d31a3f9964422d8530.jpg","text":"TemporaryFile(/tmp/multipartBody519588547859920402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860082754,"filename":"image_16122025_05_38_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/16/db5ca8830c63095f0445aa144bd60db0.jpg","text":"TemporaryFile(/tmp/multipartBody5230655385559308318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860082754,"filename":"image_16122025_05_39_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/16/edffab4f99eb3af049a7858a5af0274a.jpg","text":"TemporaryFile(/tmp/multipartBody3200827699134468283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860082754,"filename":"image_16122025_05_39_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/16/190548e86d063993f36bb049836d24da.jpg","text":"TemporaryFile(/tmp/multipartBody1232456297931685608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860082754,"filename":"image_16122025_05_40_04_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/48d1032d08364b72240fbe5fe156c0ae.jpg","text":"TemporaryFile(/tmp/multipartBody1309368791572486483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860082754,"filename":"image_16122025_05_39_44_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595713","file1":"1399595711","file0":"1399595708","file4":"1399595722","file3":"1399595715"},"map_files_photo_id_array":[{"photo_id":"1399595713","filename":"file2"},{"photo_id":"1399595722","filename":"file4"},{"photo_id":"1399595711","filename":"file1"},{"photo_id":"1399595708","filename":"file0"},{"photo_id":"1399595715","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595708":["hashtag1","hashtag2"]},{"1399595711":["hashtag1","hashtag2"]},{"1399595713":["hashtag1","hashtag2"]},{"1399595722":["hashtag1","hashtag2"]},{"1399595715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595708, 1399595711, 1399595713, 1399595722, 1399595715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.77146577835083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:41:02.856662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:41:12.320636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:41:22.340507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/40/image_16122025_05_40_34_9691.jpg', '/home/pi/Desktop/images/16122025/05/40/image_16122025_05_41_05_10831.jpg', '/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_14_9639.jpg', '/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_35_10661.jpg', '/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_44_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/40/image_16122025_05_40_34_9691.jpg
/home/pi/Desktop/images/16122025/05/40/image_16122025_05_41_05_10831.jpg
/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_14_9639.jpg
/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_35_10661.jpg
/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_44_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595741","1399595743","1399595736","1399595745","1399595739"],"photo_ids_order":["1399595736","1399595739","1399595741","1399595743","1399595745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8c5c7d7c2b95714fee4477a325f2d8e.jpg","text":"TemporaryFile(/tmp/multipartBody5872595227668127612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860142952,"filename":"image_16122025_05_41_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbc9972723402c86032d792c22f9f8cb.jpg","text":"TemporaryFile(/tmp/multipartBody2932961434399039015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860142952,"filename":"image_16122025_05_41_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26d0bfbf6f5a79210897ef79de6b2e34.jpg","text":"TemporaryFile(/tmp/multipartBody5380388511874035358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860142952,"filename":"image_16122025_05_40_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/16/bfde59d166b6879e1a09d8538a6a96c1.jpg","text":"TemporaryFile(/tmp/multipartBody1134521542260896677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860142952,"filename":"image_16122025_05_41_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f7d935b7d490c8d676a0b69ee599a18.jpg","text":"TemporaryFile(/tmp/multipartBody1754746558795376672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860142952,"filename":"image_16122025_05_41_05_10831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595741","file1":"1399595739","file0":"1399595736","file4":"1399595745","file3":"1399595743"},"map_files_photo_id_array":[{"photo_id":"1399595741","filename":"file2"},{"photo_id":"1399595745","filename":"file4"},{"photo_id":"1399595739","filename":"file1"},{"photo_id":"1399595736","filename":"file0"},{"photo_id":"1399595743","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595741":["hashtag1","hashtag2"]},{"1399595743":["hashtag1","hashtag2"]},{"1399595736":["hashtag1","hashtag2"]},{"1399595745":["hashtag1","hashtag2"]},{"1399595739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595741, 1399595743, 1399595736, 1399595745, 1399595739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.541454792022705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:42:02.931730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:42:12.659277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:42:22.651313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_54_9633.jpg', '/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_24_9764.jpg', '/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_54_9633.jpg
/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_24_9764.jpg
/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_44_9658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41291332244873047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:42:32.675400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:42:42.544233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_56_1650.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_57_1577.jpg', '/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_59_1706.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_01_1637.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_02_1568.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_04_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_56_1650.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_57_1577.jpg
/home/pi/Desktop/images/06112025/15/10/image_06112025_15_10_59_1706.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_01_1637.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_02_1568.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_04_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595774","1399595768","1399595773","1399595776","1399595770","1399595775"],"photo_ids_order":["1399595768","1399595770","1399595773","1399595774","1399595775","1399595776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a8d27ea5e8877476084e5de28e035a5.jpg","text":"TemporaryFile(/tmp/multipartBody6850313610503094989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860223255,"filename":"image_06112025_15_11_01_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc3eb55ae04d61808b8fe5d7dd3d46f6.jpg","text":"TemporaryFile(/tmp/multipartBody4610000543861913893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860223255,"filename":"image_06112025_15_10_56_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/16/f8c0105e1d39ec582354661ea17899fd.jpg","text":"TemporaryFile(/tmp/multipartBody3078243312840372708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860223255,"filename":"image_06112025_15_10_59_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dce40817624e3e855fe0189823304cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6088141464139628258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860223255,"filename":"image_06112025_15_11_04_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee90450dbf48db6fb2a47dbc2aced10e.jpg","text":"TemporaryFile(/tmp/multipartBody5944387154120278041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860223255,"filename":"image_06112025_15_10_57_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a37892cb8f14b2898eea25d8ac47d0b5.jpg","text":"TemporaryFile(/tmp/multipartBody7582174472515334293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860223255,"filename":"image_06112025_15_11_02_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595773","file1":"1399595770","file0":"1399595768","file4":"1399595775","file5":"1399595776","file3":"1399595774"},"map_files_photo_id_array":[{"photo_id":"1399595776","filename":"file5"},{"photo_id":"1399595773","filename":"file2"},{"photo_id":"1399595775","filename":"file4"},{"photo_id":"1399595770","filename":"file1"},{"photo_id":"1399595768","filename":"file0"},{"photo_id":"1399595774","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595774":["hashtag1","hashtag2"]},{"1399595768":["hashtag1","hashtag2"]},{"1399595773":["hashtag1","hashtag2"]},{"1399595776":["hashtag1","hashtag2"]},{"1399595770":["hashtag1","hashtag2"]},{"1399595775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595774, 1399595768, 1399595773, 1399595776, 1399595770, 1399595775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05555057525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:43:22.952943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_54_9633.jpg', '/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_24_9764.jpg', '/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_44_9658.jpg', '/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_54_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/41/image_16122025_05_41_54_9633.jpg
/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_24_9764.jpg
/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_44_9658.jpg
/home/pi/Desktop/images/16122025/05/42/image_16122025_05_42_54_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":["1399595783","1399595785","1399595779","1399595781"],"photo_ids_order":["1399595779","1399595781","1399595783","1399595785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d64b922b7579e99d0a142cd137c62386.jpg","text":"TemporaryFile(/tmp/multipartBody5208166013406272143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860263532,"filename":"image_16122025_05_42_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9d8086df505bfec766c587fd7a571ae.jpg","text":"TemporaryFile(/tmp/multipartBody2000822303620987483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860263532,"filename":"image_16122025_05_42_54_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1e932057e42e65ca5de656acbd4a0487.jpg","text":"TemporaryFile(/tmp/multipartBody5797318182467692307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860263532,"filename":"image_16122025_05_41_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/16/a0e6b6668b8bc20c467e827f5295d043.jpg","text":"TemporaryFile(/tmp/multipartBody8490235832251313735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860263532,"filename":"image_16122025_05_42_24_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595783","file1":"1399595781","file0":"1399595779","file3":"1399595785"},"map_files_photo_id_array":[{"photo_id":"1399595783","filename":"file2"},{"photo_id":"1399595781","filename":"file1"},{"photo_id":"1399595779","filename":"file0"},{"photo_id":"1399595785","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595783":["hashtag1","hashtag2"]},{"1399595785":["hashtag1","hashtag2"]},{"1399595779":["hashtag1","hashtag2"]},{"1399595781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595783, 1399595785, 1399595779, 1399595781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.609970331192017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:44:02.794702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:44:12.061134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:44:22.028975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/43/image_16122025_05_43_54_9725.jpg', '/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_14_9241.jpg', '/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_25_10699.jpg', '/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_34_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/43/image_16122025_05_43_54_9725.jpg
/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_14_9241.jpg
/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_25_10699.jpg
/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_34_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595795","1399595801","1399595791","1399595797"],"photo_ids_order":["1399595791","1399595795","1399595797","1399595801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/799a3e0867bc512256ce601e2371b61c.jpg","text":"TemporaryFile(/tmp/multipartBody7532401949100685660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860322591,"filename":"image_16122025_05_44_14_9241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39394986d6ad69884c165a25cd11fd36.jpg","text":"TemporaryFile(/tmp/multipartBody7957401455479067811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860322591,"filename":"image_16122025_05_44_34_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6c3faccd0969699372cde347a37ef76.jpg","text":"TemporaryFile(/tmp/multipartBody2215932441195747461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860322591,"filename":"image_16122025_05_43_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/16/99106d0d283835eb6b7e359db1b59714.jpg","text":"TemporaryFile(/tmp/multipartBody3805052904907839172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860322591,"filename":"image_16122025_05_44_25_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595797","file1":"1399595795","file0":"1399595791","file3":"1399595801"},"map_files_photo_id_array":[{"photo_id":"1399595797","filename":"file2"},{"photo_id":"1399595795","filename":"file1"},{"photo_id":"1399595791","filename":"file0"},{"photo_id":"1399595801","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595795":["hashtag1","hashtag2"]},{"1399595801":["hashtag1","hashtag2"]},{"1399595791":["hashtag1","hashtag2"]},{"1399595797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595795, 1399595801, 1399595791, 1399595797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.95094656944275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:45:02.910439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:45:12.412815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:45:22.329075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_54_9735.jpg', '/home/pi/Desktop/images/16122025/05/44/image_16122025_05_45_05_10739.jpg', '/home/pi/Desktop/images/16122025/05/45/image_16122025_05_45_24_9703.jpg', '/home/pi/Desktop/images/16122025/05/45/image_16122025_05_45_35_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/44/image_16122025_05_44_54_9735.jpg
/home/pi/Desktop/images/16122025/05/44/image_16122025_05_45_05_10739.jpg
/home/pi/Desktop/images/16122025/05/45/image_16122025_05_45_24_9703.jpg
/home/pi/Desktop/images/16122025/05/45/image_16122025_05_45_35_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595834","1399595836","1399595830","1399595838"],"photo_ids_order":["1399595830","1399595834","1399595836","1399595838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fca915dbb24440306016bebd4c34e9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7729922393394522719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860382896,"filename":"image_16122025_05_45_05_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/550bc42cd3953e4ec08807fe79d06b5b.jpg","text":"TemporaryFile(/tmp/multipartBody4174790332523885571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860382896,"filename":"image_16122025_05_45_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/16/c1b2e2ca306395e38bf8c226bb1c5526.jpg","text":"TemporaryFile(/tmp/multipartBody8538070713216664304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860382896,"filename":"image_16122025_05_44_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/16/cf23b75da5b23c987bf64f8ca97cf4c3.jpg","text":"TemporaryFile(/tmp/multipartBody6067202012689912362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860382896,"filename":"image_16122025_05_45_35_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595836","file1":"1399595834","file0":"1399595830","file3":"1399595838"},"map_files_photo_id_array":[{"photo_id":"1399595836","filename":"file2"},{"photo_id":"1399595834","filename":"file1"},{"photo_id":"1399595830","filename":"file0"},{"photo_id":"1399595838","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595834":["hashtag1","hashtag2"]},{"1399595836":["hashtag1","hashtag2"]},{"1399595830":["hashtag1","hashtag2"]},{"1399595838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595834, 1399595836, 1399595830, 1399595838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.505362510681152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:46:03.017993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:46:12.659489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:46:22.537677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/45/image_16122025_05_45_54_9761.jpg', '/home/pi/Desktop/images/16122025/05/45/image_16122025_05_46_05_10637.jpg', '/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_14_9739.jpg', '/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_24_9851.jpg', '/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_34_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/45/image_16122025_05_45_54_9761.jpg
/home/pi/Desktop/images/16122025/05/45/image_16122025_05_46_05_10637.jpg
/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_14_9739.jpg
/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_24_9851.jpg
/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_34_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595852","1399595849","1399595845","1399595847","1399595844"],"photo_ids_order":["1399595844","1399595845","1399595847","1399595849","1399595852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42a3ed5f246b4be4c41d77ab97de20ec.jpg","text":"TemporaryFile(/tmp/multipartBody1338728745610573012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860443152,"filename":"image_16122025_05_46_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/809595487e65b37ea9097586c677d026.jpg","text":"TemporaryFile(/tmp/multipartBody6738570137923062646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860443152,"filename":"image_16122025_05_46_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/16/112484ef377df6667f866bc1adf79d22.jpg","text":"TemporaryFile(/tmp/multipartBody6787108445424609241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860443152,"filename":"image_16122025_05_46_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8082fecfd38441c04174034223b4452.jpg","text":"TemporaryFile(/tmp/multipartBody3014531134183560344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860443152,"filename":"image_16122025_05_46_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/16/2e3f9b628f2d550923d88e87d007e510.jpg","text":"TemporaryFile(/tmp/multipartBody2894340607427481961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860443152,"filename":"image_16122025_05_45_54_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595847","file1":"1399595845","file0":"1399595844","file4":"1399595852","file3":"1399595849"},"map_files_photo_id_array":[{"photo_id":"1399595847","filename":"file2"},{"photo_id":"1399595852","filename":"file4"},{"photo_id":"1399595845","filename":"file1"},{"photo_id":"1399595844","filename":"file0"},{"photo_id":"1399595849","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595852":["hashtag1","hashtag2"]},{"1399595849":["hashtag1","hashtag2"]},{"1399595845":["hashtag1","hashtag2"]},{"1399595847":["hashtag1","hashtag2"]},{"1399595844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595852, 1399595849, 1399595845, 1399595847, 1399595844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.605149030685425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:47:03.527230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:47:12.793377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:47:22.845279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_45_10677.jpg', '/home/pi/Desktop/images/16122025/05/47/image_16122025_05_47_24_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_45_10677.jpg
/home/pi/Desktop/images/16122025/05/47/image_16122025_05_47_24_9848.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36748456954956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:47:32.881757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:47:42.787873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_06_1697.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_07_1565.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_09_1562.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_10_1515.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_12_1739.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_14_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_06_1697.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_07_1565.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_09_1562.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_10_1515.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_12_1739.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_14_1735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595904","1399595906","1399595903","1399595893","1399595902","1399595905"],"photo_ids_order":["1399595893","1399595902","1399595903","1399595904","1399595905","1399595906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f34ae5fe08c1dc9acbb3b941c938eaa4.jpg","text":"TemporaryFile(/tmp/multipartBody5400922269067151451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860523476,"filename":"image_06112025_15_11_10_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d3c34323139e4ea324dc6216c237165.jpg","text":"TemporaryFile(/tmp/multipartBody5926063324894380718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860523476,"filename":"image_06112025_15_11_14_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0bbe98149375128f8eabf6556c387e91.jpg","text":"TemporaryFile(/tmp/multipartBody1545110094862826996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860523476,"filename":"image_06112025_15_11_09_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/16/4bb32d993270e290ddc3f00eedd3cfbb.jpg","text":"TemporaryFile(/tmp/multipartBody6200239595145183618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860523476,"filename":"image_06112025_15_11_06_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d74dd7f9b7516bb6443f24f2c7fa62d.jpg","text":"TemporaryFile(/tmp/multipartBody4277314295582186857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860523476,"filename":"image_06112025_15_11_07_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/16/d5765ef4fddbb9bbc802bdc735934d89.jpg","text":"TemporaryFile(/tmp/multipartBody1312054965219901044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860523476,"filename":"image_06112025_15_11_12_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595903","file1":"1399595902","file0":"1399595893","file4":"1399595905","file5":"1399595906","file3":"1399595904"},"map_files_photo_id_array":[{"photo_id":"1399595906","filename":"file5"},{"photo_id":"1399595903","filename":"file2"},{"photo_id":"1399595905","filename":"file4"},{"photo_id":"1399595902","filename":"file1"},{"photo_id":"1399595893","filename":"file0"},{"photo_id":"1399595904","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595904":["hashtag1","hashtag2"]},{"1399595906":["hashtag1","hashtag2"]},{"1399595903":["hashtag1","hashtag2"]},{"1399595893":["hashtag1","hashtag2"]},{"1399595902":["hashtag1","hashtag2"]},{"1399595905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595904, 1399595906, 1399595903, 1399595893, 1399595902, 1399595905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.663504123687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:48:22.018145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_45_10677.jpg', '/home/pi/Desktop/images/16122025/05/47/image_16122025_05_47_24_9848.jpg', '/home/pi/Desktop/images/16122025/05/47/image_16122025_05_47_34_9871.jpg', '/home/pi/Desktop/images/16122025/05/47/image_16122025_05_48_05_10708.jpg', '/home/pi/Desktop/images/16122025/05/48/image_16122025_05_48_15_9912.jpg', '/home/pi/Desktop/images/16122025/05/48/image_16122025_05_48_44_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/46/image_16122025_05_46_45_10677.jpg
/home/pi/Desktop/images/16122025/05/47/image_16122025_05_47_24_9848.jpg
/home/pi/Desktop/images/16122025/05/47/image_16122025_05_47_34_9871.jpg
/home/pi/Desktop/images/16122025/05/47/image_16122025_05_48_05_10708.jpg
/home/pi/Desktop/images/16122025/05/48/image_16122025_05_48_15_9912.jpg
/home/pi/Desktop/images/16122025/05/48/image_16122025_05_48_44_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595919","1399595915","1399595917","1399595911","1399595913","1399595922"],"photo_ids_order":["1399595911","1399595913","1399595915","1399595917","1399595919","1399595922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9819511d659d126a1f3e4f51b0ac79d7.jpg","text":"TemporaryFile(/tmp/multipartBody3214946568333021514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860562674,"filename":"image_16122025_05_48_15_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d195dadca83f439b89878d473f9afa2.jpg","text":"TemporaryFile(/tmp/multipartBody1094851369385313339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860562674,"filename":"image_16122025_05_47_34_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/16/f9a88a407d390d4c3521f7fc213ef018.jpg","text":"TemporaryFile(/tmp/multipartBody1068123668713794254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860562674,"filename":"image_16122025_05_48_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/16/80a3c19961f40a1d0b95f05e95147ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5880034058411484857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860562674,"filename":"image_16122025_05_46_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4d0eac9522c389148a3907d84e2b345.jpg","text":"TemporaryFile(/tmp/multipartBody3304622741309482579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860562674,"filename":"image_16122025_05_47_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/16/f7a95e7a0c2ae40974db8f8e18319136.jpg","text":"TemporaryFile(/tmp/multipartBody8344507899317222795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860562674,"filename":"image_16122025_05_48_44_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595915","file1":"1399595913","file0":"1399595911","file4":"1399595919","file5":"1399595922","file3":"1399595917"},"map_files_photo_id_array":[{"photo_id":"1399595922","filename":"file5"},{"photo_id":"1399595915","filename":"file2"},{"photo_id":"1399595919","filename":"file4"},{"photo_id":"1399595913","filename":"file1"},{"photo_id":"1399595911","filename":"file0"},{"photo_id":"1399595917","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595919":["hashtag1","hashtag2"]},{"1399595915":["hashtag1","hashtag2"]},{"1399595917":["hashtag1","hashtag2"]},{"1399595911":["hashtag1","hashtag2"]},{"1399595913":["hashtag1","hashtag2"]},{"1399595922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595919, 1399595915, 1399595917, 1399595911, 1399595913, 1399595922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18149733543396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:49:03.384383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:49:12.303419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:49:22.459913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/48/image_16122025_05_48_55_10675.jpg', '/home/pi/Desktop/images/16122025/05/48/image_16122025_05_49_04_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/48/image_16122025_05_48_55_10675.jpg
/home/pi/Desktop/images/16122025/05/48/image_16122025_05_49_04_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595934","1399595937"],"photo_ids_order":["1399595934","1399595937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b6331468538c459e75470b2c2070444.jpg","text":"TemporaryFile(/tmp/multipartBody1499349774067837093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860622941,"filename":"image_16122025_05_48_55_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0067c09ea5cf582c218f66f586a245c.jpg","text":"TemporaryFile(/tmp/multipartBody7522103173910922503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860622941,"filename":"image_16122025_05_49_04_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399595937","file0":"1399595934"},"map_files_photo_id_array":[{"photo_id":"1399595937","filename":"file1"},{"photo_id":"1399595934","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399595934":["hashtag1","hashtag2"]},{"1399595937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399595934, 1399595937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.491549015045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:49:42.439989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_26_12498.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_28_1607.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_29_1577.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_31_1575.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_35_4299.jpg', '/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_37_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_26_12498.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_28_1607.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_29_1577.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_31_1575.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_35_4299.jpg
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_37_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595942","1399595948","1399595947","1399595950","1399595946","1399595949"],"photo_ids_order":["1399595942","1399595946","1399595947","1399595948","1399595949","1399595950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ac4abe6f63a3d1d0e529fc616c60a27.jpg","text":"TemporaryFile(/tmp/multipartBody3053372379838362977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860643139,"filename":"image_06112025_15_11_26_12498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c76924d34ad5a94e1bfd1ee087e2ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1979992514838589187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860643139,"filename":"image_06112025_15_11_31_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/16/83436132bdde4fdb2ef313d4c700d5ad.jpg","text":"TemporaryFile(/tmp/multipartBody896053061745188314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860643139,"filename":"image_06112025_15_11_29_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/16/bdf1a1fe3fc773c048ee62e46dc66699.jpg","text":"TemporaryFile(/tmp/multipartBody8403200317071156006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860643139,"filename":"image_06112025_15_11_37_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9e2a4817d1bc5593d0415d4703c9c73.jpg","text":"TemporaryFile(/tmp/multipartBody6263710022033725733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860643139,"filename":"image_06112025_15_11_28_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/16/f49de8cff8a28dae648fe81645a907a0.jpg","text":"TemporaryFile(/tmp/multipartBody7399722639627928445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860643139,"filename":"image_06112025_15_11_35_4299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595947","file1":"1399595946","file0":"1399595942","file4":"1399595949","file5":"1399595950","file3":"1399595948"},"map_files_photo_id_array":[{"photo_id":"1399595950","filename":"file5"},{"photo_id":"1399595947","filename":"file2"},{"photo_id":"1399595949","filename":"file4"},{"photo_id":"1399595946","filename":"file1"},{"photo_id":"1399595942","filename":"file0"},{"photo_id":"1399595948","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595942":["hashtag1","hashtag2"]},{"1399595948":["hashtag1","hashtag2"]},{"1399595947":["hashtag1","hashtag2"]},{"1399595950":["hashtag1","hashtag2"]},{"1399595946":["hashtag1","hashtag2"]},{"1399595949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595942, 1399595948, 1399595947, 1399595950, 1399595946, 1399595949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70395469665527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:50:22.654059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/49/image_16122025_05_49_14_9759.jpg', '/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_24_10101.jpg', '/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/49/image_16122025_05_49_14_9759.jpg
/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_24_10101.jpg
/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_34_9730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43631505966186523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:50:32.682890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:50:42.711662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_59_22000.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_01_1586.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_02_1556.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_04_1831.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_06_1711.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_07_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/11/image_06112025_15_11_59_22000.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_01_1586.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_02_1556.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_04_1831.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_06_1711.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_07_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399595987","1399595998","1399595986","1399595977","1399595997","1399595990"],"photo_ids_order":["1399595977","1399595986","1399595987","1399595990","1399595997","1399595998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/646b1d96591ab424dbe01c9c0ac08b30.jpg","text":"TemporaryFile(/tmp/multipartBody6526056281180761395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860703495,"filename":"image_06112025_15_12_02_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/16/a86daa79f806af78455ca54cd191914e.jpg","text":"TemporaryFile(/tmp/multipartBody6932803601103407280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860703495,"filename":"image_06112025_15_12_07_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/16/9a74699245cabb4b97fd12d8ab97c0ad.jpg","text":"TemporaryFile(/tmp/multipartBody5253248190474494297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860703495,"filename":"image_06112025_15_12_01_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/16/0a76cd57a5ad2608d796f0d232284068.jpg","text":"TemporaryFile(/tmp/multipartBody3333630767846467135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860703495,"filename":"image_06112025_15_11_59_22000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b655d83e940e04896aef466b9bcd6c6.jpg","text":"TemporaryFile(/tmp/multipartBody4743695491054572480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860703495,"filename":"image_06112025_15_12_06_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f059e94018eee9489beb49e36ba3fae.jpg","text":"TemporaryFile(/tmp/multipartBody6537454039762900496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860703495,"filename":"image_06112025_15_12_04_1831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399595987","file1":"1399595986","file0":"1399595977","file4":"1399595997","file5":"1399595998","file3":"1399595990"},"map_files_photo_id_array":[{"photo_id":"1399595998","filename":"file5"},{"photo_id":"1399595987","filename":"file2"},{"photo_id":"1399595997","filename":"file4"},{"photo_id":"1399595986","filename":"file1"},{"photo_id":"1399595977","filename":"file0"},{"photo_id":"1399595990","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399595987":["hashtag1","hashtag2"]},{"1399595998":["hashtag1","hashtag2"]},{"1399595986":["hashtag1","hashtag2"]},{"1399595977":["hashtag1","hashtag2"]},{"1399595997":["hashtag1","hashtag2"]},{"1399595990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399595987, 1399595998, 1399595986, 1399595977, 1399595997, 1399595990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.116671085357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:51:21.931534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/49/image_16122025_05_49_14_9759.jpg', '/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_24_10101.jpg', '/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_34_9730.jpg', '/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_54_9603.jpg', '/home/pi/Desktop/images/16122025/05/50/image_16122025_05_51_04_9668.jpg', '/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_14_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/49/image_16122025_05_49_14_9759.jpg
/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_24_10101.jpg
/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_34_9730.jpg
/home/pi/Desktop/images/16122025/05/50/image_16122025_05_50_54_9603.jpg
/home/pi/Desktop/images/16122025/05/50/image_16122025_05_51_04_9668.jpg
/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_14_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596011","1399596005","1399596007","1399596012","1399596009","1399596003"],"photo_ids_order":["1399596003","1399596005","1399596007","1399596009","1399596011","1399596012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8548dedf8ce29f157d015554776b2fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2373443179292096490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860742629,"filename":"image_16122025_05_51_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f8d7890080b365b7e1b3f383835b871.jpg","text":"TemporaryFile(/tmp/multipartBody7035042203128584990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860742629,"filename":"image_16122025_05_50_24_10101.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20ad8e346a5c45720746618da8b54a46.jpg","text":"TemporaryFile(/tmp/multipartBody745599844493088311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860742629,"filename":"image_16122025_05_50_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/16/8a79f319ac6f86f8fac91b4cee15c552.jpg","text":"TemporaryFile(/tmp/multipartBody4637924738095724715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860742629,"filename":"image_16122025_05_51_14_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1e40f442dfcd421b4c182730b68936c4.jpg","text":"TemporaryFile(/tmp/multipartBody8039137518988247568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860742629,"filename":"image_16122025_05_50_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/472e643f9695ae60afcde037823cc47d.jpg","text":"TemporaryFile(/tmp/multipartBody897829345538063192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860742629,"filename":"image_16122025_05_49_14_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596007","file1":"1399596005","file0":"1399596003","file4":"1399596011","file5":"1399596012","file3":"1399596009"},"map_files_photo_id_array":[{"photo_id":"1399596012","filename":"file5"},{"photo_id":"1399596007","filename":"file2"},{"photo_id":"1399596011","filename":"file4"},{"photo_id":"1399596005","filename":"file1"},{"photo_id":"1399596003","filename":"file0"},{"photo_id":"1399596009","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596011":["hashtag1","hashtag2"]},{"1399596005":["hashtag1","hashtag2"]},{"1399596007":["hashtag1","hashtag2"]},{"1399596012":["hashtag1","hashtag2"]},{"1399596009":["hashtag1","hashtag2"]},{"1399596003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596011, 1399596005, 1399596007, 1399596012, 1399596009, 1399596003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72268867492676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:52:02.628231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_25_10687.jpg', '/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_44_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_25_10687.jpg
/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_44_9889.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596014","1399596016"],"photo_ids_order":["1399596014","1399596016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6fd5065122894b821a7f73e245c0dd27.jpg","text":"TemporaryFile(/tmp/multipartBody7735271211635331698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860783112,"filename":"image_16122025_05_51_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6a84fdf768dcbd54f4fdbe2eaffde3c.jpg","text":"TemporaryFile(/tmp/multipartBody3094549709113336832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860783112,"filename":"image_16122025_05_51_44_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399596016","file0":"1399596014"},"map_files_photo_id_array":[{"photo_id":"1399596016","filename":"file1"},{"photo_id":"1399596014","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596014":["hashtag1","hashtag2"]},{"1399596016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596014, 1399596016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.04476833343506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:52:22.141287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_54_9704.jpg', '/home/pi/Desktop/images/16122025/05/51/image_16122025_05_52_05_10686.jpg', '/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_14_9678.jpg', '/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_34_9732.jpg', '/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_45_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/51/image_16122025_05_51_54_9704.jpg
/home/pi/Desktop/images/16122025/05/51/image_16122025_05_52_05_10686.jpg
/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_14_9678.jpg
/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_34_9732.jpg
/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_45_10783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596022","1399596039","1399596030","1399596027","1399596024"],"photo_ids_order":["1399596022","1399596024","1399596027","1399596030","1399596039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/488596051ce1e95cfa75a6d37a8a4a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4644142133983325902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860802753,"filename":"image_16122025_05_51_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/16/1016e9224ae1a00e7a7f2e282a667fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3327099659425744654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860802753,"filename":"image_16122025_05_52_45_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16964598c14ed35b64f5f481e1b54bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4831678601101510114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860802753,"filename":"image_16122025_05_52_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87feab512a34c32a86bc986115f1efda.jpg","text":"TemporaryFile(/tmp/multipartBody476207648057984639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860802753,"filename":"image_16122025_05_52_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/16/5013ea392b1656e955bc0bbaf76c38e6.jpg","text":"TemporaryFile(/tmp/multipartBody5124848579542149092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860802753,"filename":"image_16122025_05_52_05_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596027","file1":"1399596024","file0":"1399596022","file4":"1399596039","file3":"1399596030"},"map_files_photo_id_array":[{"photo_id":"1399596027","filename":"file2"},{"photo_id":"1399596039","filename":"file4"},{"photo_id":"1399596024","filename":"file1"},{"photo_id":"1399596022","filename":"file0"},{"photo_id":"1399596030","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596022":["hashtag1","hashtag2"]},{"1399596039":["hashtag1","hashtag2"]},{"1399596030":["hashtag1","hashtag2"]},{"1399596027":["hashtag1","hashtag2"]},{"1399596024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596022, 1399596039, 1399596030, 1399596027, 1399596024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.399577617645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:53:02.991987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:53:12.399091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:53:22.385294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_54_9614.jpg', '/home/pi/Desktop/images/16122025/05/52/image_16122025_05_53_04_9678.jpg', '/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_15_10720.jpg', '/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_25_9779.jpg', '/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_34_9640.jpg', '/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_44_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/52/image_16122025_05_52_54_9614.jpg
/home/pi/Desktop/images/16122025/05/52/image_16122025_05_53_04_9678.jpg
/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_15_10720.jpg
/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_25_9779.jpg
/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_34_9640.jpg
/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_44_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596062","1399596056","1399596059","1399596053","1399596064","1399596069"],"photo_ids_order":["1399596053","1399596056","1399596059","1399596062","1399596064","1399596069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76424f21f3c58d2f17278269f9fddcfe.jpg","text":"TemporaryFile(/tmp/multipartBody4132502902513031829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860863086,"filename":"image_16122025_05_53_25_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/16/6eef2013f6eab23b1c3e5cdd81ec016d.jpg","text":"TemporaryFile(/tmp/multipartBody5746305432908663326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860863086,"filename":"image_16122025_05_53_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/16/03015d16735fc10d856d6a260363615c.jpg","text":"TemporaryFile(/tmp/multipartBody1366101725151231007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860863086,"filename":"image_16122025_05_53_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee8a0185d12edf59888f331468b9f5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1620908960362414033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860863086,"filename":"image_16122025_05_52_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/16/5428529edeebb12873fac4029235bb9a.jpg","text":"TemporaryFile(/tmp/multipartBody8283990621199189809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860863086,"filename":"image_16122025_05_53_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/16/0a547f084908129dc1498ad2a053d0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7727872533683926962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860863086,"filename":"image_16122025_05_53_44_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596059","file1":"1399596056","file0":"1399596053","file4":"1399596064","file5":"1399596069","file3":"1399596062"},"map_files_photo_id_array":[{"photo_id":"1399596069","filename":"file5"},{"photo_id":"1399596059","filename":"file2"},{"photo_id":"1399596064","filename":"file4"},{"photo_id":"1399596056","filename":"file1"},{"photo_id":"1399596053","filename":"file0"},{"photo_id":"1399596062","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596062":["hashtag1","hashtag2"]},{"1399596056":["hashtag1","hashtag2"]},{"1399596059":["hashtag1","hashtag2"]},{"1399596053":["hashtag1","hashtag2"]},{"1399596064":["hashtag1","hashtag2"]},{"1399596069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596062, 1399596056, 1399596059, 1399596053, 1399596064, 1399596069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.876471519470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:54:03.339039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:54:12.632256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:54:22.660320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_55_10697.jpg', '/home/pi/Desktop/images/16122025/05/54/image_16122025_05_54_14_9656.jpg', '/home/pi/Desktop/images/16122025/05/54/image_16122025_05_54_34_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/53/image_16122025_05_53_55_10697.jpg
/home/pi/Desktop/images/16122025/05/54/image_16122025_05_54_14_9656.jpg
/home/pi/Desktop/images/16122025/05/54/image_16122025_05_54_34_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":["1399596083","1399596081","1399596084"],"photo_ids_order":["1399596081","1399596083","1399596084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/346bb6941a582925cbdf8f057114c0d7.jpg","text":"TemporaryFile(/tmp/multipartBody1153400456523377015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860923178,"filename":"image_16122025_05_54_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/195e51f872803a8d9309d144efd02021.jpg","text":"TemporaryFile(/tmp/multipartBody6312599882320510459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860923178,"filename":"image_16122025_05_53_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f0365f9bd635d3522ad1dc5b9522bef.jpg","text":"TemporaryFile(/tmp/multipartBody6355287022567265862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860923178,"filename":"image_16122025_05_54_34_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596084","file1":"1399596083","file0":"1399596081"},"map_files_photo_id_array":[{"photo_id":"1399596084","filename":"file2"},{"photo_id":"1399596083","filename":"file1"},{"photo_id":"1399596081","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596083":["hashtag1","hashtag2"]},{"1399596081":["hashtag1","hashtag2"]},{"1399596084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596083, 1399596081, 1399596084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.453243017196655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:55:02.452054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:55:11.952491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:55:21.971493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/54/image_16122025_05_54_44_9610.jpg', '/home/pi/Desktop/images/16122025/05/54/image_16122025_05_55_05_9800.jpg', '/home/pi/Desktop/images/16122025/05/55/image_16122025_05_55_14_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/54/image_16122025_05_54_44_9610.jpg
/home/pi/Desktop/images/16122025/05/54/image_16122025_05_55_05_9800.jpg
/home/pi/Desktop/images/16122025/05/55/image_16122025_05_55_14_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596107","1399596109","1399596111"],"photo_ids_order":["1399596107","1399596109","1399596111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c5905b9c05211e261a7134499ec757f.jpg","text":"TemporaryFile(/tmp/multipartBody8153009831851705018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860982489,"filename":"image_16122025_05_54_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff90aa4ade686a7bb255fdbfbc673ea9.jpg","text":"TemporaryFile(/tmp/multipartBody7422007222607965008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860982489,"filename":"image_16122025_05_55_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/16/9d39282a866c80a901b7359484b6a881.jpg","text":"TemporaryFile(/tmp/multipartBody1861179339603488622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765860982489,"filename":"image_16122025_05_55_14_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596111","file1":"1399596109","file0":"1399596107"},"map_files_photo_id_array":[{"photo_id":"1399596111","filename":"file2"},{"photo_id":"1399596109","filename":"file1"},{"photo_id":"1399596107","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596107":["hashtag1","hashtag2"]},{"1399596109":["hashtag1","hashtag2"]},{"1399596111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596107, 1399596109, 1399596111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.184174299240112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:56:02.517439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:56:12.091015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:56:22.155151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/55/image_16122025_05_55_54_9698.jpg', '/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_34_9803.jpg', '/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_44_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/55/image_16122025_05_55_54_9698.jpg
/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_34_9803.jpg
/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_44_9740.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4141848087310791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:56:32.196834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:56:42.077053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_09_1521.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_11_1753.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_12_1558.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_14_1622.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_15_1701.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_17_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_09_1521.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_11_1753.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_12_1558.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_14_1622.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_15_1701.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_17_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596334","1399596294","1399596336","1399596330","1399596333","1399596315"],"photo_ids_order":["1399596294","1399596315","1399596330","1399596333","1399596334","1399596336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/48f4bd6e0a0e828062d805e5342b298b.jpg","text":"TemporaryFile(/tmp/multipartBody8497566750631115184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861062816,"filename":"image_06112025_15_12_15_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/16/af76563288ef872e7cc3cd941e86304a.jpg","text":"TemporaryFile(/tmp/multipartBody2450969700515061966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861062816,"filename":"image_06112025_15_12_09_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50e0a6392ca024c46cbc3578befad541.jpg","text":"TemporaryFile(/tmp/multipartBody1680428616566851690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861062816,"filename":"image_06112025_15_12_17_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/16/7cf661fbe5b87c67666f04e0f0236f39.jpg","text":"TemporaryFile(/tmp/multipartBody8498511487602821115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861062816,"filename":"image_06112025_15_12_12_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/16/29cbbefaf38852c8a8c76a1154b7021e.jpg","text":"TemporaryFile(/tmp/multipartBody2358187773753420421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861062816,"filename":"image_06112025_15_12_14_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/16/2b7876e53cdac4a0859892b10f7fddc5.jpg","text":"TemporaryFile(/tmp/multipartBody4251839287452865917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861062816,"filename":"image_06112025_15_12_11_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596330","file1":"1399596315","file0":"1399596294","file4":"1399596334","file5":"1399596336","file3":"1399596333"},"map_files_photo_id_array":[{"photo_id":"1399596336","filename":"file5"},{"photo_id":"1399596330","filename":"file2"},{"photo_id":"1399596334","filename":"file4"},{"photo_id":"1399596315","filename":"file1"},{"photo_id":"1399596294","filename":"file0"},{"photo_id":"1399596333","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399596334":["hashtag1","hashtag2"]},{"1399596294":["hashtag1","hashtag2"]},{"1399596336":["hashtag1","hashtag2"]},{"1399596330":["hashtag1","hashtag2"]},{"1399596333":["hashtag1","hashtag2"]},{"1399596315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399596334, 1399596294, 1399596336, 1399596330, 1399596333, 1399596315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.024152994155884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 05:57:22.334721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/55/image_16122025_05_55_54_9698.jpg', '/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_34_9803.jpg', '/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_44_9740.jpg', '/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_54_10664.jpg', '/home/pi/Desktop/images/16122025/05/57/image_16122025_05_57_14_9734.jpg', '/home/pi/Desktop/images/16122025/05/57/image_16122025_05_57_25_10799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/55/image_16122025_05_55_54_9698.jpg
/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_34_9803.jpg
/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_44_9740.jpg
/home/pi/Desktop/images/16122025/05/56/image_16122025_05_56_54_10664.jpg
/home/pi/Desktop/images/16122025/05/57/image_16122025_05_57_14_9734.jpg
/home/pi/Desktop/images/16122025/05/57/image_16122025_05_57_25_10799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596353","1399596347","1399596341","1399596344","1399596349","1399596339"],"photo_ids_order":["1399596339","1399596341","1399596344","1399596347","1399596349","1399596353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1095e5e26753d99eee887f396534d233.jpg","text":"TemporaryFile(/tmp/multipartBody3731469775028053416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861103035,"filename":"image_16122025_05_57_25_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6702eebd1581698fd137aa36658779c8.jpg","text":"TemporaryFile(/tmp/multipartBody2294964579767351716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861103035,"filename":"image_16122025_05_56_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/16/7fef1fd454490c91e5a6ffef8a634a58.jpg","text":"TemporaryFile(/tmp/multipartBody6615859026400031413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861103035,"filename":"image_16122025_05_56_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/16/59f5ea61f269f530def57dbca3fd09e5.jpg","text":"TemporaryFile(/tmp/multipartBody5582383375826268596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861103035,"filename":"image_16122025_05_56_44_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01d7f43fb0527be1cc2543b2a50fe52e.jpg","text":"TemporaryFile(/tmp/multipartBody9075500488530383515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861103035,"filename":"image_16122025_05_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/16/cec575042863965d74ad6462f2ca0d48.jpg","text":"TemporaryFile(/tmp/multipartBody5514947245265592925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861103035,"filename":"image_16122025_05_55_54_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596344","file1":"1399596341","file0":"1399596339","file4":"1399596349","file5":"1399596353","file3":"1399596347"},"map_files_photo_id_array":[{"photo_id":"1399596353","filename":"file5"},{"photo_id":"1399596344","filename":"file2"},{"photo_id":"1399596349","filename":"file4"},{"photo_id":"1399596341","filename":"file1"},{"photo_id":"1399596339","filename":"file0"},{"photo_id":"1399596347","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596353":["hashtag1","hashtag2"]},{"1399596347":["hashtag1","hashtag2"]},{"1399596341":["hashtag1","hashtag2"]},{"1399596344":["hashtag1","hashtag2"]},{"1399596349":["hashtag1","hashtag2"]},{"1399596339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596353, 1399596347, 1399596341, 1399596344, 1399596349, 1399596339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00611901283264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 05:59:03.638727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/57/image_16122025_05_57_34_9627.jpg', '/home/pi/Desktop/images/16122025/05/58/image_16122025_05_58_14_9948.jpg', '/home/pi/Desktop/images/16122025/05/58/image_16122025_05_58_24_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/57/image_16122025_05_57_34_9627.jpg
/home/pi/Desktop/images/16122025/05/58/image_16122025_05_58_14_9948.jpg
/home/pi/Desktop/images/16122025/05/58/image_16122025_05_58_24_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596368","1399596372","1399596365"],"photo_ids_order":["1399596365","1399596368","1399596372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46655219b21284695c7d41959be95be8.jpg","text":"TemporaryFile(/tmp/multipartBody1611958085677139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861204317,"filename":"image_16122025_05_58_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/16/2692db308321b2f633da954e11218a16.jpg","text":"TemporaryFile(/tmp/multipartBody4354547814207264274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861204317,"filename":"image_16122025_05_58_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/16/ad2425b48c31f1a5baf2a71a3d54ea2e.jpg","text":"TemporaryFile(/tmp/multipartBody1524143586968276323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861204317,"filename":"image_16122025_05_57_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596372","file1":"1399596368","file0":"1399596365"},"map_files_photo_id_array":[{"photo_id":"1399596372","filename":"file2"},{"photo_id":"1399596368","filename":"file1"},{"photo_id":"1399596365","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596368":["hashtag1","hashtag2"]},{"1399596372":["hashtag1","hashtag2"]},{"1399596365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596368, 1399596372, 1399596365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.484564065933228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 05:59:32.726809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 05:59:42.763727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_19_1499.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_20_1650.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_22_1724.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_24_1677.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_25_1504.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_27_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_19_1499.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_20_1650.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_22_1724.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_24_1677.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_25_1504.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_27_1652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596389","1399596388","1399596391","1399596390","1399596381","1399596392"],"photo_ids_order":["1399596381","1399596388","1399596389","1399596390","1399596391","1399596392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a25b23551f039dd258b26aa87ead2ca.jpg","text":"TemporaryFile(/tmp/multipartBody2081424165788927887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861243478,"filename":"image_06112025_15_12_22_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/16/3e2315dc88b1f8138f45e1193778475b.jpg","text":"TemporaryFile(/tmp/multipartBody4086380017611698235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861243478,"filename":"image_06112025_15_12_20_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/16/bedae7108b58bb07fd3035fcc8e6b064.jpg","text":"TemporaryFile(/tmp/multipartBody8406526045623471579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861243478,"filename":"image_06112025_15_12_25_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/16/1bfe488dcc9dec1a45fa561baf3bfd06.jpg","text":"TemporaryFile(/tmp/multipartBody3104234356750374273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861243478,"filename":"image_06112025_15_12_24_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/16/ddbb287f21dffbad7af2b7901d33a82e.jpg","text":"TemporaryFile(/tmp/multipartBody4007756549642045316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861243478,"filename":"image_06112025_15_12_19_1499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f46d72737a696aaf81e3edcd58d6ba46.jpg","text":"TemporaryFile(/tmp/multipartBody4522666872305303602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861243478,"filename":"image_06112025_15_12_27_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596389","file1":"1399596388","file0":"1399596381","file4":"1399596391","file5":"1399596392","file3":"1399596390"},"map_files_photo_id_array":[{"photo_id":"1399596392","filename":"file5"},{"photo_id":"1399596389","filename":"file2"},{"photo_id":"1399596391","filename":"file4"},{"photo_id":"1399596388","filename":"file1"},{"photo_id":"1399596381","filename":"file0"},{"photo_id":"1399596390","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399596389":["hashtag1","hashtag2"]},{"1399596388":["hashtag1","hashtag2"]},{"1399596391":["hashtag1","hashtag2"]},{"1399596390":["hashtag1","hashtag2"]},{"1399596381":["hashtag1","hashtag2"]},{"1399596392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399596389, 1399596388, 1399596391, 1399596390, 1399596381, 1399596392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.348384857177734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:00:22.097169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/05/58/image_16122025_05_58_54_9697.jpg', '/home/pi/Desktop/images/16122025/05/58/image_16122025_05_59_04_9699.jpg', '/home/pi/Desktop/images/16122025/05/59/image_16122025_05_59_25_10829.jpg', '/home/pi/Desktop/images/16122025/05/59/image_16122025_05_59_54_9628.jpg', '/home/pi/Desktop/images/16122025/05/59/image_16122025_06_00_04_10687.jpg', '/home/pi/Desktop/images/16122025/06/00/image_16122025_06_00_14_9899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/05/58/image_16122025_05_58_54_9697.jpg
/home/pi/Desktop/images/16122025/05/58/image_16122025_05_59_04_9699.jpg
/home/pi/Desktop/images/16122025/05/59/image_16122025_05_59_25_10829.jpg
/home/pi/Desktop/images/16122025/05/59/image_16122025_05_59_54_9628.jpg
/home/pi/Desktop/images/16122025/05/59/image_16122025_06_00_04_10687.jpg
/home/pi/Desktop/images/16122025/06/00/image_16122025_06_00_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":["1399596413","1399596430","1399596406","1399596400","1399596403","1399596411"],"photo_ids_order":["1399596400","1399596403","1399596406","1399596411","1399596413","1399596430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7646b2c2b66b4f9db1bef549a3743f9.jpg","text":"TemporaryFile(/tmp/multipartBody1200575158246802018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861282800,"filename":"image_16122025_06_00_04_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42c6dad2270f4df9d7df0dc008871d9a.jpg","text":"TemporaryFile(/tmp/multipartBody2858087358581093181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861282800,"filename":"image_16122025_06_00_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/16/13630a3319bb89bc98a9b13dda384066.jpg","text":"TemporaryFile(/tmp/multipartBody99667581029225347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861282800,"filename":"image_16122025_05_59_25_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d973361d2d4b9ae13e48b40e98fae4dd.jpg","text":"TemporaryFile(/tmp/multipartBody7085119028233140051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861282800,"filename":"image_16122025_05_58_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/16/5b66b6a248fbc76398cfcd8865463363.jpg","text":"TemporaryFile(/tmp/multipartBody7683398469372149840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861282800,"filename":"image_16122025_05_59_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/16/6611c0e819580280fe7180fc5e05a520.jpg","text":"TemporaryFile(/tmp/multipartBody88987199928188918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861282800,"filename":"image_16122025_05_59_54_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596406","file1":"1399596403","file0":"1399596400","file4":"1399596413","file5":"1399596430","file3":"1399596411"},"map_files_photo_id_array":[{"photo_id":"1399596430","filename":"file5"},{"photo_id":"1399596406","filename":"file2"},{"photo_id":"1399596413","filename":"file4"},{"photo_id":"1399596403","filename":"file1"},{"photo_id":"1399596400","filename":"file0"},{"photo_id":"1399596411","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596413":["hashtag1","hashtag2"]},{"1399596430":["hashtag1","hashtag2"]},{"1399596406":["hashtag1","hashtag2"]},{"1399596400":["hashtag1","hashtag2"]},{"1399596403":["hashtag1","hashtag2"]},{"1399596411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596413, 1399596430, 1399596406, 1399596400, 1399596403, 1399596411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40121102333069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:01:03.108849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/00/image_16122025_06_00_24_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/00/image_16122025_06_00_24_9833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399596570"],"photo_id":"1399596570","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62eaf8fbdfb56227dc0f207bc56f144c.jpg","text":"TemporaryFile(/tmp/multipartBody4265418236470277500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861323554,"filename":"image_16122025_06_00_24_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399596570"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399596570"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.197523593902588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:01:22.300051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/00/image_16122025_06_00_45_10709.jpg', '/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_15_10644.jpg', '/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_25_10002.jpg', '/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_34_9724.jpg', '/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_44_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/00/image_16122025_06_00_45_10709.jpg
/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_15_10644.jpg
/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_25_10002.jpg
/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_34_9724.jpg
/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_44_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":["1399596839","1399596877","1399596766","1399596727","1399596804"],"photo_ids_order":["1399596727","1399596766","1399596804","1399596839","1399596877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/306b777bc17931bc19365f49ccb525ca.jpg","text":"TemporaryFile(/tmp/multipartBody1225072116376286837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861342909,"filename":"image_16122025_06_01_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/16/5badeb240899377fd889578cf2e921f5.jpg","text":"TemporaryFile(/tmp/multipartBody5542237060444306931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861342909,"filename":"image_16122025_06_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/16/62def72a9e4a0436ef5ab5ff8b27ceaf.jpg","text":"TemporaryFile(/tmp/multipartBody6471921397483832974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861342909,"filename":"image_16122025_06_01_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/993e43de8c12bb7716eba7dd951bd451.jpg","text":"TemporaryFile(/tmp/multipartBody8174679810640316458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861342909,"filename":"image_16122025_06_00_45_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f4b3da625b6ad944287e2631a37cda0.jpg","text":"TemporaryFile(/tmp/multipartBody4871517782440177191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861342909,"filename":"image_16122025_06_01_25_10002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399596804","file1":"1399596766","file0":"1399596727","file4":"1399596877","file3":"1399596839"},"map_files_photo_id_array":[{"photo_id":"1399596804","filename":"file2"},{"photo_id":"1399596877","filename":"file4"},{"photo_id":"1399596766","filename":"file1"},{"photo_id":"1399596727","filename":"file0"},{"photo_id":"1399596839","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399596839":["hashtag1","hashtag2"]},{"1399596877":["hashtag1","hashtag2"]},{"1399596766":["hashtag1","hashtag2"]},{"1399596727":["hashtag1","hashtag2"]},{"1399596804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399596839, 1399596877, 1399596766, 1399596727, 1399596804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.00332427024841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:02:03.013104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:02:12.469702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:02:22.519670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_54_9905.jpg', '/home/pi/Desktop/images/16122025/06/01/image_16122025_06_02_05_10722.jpg', '/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_24_9716.jpg', '/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_34_9638.jpg', '/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_45_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/01/image_16122025_06_01_54_9905.jpg
/home/pi/Desktop/images/16122025/06/01/image_16122025_06_02_05_10722.jpg
/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_24_9716.jpg
/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_34_9638.jpg
/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_45_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597318","1399597251","1399597329","1399597289","1399597212"],"photo_ids_order":["1399597212","1399597251","1399597289","1399597318","1399597329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/435f75dd4237232e4d56cb84b4a4be9d.jpg","text":"TemporaryFile(/tmp/multipartBody8920839186793592442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861403129,"filename":"image_16122025_06_02_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/16/ef6c93eb67a8d161427cd27cc9d111b8.jpg","text":"TemporaryFile(/tmp/multipartBody6566596964051456379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861403129,"filename":"image_16122025_06_02_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3a032b694ff3417b823354ef0fc0804.jpg","text":"TemporaryFile(/tmp/multipartBody1618331230074634621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861403129,"filename":"image_16122025_06_02_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dbfe7001feb04438319c491680244d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6248679192285716820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861403129,"filename":"image_16122025_06_02_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/16/78f3ddfb0940a33f79e9feaea41b71dc.jpg","text":"TemporaryFile(/tmp/multipartBody6717847154615508630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861403129,"filename":"image_16122025_06_01_54_9905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597289","file1":"1399597251","file0":"1399597212","file4":"1399597329","file3":"1399597318"},"map_files_photo_id_array":[{"photo_id":"1399597289","filename":"file2"},{"photo_id":"1399597329","filename":"file4"},{"photo_id":"1399597251","filename":"file1"},{"photo_id":"1399597212","filename":"file0"},{"photo_id":"1399597318","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597318":["hashtag1","hashtag2"]},{"1399597251":["hashtag1","hashtag2"]},{"1399597329":["hashtag1","hashtag2"]},{"1399597289":["hashtag1","hashtag2"]},{"1399597212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597318, 1399597251, 1399597329, 1399597289, 1399597212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.39693546295166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:03:03.410882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:03:12.797174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:03:22.749265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_54_9847.jpg', '/home/pi/Desktop/images/16122025/06/02/image_16122025_06_03_04_9965.jpg', '/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_25_10661.jpg', '/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_35_9747.jpg', '/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_44_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/02/image_16122025_06_02_54_9847.jpg
/home/pi/Desktop/images/16122025/06/02/image_16122025_06_03_04_9965.jpg
/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_25_10661.jpg
/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_35_9747.jpg
/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_44_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597486","1399597375","1399597345","1399597414","1399597451"],"photo_ids_order":["1399597345","1399597375","1399597414","1399597451","1399597486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a772e5b4c09a2c48bc2584be71659c7.jpg","text":"TemporaryFile(/tmp/multipartBody5470335913781532204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861463359,"filename":"image_16122025_06_03_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/559df37230474b149a9e2ca5622173b9.jpg","text":"TemporaryFile(/tmp/multipartBody2453325849902230451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861463359,"filename":"image_16122025_06_03_04_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c49bcde47d02d6b1d8b0b20ad4076e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6500275640483921572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861463359,"filename":"image_16122025_06_02_54_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4344fb611376d830e40714669e39377c.jpg","text":"TemporaryFile(/tmp/multipartBody1926807526727519880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861463359,"filename":"image_16122025_06_03_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/16/fbf568bd78897d955cf92ec672a72fb2.jpg","text":"TemporaryFile(/tmp/multipartBody4290069033398583862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861463359,"filename":"image_16122025_06_03_35_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597414","file1":"1399597375","file0":"1399597345","file4":"1399597486","file3":"1399597451"},"map_files_photo_id_array":[{"photo_id":"1399597414","filename":"file2"},{"photo_id":"1399597486","filename":"file4"},{"photo_id":"1399597375","filename":"file1"},{"photo_id":"1399597345","filename":"file0"},{"photo_id":"1399597451","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597486":["hashtag1","hashtag2"]},{"1399597375":["hashtag1","hashtag2"]},{"1399597345":["hashtag1","hashtag2"]},{"1399597414":["hashtag1","hashtag2"]},{"1399597451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597486, 1399597375, 1399597345, 1399597414, 1399597451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.786871194839478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:04:02.709612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:04:11.967272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:04:21.975807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_54_9746.jpg', '/home/pi/Desktop/images/16122025/06/03/image_16122025_06_04_05_10672.jpg', '/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_14_9732.jpg', '/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_24_9800.jpg', '/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_45_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/03/image_16122025_06_03_54_9746.jpg
/home/pi/Desktop/images/16122025/06/03/image_16122025_06_04_05_10672.jpg
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_14_9732.jpg
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_24_9800.jpg
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_45_10790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597675","1399597683","1399597677","1399597685","1399597664"],"photo_ids_order":["1399597664","1399597675","1399597677","1399597683","1399597685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f91ff711f40c52b80cb3f3bf72b2cbd.jpg","text":"TemporaryFile(/tmp/multipartBody3292759971434853889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861522589,"filename":"image_16122025_06_04_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20cb6014fc0d11ff427d0ab30bb8f8b9.jpg","text":"TemporaryFile(/tmp/multipartBody622475974485086428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861522589,"filename":"image_16122025_06_04_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69cfc3222653f3d078d81d7bea65f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody8543880008561350598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861522589,"filename":"image_16122025_06_04_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff05a71afc6952be59b1227d33b50c48.jpg","text":"TemporaryFile(/tmp/multipartBody1598170518410024820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861522589,"filename":"image_16122025_06_04_45_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/16/3542da784b8068cdb1edda2c7b31fed3.jpg","text":"TemporaryFile(/tmp/multipartBody8353799676117137413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861522589,"filename":"image_16122025_06_03_54_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597677","file1":"1399597675","file0":"1399597664","file4":"1399597685","file3":"1399597683"},"map_files_photo_id_array":[{"photo_id":"1399597677","filename":"file2"},{"photo_id":"1399597685","filename":"file4"},{"photo_id":"1399597675","filename":"file1"},{"photo_id":"1399597664","filename":"file0"},{"photo_id":"1399597683","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597675":["hashtag1","hashtag2"]},{"1399597683":["hashtag1","hashtag2"]},{"1399597677":["hashtag1","hashtag2"]},{"1399597685":["hashtag1","hashtag2"]},{"1399597664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597675, 1399597683, 1399597677, 1399597685, 1399597664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.107983350753784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:05:03.065694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:05:12.277625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:05:22.406664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_54_9606.jpg', '/home/pi/Desktop/images/16122025/06/04/image_16122025_06_05_04_9734.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_24_9693.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_34_9787.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_45_10303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_54_9606.jpg
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_05_04_9734.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_24_9693.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_34_9787.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_45_10303.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5046184062957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:05:32.295497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:05:42.276878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_29_1655.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_30_1663.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_33_2669.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_37_3679.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_39_2749.jpg', '/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_42_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_29_1655.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_30_1663.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_33_2669.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_37_3679.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_39_2749.jpg
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_42_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":["1399597727","1399597726","1399597729","1399597714","1399597725","1399597728"],"photo_ids_order":["1399597714","1399597725","1399597726","1399597727","1399597728","1399597729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07a7e00cc1547cbb263cb9c8ae2d717a.jpg","text":"TemporaryFile(/tmp/multipartBody7556601440169279566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861603023,"filename":"image_06112025_15_12_37_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/16/07586c3e1c1f62c720bea172631e62c8.jpg","text":"TemporaryFile(/tmp/multipartBody4969646932314137512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861603023,"filename":"image_06112025_15_12_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/16/52f373046da4b9cc1e1882fa5855c249.jpg","text":"TemporaryFile(/tmp/multipartBody5600150249778122704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861603023,"filename":"image_06112025_15_12_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/16/2be85ab28d3940bd409e185f23c76efe.jpg","text":"TemporaryFile(/tmp/multipartBody6305287954848302363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861603023,"filename":"image_06112025_15_12_29_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/16/5e1f4d6fc729dcf1c878fc35e6d10c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2212963655253478975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861603023,"filename":"image_06112025_15_12_30_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/16/8eb97abf4b70e27a27afb5ba5628008e.jpg","text":"TemporaryFile(/tmp/multipartBody1287198261701316601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861603023,"filename":"image_06112025_15_12_39_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597726","file1":"1399597725","file0":"1399597714","file4":"1399597728","file5":"1399597729","file3":"1399597727"},"map_files_photo_id_array":[{"photo_id":"1399597729","filename":"file5"},{"photo_id":"1399597726","filename":"file2"},{"photo_id":"1399597728","filename":"file4"},{"photo_id":"1399597725","filename":"file1"},{"photo_id":"1399597714","filename":"file0"},{"photo_id":"1399597727","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399597727":["hashtag1","hashtag2"]},{"1399597726":["hashtag1","hashtag2"]},{"1399597729":["hashtag1","hashtag2"]},{"1399597714":["hashtag1","hashtag2"]},{"1399597725":["hashtag1","hashtag2"]},{"1399597728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399597727, 1399597726, 1399597729, 1399597714, 1399597725, 1399597728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00721740722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:06:22.635712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_54_9606.jpg', '/home/pi/Desktop/images/16122025/06/04/image_16122025_06_05_04_9734.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_24_9693.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_34_9787.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_45_10303.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_54_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_54_9606.jpg
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_05_04_9734.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_24_9693.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_34_9787.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_45_10303.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_54_9901.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5521700382232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:06:32.548500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:06:42.519686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_46_3746.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_03_16780.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_04_1521.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_06_1564.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_07_1669.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_09_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/12/image_06112025_15_12_46_3746.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_03_16780.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_04_1521.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_06_1564.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_07_1669.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_09_1728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597756","1399597744","1399597747","1399597749","1399597746","1399597748"],"photo_ids_order":["1399597744","1399597746","1399597747","1399597748","1399597749","1399597756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fa66173bb103be8687dc2579f4b4afc.jpg","text":"TemporaryFile(/tmp/multipartBody2883851682508078432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861663226,"filename":"image_06112025_15_13_09_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/16/436204eea117d944b61e1273781d6e5d.jpg","text":"TemporaryFile(/tmp/multipartBody876713278764712576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861663226,"filename":"image_06112025_15_12_46_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/16/c1a130405f1e807e0f1d19253f8df55f.jpg","text":"TemporaryFile(/tmp/multipartBody4387237874237496734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861663226,"filename":"image_06112025_15_13_04_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/16/f1e4dc9a6bc30028a238d647f2089125.jpg","text":"TemporaryFile(/tmp/multipartBody4251230864165450499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861663226,"filename":"image_06112025_15_13_07_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12e20e71c45d2319443b981a42e265a6.jpg","text":"TemporaryFile(/tmp/multipartBody1766725983383806871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861663226,"filename":"image_06112025_15_13_03_16780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e50f08d8df5b36503e1645cecd0b1d94.jpg","text":"TemporaryFile(/tmp/multipartBody1292207359894758829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861663226,"filename":"image_06112025_15_13_06_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597747","file1":"1399597746","file0":"1399597744","file4":"1399597749","file5":"1399597756","file3":"1399597748"},"map_files_photo_id_array":[{"photo_id":"1399597756","filename":"file5"},{"photo_id":"1399597747","filename":"file2"},{"photo_id":"1399597749","filename":"file4"},{"photo_id":"1399597746","filename":"file1"},{"photo_id":"1399597744","filename":"file0"},{"photo_id":"1399597748","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399597756":["hashtag1","hashtag2"]},{"1399597744":["hashtag1","hashtag2"]},{"1399597747":["hashtag1","hashtag2"]},{"1399597749":["hashtag1","hashtag2"]},{"1399597746":["hashtag1","hashtag2"]},{"1399597748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399597756, 1399597744, 1399597747, 1399597749, 1399597746, 1399597748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34845948219299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:07:22.808068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_54_9606.jpg', '/home/pi/Desktop/images/16122025/06/04/image_16122025_06_05_04_9734.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_24_9693.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_34_9787.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_45_10303.jpg', '/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_54_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_04_54_9606.jpg
/home/pi/Desktop/images/16122025/06/04/image_16122025_06_05_04_9734.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_24_9693.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_34_9787.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_45_10303.jpg
/home/pi/Desktop/images/16122025/06/05/image_16122025_06_05_54_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597762","1399597768","1399597761","1399597770","1399597764","1399597766"],"photo_ids_order":["1399597761","1399597762","1399597764","1399597766","1399597768","1399597770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5f0cdd1b762444dd2292ff7d03b65eef.jpg","text":"TemporaryFile(/tmp/multipartBody9095911896380039588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861703463,"filename":"image_16122025_06_05_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/16/50efc8d346554bbbab9cb1e0b6b19ccb.jpg","text":"TemporaryFile(/tmp/multipartBody3371417989499757181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861703463,"filename":"image_16122025_06_05_45_10303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c4d531a40cdd446ec0db3e83c4b63b79.jpg","text":"TemporaryFile(/tmp/multipartBody1832709039530341397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861703463,"filename":"image_16122025_06_04_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/16/aa39704cfcd14e1f934b2f1a8603386a.jpg","text":"TemporaryFile(/tmp/multipartBody7063277509043336411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861703463,"filename":"image_16122025_06_05_54_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b743b402df9550b9f6e479224e2af315.jpg","text":"TemporaryFile(/tmp/multipartBody6345857238437704568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861703463,"filename":"image_16122025_06_05_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/16/bea7f5ac9c2f95fbebd0b2463a57ef33.jpg","text":"TemporaryFile(/tmp/multipartBody3861469332794917628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861703463,"filename":"image_16122025_06_05_34_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597764","file1":"1399597762","file0":"1399597761","file4":"1399597768","file5":"1399597770","file3":"1399597766"},"map_files_photo_id_array":[{"photo_id":"1399597770","filename":"file5"},{"photo_id":"1399597764","filename":"file2"},{"photo_id":"1399597768","filename":"file4"},{"photo_id":"1399597762","filename":"file1"},{"photo_id":"1399597761","filename":"file0"},{"photo_id":"1399597766","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597762":["hashtag1","hashtag2"]},{"1399597768":["hashtag1","hashtag2"]},{"1399597761":["hashtag1","hashtag2"]},{"1399597770":["hashtag1","hashtag2"]},{"1399597764":["hashtag1","hashtag2"]},{"1399597766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597762, 1399597768, 1399597761, 1399597770, 1399597764, 1399597766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.855690002441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:08:02.422878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/06/image_16122025_06_06_34_9650.jpg', '/home/pi/Desktop/images/16122025/06/06/image_16122025_06_06_44_9804.jpg', '/home/pi/Desktop/images/16122025/06/06/image_16122025_06_06_54_9724.jpg', '/home/pi/Desktop/images/16122025/06/07/image_16122025_06_07_15_9879.jpg', '/home/pi/Desktop/images/16122025/06/07/image_16122025_06_07_24_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/06/image_16122025_06_06_34_9650.jpg
/home/pi/Desktop/images/16122025/06/06/image_16122025_06_06_44_9804.jpg
/home/pi/Desktop/images/16122025/06/06/image_16122025_06_06_54_9724.jpg
/home/pi/Desktop/images/16122025/06/07/image_16122025_06_07_15_9879.jpg
/home/pi/Desktop/images/16122025/06/07/image_16122025_06_07_24_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597780","1399597773","1399597778","1399597772","1399597775"],"photo_ids_order":["1399597772","1399597773","1399597775","1399597778","1399597780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8cbb18e310dcb693f7c1affde6d59bea.jpg","text":"TemporaryFile(/tmp/multipartBody2637889121838500386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861743058,"filename":"image_16122025_06_07_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbcbb80e900c4f4d1983dc57f1f773f3.jpg","text":"TemporaryFile(/tmp/multipartBody8390502878076197105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861743058,"filename":"image_16122025_06_06_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea0dad7c01ab478140add00abe331c5b.jpg","text":"TemporaryFile(/tmp/multipartBody597622268780091327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861743058,"filename":"image_16122025_06_07_15_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa816b4673e6f17fbf4edbc70245250d.jpg","text":"TemporaryFile(/tmp/multipartBody4420472152353687855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861743058,"filename":"image_16122025_06_06_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/16/7cb08cb56ad5cb0596c7f4ff55aa469b.jpg","text":"TemporaryFile(/tmp/multipartBody5324521340858776603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861743058,"filename":"image_16122025_06_06_54_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597775","file1":"1399597773","file0":"1399597772","file4":"1399597780","file3":"1399597778"},"map_files_photo_id_array":[{"photo_id":"1399597775","filename":"file2"},{"photo_id":"1399597780","filename":"file4"},{"photo_id":"1399597773","filename":"file1"},{"photo_id":"1399597772","filename":"file0"},{"photo_id":"1399597778","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597780":["hashtag1","hashtag2"]},{"1399597773":["hashtag1","hashtag2"]},{"1399597778":["hashtag1","hashtag2"]},{"1399597772":["hashtag1","hashtag2"]},{"1399597775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597780, 1399597773, 1399597778, 1399597772, 1399597775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.42116355895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:08:42.042691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_11_1605.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_12_1614.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_14_1629.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_16_1626.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_17_1641.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_19_1509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_11_1605.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_12_1614.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_14_1629.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_16_1626.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_17_1641.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_19_1509.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5970275402069092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:09:02.939457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/07/image_16122025_06_07_34_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/07/image_16122025_06_07_34_9733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597801"],"photo_id":"1399597801","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4d35c4be877d2d2fd528dde1f608c93.jpg","text":"TemporaryFile(/tmp/multipartBody7607375090913353405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861803478,"filename":"image_16122025_06_07_34_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399597801"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399597801"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.857074499130249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:09:22.276721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/07/image_16122025_06_08_04_9675.jpg', '/home/pi/Desktop/images/16122025/06/09/image_16122025_06_09_24_9598.jpg', '/home/pi/Desktop/images/16122025/06/09/image_16122025_06_09_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/07/image_16122025_06_08_04_9675.jpg
/home/pi/Desktop/images/16122025/06/09/image_16122025_06_09_24_9598.jpg
/home/pi/Desktop/images/16122025/06/09/image_16122025_06_09_34_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597811","1399597810","1399597807"],"photo_ids_order":["1399597807","1399597810","1399597811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee458f0c6e8e037ca4f39a111852afb3.jpg","text":"TemporaryFile(/tmp/multipartBody5970361210685257759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861822796,"filename":"image_16122025_06_09_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/16/cc7bb66ea643aec962625bfc4ad4f623.jpg","text":"TemporaryFile(/tmp/multipartBody7585574358183948146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861822796,"filename":"image_16122025_06_09_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/16/aae38fd0968788fd1f1a4ac1de4c8e71.jpg","text":"TemporaryFile(/tmp/multipartBody6052111233312088359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861822796,"filename":"image_16122025_06_08_04_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597811","file1":"1399597810","file0":"1399597807"},"map_files_photo_id_array":[{"photo_id":"1399597811","filename":"file2"},{"photo_id":"1399597810","filename":"file1"},{"photo_id":"1399597807","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597811":["hashtag1","hashtag2"]},{"1399597810":["hashtag1","hashtag2"]},{"1399597807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597811, 1399597810, 1399597807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.749906539916992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:10:03.086797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:10:12.532755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:10:22.593117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/09/image_16122025_06_09_45_10582.jpg', '/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_14_9724.jpg', '/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_25_10710.jpg', '/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_34_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/09/image_16122025_06_09_45_10582.jpg
/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_14_9724.jpg
/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_25_10710.jpg
/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_34_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597828","1399597830","1399597824","1399597823"],"photo_ids_order":["1399597823","1399597824","1399597828","1399597830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ee1b11f705a8ea7fbdec2c975f6633e.jpg","text":"TemporaryFile(/tmp/multipartBody5168594650003288548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861883236,"filename":"image_16122025_06_10_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/16/eb829a78a7f1110031fab6526c8d1c2b.jpg","text":"TemporaryFile(/tmp/multipartBody7581509277625964445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861883236,"filename":"image_16122025_06_10_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/16/0ce9b555e57b595535979f8143f34c88.jpg","text":"TemporaryFile(/tmp/multipartBody6190628286330129376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861883236,"filename":"image_16122025_06_10_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2046b7548a4cfdcfb0d4028a01ac74f4.jpg","text":"TemporaryFile(/tmp/multipartBody5673523774189311543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861883236,"filename":"image_16122025_06_09_45_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597828","file1":"1399597824","file0":"1399597823","file3":"1399597830"},"map_files_photo_id_array":[{"photo_id":"1399597828","filename":"file2"},{"photo_id":"1399597824","filename":"file1"},{"photo_id":"1399597823","filename":"file0"},{"photo_id":"1399597830","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597828":["hashtag1","hashtag2"]},{"1399597830":["hashtag1","hashtag2"]},{"1399597824":["hashtag1","hashtag2"]},{"1399597823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597828, 1399597830, 1399597824, 1399597823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.557008266448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:11:02.526920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:11:11.811066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:11:21.916565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_55_10712.jpg', '/home/pi/Desktop/images/16122025/06/10/image_16122025_06_11_04_9704.jpg', '/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_14_9752.jpg', '/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_24_9676.jpg', '/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_34_10017.jpg', '/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_45_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/10/image_16122025_06_10_55_10712.jpg
/home/pi/Desktop/images/16122025/06/10/image_16122025_06_11_04_9704.jpg
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_14_9752.jpg
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_24_9676.jpg
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_34_10017.jpg
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_45_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597855","1399597849","1399597857","1399597851","1399597865","1399597853"],"photo_ids_order":["1399597849","1399597851","1399597853","1399597855","1399597857","1399597865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e6fd2088524c1aba4f7a813f3ce6401.jpg","text":"TemporaryFile(/tmp/multipartBody5356293724108561901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861942578,"filename":"image_16122025_06_11_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/16/71af70a16d006a69a1e894b328efd236.jpg","text":"TemporaryFile(/tmp/multipartBody602834171951058898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861942578,"filename":"image_16122025_06_10_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/16/fe2e75f9a85ef52e1a5c1bbb28fa657a.jpg","text":"TemporaryFile(/tmp/multipartBody1693501387604165441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861942578,"filename":"image_16122025_06_11_34_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/16/21521b43c741a9d946f6a08a6a509843.jpg","text":"TemporaryFile(/tmp/multipartBody8670998538252730033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861942578,"filename":"image_16122025_06_11_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1783de7d1c1a0dff5ea3602b30c210de.jpg","text":"TemporaryFile(/tmp/multipartBody1063210291875498179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861942578,"filename":"image_16122025_06_11_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dbb331999af6b53c67aaef3725df025.jpg","text":"TemporaryFile(/tmp/multipartBody5077788581428786564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765861942578,"filename":"image_16122025_06_11_14_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597853","file1":"1399597851","file0":"1399597849","file4":"1399597857","file5":"1399597865","file3":"1399597855"},"map_files_photo_id_array":[{"photo_id":"1399597865","filename":"file5"},{"photo_id":"1399597853","filename":"file2"},{"photo_id":"1399597857","filename":"file4"},{"photo_id":"1399597851","filename":"file1"},{"photo_id":"1399597849","filename":"file0"},{"photo_id":"1399597855","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597855":["hashtag1","hashtag2"]},{"1399597849":["hashtag1","hashtag2"]},{"1399597857":["hashtag1","hashtag2"]},{"1399597851":["hashtag1","hashtag2"]},{"1399597865":["hashtag1","hashtag2"]},{"1399597853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597855, 1399597849, 1399597857, 1399597851, 1399597865, 1399597853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45429825782776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:12:02.570111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:12:12.104599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:12:22.266577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_54_9859.jpg', '/home/pi/Desktop/images/16122025/06/11/image_16122025_06_12_04_9401.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_15_10860.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_24_9695.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_34_10125.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_44_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_54_9859.jpg
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_12_04_9401.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_15_10860.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_24_9695.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_34_10125.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_44_9805.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.552668571472168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:12:32.138887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:12:42.095029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_11_1605.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_12_1614.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_14_1629.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_16_1626.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_17_1641.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_19_1509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_11_1605.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_12_1614.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_14_1629.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_16_1626.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_17_1641.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_19_1509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597894","1399597897","1399597899","1399597896","1399597895","1399597892"],"photo_ids_order":["1399597892","1399597894","1399597895","1399597896","1399597897","1399597899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3db58456bcdd26949005e1bae35b748.jpg","text":"TemporaryFile(/tmp/multipartBody8928864103372796771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862022686,"filename":"image_06112025_15_13_12_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/16/d8ed5dbfb112ec453b0e6a7af1e52ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7904585833715045686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862022686,"filename":"image_06112025_15_13_17_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/130e1c2c9b874f1608dc18ee0f7b4dbf.jpg","text":"TemporaryFile(/tmp/multipartBody675682227569880530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862022686,"filename":"image_06112025_15_13_19_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/16/2c7c32c7581d5c81c791671c15f9b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody4037041621189327013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862022686,"filename":"image_06112025_15_13_16_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/16/7e521331643137681c59d885fdc45eb7.jpg","text":"TemporaryFile(/tmp/multipartBody4517068664497418175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862022686,"filename":"image_06112025_15_13_14_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cab94d7586eb9e2f814f1b5332c5bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2816421074674847231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862022686,"filename":"image_06112025_15_13_11_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597895","file1":"1399597894","file0":"1399597892","file4":"1399597897","file5":"1399597899","file3":"1399597896"},"map_files_photo_id_array":[{"photo_id":"1399597899","filename":"file5"},{"photo_id":"1399597895","filename":"file2"},{"photo_id":"1399597897","filename":"file4"},{"photo_id":"1399597894","filename":"file1"},{"photo_id":"1399597892","filename":"file0"},{"photo_id":"1399597896","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399597894":["hashtag1","hashtag2"]},{"1399597897":["hashtag1","hashtag2"]},{"1399597899":["hashtag1","hashtag2"]},{"1399597896":["hashtag1","hashtag2"]},{"1399597895":["hashtag1","hashtag2"]},{"1399597892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399597894, 1399597897, 1399597899, 1399597896, 1399597895, 1399597892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.801616191864014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:13:22.373882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_54_9859.jpg', '/home/pi/Desktop/images/16122025/06/11/image_16122025_06_12_04_9401.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_15_10860.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_24_9695.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_34_10125.jpg', '/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_44_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_11_54_9859.jpg
/home/pi/Desktop/images/16122025/06/11/image_16122025_06_12_04_9401.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_15_10860.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_24_9695.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_34_10125.jpg
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_44_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597904","1399597911","1399597914","1399597908","1399597913","1399597916"],"photo_ids_order":["1399597904","1399597908","1399597911","1399597913","1399597914","1399597916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/198e900f65d080c57190f052f0da9e73.jpg","text":"TemporaryFile(/tmp/multipartBody8171403025623917763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862063036,"filename":"image_16122025_06_11_54_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c194d24301219adf1a6df486e96a14e0.jpg","text":"TemporaryFile(/tmp/multipartBody3122997499571948870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862063036,"filename":"image_16122025_06_12_15_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8dd3cef1db7b3b894e0075d284533b17.jpg","text":"TemporaryFile(/tmp/multipartBody2266798925929776869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862063036,"filename":"image_16122025_06_12_34_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/16/9e3a3c663fc8d2b29407fe71b2bc356f.jpg","text":"TemporaryFile(/tmp/multipartBody7302365141786305363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862063036,"filename":"image_16122025_06_12_04_9401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a89d4c845a0d63ad04a5e77b47ac558.jpg","text":"TemporaryFile(/tmp/multipartBody3038585050183381249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862063036,"filename":"image_16122025_06_12_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfd1b5205c33fb41dafd7bae44e8a778.jpg","text":"TemporaryFile(/tmp/multipartBody7690080643866332749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862063036,"filename":"image_16122025_06_12_44_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597911","file1":"1399597908","file0":"1399597904","file4":"1399597914","file5":"1399597916","file3":"1399597913"},"map_files_photo_id_array":[{"photo_id":"1399597916","filename":"file5"},{"photo_id":"1399597911","filename":"file2"},{"photo_id":"1399597914","filename":"file4"},{"photo_id":"1399597908","filename":"file1"},{"photo_id":"1399597904","filename":"file0"},{"photo_id":"1399597913","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597904":["hashtag1","hashtag2"]},{"1399597911":["hashtag1","hashtag2"]},{"1399597914":["hashtag1","hashtag2"]},{"1399597908":["hashtag1","hashtag2"]},{"1399597913":["hashtag1","hashtag2"]},{"1399597916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597904, 1399597911, 1399597914, 1399597908, 1399597913, 1399597916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75268292427063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:14:03.230426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_54_9785.jpg', '/home/pi/Desktop/images/16122025/06/13/image_16122025_06_13_35_9813.jpg', '/home/pi/Desktop/images/16122025/06/13/image_16122025_06_13_44_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/12/image_16122025_06_12_54_9785.jpg
/home/pi/Desktop/images/16122025/06/13/image_16122025_06_13_35_9813.jpg
/home/pi/Desktop/images/16122025/06/13/image_16122025_06_13_44_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":["1399597918","1399597927","1399597932"],"photo_ids_order":["1399597918","1399597927","1399597932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04f7f8347ed941839f5c34559a09a758.jpg","text":"TemporaryFile(/tmp/multipartBody8495361501583353410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862103866,"filename":"image_16122025_06_12_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/16/c5f7d547f54934b72e28def1282fc28f.jpg","text":"TemporaryFile(/tmp/multipartBody141240646420465695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862103866,"filename":"image_16122025_06_13_35_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b40695b9870e11360b6e5a9c0124bda2.jpg","text":"TemporaryFile(/tmp/multipartBody223979527369278861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862103866,"filename":"image_16122025_06_13_44_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597932","file1":"1399597927","file0":"1399597918"},"map_files_photo_id_array":[{"photo_id":"1399597932","filename":"file2"},{"photo_id":"1399597927","filename":"file1"},{"photo_id":"1399597918","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597918":["hashtag1","hashtag2"]},{"1399597927":["hashtag1","hashtag2"]},{"1399597932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597918, 1399597927, 1399597932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.725667238235474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:14:32.567341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:14:42.474857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_21_2677.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_24_2637.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_28_3616.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_30_2661.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_33_2633.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_37_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_21_2677.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_24_2637.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_28_3616.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_30_2661.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_33_2633.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_37_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597945","1399597948","1399597947","1399597941","1399597944","1399597949"],"photo_ids_order":["1399597941","1399597944","1399597945","1399597947","1399597948","1399597949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a25866e07535840851317b7b84153f22.jpg","text":"TemporaryFile(/tmp/multipartBody5539713363320213452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862143188,"filename":"image_06112025_15_13_28_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/16/e87e34afed9d03275c1418f32710c3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7805415010294710291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862143188,"filename":"image_06112025_15_13_33_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/16/8af23e9825ae934ccce74c1f87f4b8da.jpg","text":"TemporaryFile(/tmp/multipartBody1583594527061162725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862143188,"filename":"image_06112025_15_13_30_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/16/5410380c6a3ad1adca95af3804fe1ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5803142133773251701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862143188,"filename":"image_06112025_15_13_21_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/16/bc70090ae26bac10eddfcf7d6b208941.jpg","text":"TemporaryFile(/tmp/multipartBody716438267971846679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862143188,"filename":"image_06112025_15_13_24_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/16/4d35bdc357aae9f7ef136294cbb604c0.jpg","text":"TemporaryFile(/tmp/multipartBody5653120903090932139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862143188,"filename":"image_06112025_15_13_37_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597945","file1":"1399597944","file0":"1399597941","file4":"1399597948","file5":"1399597949","file3":"1399597947"},"map_files_photo_id_array":[{"photo_id":"1399597949","filename":"file5"},{"photo_id":"1399597945","filename":"file2"},{"photo_id":"1399597948","filename":"file4"},{"photo_id":"1399597944","filename":"file1"},{"photo_id":"1399597941","filename":"file0"},{"photo_id":"1399597947","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399597945":["hashtag1","hashtag2"]},{"1399597948":["hashtag1","hashtag2"]},{"1399597947":["hashtag1","hashtag2"]},{"1399597941":["hashtag1","hashtag2"]},{"1399597944":["hashtag1","hashtag2"]},{"1399597949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399597945, 1399597948, 1399597947, 1399597941, 1399597944, 1399597949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52090358734131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:15:22.789091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/13/image_16122025_06_13_54_9755.jpg', '/home/pi/Desktop/images/16122025/06/13/image_16122025_06_14_05_10729.jpg', '/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_14_9620.jpg', '/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_25_10593.jpg', '/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_34_9610.jpg', '/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_44_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/13/image_16122025_06_13_54_9755.jpg
/home/pi/Desktop/images/16122025/06/13/image_16122025_06_14_05_10729.jpg
/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_14_9620.jpg
/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_25_10593.jpg
/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_34_9610.jpg
/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_44_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597960","1399597965","1399597962","1399597958","1399597967","1399597955"],"photo_ids_order":["1399597955","1399597958","1399597960","1399597962","1399597965","1399597967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74c30ddbbc876ed0a433e3bb16ccf2a6.jpg","text":"TemporaryFile(/tmp/multipartBody5571551431423421927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862183449,"filename":"image_16122025_06_14_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/16/1a39cf52aafc5da419d2aa56cf2ac202.jpg","text":"TemporaryFile(/tmp/multipartBody2471630026180242141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862183449,"filename":"image_16122025_06_14_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/16/a50153f08fcbea5b94da5cb056b2c4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5655294792795093826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862183449,"filename":"image_16122025_06_14_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04dd01a521205f20fc7784243f3cccc8.jpg","text":"TemporaryFile(/tmp/multipartBody888772834193334874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862183449,"filename":"image_16122025_06_14_05_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/67b32b0dba4fcc61d2bc0e1a64e533d6.jpg","text":"TemporaryFile(/tmp/multipartBody1133744855850244107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862183449,"filename":"image_16122025_06_14_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/16/8ebd1655d050186dfc3453a4bed16be1.jpg","text":"TemporaryFile(/tmp/multipartBody7564890914025430752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862183449,"filename":"image_16122025_06_13_54_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597960","file1":"1399597958","file0":"1399597955","file4":"1399597965","file5":"1399597967","file3":"1399597962"},"map_files_photo_id_array":[{"photo_id":"1399597967","filename":"file5"},{"photo_id":"1399597960","filename":"file2"},{"photo_id":"1399597965","filename":"file4"},{"photo_id":"1399597958","filename":"file1"},{"photo_id":"1399597955","filename":"file0"},{"photo_id":"1399597962","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597960":["hashtag1","hashtag2"]},{"1399597965":["hashtag1","hashtag2"]},{"1399597962":["hashtag1","hashtag2"]},{"1399597958":["hashtag1","hashtag2"]},{"1399597967":["hashtag1","hashtag2"]},{"1399597955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597960, 1399597965, 1399597962, 1399597958, 1399597967, 1399597955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9127893447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:16:11.945164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:16:21.958568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_54_9660.jpg', '/home/pi/Desktop/images/16122025/06/14/image_16122025_06_15_05_10749.jpg', '/home/pi/Desktop/images/16122025/06/15/image_16122025_06_15_14_9681.jpg', '/home/pi/Desktop/images/16122025/06/15/image_16122025_06_15_44_9742.jpg', '/home/pi/Desktop/images/16122025/06/15/image_16122025_06_16_05_10667.jpg', '/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_14_9046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/14/image_16122025_06_14_54_9660.jpg
/home/pi/Desktop/images/16122025/06/14/image_16122025_06_15_05_10749.jpg
/home/pi/Desktop/images/16122025/06/15/image_16122025_06_15_14_9681.jpg
/home/pi/Desktop/images/16122025/06/15/image_16122025_06_15_44_9742.jpg
/home/pi/Desktop/images/16122025/06/15/image_16122025_06_16_05_10667.jpg
/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_14_9046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399597995","1399597992","1399597986","1399597980","1399597988","1399597990"],"photo_ids_order":["1399597980","1399597986","1399597988","1399597990","1399597992","1399597995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1307245444a2d48e7f8598f0332af58.jpg","text":"TemporaryFile(/tmp/multipartBody6495427840357143776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862242620,"filename":"image_16122025_06_16_14_9046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98921c3e4cf764b6a015ffb806441462.jpg","text":"TemporaryFile(/tmp/multipartBody8023744175128805804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862242620,"filename":"image_16122025_06_16_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/16/af2a41ef962806eba55d2b1c55ebbe1b.jpg","text":"TemporaryFile(/tmp/multipartBody3190598266001158885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862242620,"filename":"image_16122025_06_15_05_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d78aa503bdab2821147f2fadb6f3d573.jpg","text":"TemporaryFile(/tmp/multipartBody5544388803814920900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862242620,"filename":"image_16122025_06_14_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/16/11cbfc2e0e60513b3334c74d35fac81f.jpg","text":"TemporaryFile(/tmp/multipartBody4969916467414526612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862242620,"filename":"image_16122025_06_15_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/16/62231011694f7e3695977a25de7cc9f7.jpg","text":"TemporaryFile(/tmp/multipartBody3456034502991370143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862242620,"filename":"image_16122025_06_15_44_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399597988","file1":"1399597986","file0":"1399597980","file4":"1399597992","file5":"1399597995","file3":"1399597990"},"map_files_photo_id_array":[{"photo_id":"1399597995","filename":"file5"},{"photo_id":"1399597988","filename":"file2"},{"photo_id":"1399597992","filename":"file4"},{"photo_id":"1399597986","filename":"file1"},{"photo_id":"1399597980","filename":"file0"},{"photo_id":"1399597990","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399597995":["hashtag1","hashtag2"]},{"1399597992":["hashtag1","hashtag2"]},{"1399597986":["hashtag1","hashtag2"]},{"1399597980":["hashtag1","hashtag2"]},{"1399597988":["hashtag1","hashtag2"]},{"1399597990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399597995, 1399597992, 1399597986, 1399597980, 1399597988, 1399597990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.197674036026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:17:02.771168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_25_10738.jpg', '/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_34_9896.jpg', '/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_44_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_25_10738.jpg
/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_34_9896.jpg
/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_44_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":["1399598005","1399598007","1399598009"],"photo_ids_order":["1399598005","1399598007","1399598009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b3e15fd6a305c179b5df3efa4a365f1.jpg","text":"TemporaryFile(/tmp/multipartBody579131858425807036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862283334,"filename":"image_16122025_06_16_25_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8335a382c88ec87d9c667dcc0ab15737.jpg","text":"TemporaryFile(/tmp/multipartBody3468735338888401283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862283334,"filename":"image_16122025_06_16_34_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/16/6cab5802e8a080ce9098cf583f8cbb81.jpg","text":"TemporaryFile(/tmp/multipartBody5270502776639789378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862283334,"filename":"image_16122025_06_16_44_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598009","file1":"1399598007","file0":"1399598005"},"map_files_photo_id_array":[{"photo_id":"1399598009","filename":"file2"},{"photo_id":"1399598007","filename":"file1"},{"photo_id":"1399598005","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598005":["hashtag1","hashtag2"]},{"1399598007":["hashtag1","hashtag2"]},{"1399598009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598005, 1399598007, 1399598009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.451279640197754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:17:32.157830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:17:42.109146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_39_2603.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_42_2866.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_46_3695.jpg', '/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_48_2560.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_04_16053.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_08_3212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_39_2603.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_42_2866.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_46_3695.jpg
/home/pi/Desktop/images/06112025/15/13/image_06112025_15_13_48_2560.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_04_16053.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_08_3212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598023","1399598026","1399598025","1399598019","1399598024","1399598021"],"photo_ids_order":["1399598019","1399598021","1399598023","1399598024","1399598025","1399598026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/018cc29aa3a3d03d4b31ed489ea48ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5622610195527129225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862322853,"filename":"image_06112025_15_13_46_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/16/be604ee2ae7f5b121a6ad3f13feaa692.jpg","text":"TemporaryFile(/tmp/multipartBody6690952846752741129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862322853,"filename":"image_06112025_15_14_08_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/16/3a1d19291f8a8d42b41a43a7a5ff57bf.jpg","text":"TemporaryFile(/tmp/multipartBody644445849745923283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862322853,"filename":"image_06112025_15_14_04_16053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edcdca2463ab881af941eb5bf3d843ed.jpg","text":"TemporaryFile(/tmp/multipartBody4769643792075667055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862322853,"filename":"image_06112025_15_13_39_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/16/1acb819672573340218f88f6f1c30288.jpg","text":"TemporaryFile(/tmp/multipartBody1907392103479613682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862322853,"filename":"image_06112025_15_13_48_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/16/7580bf84e4a59db2000efeb5bdaa6981.jpg","text":"TemporaryFile(/tmp/multipartBody6094167483477387786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862322853,"filename":"image_06112025_15_13_42_2866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598023","file1":"1399598021","file0":"1399598019","file4":"1399598025","file5":"1399598026","file3":"1399598024"},"map_files_photo_id_array":[{"photo_id":"1399598026","filename":"file5"},{"photo_id":"1399598023","filename":"file2"},{"photo_id":"1399598025","filename":"file4"},{"photo_id":"1399598021","filename":"file1"},{"photo_id":"1399598019","filename":"file0"},{"photo_id":"1399598024","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598023":["hashtag1","hashtag2"]},{"1399598026":["hashtag1","hashtag2"]},{"1399598025":["hashtag1","hashtag2"]},{"1399598019":["hashtag1","hashtag2"]},{"1399598024":["hashtag1","hashtag2"]},{"1399598021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598023, 1399598026, 1399598025, 1399598019, 1399598024, 1399598021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83371877670288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:18:22.397712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_55_10629.jpg', '/home/pi/Desktop/images/16122025/06/16/image_16122025_06_17_04_9659.jpg', '/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_14_9746.jpg', '/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_24_9824.jpg', '/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_35_10577.jpg', '/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_44_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/16/image_16122025_06_16_55_10629.jpg
/home/pi/Desktop/images/16122025/06/16/image_16122025_06_17_04_9659.jpg
/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_14_9746.jpg
/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_24_9824.jpg
/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_35_10577.jpg
/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_44_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598038","1399598052","1399598034","1399598043","1399598031","1399598036"],"photo_ids_order":["1399598031","1399598034","1399598036","1399598038","1399598043","1399598052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6acd8d40c2fe0bdc50ed767a185516ab.jpg","text":"TemporaryFile(/tmp/multipartBody8032304911399327626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862363055,"filename":"image_16122025_06_17_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/16/c4a19139795cd6557ae37616a554a54c.jpg","text":"TemporaryFile(/tmp/multipartBody6995659390175130514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862363055,"filename":"image_16122025_06_17_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2645200c37d4b2a5a4594f6df2749ca.jpg","text":"TemporaryFile(/tmp/multipartBody208183987315274082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862363055,"filename":"image_16122025_06_17_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d396851f46c81ae552edb862da88097a.jpg","text":"TemporaryFile(/tmp/multipartBody5956412817935373034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862363055,"filename":"image_16122025_06_17_35_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd538a0acfc598f97af3ece5906a2ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8702664883243741445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862363055,"filename":"image_16122025_06_16_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/16/573a0ec8884f196c32bba9e4e3571813.jpg","text":"TemporaryFile(/tmp/multipartBody9001768685489677291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862363055,"filename":"image_16122025_06_17_14_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598036","file1":"1399598034","file0":"1399598031","file4":"1399598043","file5":"1399598052","file3":"1399598038"},"map_files_photo_id_array":[{"photo_id":"1399598052","filename":"file5"},{"photo_id":"1399598036","filename":"file2"},{"photo_id":"1399598043","filename":"file4"},{"photo_id":"1399598034","filename":"file1"},{"photo_id":"1399598031","filename":"file0"},{"photo_id":"1399598038","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598038":["hashtag1","hashtag2"]},{"1399598052":["hashtag1","hashtag2"]},{"1399598034":["hashtag1","hashtag2"]},{"1399598043":["hashtag1","hashtag2"]},{"1399598031":["hashtag1","hashtag2"]},{"1399598036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598038, 1399598052, 1399598034, 1399598043, 1399598031, 1399598036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.285083532333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:19:03.545341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_54_9771.jpg', '/home/pi/Desktop/images/16122025/06/17/image_16122025_06_18_04_9836.jpg', '/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_14_10591.jpg', '/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_24_9843.jpg', '/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_34_9654.jpg', '/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_45_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/17/image_16122025_06_17_54_9771.jpg
/home/pi/Desktop/images/16122025/06/17/image_16122025_06_18_04_9836.jpg
/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_14_10591.jpg
/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_24_9843.jpg
/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_34_9654.jpg
/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_45_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598065","1399598067","1399598061","1399598069","1399598071","1399598068"],"photo_ids_order":["1399598061","1399598065","1399598067","1399598068","1399598069","1399598071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e59b6f3ec9a282d03e8bf3022aea57c3.jpg","text":"TemporaryFile(/tmp/multipartBody2994152408956568072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862404344,"filename":"image_16122025_06_18_04_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b634f37c3004003f95a83587424293fe.jpg","text":"TemporaryFile(/tmp/multipartBody2820009243773166099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862404344,"filename":"image_16122025_06_18_14_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21bfe728f44122127c70d7bcf41ad735.jpg","text":"TemporaryFile(/tmp/multipartBody3631154698347640242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862404344,"filename":"image_16122025_06_17_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/048783b4d7276c220f98ef9d63b94f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3946684062372881374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862404344,"filename":"image_16122025_06_18_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/16/e027177adefc3fa2553700ad3e307cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1034388544026877785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862404344,"filename":"image_16122025_06_18_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/16/9a29f92db0d073af408b7c9d55b086f3.jpg","text":"TemporaryFile(/tmp/multipartBody4746003411510408073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862404344,"filename":"image_16122025_06_18_24_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598067","file1":"1399598065","file0":"1399598061","file4":"1399598069","file5":"1399598071","file3":"1399598068"},"map_files_photo_id_array":[{"photo_id":"1399598071","filename":"file5"},{"photo_id":"1399598067","filename":"file2"},{"photo_id":"1399598069","filename":"file4"},{"photo_id":"1399598065","filename":"file1"},{"photo_id":"1399598061","filename":"file0"},{"photo_id":"1399598068","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598065":["hashtag1","hashtag2"]},{"1399598067":["hashtag1","hashtag2"]},{"1399598061":["hashtag1","hashtag2"]},{"1399598069":["hashtag1","hashtag2"]},{"1399598071":["hashtag1","hashtag2"]},{"1399598068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598065, 1399598067, 1399598061, 1399598069, 1399598071, 1399598068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93659853935242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:19:42.745719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_10_1968.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_28_18687.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_30_1891.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_32_1635.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_33_1587.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_35_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_10_1968.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_28_18687.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_30_1891.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_32_1635.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_33_1587.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_35_1669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598077","1399598079","1399598076","1399598081","1399598078","1399598080"],"photo_ids_order":["1399598076","1399598077","1399598078","1399598079","1399598080","1399598081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35ac3e4e9e5c63730ffd5820578ff572.jpg","text":"TemporaryFile(/tmp/multipartBody7918518341566680316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862443460,"filename":"image_06112025_15_14_28_18687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7b416cd768a748ce80162f40e9b8875.jpg","text":"TemporaryFile(/tmp/multipartBody9176784532985459800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862443460,"filename":"image_06112025_15_14_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/16/68e2673a99b8fd80635ffc9372d4e026.jpg","text":"TemporaryFile(/tmp/multipartBody3834564115379858805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862443460,"filename":"image_06112025_15_14_10_1968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79962662de98754e1035e809688836c5.jpg","text":"TemporaryFile(/tmp/multipartBody6743949904944458261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862443460,"filename":"image_06112025_15_14_35_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/16/4f9b6515d37a376ded1e5e984eec7d21.jpg","text":"TemporaryFile(/tmp/multipartBody3084884295005476591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862443460,"filename":"image_06112025_15_14_30_1891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5a982dd2bc736b5e0043cac2d87adcf.jpg","text":"TemporaryFile(/tmp/multipartBody5378069783518030639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862443460,"filename":"image_06112025_15_14_33_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598078","file1":"1399598077","file0":"1399598076","file4":"1399598080","file5":"1399598081","file3":"1399598079"},"map_files_photo_id_array":[{"photo_id":"1399598081","filename":"file5"},{"photo_id":"1399598078","filename":"file2"},{"photo_id":"1399598080","filename":"file4"},{"photo_id":"1399598077","filename":"file1"},{"photo_id":"1399598076","filename":"file0"},{"photo_id":"1399598079","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598077":["hashtag1","hashtag2"]},{"1399598079":["hashtag1","hashtag2"]},{"1399598076":["hashtag1","hashtag2"]},{"1399598081":["hashtag1","hashtag2"]},{"1399598078":["hashtag1","hashtag2"]},{"1399598080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598077, 1399598079, 1399598076, 1399598081, 1399598078, 1399598080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46222805976868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:20:22.015108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_55_9875.jpg', '/home/pi/Desktop/images/16122025/06/18/image_16122025_06_19_04_9796.jpg', '/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_14_9708.jpg', '/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_24_10427.jpg', '/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_34_9807.jpg', '/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_44_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/18/image_16122025_06_18_55_9875.jpg
/home/pi/Desktop/images/16122025/06/18/image_16122025_06_19_04_9796.jpg
/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_14_9708.jpg
/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_24_10427.jpg
/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_34_9807.jpg
/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_44_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598094","1399598093","1399598087","1399598096","1399598084","1399598098"],"photo_ids_order":["1399598084","1399598087","1399598093","1399598094","1399598096","1399598098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18843c5bcce8592f37ec4daf33409a3a.jpg","text":"TemporaryFile(/tmp/multipartBody354413586069494508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862482679,"filename":"image_16122025_06_19_24_10427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fccf33ed3979128de20d9daff71477b4.jpg","text":"TemporaryFile(/tmp/multipartBody7866079414124172183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862482679,"filename":"image_16122025_06_19_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/16/2d16bc712e8871774a7724c1efde9663.jpg","text":"TemporaryFile(/tmp/multipartBody7175011240571659649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862482679,"filename":"image_16122025_06_19_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/16/b1e02a2f3841551818decf38bcf78534.jpg","text":"TemporaryFile(/tmp/multipartBody8078033770100553302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862482679,"filename":"image_16122025_06_19_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/16/1f09a09290406d65365de23097ac039d.jpg","text":"TemporaryFile(/tmp/multipartBody4730485749232122364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862482679,"filename":"image_16122025_06_18_55_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20fd1d545e1ee59703128e481b716408.jpg","text":"TemporaryFile(/tmp/multipartBody6940464999051487084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862482679,"filename":"image_16122025_06_19_44_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598093","file1":"1399598087","file0":"1399598084","file4":"1399598096","file5":"1399598098","file3":"1399598094"},"map_files_photo_id_array":[{"photo_id":"1399598098","filename":"file5"},{"photo_id":"1399598093","filename":"file2"},{"photo_id":"1399598096","filename":"file4"},{"photo_id":"1399598087","filename":"file1"},{"photo_id":"1399598084","filename":"file0"},{"photo_id":"1399598094","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598094":["hashtag1","hashtag2"]},{"1399598093":["hashtag1","hashtag2"]},{"1399598087":["hashtag1","hashtag2"]},{"1399598096":["hashtag1","hashtag2"]},{"1399598084":["hashtag1","hashtag2"]},{"1399598098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598094, 1399598093, 1399598087, 1399598096, 1399598084, 1399598098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.331981897354126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:21:02.668612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_55_10754.jpg', '/home/pi/Desktop/images/16122025/06/19/image_16122025_06_20_04_9646.jpg', '/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_14_9852.jpg', '/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_24_9639.jpg', '/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_34_10617.jpg', '/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_44_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/19/image_16122025_06_19_55_10754.jpg
/home/pi/Desktop/images/16122025/06/19/image_16122025_06_20_04_9646.jpg
/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_14_9852.jpg
/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_24_9639.jpg
/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_34_10617.jpg
/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_44_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":["1399598122","1399598113","1399598127","1399598124","1399598120","1399598117"],"photo_ids_order":["1399598113","1399598117","1399598120","1399598122","1399598124","1399598127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4eed776d8565fb9d5c68c0af087a66b8.jpg","text":"TemporaryFile(/tmp/multipartBody2185516906023196149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862523446,"filename":"image_16122025_06_20_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/286f0e2ba3eb8237c1e2e7284e40f9c7.jpg","text":"TemporaryFile(/tmp/multipartBody2191338451361721401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862523446,"filename":"image_16122025_06_19_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/16/c620b5b7ab05e4cbaf5f74bd44aa5b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5289223242448734012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862523446,"filename":"image_16122025_06_20_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/16/75b6cd51a2f1f36a994da1083cb44448.jpg","text":"TemporaryFile(/tmp/multipartBody6336672040761352819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862523446,"filename":"image_16122025_06_20_34_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/16/b585504353205d4bc5d85add39321850.jpg","text":"TemporaryFile(/tmp/multipartBody5738606042982997011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862523446,"filename":"image_16122025_06_20_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/060f26a85f6671345c8c05ac7140e917.jpg","text":"TemporaryFile(/tmp/multipartBody5605829365341599117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862523446,"filename":"image_16122025_06_20_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598120","file1":"1399598117","file0":"1399598113","file4":"1399598124","file5":"1399598127","file3":"1399598122"},"map_files_photo_id_array":[{"photo_id":"1399598127","filename":"file5"},{"photo_id":"1399598120","filename":"file2"},{"photo_id":"1399598124","filename":"file4"},{"photo_id":"1399598117","filename":"file1"},{"photo_id":"1399598113","filename":"file0"},{"photo_id":"1399598122","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598122":["hashtag1","hashtag2"]},{"1399598113":["hashtag1","hashtag2"]},{"1399598127":["hashtag1","hashtag2"]},{"1399598124":["hashtag1","hashtag2"]},{"1399598120":["hashtag1","hashtag2"]},{"1399598117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598122, 1399598113, 1399598127, 1399598124, 1399598120, 1399598117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49670195579529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:21:42.092233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_37_1692.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_49_12710.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_51_1678.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_53_1665.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_54_1745.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_56_1706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_37_1692.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_49_12710.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_51_1678.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_53_1665.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_54_1745.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_56_1706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598134","1399598137","1399598139","1399598136","1399598132","1399598135"],"photo_ids_order":["1399598132","1399598134","1399598135","1399598136","1399598137","1399598139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53a5623ed206bac6aead92c97b74d6ce.jpg","text":"TemporaryFile(/tmp/multipartBody4611880556637932821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862562849,"filename":"image_06112025_15_14_49_12710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d145d66e492441493b212fef68d728d.jpg","text":"TemporaryFile(/tmp/multipartBody7719104277027272065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862562849,"filename":"image_06112025_15_14_54_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/16/c0f128500bfb0a27e2a1b4e40d03ea97.jpg","text":"TemporaryFile(/tmp/multipartBody5525535815356443849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862562849,"filename":"image_06112025_15_14_56_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6628fd1817510d2515249bee188ae6e6.jpg","text":"TemporaryFile(/tmp/multipartBody540533815215318571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862562849,"filename":"image_06112025_15_14_53_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/16/161094eb127312429b159ac539831124.jpg","text":"TemporaryFile(/tmp/multipartBody6302688823113227492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862562849,"filename":"image_06112025_15_14_37_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/16/618add65512c6d2cfc5d05662b10082e.jpg","text":"TemporaryFile(/tmp/multipartBody3233338939964935973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862562849,"filename":"image_06112025_15_14_51_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598135","file1":"1399598134","file0":"1399598132","file4":"1399598137","file5":"1399598139","file3":"1399598136"},"map_files_photo_id_array":[{"photo_id":"1399598139","filename":"file5"},{"photo_id":"1399598135","filename":"file2"},{"photo_id":"1399598137","filename":"file4"},{"photo_id":"1399598134","filename":"file1"},{"photo_id":"1399598132","filename":"file0"},{"photo_id":"1399598136","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598134":["hashtag1","hashtag2"]},{"1399598137":["hashtag1","hashtag2"]},{"1399598139":["hashtag1","hashtag2"]},{"1399598136":["hashtag1","hashtag2"]},{"1399598132":["hashtag1","hashtag2"]},{"1399598135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598134, 1399598137, 1399598139, 1399598136, 1399598132, 1399598135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55835938453674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:22:22.402423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_55_10596.jpg', '/home/pi/Desktop/images/16122025/06/21/image_16122025_06_21_25_10615.jpg', '/home/pi/Desktop/images/16122025/06/21/image_16122025_06_21_35_9711.jpg', '/home/pi/Desktop/images/16122025/06/21/image_16122025_06_21_54_9692.jpg', '/home/pi/Desktop/images/16122025/06/21/image_16122025_06_22_04_10064.jpg', '/home/pi/Desktop/images/16122025/06/22/image_16122025_06_22_34_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/20/image_16122025_06_20_55_10596.jpg
/home/pi/Desktop/images/16122025/06/21/image_16122025_06_21_25_10615.jpg
/home/pi/Desktop/images/16122025/06/21/image_16122025_06_21_35_9711.jpg
/home/pi/Desktop/images/16122025/06/21/image_16122025_06_21_54_9692.jpg
/home/pi/Desktop/images/16122025/06/21/image_16122025_06_22_04_10064.jpg
/home/pi/Desktop/images/16122025/06/22/image_16122025_06_22_34_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598149","1399598151","1399598145","1399598148","1399598159","1399598153"],"photo_ids_order":["1399598145","1399598148","1399598149","1399598151","1399598153","1399598159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7addec375b334337476a81b8b800c7b.jpg","text":"TemporaryFile(/tmp/multipartBody8707639459373188427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862603064,"filename":"image_16122025_06_21_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/16/a016097da85654482fb36e9d0fd62648.jpg","text":"TemporaryFile(/tmp/multipartBody2726120194380804594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862603064,"filename":"image_16122025_06_21_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/16/b144ab4e5c4dcf50939c0aaddacc2e15.jpg","text":"TemporaryFile(/tmp/multipartBody3304202825176982706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862603064,"filename":"image_16122025_06_20_55_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/16/f6ddf7459204d089273d4c8d1c0d0570.jpg","text":"TemporaryFile(/tmp/multipartBody5369718706820540639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862603064,"filename":"image_16122025_06_21_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98c8429be56e95b6d872e641361877c0.jpg","text":"TemporaryFile(/tmp/multipartBody3083108346635354928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862603064,"filename":"image_16122025_06_22_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/16/c6d1792f9e18a0ca33e5d242729e0285.jpg","text":"TemporaryFile(/tmp/multipartBody2437381598345666624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862603064,"filename":"image_16122025_06_22_04_10064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598149","file1":"1399598148","file0":"1399598145","file4":"1399598153","file5":"1399598159","file3":"1399598151"},"map_files_photo_id_array":[{"photo_id":"1399598159","filename":"file5"},{"photo_id":"1399598149","filename":"file2"},{"photo_id":"1399598153","filename":"file4"},{"photo_id":"1399598148","filename":"file1"},{"photo_id":"1399598145","filename":"file0"},{"photo_id":"1399598151","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598149":["hashtag1","hashtag2"]},{"1399598151":["hashtag1","hashtag2"]},{"1399598145":["hashtag1","hashtag2"]},{"1399598148":["hashtag1","hashtag2"]},{"1399598159":["hashtag1","hashtag2"]},{"1399598153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598149, 1399598151, 1399598145, 1399598148, 1399598159, 1399598153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43991208076477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:23:03.211780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/22/image_16122025_06_22_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/22/image_16122025_06_22_44_9670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598171"],"photo_id":"1399598171","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2133ac7ba8f9fee28d09f2183e163f0a.jpg","text":"TemporaryFile(/tmp/multipartBody8894838802725122332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862643665,"filename":"image_16122025_06_22_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399598171"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399598171"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.107177495956421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:23:22.592367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/22/image_16122025_06_22_55_10667.jpg', '/home/pi/Desktop/images/16122025/06/22/image_16122025_06_23_05_9899.jpg', '/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_14_9761.jpg', '/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_24_9727.jpg', '/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_34_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/22/image_16122025_06_22_55_10667.jpg
/home/pi/Desktop/images/16122025/06/22/image_16122025_06_23_05_9899.jpg
/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_14_9761.jpg
/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_24_9727.jpg
/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_34_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598181","1399598183","1399598177","1399598185","1399598179"],"photo_ids_order":["1399598177","1399598179","1399598181","1399598183","1399598185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c06639fca3f039005991fb2d70608669.jpg","text":"TemporaryFile(/tmp/multipartBody7737095873737788032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862663202,"filename":"image_16122025_06_23_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/16/345e5862ed93355fc5fcdb9ce4f56bdf.jpg","text":"TemporaryFile(/tmp/multipartBody7417220786502601348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862663202,"filename":"image_16122025_06_23_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/16/a8e7c67652796a1d37457502e8c667fa.jpg","text":"TemporaryFile(/tmp/multipartBody7994130781285384397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862663202,"filename":"image_16122025_06_22_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/16/60e886c5815fff0fa6dc2b20cdf51af8.jpg","text":"TemporaryFile(/tmp/multipartBody8491337409116389296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862663202,"filename":"image_16122025_06_23_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2cd7a7e9905822c86e5b3923fb8f31e6.jpg","text":"TemporaryFile(/tmp/multipartBody8413396890522976572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862663202,"filename":"image_16122025_06_23_05_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598181","file1":"1399598179","file0":"1399598177","file4":"1399598185","file3":"1399598183"},"map_files_photo_id_array":[{"photo_id":"1399598181","filename":"file2"},{"photo_id":"1399598185","filename":"file4"},{"photo_id":"1399598179","filename":"file1"},{"photo_id":"1399598177","filename":"file0"},{"photo_id":"1399598183","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598181":["hashtag1","hashtag2"]},{"1399598183":["hashtag1","hashtag2"]},{"1399598177":["hashtag1","hashtag2"]},{"1399598185":["hashtag1","hashtag2"]},{"1399598179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598181, 1399598183, 1399598177, 1399598185, 1399598179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.271220207214355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:24:06.812293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:24:16.055084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:24:25.994432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_45_10860.jpg', '/home/pi/Desktop/images/16122025/06/24/image_16122025_06_24_14_9946.jpg', '/home/pi/Desktop/images/16122025/06/24/image_16122025_06_24_35_10800.jpg', '/home/pi/Desktop/images/16122025/06/24/image_16122025_06_24_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/23/image_16122025_06_23_45_10860.jpg
/home/pi/Desktop/images/16122025/06/24/image_16122025_06_24_14_9946.jpg
/home/pi/Desktop/images/16122025/06/24/image_16122025_06_24_35_10800.jpg
/home/pi/Desktop/images/16122025/06/24/image_16122025_06_24_44_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598221","1399598217","1399598219","1399598228"],"photo_ids_order":["1399598217","1399598219","1399598221","1399598228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfc1cbaa2f912080b7415b0594f00c80.jpg","text":"TemporaryFile(/tmp/multipartBody2590262905414344619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862726551,"filename":"image_16122025_06_24_35_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/16/5bdf9659d68b4655e5b8e8713ab3027a.jpg","text":"TemporaryFile(/tmp/multipartBody6583002778093585063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862726551,"filename":"image_16122025_06_23_45_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec7fbfacf951ca8781c8719b69a0408a.jpg","text":"TemporaryFile(/tmp/multipartBody8988784603326983922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862726551,"filename":"image_16122025_06_24_14_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/16/6d30bb8e5a6360e25b304cc52ab27108.jpg","text":"TemporaryFile(/tmp/multipartBody4031480115084814070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862726551,"filename":"image_16122025_06_24_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598221","file1":"1399598219","file0":"1399598217","file3":"1399598228"},"map_files_photo_id_array":[{"photo_id":"1399598221","filename":"file2"},{"photo_id":"1399598219","filename":"file1"},{"photo_id":"1399598217","filename":"file0"},{"photo_id":"1399598228","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598221":["hashtag1","hashtag2"]},{"1399598217":["hashtag1","hashtag2"]},{"1399598219":["hashtag1","hashtag2"]},{"1399598228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598221, 1399598217, 1399598219, 1399598228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.33732533454895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-16 06:25:16.971557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 06:25:28.301870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/24/image_16122025_06_25_05_10620.jpg', '/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_15_9923.jpg', '/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_24_9817.jpg', '/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_34_9779.jpg', '/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_44_9900.jpg', '/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_54_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/24/image_16122025_06_25_05_10620.jpg
/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_15_9923.jpg
/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_24_9817.jpg
/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_34_9779.jpg
/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_44_9900.jpg
/home/pi/Desktop/images/16122025/06/25/image_16122025_06_25_54_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":["1399598242","1399598250","1399598244","1399598247","1399598249","1399598240"],"photo_ids_order":["1399598240","1399598242","1399598244","1399598247","1399598249","1399598250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a613c25684b2c18e3fb651ed5224f93.jpg","text":"TemporaryFile(/tmp/multipartBody5040112986401000952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862788937,"filename":"image_16122025_06_25_15_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1613cc01cc7917a4619b15d691f3a10.jpg","text":"TemporaryFile(/tmp/multipartBody5567186052038274405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862788937,"filename":"image_16122025_06_25_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/16/6c9302cf8f16dca78732e6126993c786.jpg","text":"TemporaryFile(/tmp/multipartBody7636145630960605289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862788937,"filename":"image_16122025_06_25_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/16/34da038a74714a3f7b68bc1768359f92.jpg","text":"TemporaryFile(/tmp/multipartBody2138786962682874979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862788937,"filename":"image_16122025_06_25_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/16/ab8eff5b719d0e1db01ae662fdca47c3.jpg","text":"TemporaryFile(/tmp/multipartBody3303407239996031322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862788937,"filename":"image_16122025_06_25_44_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/16/e7c9d72d1b555a5c02b4e4e392a9a42f.jpg","text":"TemporaryFile(/tmp/multipartBody7942561201731824865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862788937,"filename":"image_16122025_06_25_05_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598244","file1":"1399598242","file0":"1399598240","file4":"1399598249","file5":"1399598250","file3":"1399598247"},"map_files_photo_id_array":[{"photo_id":"1399598250","filename":"file5"},{"photo_id":"1399598244","filename":"file2"},{"photo_id":"1399598249","filename":"file4"},{"photo_id":"1399598242","filename":"file1"},{"photo_id":"1399598240","filename":"file0"},{"photo_id":"1399598247","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598242":["hashtag1","hashtag2"]},{"1399598250":["hashtag1","hashtag2"]},{"1399598244":["hashtag1","hashtag2"]},{"1399598247":["hashtag1","hashtag2"]},{"1399598249":["hashtag1","hashtag2"]},{"1399598240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598242, 1399598250, 1399598244, 1399598247, 1399598249, 1399598240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69231915473938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:26:12.533765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:26:22.587084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/25/image_16122025_06_26_05_10765.jpg', '/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_20_15119.jpg', '/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_24_4567.jpg', '/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_34_9831.jpg', '/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_44_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/25/image_16122025_06_26_05_10765.jpg
/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_20_15119.jpg
/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_24_4567.jpg
/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_34_9831.jpg
/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_44_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598280","1399598277","1399598286","1399598294","1399598273"],"photo_ids_order":["1399598273","1399598277","1399598280","1399598286","1399598294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f24fb1641be1e054500aa08be8b173d1.jpg","text":"TemporaryFile(/tmp/multipartBody8411703276962659896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862843235,"filename":"image_16122025_06_26_24_4567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6704ffab8ea1460de27066df58ce2ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4788033566902134683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862843235,"filename":"image_16122025_06_26_20_15119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4957034a66fc7dc36a050ce18564dfd.jpg","text":"TemporaryFile(/tmp/multipartBody4751634656505294906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862843235,"filename":"image_16122025_06_26_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/16/a4836c92d38a7aa50d56b8eb450fde08.jpg","text":"TemporaryFile(/tmp/multipartBody2876332592551894980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862843235,"filename":"image_16122025_06_26_44_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/16/67f2d1bb3cfd31d5df1c341cecbf2854.jpg","text":"TemporaryFile(/tmp/multipartBody3859874668502352231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862843235,"filename":"image_16122025_06_26_05_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598280","file1":"1399598277","file0":"1399598273","file4":"1399598294","file3":"1399598286"},"map_files_photo_id_array":[{"photo_id":"1399598280","filename":"file2"},{"photo_id":"1399598294","filename":"file4"},{"photo_id":"1399598277","filename":"file1"},{"photo_id":"1399598273","filename":"file0"},{"photo_id":"1399598286","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598280":["hashtag1","hashtag2"]},{"1399598277":["hashtag1","hashtag2"]},{"1399598286":["hashtag1","hashtag2"]},{"1399598294":["hashtag1","hashtag2"]},{"1399598273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598280, 1399598277, 1399598286, 1399598294, 1399598273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.19081425666809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:27:03.426632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:27:12.771199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:27:22.733130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_55_10648.jpg', '/home/pi/Desktop/images/16122025/06/26/image_16122025_06_27_04_9623.jpg', '/home/pi/Desktop/images/16122025/06/27/image_16122025_06_27_14_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/26/image_16122025_06_26_55_10648.jpg
/home/pi/Desktop/images/16122025/06/26/image_16122025_06_27_04_9623.jpg
/home/pi/Desktop/images/16122025/06/27/image_16122025_06_27_14_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598337","1399598340","1399598342"],"photo_ids_order":["1399598337","1399598340","1399598342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/457410cb3eef4c8f8e0f9e8775204255.jpg","text":"TemporaryFile(/tmp/multipartBody2684819386154789828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862903253,"filename":"image_16122025_06_26_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d9438b5dd12b77ecc41306effd4b528.jpg","text":"TemporaryFile(/tmp/multipartBody9166588706440078706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862903253,"filename":"image_16122025_06_27_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/16/cfb501902a9c55b3e8d4c2bc9efcbbad.jpg","text":"TemporaryFile(/tmp/multipartBody5435218453052756274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862903253,"filename":"image_16122025_06_27_14_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598342","file1":"1399598340","file0":"1399598337"},"map_files_photo_id_array":[{"photo_id":"1399598342","filename":"file2"},{"photo_id":"1399598340","filename":"file1"},{"photo_id":"1399598337","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598337":["hashtag1","hashtag2"]},{"1399598340":["hashtag1","hashtag2"]},{"1399598342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598337, 1399598340, 1399598342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.30950379371643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:28:02.419559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:28:11.939381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:28:21.984780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/27/image_16122025_06_27_34_10549.jpg', '/home/pi/Desktop/images/16122025/06/27/image_16122025_06_28_05_10765.jpg', '/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_14_9782.jpg', '/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_24_9750.jpg', '/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_34_9742.jpg', '/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_45_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/27/image_16122025_06_27_34_10549.jpg
/home/pi/Desktop/images/16122025/06/27/image_16122025_06_28_05_10765.jpg
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_14_9782.jpg
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_24_9750.jpg
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_34_9742.jpg
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_45_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":["1399598362","1399598384","1399598375","1399598363","1399598365","1399598359"],"photo_ids_order":["1399598359","1399598362","1399598363","1399598365","1399598375","1399598384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/419fc386764522e16bd1498b47b5fce0.jpg","text":"TemporaryFile(/tmp/multipartBody2429196449988859073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862962644,"filename":"image_16122025_06_28_05_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f2bbfe3c84568093a41420808451078.jpg","text":"TemporaryFile(/tmp/multipartBody8455225361397830557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862962644,"filename":"image_16122025_06_28_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/effa477ae1cbcafcba07c951f46b52b7.jpg","text":"TemporaryFile(/tmp/multipartBody5421072750480943293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862962644,"filename":"image_16122025_06_28_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/16/8a7c0c7c733ff81853beaf8dd80ce36d.jpg","text":"TemporaryFile(/tmp/multipartBody2318126558069848286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862962644,"filename":"image_16122025_06_28_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96926dce1cab38f173ae77413a026e42.jpg","text":"TemporaryFile(/tmp/multipartBody3743692747544474962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862962644,"filename":"image_16122025_06_28_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/16/fc7544497cec9331895628e2c9ce2b60.jpg","text":"TemporaryFile(/tmp/multipartBody2183141417579534239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765862962644,"filename":"image_16122025_06_27_34_10549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598363","file1":"1399598362","file0":"1399598359","file4":"1399598375","file5":"1399598384","file3":"1399598365"},"map_files_photo_id_array":[{"photo_id":"1399598384","filename":"file5"},{"photo_id":"1399598363","filename":"file2"},{"photo_id":"1399598375","filename":"file4"},{"photo_id":"1399598362","filename":"file1"},{"photo_id":"1399598359","filename":"file0"},{"photo_id":"1399598365","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598362":["hashtag1","hashtag2"]},{"1399598384":["hashtag1","hashtag2"]},{"1399598375":["hashtag1","hashtag2"]},{"1399598363":["hashtag1","hashtag2"]},{"1399598365":["hashtag1","hashtag2"]},{"1399598359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598362, 1399598384, 1399598375, 1399598363, 1399598365, 1399598359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76888370513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:29:03.361940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:29:12.428178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:29:22.310003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_54_9769.jpg', '/home/pi/Desktop/images/16122025/06/28/image_16122025_06_29_04_9744.jpg', '/home/pi/Desktop/images/16122025/06/29/image_16122025_06_29_14_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_54_9769.jpg
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_29_04_9744.jpg
/home/pi/Desktop/images/16122025/06/29/image_16122025_06_29_14_9705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4161257743835449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:29:32.319331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:29:42.303238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_58_1634.jpg', '/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_59_1667.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_01_1513.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_03_1740.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_04_1582.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_06_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_58_1634.jpg
/home/pi/Desktop/images/06112025/15/14/image_06112025_15_14_59_1667.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_01_1513.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_03_1740.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_04_1582.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_06_1608.jpg
 val : 1 : upload photos 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":["1399598413","1399598416","1399598424","1399598412","1399598405","1399598414"],"photo_ids_order":["1399598405","1399598412","1399598413","1399598414","1399598416","1399598424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64d7ca37e48143fcfa2d5c0b46da3c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1979521669193287992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863043036,"filename":"image_06112025_15_15_01_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/16/a1e43b9c3d9b920f868f6e7953eb2c73.jpg","text":"TemporaryFile(/tmp/multipartBody362482685887862231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863043036,"filename":"image_06112025_15_15_04_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f99d1c4ec7fe3ba719f53bb7a2756c69.jpg","text":"TemporaryFile(/tmp/multipartBody189166641876073319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863043036,"filename":"image_06112025_15_15_06_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f46676c8a114ae7ecf44dd4264456a7.jpg","text":"TemporaryFile(/tmp/multipartBody6699023288493592175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863043036,"filename":"image_06112025_15_14_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/16/2141c3fc574a486fabd06dfe164af0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2353365647831152290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863043036,"filename":"image_06112025_15_14_58_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e010f206d68220b04bf77f36224eab9b.jpg","text":"TemporaryFile(/tmp/multipartBody4752072364650148875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863043036,"filename":"image_06112025_15_15_03_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598413","file1":"1399598412","file0":"1399598405","file4":"1399598416","file5":"1399598424","file3":"1399598414"},"map_files_photo_id_array":[{"photo_id":"1399598424","filename":"file5"},{"photo_id":"1399598413","filename":"file2"},{"photo_id":"1399598416","filename":"file4"},{"photo_id":"1399598412","filename":"file1"},{"photo_id":"1399598405","filename":"file0"},{"photo_id":"1399598414","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598413":["hashtag1","hashtag2"]},{"1399598416":["hashtag1","hashtag2"]},{"1399598424":["hashtag1","hashtag2"]},{"1399598412":["hashtag1","hashtag2"]},{"1399598405":["hashtag1","hashtag2"]},{"1399598414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598413, 1399598416, 1399598424, 1399598412, 1399598405, 1399598414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.01997971534729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:31:03.464374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_54_9769.jpg', '/home/pi/Desktop/images/16122025/06/28/image_16122025_06_29_04_9744.jpg', '/home/pi/Desktop/images/16122025/06/29/image_16122025_06_29_14_9705.jpg', '/home/pi/Desktop/images/16122025/06/29/image_16122025_06_29_45_9726.jpg', '/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_15_10675.jpg', '/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_24_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_28_54_9769.jpg
/home/pi/Desktop/images/16122025/06/28/image_16122025_06_29_04_9744.jpg
/home/pi/Desktop/images/16122025/06/29/image_16122025_06_29_14_9705.jpg
/home/pi/Desktop/images/16122025/06/29/image_16122025_06_29_45_9726.jpg
/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_15_10675.jpg
/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_24_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598449","1399598440","1399598451","1399598445","1399598447","1399598443"],"photo_ids_order":["1399598440","1399598443","1399598445","1399598447","1399598449","1399598451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58459054e93ee0bd3e84865982f4f0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1628804782956216475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863124246,"filename":"image_16122025_06_30_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2e6482ddbbbeedc495ce8e6b5e9cdf3.jpg","text":"TemporaryFile(/tmp/multipartBody2957147181501872068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863124246,"filename":"image_16122025_06_28_54_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da56d5d63ac342e64c356c4874b4769f.jpg","text":"TemporaryFile(/tmp/multipartBody29942086465615082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863124246,"filename":"image_16122025_06_30_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87fff5584abfc7b1f6366f117026f2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2291938243317289876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863124246,"filename":"image_16122025_06_29_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b665ade9fe2d6b1cb67fc3e602159ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1284360466134925775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863124246,"filename":"image_16122025_06_29_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/16/c148c85b40658df135d1a232b7f9bdaa.jpg","text":"TemporaryFile(/tmp/multipartBody7017372224979094395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863124246,"filename":"image_16122025_06_29_04_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598445","file1":"1399598443","file0":"1399598440","file4":"1399598449","file5":"1399598451","file3":"1399598447"},"map_files_photo_id_array":[{"photo_id":"1399598451","filename":"file5"},{"photo_id":"1399598445","filename":"file2"},{"photo_id":"1399598449","filename":"file4"},{"photo_id":"1399598443","filename":"file1"},{"photo_id":"1399598440","filename":"file0"},{"photo_id":"1399598447","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598449":["hashtag1","hashtag2"]},{"1399598440":["hashtag1","hashtag2"]},{"1399598451":["hashtag1","hashtag2"]},{"1399598445":["hashtag1","hashtag2"]},{"1399598447":["hashtag1","hashtag2"]},{"1399598443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598449, 1399598440, 1399598451, 1399598445, 1399598447, 1399598443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.136600494384766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:31:42.753039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_08_1725.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_09_1746.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_11_1673.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_13_1633.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_15_1807.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_16_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_08_1725.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_09_1746.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_11_1673.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_13_1633.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_15_1807.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_16_1620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598455","1399598457","1399598459","1399598468","1399598464","1399598458"],"photo_ids_order":["1399598455","1399598457","1399598458","1399598459","1399598464","1399598468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e75517d145133f85c6f832b49d50b5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7803228681622245956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863163463,"filename":"image_06112025_15_15_08_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/16/de78ea254da97c24549c36de624f785a.jpg","text":"TemporaryFile(/tmp/multipartBody5794977902321833464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863163463,"filename":"image_06112025_15_15_09_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71f406027e77548d24d2fedf02e9dff0.jpg","text":"TemporaryFile(/tmp/multipartBody1466867688292773597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863163463,"filename":"image_06112025_15_15_13_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a95ad23f431848ad01ba9da2f0a2804.jpg","text":"TemporaryFile(/tmp/multipartBody6316758192892852181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863163463,"filename":"image_06112025_15_15_16_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db324db10db1f7d48c217c1e7c912110.jpg","text":"TemporaryFile(/tmp/multipartBody121055754467125562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863163463,"filename":"image_06112025_15_15_15_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/16/4f2052d8262ec48ede014ca6df048c2a.jpg","text":"TemporaryFile(/tmp/multipartBody272054881925415612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863163463,"filename":"image_06112025_15_15_11_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598458","file1":"1399598457","file0":"1399598455","file4":"1399598464","file5":"1399598468","file3":"1399598459"},"map_files_photo_id_array":[{"photo_id":"1399598468","filename":"file5"},{"photo_id":"1399598458","filename":"file2"},{"photo_id":"1399598464","filename":"file4"},{"photo_id":"1399598457","filename":"file1"},{"photo_id":"1399598455","filename":"file0"},{"photo_id":"1399598459","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598455":["hashtag1","hashtag2"]},{"1399598457":["hashtag1","hashtag2"]},{"1399598459":["hashtag1","hashtag2"]},{"1399598468":["hashtag1","hashtag2"]},{"1399598464":["hashtag1","hashtag2"]},{"1399598458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598455, 1399598457, 1399598459, 1399598468, 1399598464, 1399598458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.742335081100464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:32:22.025592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_45_10770.jpg', '/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_54_9024.jpg', '/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_15_9766.jpg', '/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_24_9792.jpg', '/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_34_9777.jpg', '/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_44_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_45_10770.jpg
/home/pi/Desktop/images/16122025/06/30/image_16122025_06_30_54_9024.jpg
/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_15_9766.jpg
/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_24_9792.jpg
/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_34_9777.jpg
/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_44_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598473","1399598484","1399598498","1399598477","1399598492","1399598476"],"photo_ids_order":["1399598473","1399598476","1399598477","1399598484","1399598492","1399598498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c235dc3c5ab823e32de5c6f1688513b.jpg","text":"TemporaryFile(/tmp/multipartBody2780678682948499685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863202751,"filename":"image_16122025_06_30_45_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c91d281c12501b5ae3b5ba72f8f700e.jpg","text":"TemporaryFile(/tmp/multipartBody663473126695068243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863202751,"filename":"image_16122025_06_31_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/16/41a2d1670eb1411567bf1ac8eaf5d802.jpg","text":"TemporaryFile(/tmp/multipartBody7245690568676439133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863202751,"filename":"image_16122025_06_31_44_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/543d8cca0d36cbd6e9279f80e3055cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4725119459669204856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863202751,"filename":"image_16122025_06_31_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a15214559bff38a0b2863a3d6e4ba4f8.jpg","text":"TemporaryFile(/tmp/multipartBody2539080751883107841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863202751,"filename":"image_16122025_06_31_34_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0a910ae35ed457a7264bb17ab8daaf3.jpg","text":"TemporaryFile(/tmp/multipartBody2194299151753113064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863202751,"filename":"image_16122025_06_30_54_9024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598477","file1":"1399598476","file0":"1399598473","file4":"1399598492","file5":"1399598498","file3":"1399598484"},"map_files_photo_id_array":[{"photo_id":"1399598498","filename":"file5"},{"photo_id":"1399598477","filename":"file2"},{"photo_id":"1399598492","filename":"file4"},{"photo_id":"1399598476","filename":"file1"},{"photo_id":"1399598473","filename":"file0"},{"photo_id":"1399598484","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598473":["hashtag1","hashtag2"]},{"1399598484":["hashtag1","hashtag2"]},{"1399598498":["hashtag1","hashtag2"]},{"1399598477":["hashtag1","hashtag2"]},{"1399598492":["hashtag1","hashtag2"]},{"1399598476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598473, 1399598484, 1399598498, 1399598477, 1399598492, 1399598476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.059717416763306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:33:02.921609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_55_10810.jpg', '/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_14_10644.jpg', '/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_24_9699.jpg', '/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_34_9934.jpg', '/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_44_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/31/image_16122025_06_31_55_10810.jpg
/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_14_10644.jpg
/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_24_9699.jpg
/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_34_9934.jpg
/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_44_9894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598530","1399598515","1399598532","1399598528","1399598525"],"photo_ids_order":["1399598515","1399598525","1399598528","1399598530","1399598532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc08499c707a86b781cc896a131178e9.jpg","text":"TemporaryFile(/tmp/multipartBody8452906474243237211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863243579,"filename":"image_16122025_06_32_34_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/16/89240ba5cd83163598e33d67414dabcb.jpg","text":"TemporaryFile(/tmp/multipartBody6878546314170416942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863243579,"filename":"image_16122025_06_31_55_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/16/c78ea1d3504155655aba0f3e1c079abd.jpg","text":"TemporaryFile(/tmp/multipartBody6913726490256670895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863243579,"filename":"image_16122025_06_32_44_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be7c58c06f82b12ed2008a6c789e68c8.jpg","text":"TemporaryFile(/tmp/multipartBody4015129622448148911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863243579,"filename":"image_16122025_06_32_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/16/87156ec8a00f494792a1659391651cfb.jpg","text":"TemporaryFile(/tmp/multipartBody7446166584266892688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863243579,"filename":"image_16122025_06_32_14_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598528","file1":"1399598525","file0":"1399598515","file4":"1399598532","file3":"1399598530"},"map_files_photo_id_array":[{"photo_id":"1399598528","filename":"file2"},{"photo_id":"1399598532","filename":"file4"},{"photo_id":"1399598525","filename":"file1"},{"photo_id":"1399598515","filename":"file0"},{"photo_id":"1399598530","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598530":["hashtag1","hashtag2"]},{"1399598515":["hashtag1","hashtag2"]},{"1399598532":["hashtag1","hashtag2"]},{"1399598528":["hashtag1","hashtag2"]},{"1399598525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598530, 1399598515, 1399598532, 1399598528, 1399598525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.661202907562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:33:42.159480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_18_1842.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_20_1604.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_21_1711.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_23_1717.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_25_1736.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_26_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_18_1842.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_20_1604.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_21_1711.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_23_1717.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_25_1736.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_26_1745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598551","1399598544","1399598549","1399598540","1399598543","1399598542"],"photo_ids_order":["1399598540","1399598542","1399598543","1399598544","1399598549","1399598551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72fd6fd0447b0c8ada078281d70b9cef.jpg","text":"TemporaryFile(/tmp/multipartBody8597371737556452158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863282868,"filename":"image_06112025_15_15_26_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/16/d9648c9006e8d3677d9d60066e404308.jpg","text":"TemporaryFile(/tmp/multipartBody1009087032500699893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863282868,"filename":"image_06112025_15_15_23_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/16/605fd469f7d9e9bbced8762bc2369bed.jpg","text":"TemporaryFile(/tmp/multipartBody5032781310616359645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863282868,"filename":"image_06112025_15_15_25_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc24996f87f2fd7ab40701d81fd4318e.jpg","text":"TemporaryFile(/tmp/multipartBody4310629042984071227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863282868,"filename":"image_06112025_15_15_18_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d743a5a4ac13d9ac129c6f6e22bed993.jpg","text":"TemporaryFile(/tmp/multipartBody1513742628457144522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863282868,"filename":"image_06112025_15_15_21_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac00c746d11bf8698eca7dba1a1fe7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1929502530183619233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863282868,"filename":"image_06112025_15_15_20_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598543","file1":"1399598542","file0":"1399598540","file4":"1399598549","file5":"1399598551","file3":"1399598544"},"map_files_photo_id_array":[{"photo_id":"1399598551","filename":"file5"},{"photo_id":"1399598543","filename":"file2"},{"photo_id":"1399598549","filename":"file4"},{"photo_id":"1399598542","filename":"file1"},{"photo_id":"1399598540","filename":"file0"},{"photo_id":"1399598544","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598551":["hashtag1","hashtag2"]},{"1399598544":["hashtag1","hashtag2"]},{"1399598549":["hashtag1","hashtag2"]},{"1399598540":["hashtag1","hashtag2"]},{"1399598543":["hashtag1","hashtag2"]},{"1399598542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598551, 1399598544, 1399598549, 1399598540, 1399598543, 1399598542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99653220176697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:34:22.436562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_55_10682.jpg', '/home/pi/Desktop/images/16122025/06/32/image_16122025_06_33_04_9168.jpg', '/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_24_9822.jpg', '/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_34_9714.jpg', '/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_45_10737.jpg', '/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_54_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/32/image_16122025_06_32_55_10682.jpg
/home/pi/Desktop/images/16122025/06/32/image_16122025_06_33_04_9168.jpg
/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_24_9822.jpg
/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_34_9714.jpg
/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_45_10737.jpg
/home/pi/Desktop/images/16122025/06/33/image_16122025_06_33_54_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598554","1399598570","1399598558","1399598573","1399598567","1399598563"],"photo_ids_order":["1399598554","1399598558","1399598563","1399598567","1399598570","1399598573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b22f3b926d17b34efb9276f71c53004b.jpg","text":"TemporaryFile(/tmp/multipartBody174029247841559515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863323096,"filename":"image_16122025_06_32_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34ae19c1fe339846e52cef94eb7cc8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7455850217256646285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863323096,"filename":"image_16122025_06_33_45_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19f05a9a85a28c2d4febdefdc7c10d3e.jpg","text":"TemporaryFile(/tmp/multipartBody6124757489362244610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863323096,"filename":"image_16122025_06_33_04_9168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/252ba073d14265a8f1307ffd88159529.jpg","text":"TemporaryFile(/tmp/multipartBody8215832628068792979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863323096,"filename":"image_16122025_06_33_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6f3fbfe1b6cb2efd7dc651dd5b51cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3107975508888537199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863323096,"filename":"image_16122025_06_33_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/16/b459699d4cd2e6d67d0ea1eb2d617389.jpg","text":"TemporaryFile(/tmp/multipartBody3521231163713151194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863323096,"filename":"image_16122025_06_33_24_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598563","file1":"1399598558","file0":"1399598554","file4":"1399598570","file5":"1399598573","file3":"1399598567"},"map_files_photo_id_array":[{"photo_id":"1399598573","filename":"file5"},{"photo_id":"1399598563","filename":"file2"},{"photo_id":"1399598570","filename":"file4"},{"photo_id":"1399598558","filename":"file1"},{"photo_id":"1399598554","filename":"file0"},{"photo_id":"1399598567","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598554":["hashtag1","hashtag2"]},{"1399598570":["hashtag1","hashtag2"]},{"1399598558":["hashtag1","hashtag2"]},{"1399598573":["hashtag1","hashtag2"]},{"1399598567":["hashtag1","hashtag2"]},{"1399598563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598554, 1399598570, 1399598558, 1399598573, 1399598567, 1399598563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.826581716537476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:35:03.192365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_14_9853.jpg', '/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_25_10709.jpg', '/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_34_9737.jpg', '/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_44_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_14_9853.jpg
/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_25_10709.jpg
/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_34_9737.jpg
/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_44_9875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598592","1399598577","1399598593","1399598584"],"photo_ids_order":["1399598577","1399598584","1399598592","1399598593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/988f7da6d3a2abbe8a529853560ccd21.jpg","text":"TemporaryFile(/tmp/multipartBody3944145664943207383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863363810,"filename":"image_16122025_06_34_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/16/d9147e8f1f5642b236ccc86fbe3834fa.jpg","text":"TemporaryFile(/tmp/multipartBody6386104847467504235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863363810,"filename":"image_16122025_06_34_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/16/ec7ec5e526283ac8ebeb6aa6ecd590a7.jpg","text":"TemporaryFile(/tmp/multipartBody8690970221243115833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863363810,"filename":"image_16122025_06_34_44_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/16/f4db6e88653688be4f7bb20c0c64cf6b.jpg","text":"TemporaryFile(/tmp/multipartBody549676187906078531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863363810,"filename":"image_16122025_06_34_25_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598592","file1":"1399598584","file0":"1399598577","file3":"1399598593"},"map_files_photo_id_array":[{"photo_id":"1399598592","filename":"file2"},{"photo_id":"1399598584","filename":"file1"},{"photo_id":"1399598577","filename":"file0"},{"photo_id":"1399598593","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598592":["hashtag1","hashtag2"]},{"1399598577":["hashtag1","hashtag2"]},{"1399598593":["hashtag1","hashtag2"]},{"1399598584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598592, 1399598577, 1399598593, 1399598584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.95606541633606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:35:32.588731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:35:42.547558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_28_1607.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_30_1566.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_33_3652.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_36_2637.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_39_2797.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_42_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_28_1607.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_30_1566.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_33_3652.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_36_2637.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_39_2797.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_42_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598620","1399598619","1399598612","1399598621","1399598615","1399598600"],"photo_ids_order":["1399598600","1399598612","1399598615","1399598619","1399598620","1399598621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5de8c553f8bea1e624d8237271d6ec4a.jpg","text":"TemporaryFile(/tmp/multipartBody8724166594989445558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863403254,"filename":"image_06112025_15_15_39_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/16/c5cb4bc3feb6a7887521ba6c6416413c.jpg","text":"TemporaryFile(/tmp/multipartBody4939063339779856845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863403254,"filename":"image_06112025_15_15_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/16/8f4df4622dd1a23003726301afcb3625.jpg","text":"TemporaryFile(/tmp/multipartBody7063394795555353828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863403254,"filename":"image_06112025_15_15_30_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/16/ff571acaf3d0b00c7d613e19cb1946d2.jpg","text":"TemporaryFile(/tmp/multipartBody7587775056922860368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863403254,"filename":"image_06112025_15_15_42_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/16/455ee4800bf09ac9d9ec13e5cca0d919.jpg","text":"TemporaryFile(/tmp/multipartBody4033195938974069540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863403254,"filename":"image_06112025_15_15_33_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/16/1cbe3c81f2c3706655a6e15f474cd0d1.jpg","text":"TemporaryFile(/tmp/multipartBody4216388736996442764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863403254,"filename":"image_06112025_15_15_28_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598615","file1":"1399598612","file0":"1399598600","file4":"1399598620","file5":"1399598621","file3":"1399598619"},"map_files_photo_id_array":[{"photo_id":"1399598621","filename":"file5"},{"photo_id":"1399598615","filename":"file2"},{"photo_id":"1399598620","filename":"file4"},{"photo_id":"1399598612","filename":"file1"},{"photo_id":"1399598600","filename":"file0"},{"photo_id":"1399598619","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598620":["hashtag1","hashtag2"]},{"1399598619":["hashtag1","hashtag2"]},{"1399598612":["hashtag1","hashtag2"]},{"1399598621":["hashtag1","hashtag2"]},{"1399598615":["hashtag1","hashtag2"]},{"1399598600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598620, 1399598619, 1399598612, 1399598621, 1399598615, 1399598600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.093385457992554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:36:22.846598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_54_9751.jpg', '/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_14_9093.jpg', '/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_25_10670.jpg', '/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_44_10152.jpg', '/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_54_9836.jpg', '/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_15_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/34/image_16122025_06_34_54_9751.jpg
/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_14_9093.jpg
/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_25_10670.jpg
/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_44_10152.jpg
/home/pi/Desktop/images/16122025/06/35/image_16122025_06_35_54_9836.jpg
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_15_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598646","1399598631","1399598630","1399598633","1399598627","1399598636"],"photo_ids_order":["1399598627","1399598630","1399598631","1399598633","1399598636","1399598646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b69970bb2c210266f095bdb345c627ab.jpg","text":"TemporaryFile(/tmp/multipartBody4235865308754329891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863443510,"filename":"image_16122025_06_36_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/28e4a8c41a8f725d4435c68fb224c4ca.jpg","text":"TemporaryFile(/tmp/multipartBody2646515961657672999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863443510,"filename":"image_16122025_06_35_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/16/3b1611c649924da960fd360911979a99.jpg","text":"TemporaryFile(/tmp/multipartBody1637418352067854330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863443510,"filename":"image_16122025_06_35_14_9093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a62283cfd621010e17b914c62b9a0f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1303374163166036162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863443510,"filename":"image_16122025_06_35_44_10152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43895a84ca1c1f50eb2190d5bbabe349.jpg","text":"TemporaryFile(/tmp/multipartBody6300756555714254925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863443510,"filename":"image_16122025_06_34_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f9f9569aca233568c296cecf4f8e2f8.jpg","text":"TemporaryFile(/tmp/multipartBody2993868621454058497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863443510,"filename":"image_16122025_06_35_54_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598631","file1":"1399598630","file0":"1399598627","file4":"1399598636","file5":"1399598646","file3":"1399598633"},"map_files_photo_id_array":[{"photo_id":"1399598646","filename":"file5"},{"photo_id":"1399598631","filename":"file2"},{"photo_id":"1399598636","filename":"file4"},{"photo_id":"1399598630","filename":"file1"},{"photo_id":"1399598627","filename":"file0"},{"photo_id":"1399598633","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598646":["hashtag1","hashtag2"]},{"1399598631":["hashtag1","hashtag2"]},{"1399598630":["hashtag1","hashtag2"]},{"1399598633":["hashtag1","hashtag2"]},{"1399598627":["hashtag1","hashtag2"]},{"1399598636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598646, 1399598631, 1399598630, 1399598633, 1399598627, 1399598636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45018029212952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:37:02.855174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_24_9718.jpg', '/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_34_9639.jpg', '/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_45_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_24_9718.jpg
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_34_9639.jpg
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_45_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":["1399598659","1399598658","1399598660"],"photo_ids_order":["1399598658","1399598659","1399598660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab8afcf3452c324020877b3d9fd69837.jpg","text":"TemporaryFile(/tmp/multipartBody3101122456230174843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863483406,"filename":"image_16122025_06_36_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/16/57252897401e75a94c2456bbbf1e8395.jpg","text":"TemporaryFile(/tmp/multipartBody1440258828944575124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863483406,"filename":"image_16122025_06_36_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/16/afe756f7823b094562f396e7f353c67f.jpg","text":"TemporaryFile(/tmp/multipartBody1168633860639423437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863483406,"filename":"image_16122025_06_36_45_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598660","file1":"1399598659","file0":"1399598658"},"map_files_photo_id_array":[{"photo_id":"1399598660","filename":"file2"},{"photo_id":"1399598659","filename":"file1"},{"photo_id":"1399598658","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598659":["hashtag1","hashtag2"]},{"1399598658":["hashtag1","hashtag2"]},{"1399598660":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598659, 1399598658, 1399598660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.755615949630737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:37:32.117925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:37:42.065157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_45_2624.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_48_2743.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_51_3690.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_54_2667.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_57_2693.jpg', '/home/pi/Desktop/images/06112025/15/15/image_06112025_15_16_00_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_45_2624.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_48_2743.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_51_3690.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_54_2667.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_15_57_2693.jpg
/home/pi/Desktop/images/06112025/15/15/image_06112025_15_16_00_3567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598671","1399598673","1399598676","1399598675","1399598687","1399598674"],"photo_ids_order":["1399598671","1399598673","1399598674","1399598675","1399598676","1399598687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cba7fc1b309c26b4fd9c931bfe73308.jpg","text":"TemporaryFile(/tmp/multipartBody6584456357280260618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863522765,"filename":"image_06112025_15_15_45_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/16/cc8245abced1eca523a761331977ba2e.jpg","text":"TemporaryFile(/tmp/multipartBody3580472233323488047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863522765,"filename":"image_06112025_15_15_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/16/c7ed43ca41e9b2b82a9fbc3fc7282d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7178801135670096709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863522765,"filename":"image_06112025_15_15_57_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ebdfdc7d9c72ef682414a36d7ad7e458.jpg","text":"TemporaryFile(/tmp/multipartBody8919472024107266078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863522765,"filename":"image_06112025_15_15_54_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac3fba99eebf844f27eea1c903efe931.jpg","text":"TemporaryFile(/tmp/multipartBody3900792270285175593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863522765,"filename":"image_06112025_15_16_00_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/16/5b9ab1bfac40403b7bb9ffc87fbd705c.jpg","text":"TemporaryFile(/tmp/multipartBody7365743226878851095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863522765,"filename":"image_06112025_15_15_51_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598674","file1":"1399598673","file0":"1399598671","file4":"1399598676","file5":"1399598687","file3":"1399598675"},"map_files_photo_id_array":[{"photo_id":"1399598687","filename":"file5"},{"photo_id":"1399598674","filename":"file2"},{"photo_id":"1399598676","filename":"file4"},{"photo_id":"1399598673","filename":"file1"},{"photo_id":"1399598671","filename":"file0"},{"photo_id":"1399598675","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598671":["hashtag1","hashtag2"]},{"1399598673":["hashtag1","hashtag2"]},{"1399598676":["hashtag1","hashtag2"]},{"1399598675":["hashtag1","hashtag2"]},{"1399598687":["hashtag1","hashtag2"]},{"1399598674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598671, 1399598673, 1399598676, 1399598675, 1399598687, 1399598674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.756840229034424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:38:22.417540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_55_9883.jpg', '/home/pi/Desktop/images/16122025/06/36/image_16122025_06_37_04_9679.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_14_9644.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_24_10619.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_34_9827.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_44_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_55_9883.jpg
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_37_04_9679.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_14_9644.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_24_10619.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_34_9827.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_44_9820.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5466351509094238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:38:32.359805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:38:42.306368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_03_2565.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_06_3599.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_09_2829.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_12_2596.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_15_3555.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_18_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_03_2565.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_06_3599.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_09_2829.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_12_2596.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_15_3555.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_18_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598716","1399598701","1399598715","1399598711","1399598723","1399598717"],"photo_ids_order":["1399598701","1399598711","1399598715","1399598716","1399598717","1399598723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4561857b7f2638b53006113dbca4d98d.jpg","text":"TemporaryFile(/tmp/multipartBody4318694154263370442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863583006,"filename":"image_06112025_15_16_12_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/16/54e2be4b9e4846ada5bb8f5155edc342.jpg","text":"TemporaryFile(/tmp/multipartBody134787868082031171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863583006,"filename":"image_06112025_15_16_03_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/16/482814e3b9a6341390454be2c5e93456.jpg","text":"TemporaryFile(/tmp/multipartBody5554073383459503463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863583006,"filename":"image_06112025_15_16_09_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/16/e43c37de61870aad85dca3dc7799309c.jpg","text":"TemporaryFile(/tmp/multipartBody6324349657261060400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863583006,"filename":"image_06112025_15_16_06_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/16/25bca6c751952c73fa93a13040abfd5e.jpg","text":"TemporaryFile(/tmp/multipartBody4738235260241599165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863583006,"filename":"image_06112025_15_16_18_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/16/d06fb09791fe8fe27bee377da3ae2a64.jpg","text":"TemporaryFile(/tmp/multipartBody7288309237765815481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863583006,"filename":"image_06112025_15_16_15_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598715","file1":"1399598711","file0":"1399598701","file4":"1399598717","file5":"1399598723","file3":"1399598716"},"map_files_photo_id_array":[{"photo_id":"1399598723","filename":"file5"},{"photo_id":"1399598715","filename":"file2"},{"photo_id":"1399598717","filename":"file4"},{"photo_id":"1399598711","filename":"file1"},{"photo_id":"1399598701","filename":"file0"},{"photo_id":"1399598716","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598716":["hashtag1","hashtag2"]},{"1399598701":["hashtag1","hashtag2"]},{"1399598715":["hashtag1","hashtag2"]},{"1399598711":["hashtag1","hashtag2"]},{"1399598723":["hashtag1","hashtag2"]},{"1399598717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598716, 1399598701, 1399598715, 1399598711, 1399598723, 1399598717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80488610267639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:39:22.524232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_55_9883.jpg', '/home/pi/Desktop/images/16122025/06/36/image_16122025_06_37_04_9679.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_14_9644.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_24_10619.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_34_9827.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_44_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_36_55_9883.jpg
/home/pi/Desktop/images/16122025/06/36/image_16122025_06_37_04_9679.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_14_9644.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_24_10619.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_34_9827.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_44_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598743","1399598737","1399598733","1399598738","1399598741","1399598735"],"photo_ids_order":["1399598733","1399598735","1399598737","1399598738","1399598741","1399598743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df691d009e08c37e7e8886871ea9f96e.jpg","text":"TemporaryFile(/tmp/multipartBody271529848583396649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863623168,"filename":"image_16122025_06_37_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/16/232a883d8d52e934a4167bd6fd407526.jpg","text":"TemporaryFile(/tmp/multipartBody852080034026327563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863623168,"filename":"image_16122025_06_37_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/397a0e2d4552dfdd5fc30fcb72411e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2089739355353333508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863623168,"filename":"image_16122025_06_36_55_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bfa437fe5fc2350ca18f2bc2aa324747.jpg","text":"TemporaryFile(/tmp/multipartBody7980518254888742461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863623168,"filename":"image_16122025_06_37_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cad17a50644a70ba4a9c21c19125cd9d.jpg","text":"TemporaryFile(/tmp/multipartBody8722166631166895771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863623168,"filename":"image_16122025_06_37_34_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf7e22d6106951b317947e408df9de42.jpg","text":"TemporaryFile(/tmp/multipartBody7045346292680724192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863623168,"filename":"image_16122025_06_37_04_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598737","file1":"1399598735","file0":"1399598733","file4":"1399598741","file5":"1399598743","file3":"1399598738"},"map_files_photo_id_array":[{"photo_id":"1399598743","filename":"file5"},{"photo_id":"1399598737","filename":"file2"},{"photo_id":"1399598741","filename":"file4"},{"photo_id":"1399598735","filename":"file1"},{"photo_id":"1399598733","filename":"file0"},{"photo_id":"1399598738","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598743":["hashtag1","hashtag2"]},{"1399598737":["hashtag1","hashtag2"]},{"1399598733":["hashtag1","hashtag2"]},{"1399598738":["hashtag1","hashtag2"]},{"1399598741":["hashtag1","hashtag2"]},{"1399598735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598743, 1399598737, 1399598733, 1399598738, 1399598741, 1399598735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22253179550171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:40:02.363248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_54_9880.jpg', '/home/pi/Desktop/images/16122025/06/37/image_16122025_06_38_04_9814.jpg', '/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_14_10677.jpg', '/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_25_10088.jpg', '/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_35_10049.jpg', '/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_37_54_9880.jpg
/home/pi/Desktop/images/16122025/06/37/image_16122025_06_38_04_9814.jpg
/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_14_10677.jpg
/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_25_10088.jpg
/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_35_10049.jpg
/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_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":["1399598746","1399598751","1399598748","1399598750","1399598744","1399598753"],"photo_ids_order":["1399598744","1399598746","1399598748","1399598750","1399598751","1399598753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bc50aa74f54b57e40479b705db89602.jpg","text":"TemporaryFile(/tmp/multipartBody5314607833885969112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863663082,"filename":"image_16122025_06_38_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/16/aab531c0e4475b15eb42c8e0f87ee5e0.jpg","text":"TemporaryFile(/tmp/multipartBody8417187213618378400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863663082,"filename":"image_16122025_06_38_35_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/16/9c08e71ca9b185c0ef8b2c592e3939bb.jpg","text":"TemporaryFile(/tmp/multipartBody586005198582276386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863663082,"filename":"image_16122025_06_38_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec1a67e784c98eb0da0d001cf64526dc.jpg","text":"TemporaryFile(/tmp/multipartBody3789482057226889924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863663082,"filename":"image_16122025_06_38_25_10088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6ae362a1dbb54576e5b29bd6d7d809e.jpg","text":"TemporaryFile(/tmp/multipartBody6886735217055433709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863663082,"filename":"image_16122025_06_37_54_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/00f1b59113b9bdfb66ffbdee6e68034e.jpg","text":"TemporaryFile(/tmp/multipartBody2757012283213449886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863663082,"filename":"image_16122025_06_38_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598748","file1":"1399598746","file0":"1399598744","file4":"1399598751","file5":"1399598753","file3":"1399598750"},"map_files_photo_id_array":[{"photo_id":"1399598753","filename":"file5"},{"photo_id":"1399598748","filename":"file2"},{"photo_id":"1399598751","filename":"file4"},{"photo_id":"1399598746","filename":"file1"},{"photo_id":"1399598744","filename":"file0"},{"photo_id":"1399598750","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598746":["hashtag1","hashtag2"]},{"1399598751":["hashtag1","hashtag2"]},{"1399598748":["hashtag1","hashtag2"]},{"1399598750":["hashtag1","hashtag2"]},{"1399598744":["hashtag1","hashtag2"]},{"1399598753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598746, 1399598751, 1399598748, 1399598750, 1399598744, 1399598753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63755798339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:40:41.860102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_21_2687.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_24_3662.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_27_2634.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_30_2800.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_34_3796.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_36_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_21_2687.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_24_3662.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_27_2634.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_30_2800.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_34_3796.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_36_2660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5905520915985107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:41:02.792647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_54_10028.jpg', '/home/pi/Desktop/images/16122025/06/38/image_16122025_06_39_04_9954.jpg', '/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_14_9768.jpg', '/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_25_10638.jpg', '/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_34_9756.jpg', '/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/38/image_16122025_06_38_54_10028.jpg
/home/pi/Desktop/images/16122025/06/38/image_16122025_06_39_04_9954.jpg
/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_14_9768.jpg
/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_25_10638.jpg
/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_34_9756.jpg
/home/pi/Desktop/images/16122025/06/39/image_16122025_06_39_44_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598790","1399598792","1399598795","1399598783","1399598786","1399598788"],"photo_ids_order":["1399598783","1399598786","1399598788","1399598790","1399598792","1399598795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e048e1ee2bc1618e1f2dffdba91acc5f.jpg","text":"TemporaryFile(/tmp/multipartBody5166946475728794262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863723560,"filename":"image_16122025_06_39_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/16/038631ce234a466f9150364e6c9bb716.jpg","text":"TemporaryFile(/tmp/multipartBody2780911679408728262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863723560,"filename":"image_16122025_06_39_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/16/b27d4ce4d65e8613fa6f675ec9d930c1.jpg","text":"TemporaryFile(/tmp/multipartBody6283762867707082898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863723560,"filename":"image_16122025_06_39_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b6ffa69dd0a9e6f2cad637226065c96.jpg","text":"TemporaryFile(/tmp/multipartBody3630040820867080064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863723560,"filename":"image_16122025_06_38_54_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/16/3731ff78b85f1e4c5af4c93e292c2e71.jpg","text":"TemporaryFile(/tmp/multipartBody976907497999466992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863723560,"filename":"image_16122025_06_39_04_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/16/33e0fc6f4efd7821771de6f3631f0c9e.jpg","text":"TemporaryFile(/tmp/multipartBody1206543445981270868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863723560,"filename":"image_16122025_06_39_14_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598788","file1":"1399598786","file0":"1399598783","file4":"1399598792","file5":"1399598795","file3":"1399598790"},"map_files_photo_id_array":[{"photo_id":"1399598795","filename":"file5"},{"photo_id":"1399598788","filename":"file2"},{"photo_id":"1399598792","filename":"file4"},{"photo_id":"1399598786","filename":"file1"},{"photo_id":"1399598783","filename":"file0"},{"photo_id":"1399598790","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598790":["hashtag1","hashtag2"]},{"1399598792":["hashtag1","hashtag2"]},{"1399598795":["hashtag1","hashtag2"]},{"1399598783":["hashtag1","hashtag2"]},{"1399598786":["hashtag1","hashtag2"]},{"1399598788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598790, 1399598792, 1399598795, 1399598783, 1399598786, 1399598788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.818143129348755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:41:42.213525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_21_2687.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_24_3662.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_27_2634.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_30_2800.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_34_3796.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_36_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_21_2687.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_24_3662.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_27_2634.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_30_2800.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_34_3796.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_36_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598803","1399598806","1399598800","1399598802","1399598805","1399598804"],"photo_ids_order":["1399598800","1399598802","1399598803","1399598804","1399598805","1399598806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e12c565fa96502329b7134d3a66a12da.jpg","text":"TemporaryFile(/tmp/multipartBody6601948243949459312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863762840,"filename":"image_06112025_15_16_27_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/16/e34ce2093a34e9d376bd08c33bcc1461.jpg","text":"TemporaryFile(/tmp/multipartBody1396495017699886931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863762840,"filename":"image_06112025_15_16_36_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/15e5f0100cfd88e5493fd177eb0f8502.jpg","text":"TemporaryFile(/tmp/multipartBody4436752412900359003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863762840,"filename":"image_06112025_15_16_21_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/16/fe00144d5557117d6eab064e3661e362.jpg","text":"TemporaryFile(/tmp/multipartBody7100070648696884162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863762840,"filename":"image_06112025_15_16_24_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc3e22565c3b0178a7de17ef97c96993.jpg","text":"TemporaryFile(/tmp/multipartBody1069723831713311691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863762840,"filename":"image_06112025_15_16_34_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/16/30390ca31ae43a7b32504e91e67dd721.jpg","text":"TemporaryFile(/tmp/multipartBody5122278284164737294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863762840,"filename":"image_06112025_15_16_30_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598803","file1":"1399598802","file0":"1399598800","file4":"1399598805","file5":"1399598806","file3":"1399598804"},"map_files_photo_id_array":[{"photo_id":"1399598806","filename":"file5"},{"photo_id":"1399598803","filename":"file2"},{"photo_id":"1399598805","filename":"file4"},{"photo_id":"1399598802","filename":"file1"},{"photo_id":"1399598800","filename":"file0"},{"photo_id":"1399598804","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598803":["hashtag1","hashtag2"]},{"1399598806":["hashtag1","hashtag2"]},{"1399598800":["hashtag1","hashtag2"]},{"1399598802":["hashtag1","hashtag2"]},{"1399598805":["hashtag1","hashtag2"]},{"1399598804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598803, 1399598806, 1399598800, 1399598802, 1399598805, 1399598804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01743841171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:42:22.517227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/39/image_16122025_06_40_04_9694.jpg', '/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_14_9736.jpg', '/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_24_9747.jpg', '/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_35_10664.jpg', '/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_54_9686.jpg', '/home/pi/Desktop/images/16122025/06/40/image_16122025_06_41_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/39/image_16122025_06_40_04_9694.jpg
/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_14_9736.jpg
/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_24_9747.jpg
/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_35_10664.jpg
/home/pi/Desktop/images/16122025/06/40/image_16122025_06_40_54_9686.jpg
/home/pi/Desktop/images/16122025/06/40/image_16122025_06_41_04_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598812","1399598826","1399598829","1399598814","1399598819","1399598816"],"photo_ids_order":["1399598812","1399598814","1399598816","1399598819","1399598826","1399598829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e39eb518b523bbf379384ea8a0a3b8a5.jpg","text":"TemporaryFile(/tmp/multipartBody473916555629829553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863803283,"filename":"image_16122025_06_40_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ac3d334da6f3ce4fc3d629e23ce0bfb.jpg","text":"TemporaryFile(/tmp/multipartBody5506457558250909099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863803283,"filename":"image_16122025_06_40_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/16/0a3d07a0f9bd6cbaa140f2d99df43714.jpg","text":"TemporaryFile(/tmp/multipartBody8423784831211364538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863803283,"filename":"image_16122025_06_41_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0eda9fd3a15f4812ed417d9bcfff3882.jpg","text":"TemporaryFile(/tmp/multipartBody6723445713775430572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863803283,"filename":"image_16122025_06_40_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/16/91fad0cf73f43d121d87e9c08b3c7b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3508127773713786873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863803283,"filename":"image_16122025_06_40_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d22319b709b841354a6c3ccdd5a55e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1958409892098479023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863803283,"filename":"image_16122025_06_40_24_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598816","file1":"1399598814","file0":"1399598812","file4":"1399598826","file5":"1399598829","file3":"1399598819"},"map_files_photo_id_array":[{"photo_id":"1399598829","filename":"file5"},{"photo_id":"1399598816","filename":"file2"},{"photo_id":"1399598826","filename":"file4"},{"photo_id":"1399598814","filename":"file1"},{"photo_id":"1399598812","filename":"file0"},{"photo_id":"1399598819","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598812":["hashtag1","hashtag2"]},{"1399598826":["hashtag1","hashtag2"]},{"1399598829":["hashtag1","hashtag2"]},{"1399598814":["hashtag1","hashtag2"]},{"1399598819":["hashtag1","hashtag2"]},{"1399598816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598812, 1399598826, 1399598829, 1399598814, 1399598819, 1399598816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.200639724731445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:43:03.475545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_15_10763.jpg', '/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_24_9724.jpg', '/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_34_9939.jpg', '/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_44_9997.jpg', '/home/pi/Desktop/images/16122025/06/41/image_16122025_06_42_04_9917.jpg', '/home/pi/Desktop/images/16122025/06/42/image_16122025_06_42_24_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_15_10763.jpg
/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_24_9724.jpg
/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_34_9939.jpg
/home/pi/Desktop/images/16122025/06/41/image_16122025_06_41_44_9997.jpg
/home/pi/Desktop/images/16122025/06/41/image_16122025_06_42_04_9917.jpg
/home/pi/Desktop/images/16122025/06/42/image_16122025_06_42_24_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598842","1399598839","1399598843","1399598837","1399598846","1399598840"],"photo_ids_order":["1399598837","1399598839","1399598840","1399598842","1399598843","1399598846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b080f293c74201aead57302da29a7d2.jpg","text":"TemporaryFile(/tmp/multipartBody3161573862103490696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863844244,"filename":"image_16122025_06_41_44_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/133dff57cb7f88ff67534b0d0e8f4ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3937381318249108818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863844244,"filename":"image_16122025_06_41_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0859ad5b435b651365f13168c8ab6546.jpg","text":"TemporaryFile(/tmp/multipartBody2592243330393753638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863844244,"filename":"image_16122025_06_42_04_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f660ea56f5c65f939eb60cc2dd4dce7e.jpg","text":"TemporaryFile(/tmp/multipartBody9092228156667848262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863844244,"filename":"image_16122025_06_41_15_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/16/10f63d861bd2b5597de73d3b602e7105.jpg","text":"TemporaryFile(/tmp/multipartBody1918390760152059711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863844244,"filename":"image_16122025_06_42_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89fff1bdb615752fd1d9306d7ba81c06.jpg","text":"TemporaryFile(/tmp/multipartBody6169846554651690499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863844244,"filename":"image_16122025_06_41_34_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598840","file1":"1399598839","file0":"1399598837","file4":"1399598843","file5":"1399598846","file3":"1399598842"},"map_files_photo_id_array":[{"photo_id":"1399598846","filename":"file5"},{"photo_id":"1399598840","filename":"file2"},{"photo_id":"1399598843","filename":"file4"},{"photo_id":"1399598839","filename":"file1"},{"photo_id":"1399598837","filename":"file0"},{"photo_id":"1399598842","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598842":["hashtag1","hashtag2"]},{"1399598839":["hashtag1","hashtag2"]},{"1399598843":["hashtag1","hashtag2"]},{"1399598837":["hashtag1","hashtag2"]},{"1399598846":["hashtag1","hashtag2"]},{"1399598840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598842, 1399598839, 1399598843, 1399598837, 1399598846, 1399598840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00846529006958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:43:42.717127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_39_2690.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_42_2842.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_44_2603.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_48_3579.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_51_2525.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_54_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_39_2690.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_42_2842.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_44_2603.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_48_3579.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_51_2525.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_54_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":["1399598862","1399598850","1399598853","1399598861","1399598852","1399598854"],"photo_ids_order":["1399598850","1399598852","1399598853","1399598854","1399598861","1399598862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad05982da17f14bd084d083bf2b00786.jpg","text":"TemporaryFile(/tmp/multipartBody4622197082822691164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863883417,"filename":"image_06112025_15_16_54_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/16/f86566a86bc7e5e8e5427c4a2fb14e01.jpg","text":"TemporaryFile(/tmp/multipartBody7175996417199284342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863883417,"filename":"image_06112025_15_16_39_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/16/a931a0e69d194882e329392a168af1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1395437463319078549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863883417,"filename":"image_06112025_15_16_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/16/3d1c7874dd29494f97e57b33706696de.jpg","text":"TemporaryFile(/tmp/multipartBody3616269054295340571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863883417,"filename":"image_06112025_15_16_51_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/16/81652e5ed914f4c0f309f031b43ee10c.jpg","text":"TemporaryFile(/tmp/multipartBody7258902873018019591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863883417,"filename":"image_06112025_15_16_42_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/16/00a1a671f9ff9d2c5425926d4bb4f815.jpg","text":"TemporaryFile(/tmp/multipartBody3876972432765181734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863883417,"filename":"image_06112025_15_16_48_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598853","file1":"1399598852","file0":"1399598850","file4":"1399598861","file5":"1399598862","file3":"1399598854"},"map_files_photo_id_array":[{"photo_id":"1399598862","filename":"file5"},{"photo_id":"1399598853","filename":"file2"},{"photo_id":"1399598861","filename":"file4"},{"photo_id":"1399598852","filename":"file1"},{"photo_id":"1399598850","filename":"file0"},{"photo_id":"1399598854","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598862":["hashtag1","hashtag2"]},{"1399598850":["hashtag1","hashtag2"]},{"1399598853":["hashtag1","hashtag2"]},{"1399598861":["hashtag1","hashtag2"]},{"1399598852":["hashtag1","hashtag2"]},{"1399598854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598862, 1399598850, 1399598853, 1399598861, 1399598852, 1399598854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70528960227966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:44:21.984736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/42/image_16122025_06_42_54_9816.jpg', '/home/pi/Desktop/images/16122025/06/42/image_16122025_06_43_05_10826.jpg', '/home/pi/Desktop/images/16122025/06/43/image_16122025_06_43_14_9696.jpg', '/home/pi/Desktop/images/16122025/06/43/image_16122025_06_43_34_9764.jpg', '/home/pi/Desktop/images/16122025/06/43/image_16122025_06_43_54_9793.jpg', '/home/pi/Desktop/images/16122025/06/44/image_16122025_06_44_24_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/42/image_16122025_06_42_54_9816.jpg
/home/pi/Desktop/images/16122025/06/42/image_16122025_06_43_05_10826.jpg
/home/pi/Desktop/images/16122025/06/43/image_16122025_06_43_14_9696.jpg
/home/pi/Desktop/images/16122025/06/43/image_16122025_06_43_34_9764.jpg
/home/pi/Desktop/images/16122025/06/43/image_16122025_06_43_54_9793.jpg
/home/pi/Desktop/images/16122025/06/44/image_16122025_06_44_24_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598895","1399598889","1399598885","1399598879","1399598870","1399598875"],"photo_ids_order":["1399598870","1399598875","1399598879","1399598885","1399598889","1399598895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3004ddc83b29cf3bca9379e73f2dfe27.jpg","text":"TemporaryFile(/tmp/multipartBody5071828605397305477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863922716,"filename":"image_16122025_06_44_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f3c2355e8f8a8cb7903085aeed4df09.jpg","text":"TemporaryFile(/tmp/multipartBody484481338178503159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863922716,"filename":"image_16122025_06_43_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/16/3113cc159e9b824da1cbee6a4e8092d4.jpg","text":"TemporaryFile(/tmp/multipartBody4936452882648333844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863922716,"filename":"image_16122025_06_43_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/16/f796924e6680dfbb42cba09ea89347e9.jpg","text":"TemporaryFile(/tmp/multipartBody5899560588395056543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863922716,"filename":"image_16122025_06_43_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/16/127a95a9cd38297acadedea78fe91f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2398820435664474936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863922716,"filename":"image_16122025_06_42_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/16/c90ef8254e022278a24a91e9ff0f67a1.jpg","text":"TemporaryFile(/tmp/multipartBody4488072815172077934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863922716,"filename":"image_16122025_06_43_05_10826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598879","file1":"1399598875","file0":"1399598870","file4":"1399598889","file5":"1399598895","file3":"1399598885"},"map_files_photo_id_array":[{"photo_id":"1399598895","filename":"file5"},{"photo_id":"1399598879","filename":"file2"},{"photo_id":"1399598889","filename":"file4"},{"photo_id":"1399598875","filename":"file1"},{"photo_id":"1399598870","filename":"file0"},{"photo_id":"1399598885","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598895":["hashtag1","hashtag2"]},{"1399598889":["hashtag1","hashtag2"]},{"1399598885":["hashtag1","hashtag2"]},{"1399598879":["hashtag1","hashtag2"]},{"1399598870":["hashtag1","hashtag2"]},{"1399598875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598895, 1399598889, 1399598885, 1399598879, 1399598870, 1399598875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63473916053772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:45:03.030458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/44/image_16122025_06_44_34_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/44/image_16122025_06_44_34_9865.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598901"],"photo_id":"1399598901","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/038990a244c2786fbbfe7e8c26640b94.jpg","text":"TemporaryFile(/tmp/multipartBody5627459081554668628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863963499,"filename":"image_16122025_06_44_34_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399598901"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399598901"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.292570114135742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:45:22.482117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/44/image_16122025_06_44_44_10014.jpg', '/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_34_9767.jpg', '/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_44_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/44/image_16122025_06_44_44_10014.jpg
/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_34_9767.jpg
/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_44_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":["1399598914","1399598918","1399598909"],"photo_ids_order":["1399598909","1399598914","1399598918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a255f46d47b1625e8f26b4610c59069.jpg","text":"TemporaryFile(/tmp/multipartBody4021120272089816706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863983036,"filename":"image_16122025_06_45_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/312ea52b9c253805b95a4591899e88eb.jpg","text":"TemporaryFile(/tmp/multipartBody4322603721825455310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863983036,"filename":"image_16122025_06_45_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/16/8823189b2a3a872ad7dd86c8efec18cc.jpg","text":"TemporaryFile(/tmp/multipartBody8667289074912755658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765863983036,"filename":"image_16122025_06_44_44_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598918","file1":"1399598914","file0":"1399598909"},"map_files_photo_id_array":[{"photo_id":"1399598918","filename":"file2"},{"photo_id":"1399598914","filename":"file1"},{"photo_id":"1399598909","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598914":["hashtag1","hashtag2"]},{"1399598918":["hashtag1","hashtag2"]},{"1399598909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598914, 1399598918, 1399598909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.423365831375122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:46:03.206897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:46:12.761687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:46:22.749408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_55_10823.jpg', '/home/pi/Desktop/images/16122025/06/45/image_16122025_06_46_04_9755.jpg', '/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_14_9679.jpg', '/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_24_9802.jpg', '/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_35_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_55_10823.jpg
/home/pi/Desktop/images/16122025/06/45/image_16122025_06_46_04_9755.jpg
/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_14_9679.jpg
/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_24_9802.jpg
/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_35_10699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5672216415405273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:46:32.795562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:46:42.754688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_57_2751.jpg', '/home/pi/Desktop/images/06112025/15/16/image_06112025_15_17_00_2603.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_03_2809.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_06_3556.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_09_2610.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_12_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_16_57_2751.jpg
/home/pi/Desktop/images/06112025/15/16/image_06112025_15_17_00_2603.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_03_2809.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_06_3556.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_09_2610.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_12_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399598956","1399598964","1399598973","1399598960","1399598959","1399598974"],"photo_ids_order":["1399598956","1399598959","1399598960","1399598964","1399598973","1399598974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23a6bb70618766be396eb4b932735c8a.jpg","text":"TemporaryFile(/tmp/multipartBody5840331972685821486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864063449,"filename":"image_06112025_15_16_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/16/c86e345b3c0b64383d8d67eb6648ca52.jpg","text":"TemporaryFile(/tmp/multipartBody3345039227484101215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864063449,"filename":"image_06112025_15_17_06_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/16/4761823695ec064bad64eeaa6e55a727.jpg","text":"TemporaryFile(/tmp/multipartBody5749475187032362802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864063449,"filename":"image_06112025_15_17_09_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/16/650636164cc1a44777c734dd1c0b37cb.jpg","text":"TemporaryFile(/tmp/multipartBody6296585576452676449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864063449,"filename":"image_06112025_15_17_03_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/16/1b6d168d3a85fb5a853ad3cc2c5b49cd.jpg","text":"TemporaryFile(/tmp/multipartBody7946948776205222105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864063449,"filename":"image_06112025_15_17_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/16/49efe6a8681bb47f9b84963a71e850af.jpg","text":"TemporaryFile(/tmp/multipartBody4905430559976125963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864063449,"filename":"image_06112025_15_17_12_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598960","file1":"1399598959","file0":"1399598956","file4":"1399598973","file5":"1399598974","file3":"1399598964"},"map_files_photo_id_array":[{"photo_id":"1399598974","filename":"file5"},{"photo_id":"1399598960","filename":"file2"},{"photo_id":"1399598973","filename":"file4"},{"photo_id":"1399598959","filename":"file1"},{"photo_id":"1399598956","filename":"file0"},{"photo_id":"1399598964","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399598956":["hashtag1","hashtag2"]},{"1399598964":["hashtag1","hashtag2"]},{"1399598973":["hashtag1","hashtag2"]},{"1399598960":["hashtag1","hashtag2"]},{"1399598959":["hashtag1","hashtag2"]},{"1399598974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399598956, 1399598964, 1399598973, 1399598960, 1399598959, 1399598974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.274067401885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:47:22.013921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_55_10823.jpg', '/home/pi/Desktop/images/16122025/06/45/image_16122025_06_46_04_9755.jpg', '/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_14_9679.jpg', '/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_24_9802.jpg', '/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_35_10699.jpg', '/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/45/image_16122025_06_45_55_10823.jpg
/home/pi/Desktop/images/16122025/06/45/image_16122025_06_46_04_9755.jpg
/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_14_9679.jpg
/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_24_9802.jpg
/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_35_10699.jpg
/home/pi/Desktop/images/16122025/06/46/image_16122025_06_46_54_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":["1399598985","1399598979","1399598987","1399598981","1399598995","1399598983"],"photo_ids_order":["1399598979","1399598981","1399598983","1399598985","1399598987","1399598995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b209cfd7bba20f4a61361be9fee51e18.jpg","text":"TemporaryFile(/tmp/multipartBody8045797820746695331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864102731,"filename":"image_16122025_06_46_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/16/5d6925ef80fce1bfc2f850f4f884ee67.jpg","text":"TemporaryFile(/tmp/multipartBody6930207588174517700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864102731,"filename":"image_16122025_06_45_55_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1710e9082c119d2eaf7ed5ca5dd5ecb2.jpg","text":"TemporaryFile(/tmp/multipartBody7746575693003388413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864102731,"filename":"image_16122025_06_46_35_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/667024098b5f984e75f9a5c93566fe8b.jpg","text":"TemporaryFile(/tmp/multipartBody6448339616847651988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864102731,"filename":"image_16122025_06_46_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c12fb85744615373d67dcb39aee4386.jpg","text":"TemporaryFile(/tmp/multipartBody6211442319583315572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864102731,"filename":"image_16122025_06_46_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/16/acf1cc298a1a6449beca09e4b34adc47.jpg","text":"TemporaryFile(/tmp/multipartBody3840791205062653711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864102731,"filename":"image_16122025_06_46_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399598983","file1":"1399598981","file0":"1399598979","file4":"1399598987","file5":"1399598995","file3":"1399598985"},"map_files_photo_id_array":[{"photo_id":"1399598995","filename":"file5"},{"photo_id":"1399598983","filename":"file2"},{"photo_id":"1399598987","filename":"file4"},{"photo_id":"1399598981","filename":"file1"},{"photo_id":"1399598979","filename":"file0"},{"photo_id":"1399598985","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399598985":["hashtag1","hashtag2"]},{"1399598979":["hashtag1","hashtag2"]},{"1399598987":["hashtag1","hashtag2"]},{"1399598981":["hashtag1","hashtag2"]},{"1399598995":["hashtag1","hashtag2"]},{"1399598983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399598985, 1399598979, 1399598987, 1399598981, 1399598995, 1399598983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.908032178878784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:48:02.612030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_15_10725.jpg', '/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_34_9689.jpg', '/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_44_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_15_10725.jpg
/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_34_9689.jpg
/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_44_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":["1399599000","1399598996","1399598998"],"photo_ids_order":["1399598996","1399598998","1399599000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2906b016fb05f299d65d692f1828d739.jpg","text":"TemporaryFile(/tmp/multipartBody2445340277966504471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864143218,"filename":"image_16122025_06_47_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/16/c684146625f1277c1f74a7c8d72bef8a.jpg","text":"TemporaryFile(/tmp/multipartBody2158014897395134221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864143218,"filename":"image_16122025_06_47_15_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf2d7a982cf9816f9cd994ec8d563153.jpg","text":"TemporaryFile(/tmp/multipartBody3479858117310616445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864143218,"filename":"image_16122025_06_47_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599000","file1":"1399598998","file0":"1399598996"},"map_files_photo_id_array":[{"photo_id":"1399599000","filename":"file2"},{"photo_id":"1399598998","filename":"file1"},{"photo_id":"1399598996","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599000":["hashtag1","hashtag2"]},{"1399598996":["hashtag1","hashtag2"]},{"1399598998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599000, 1399598996, 1399598998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.962189435958862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:48:32.279430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 06:48:42.173356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_15_2609.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_18_2702.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_21_3661.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_24_2674.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_26_2575.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_31_4430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_15_2609.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_18_2702.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_21_3661.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_24_2674.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_26_2575.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_31_4430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599024","1399599018","1399599023","1399599026","1399599020","1399599022"],"photo_ids_order":["1399599018","1399599020","1399599022","1399599023","1399599024","1399599026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1143e2740a598f5ef3469bd9e665ecc0.jpg","text":"TemporaryFile(/tmp/multipartBody3248570130495264814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864182862,"filename":"image_06112025_15_17_26_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/16/3deb7e32186a10b60d9d5481f6d238fd.jpg","text":"TemporaryFile(/tmp/multipartBody7320624206699329535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864182862,"filename":"image_06112025_15_17_15_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/16/076817d558816a8f9d814ca454ddf184.jpg","text":"TemporaryFile(/tmp/multipartBody5347596229227695624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864182862,"filename":"image_06112025_15_17_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/16/43226e68da499f969e8f5884eba9fad8.jpg","text":"TemporaryFile(/tmp/multipartBody342391952431673037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864182862,"filename":"image_06112025_15_17_31_4430.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e8228e8d78f7d089e48b2adb50b54ab.jpg","text":"TemporaryFile(/tmp/multipartBody5176759761786423944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864182862,"filename":"image_06112025_15_17_18_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/16/51ad209465a5dadd347268cc456c4f54.jpg","text":"TemporaryFile(/tmp/multipartBody5134034632669851280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864182862,"filename":"image_06112025_15_17_21_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599022","file1":"1399599020","file0":"1399599018","file4":"1399599024","file5":"1399599026","file3":"1399599023"},"map_files_photo_id_array":[{"photo_id":"1399599026","filename":"file5"},{"photo_id":"1399599022","filename":"file2"},{"photo_id":"1399599024","filename":"file4"},{"photo_id":"1399599020","filename":"file1"},{"photo_id":"1399599018","filename":"file0"},{"photo_id":"1399599023","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399599024":["hashtag1","hashtag2"]},{"1399599018":["hashtag1","hashtag2"]},{"1399599023":["hashtag1","hashtag2"]},{"1399599026":["hashtag1","hashtag2"]},{"1399599020":["hashtag1","hashtag2"]},{"1399599022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399599024, 1399599018, 1399599023, 1399599026, 1399599020, 1399599022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5662784576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:49:22.451331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_54_9845.jpg', '/home/pi/Desktop/images/16122025/06/47/image_16122025_06_48_05_10699.jpg', '/home/pi/Desktop/images/16122025/06/48/image_16122025_06_48_15_9966.jpg', '/home/pi/Desktop/images/16122025/06/48/image_16122025_06_48_44_10635.jpg', '/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_24_9711.jpg', '/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_34_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/47/image_16122025_06_47_54_9845.jpg
/home/pi/Desktop/images/16122025/06/47/image_16122025_06_48_05_10699.jpg
/home/pi/Desktop/images/16122025/06/48/image_16122025_06_48_15_9966.jpg
/home/pi/Desktop/images/16122025/06/48/image_16122025_06_48_44_10635.jpg
/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_24_9711.jpg
/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_34_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599042","1399599044","1399599038","1399599040","1399599034","1399599037"],"photo_ids_order":["1399599034","1399599037","1399599038","1399599040","1399599042","1399599044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9aac39bebf32eed210313d70e74c807.jpg","text":"TemporaryFile(/tmp/multipartBody8025200577200741884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864223234,"filename":"image_16122025_06_49_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/252b54155956686eedb0b1452e9526ab.jpg","text":"TemporaryFile(/tmp/multipartBody6389647697964610308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864223234,"filename":"image_16122025_06_49_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b741072a85f76a8c920d3495d57807c9.jpg","text":"TemporaryFile(/tmp/multipartBody7658515643130328919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864223234,"filename":"image_16122025_06_48_15_9966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8742c00a3bcec6f30ebd7fe7d9a4a93c.jpg","text":"TemporaryFile(/tmp/multipartBody7679323085219332611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864223234,"filename":"image_16122025_06_48_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6589cc424723b39453a83e60613ace2.jpg","text":"TemporaryFile(/tmp/multipartBody2621151995038088571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864223234,"filename":"image_16122025_06_47_54_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc061a696e4bf9251ada75a4c69b8724.jpg","text":"TemporaryFile(/tmp/multipartBody6845174401687881870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864223234,"filename":"image_16122025_06_48_05_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599038","file1":"1399599037","file0":"1399599034","file4":"1399599042","file5":"1399599044","file3":"1399599040"},"map_files_photo_id_array":[{"photo_id":"1399599044","filename":"file5"},{"photo_id":"1399599038","filename":"file2"},{"photo_id":"1399599042","filename":"file4"},{"photo_id":"1399599037","filename":"file1"},{"photo_id":"1399599034","filename":"file0"},{"photo_id":"1399599040","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599042":["hashtag1","hashtag2"]},{"1399599044":["hashtag1","hashtag2"]},{"1399599038":["hashtag1","hashtag2"]},{"1399599040":["hashtag1","hashtag2"]},{"1399599034":["hashtag1","hashtag2"]},{"1399599037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599042, 1399599044, 1399599038, 1399599040, 1399599034, 1399599037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.054622411727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:50:03.159055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_44_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_44_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599053"],"photo_id":"1399599053","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d6701540c8e2aa638a63c98b66d552d.jpg","text":"TemporaryFile(/tmp/multipartBody3128309549120378692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864263623,"filename":"image_16122025_06_49_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399599053"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399599053"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.466881036758423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:50:22.659307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_55_10772.jpg', '/home/pi/Desktop/images/16122025/06/49/image_16122025_06_50_04_9634.jpg', '/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_14_9651.jpg', '/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_24_9834.jpg', '/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_34_10119.jpg', '/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_45_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/49/image_16122025_06_49_55_10772.jpg
/home/pi/Desktop/images/16122025/06/49/image_16122025_06_50_04_9634.jpg
/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_14_9651.jpg
/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_24_9834.jpg
/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_34_10119.jpg
/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_45_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599066","1399599068","1399599082","1399599070","1399599064","1399599061"],"photo_ids_order":["1399599061","1399599064","1399599066","1399599068","1399599070","1399599082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8cc8430595a339c24aed3b02f7be549b.jpg","text":"TemporaryFile(/tmp/multipartBody7636780097968544350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864283386,"filename":"image_16122025_06_50_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/16/06015f1d24c3539554e7fe4e664c38d6.jpg","text":"TemporaryFile(/tmp/multipartBody3872812285548115482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864283386,"filename":"image_16122025_06_50_24_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aad0c8f5ba0893dc59e43ff5616d461f.jpg","text":"TemporaryFile(/tmp/multipartBody3305789328560749540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864283386,"filename":"image_16122025_06_50_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33b23a7b9219908b09842ca4d1ba3407.jpg","text":"TemporaryFile(/tmp/multipartBody5393090599212777108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864283386,"filename":"image_16122025_06_50_34_10119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83c5e969f84e0e1b2549b9aa5de59daa.jpg","text":"TemporaryFile(/tmp/multipartBody2929208002328153706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864283386,"filename":"image_16122025_06_50_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/16/4fab5f557ff13f3f85b1891c392bd012.jpg","text":"TemporaryFile(/tmp/multipartBody8396643494537847597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864283386,"filename":"image_16122025_06_49_55_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599066","file1":"1399599064","file0":"1399599061","file4":"1399599070","file5":"1399599082","file3":"1399599068"},"map_files_photo_id_array":[{"photo_id":"1399599082","filename":"file5"},{"photo_id":"1399599066","filename":"file2"},{"photo_id":"1399599070","filename":"file4"},{"photo_id":"1399599064","filename":"file1"},{"photo_id":"1399599061","filename":"file0"},{"photo_id":"1399599068","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599066":["hashtag1","hashtag2"]},{"1399599068":["hashtag1","hashtag2"]},{"1399599082":["hashtag1","hashtag2"]},{"1399599070":["hashtag1","hashtag2"]},{"1399599064":["hashtag1","hashtag2"]},{"1399599061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599066, 1399599068, 1399599082, 1399599070, 1399599064, 1399599061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.302024841308594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:51:02.487953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:51:11.863641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:51:22.032821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_54_9741.jpg', '/home/pi/Desktop/images/16122025/06/50/image_16122025_06_51_04_9947.jpg', '/home/pi/Desktop/images/16122025/06/51/image_16122025_06_51_14_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/50/image_16122025_06_50_54_9741.jpg
/home/pi/Desktop/images/16122025/06/50/image_16122025_06_51_04_9947.jpg
/home/pi/Desktop/images/16122025/06/51/image_16122025_06_51_14_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599099","1399599094","1399599097"],"photo_ids_order":["1399599094","1399599097","1399599099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad84e01d4462bb94ab1e839988cddf79.jpg","text":"TemporaryFile(/tmp/multipartBody1364033851080757593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864342610,"filename":"image_16122025_06_51_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/16/e38b68c2ad577c838a44a9cfb303c77a.jpg","text":"TemporaryFile(/tmp/multipartBody1878463670536703083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864342610,"filename":"image_16122025_06_50_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/16/2b3f17bcdaf0f20a8671745d5476c6b0.jpg","text":"TemporaryFile(/tmp/multipartBody5977352619599983808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864342610,"filename":"image_16122025_06_51_04_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599099","file1":"1399599097","file0":"1399599094"},"map_files_photo_id_array":[{"photo_id":"1399599099","filename":"file2"},{"photo_id":"1399599097","filename":"file1"},{"photo_id":"1399599094","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599099":["hashtag1","hashtag2"]},{"1399599094":["hashtag1","hashtag2"]},{"1399599097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599099, 1399599094, 1399599097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.523646354675293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:52:02.893106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:52:12.473265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:52:22.462034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/51/image_16122025_06_51_24_9755.jpg', '/home/pi/Desktop/images/16122025/06/52/image_16122025_06_52_14_9721.jpg', '/home/pi/Desktop/images/16122025/06/52/image_16122025_06_52_35_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/51/image_16122025_06_51_24_9755.jpg
/home/pi/Desktop/images/16122025/06/52/image_16122025_06_52_14_9721.jpg
/home/pi/Desktop/images/16122025/06/52/image_16122025_06_52_35_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599106","1399599111","1399599108"],"photo_ids_order":["1399599106","1399599108","1399599111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/794653892a8c79b216e0a2d11cf2491d.jpg","text":"TemporaryFile(/tmp/multipartBody296455042495478173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864403067,"filename":"image_16122025_06_51_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/16/4440b2ca76dad747eb763e7d751b38c5.jpg","text":"TemporaryFile(/tmp/multipartBody6804024012080267540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864403067,"filename":"image_16122025_06_52_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/16/47e4b2c9e1d8189f9f1eae6a208b3de1.jpg","text":"TemporaryFile(/tmp/multipartBody8308874038856921041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864403067,"filename":"image_16122025_06_52_14_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599111","file1":"1399599108","file0":"1399599106"},"map_files_photo_id_array":[{"photo_id":"1399599111","filename":"file2"},{"photo_id":"1399599108","filename":"file1"},{"photo_id":"1399599106","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599106":["hashtag1","hashtag2"]},{"1399599111":["hashtag1","hashtag2"]},{"1399599108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599106, 1399599111, 1399599108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.3390793800354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:53:03.389958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:53:12.685245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:53:22.762437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/52/image_16122025_06_52_44_9758.jpg', '/home/pi/Desktop/images/16122025/06/52/image_16122025_06_53_05_10652.jpg', '/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_15_9791.jpg', '/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_24_9886.jpg', '/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_34_9650.jpg', '/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_45_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/52/image_16122025_06_52_44_9758.jpg
/home/pi/Desktop/images/16122025/06/52/image_16122025_06_53_05_10652.jpg
/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_15_9791.jpg
/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_24_9886.jpg
/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_34_9650.jpg
/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_45_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599135","1399599137","1399599131","1399599145","1399599130","1399599133"],"photo_ids_order":["1399599130","1399599131","1399599133","1399599135","1399599137","1399599145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2582c527d7f0153b06f32a2424099b6.jpg","text":"TemporaryFile(/tmp/multipartBody6269832454823702808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864463463,"filename":"image_16122025_06_53_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/16/b617e9379c230dc8272fddb66bd6609b.jpg","text":"TemporaryFile(/tmp/multipartBody8985195414891403536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864463463,"filename":"image_16122025_06_53_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/16/c55ec0f4ba6b6d51cf55123a457ff471.jpg","text":"TemporaryFile(/tmp/multipartBody519520073984457219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864463463,"filename":"image_16122025_06_53_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6fd6cc2b99a95de65d402b0d2fd080f.jpg","text":"TemporaryFile(/tmp/multipartBody2585393883814108937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864463463,"filename":"image_16122025_06_53_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38863379f29cabe8786ff2555437ae03.jpg","text":"TemporaryFile(/tmp/multipartBody3727296602190845751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864463463,"filename":"image_16122025_06_52_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/16/aec6f0a95e92b728ef6de775f4d9cf41.jpg","text":"TemporaryFile(/tmp/multipartBody411516508993370166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864463463,"filename":"image_16122025_06_53_15_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599133","file1":"1399599131","file0":"1399599130","file4":"1399599137","file5":"1399599145","file3":"1399599135"},"map_files_photo_id_array":[{"photo_id":"1399599145","filename":"file5"},{"photo_id":"1399599133","filename":"file2"},{"photo_id":"1399599137","filename":"file4"},{"photo_id":"1399599131","filename":"file1"},{"photo_id":"1399599130","filename":"file0"},{"photo_id":"1399599135","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599135":["hashtag1","hashtag2"]},{"1399599137":["hashtag1","hashtag2"]},{"1399599131":["hashtag1","hashtag2"]},{"1399599145":["hashtag1","hashtag2"]},{"1399599130":["hashtag1","hashtag2"]},{"1399599133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599135, 1399599137, 1399599131, 1399599145, 1399599130, 1399599133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.883704662323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:54:02.926491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:54:12.056405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:54:22.116492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_55_9844.jpg', '/home/pi/Desktop/images/16122025/06/53/image_16122025_06_54_04_9858.jpg', '/home/pi/Desktop/images/16122025/06/54/image_16122025_06_54_14_9934.jpg', '/home/pi/Desktop/images/16122025/06/54/image_16122025_06_54_24_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/53/image_16122025_06_53_55_9844.jpg
/home/pi/Desktop/images/16122025/06/53/image_16122025_06_54_04_9858.jpg
/home/pi/Desktop/images/16122025/06/54/image_16122025_06_54_14_9934.jpg
/home/pi/Desktop/images/16122025/06/54/image_16122025_06_54_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":["1399599162","1399599164","1399599158","1399599160"],"photo_ids_order":["1399599158","1399599160","1399599162","1399599164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6dbce98cc9df090ef76904de3e146c20.jpg","text":"TemporaryFile(/tmp/multipartBody3089466411802895216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864522705,"filename":"image_16122025_06_54_14_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e476f5aa082726f90c335fdacf6deca1.jpg","text":"TemporaryFile(/tmp/multipartBody8121255333340649576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864522705,"filename":"image_16122025_06_54_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d480c2ddf6cddd6ed8a945930df4c43.jpg","text":"TemporaryFile(/tmp/multipartBody9081287977964746649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864522705,"filename":"image_16122025_06_53_55_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/16/6d5475a9714abfc0de29c96003fb3fcb.jpg","text":"TemporaryFile(/tmp/multipartBody6004636027907990411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864522705,"filename":"image_16122025_06_54_04_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599162","file1":"1399599160","file0":"1399599158","file3":"1399599164"},"map_files_photo_id_array":[{"photo_id":"1399599162","filename":"file2"},{"photo_id":"1399599160","filename":"file1"},{"photo_id":"1399599158","filename":"file0"},{"photo_id":"1399599164","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599162":["hashtag1","hashtag2"]},{"1399599164":["hashtag1","hashtag2"]},{"1399599158":["hashtag1","hashtag2"]},{"1399599160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599162, 1399599164, 1399599158, 1399599160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.829771041870117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:55:02.875707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:55:12.345360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:55:22.348631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/54/image_16122025_06_54_34_10120.jpg', '/home/pi/Desktop/images/16122025/06/54/image_16122025_06_55_05_10786.jpg', '/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_14_9738.jpg', '/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_24_9707.jpg', '/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_35_10540.jpg', '/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_44_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/54/image_16122025_06_54_34_10120.jpg
/home/pi/Desktop/images/16122025/06/54/image_16122025_06_55_05_10786.jpg
/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_14_9738.jpg
/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_24_9707.jpg
/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_35_10540.jpg
/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_44_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":["1399599198","1399599191","1399599194","1399599188","1399599196","1399599200"],"photo_ids_order":["1399599188","1399599191","1399599194","1399599196","1399599198","1399599200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3007b65df023937a14277c82866009c6.jpg","text":"TemporaryFile(/tmp/multipartBody4884668063358859803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864583057,"filename":"image_16122025_06_55_35_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75daacdc6de98bb9de74a96e00a58021.jpg","text":"TemporaryFile(/tmp/multipartBody278023541390906073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864583057,"filename":"image_16122025_06_55_05_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f921ed9f295712c952c28c5fb8a185a.jpg","text":"TemporaryFile(/tmp/multipartBody7944823396850340210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864583057,"filename":"image_16122025_06_55_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/16/61955776c05e75da956cfffa30f33ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2100182959070960976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864583057,"filename":"image_16122025_06_54_34_10120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17d7c2b8a816a70e93600089aca82021.jpg","text":"TemporaryFile(/tmp/multipartBody8527775821348763406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864583057,"filename":"image_16122025_06_55_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/16/aa791f55abd49aea4938b229dc02e650.jpg","text":"TemporaryFile(/tmp/multipartBody4312121431706348511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864583057,"filename":"image_16122025_06_55_44_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599194","file1":"1399599191","file0":"1399599188","file4":"1399599198","file5":"1399599200","file3":"1399599196"},"map_files_photo_id_array":[{"photo_id":"1399599200","filename":"file5"},{"photo_id":"1399599194","filename":"file2"},{"photo_id":"1399599198","filename":"file4"},{"photo_id":"1399599191","filename":"file1"},{"photo_id":"1399599188","filename":"file0"},{"photo_id":"1399599196","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599198":["hashtag1","hashtag2"]},{"1399599191":["hashtag1","hashtag2"]},{"1399599194":["hashtag1","hashtag2"]},{"1399599188":["hashtag1","hashtag2"]},{"1399599196":["hashtag1","hashtag2"]},{"1399599200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599198, 1399599191, 1399599194, 1399599188, 1399599196, 1399599200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.463468074798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:56:02.954372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:56:12.502599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:56:22.549975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_54_9745.jpg', '/home/pi/Desktop/images/16122025/06/55/image_16122025_06_56_04_9699.jpg', '/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_15_10850.jpg', '/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_24_9664.jpg', '/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_34_9658.jpg', '/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_44_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/55/image_16122025_06_55_54_9745.jpg
/home/pi/Desktop/images/16122025/06/55/image_16122025_06_56_04_9699.jpg
/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_15_10850.jpg
/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_24_9664.jpg
/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_34_9658.jpg
/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_44_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599217","1399599207","1399599209","1399599212","1399599211","1399599214"],"photo_ids_order":["1399599207","1399599209","1399599211","1399599212","1399599214","1399599217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70afa4659117d8d0c101ac3048276805.jpg","text":"TemporaryFile(/tmp/multipartBody4671307030621897072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864643210,"filename":"image_16122025_06_56_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/16/0a8a2ec267484bf45951864b5de72bea.jpg","text":"TemporaryFile(/tmp/multipartBody6256313722983481001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864643210,"filename":"image_16122025_06_55_54_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae136716db82c03333b5ed28aeac65d7.jpg","text":"TemporaryFile(/tmp/multipartBody6746065460014780118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864643210,"filename":"image_16122025_06_56_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/16/07113fc93418e36b71c5a1aa1c20cc22.jpg","text":"TemporaryFile(/tmp/multipartBody1725081856838070977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864643210,"filename":"image_16122025_06_56_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4d04b2843213f2c478c6c74423d294e.jpg","text":"TemporaryFile(/tmp/multipartBody301314965103842540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864643210,"filename":"image_16122025_06_56_15_10850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd2bb4ad5447708a439cc614d7f8a101.jpg","text":"TemporaryFile(/tmp/multipartBody4589199076153258598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864643210,"filename":"image_16122025_06_56_34_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599211","file1":"1399599209","file0":"1399599207","file4":"1399599214","file5":"1399599217","file3":"1399599212"},"map_files_photo_id_array":[{"photo_id":"1399599217","filename":"file5"},{"photo_id":"1399599211","filename":"file2"},{"photo_id":"1399599214","filename":"file4"},{"photo_id":"1399599209","filename":"file1"},{"photo_id":"1399599207","filename":"file0"},{"photo_id":"1399599212","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599217":["hashtag1","hashtag2"]},{"1399599207":["hashtag1","hashtag2"]},{"1399599209":["hashtag1","hashtag2"]},{"1399599212":["hashtag1","hashtag2"]},{"1399599211":["hashtag1","hashtag2"]},{"1399599214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599217, 1399599207, 1399599209, 1399599212, 1399599211, 1399599214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93022155761719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:57:03.318463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 06:57:12.692665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 06:57:22.733606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_55_10862.jpg', '/home/pi/Desktop/images/16122025/06/56/image_16122025_06_57_04_9711.jpg', '/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_14_9695.jpg', '/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_25_10617.jpg', '/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_34_9614.jpg', '/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/56/image_16122025_06_56_55_10862.jpg
/home/pi/Desktop/images/16122025/06/56/image_16122025_06_57_04_9711.jpg
/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_14_9695.jpg
/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_25_10617.jpg
/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_34_9614.jpg
/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_44_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599249","1399599240","1399599243","1399599246","1399599242","1399599238"],"photo_ids_order":["1399599238","1399599240","1399599242","1399599243","1399599246","1399599249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de7f5cc431575efb30207721ed404087.jpg","text":"TemporaryFile(/tmp/multipartBody1990961992859489398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864703393,"filename":"image_16122025_06_57_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8148bd6e3c351e4cade3299da57a3907.jpg","text":"TemporaryFile(/tmp/multipartBody4343786736118060875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864703393,"filename":"image_16122025_06_57_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/16/39662a44e4b41d7b96263203c0c1ed95.jpg","text":"TemporaryFile(/tmp/multipartBody645279394690915745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864703393,"filename":"image_16122025_06_57_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/16/a9dec2e07d34ee1f2810f83bdb6f950c.jpg","text":"TemporaryFile(/tmp/multipartBody2787138480898499278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864703393,"filename":"image_16122025_06_57_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/16/5a4ff5cc0aa695d7b44680ce7e5b866d.jpg","text":"TemporaryFile(/tmp/multipartBody817156618641670016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864703393,"filename":"image_16122025_06_57_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/16/82a2a44c0803b07125aa7916a6f6f82c.jpg","text":"TemporaryFile(/tmp/multipartBody1750805863789433311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864703393,"filename":"image_16122025_06_56_55_10862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599242","file1":"1399599240","file0":"1399599238","file4":"1399599246","file5":"1399599249","file3":"1399599243"},"map_files_photo_id_array":[{"photo_id":"1399599249","filename":"file5"},{"photo_id":"1399599242","filename":"file2"},{"photo_id":"1399599246","filename":"file4"},{"photo_id":"1399599240","filename":"file1"},{"photo_id":"1399599238","filename":"file0"},{"photo_id":"1399599243","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599249":["hashtag1","hashtag2"]},{"1399599240":["hashtag1","hashtag2"]},{"1399599243":["hashtag1","hashtag2"]},{"1399599246":["hashtag1","hashtag2"]},{"1399599242":["hashtag1","hashtag2"]},{"1399599238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599249, 1399599240, 1399599243, 1399599246, 1399599242, 1399599238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73807454109192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 06:59:03.365501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_55_10775.jpg', '/home/pi/Desktop/images/16122025/06/57/image_16122025_06_58_04_9797.jpg', '/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_14_9837.jpg', '/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_24_9614.jpg', '/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_35_10608.jpg', '/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/57/image_16122025_06_57_55_10775.jpg
/home/pi/Desktop/images/16122025/06/57/image_16122025_06_58_04_9797.jpg
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_14_9837.jpg
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_24_9614.jpg
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_35_10608.jpg
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_44_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599267","1399599261","1399599263","1399599257","1399599265","1399599253"],"photo_ids_order":["1399599253","1399599257","1399599261","1399599263","1399599265","1399599267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f21636f655199120bb38aefe5fa6d3b.jpg","text":"TemporaryFile(/tmp/multipartBody3250179046237862369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864804135,"filename":"image_16122025_06_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/16/c91e86ca290afd6b5bc8b8383d158763.jpg","text":"TemporaryFile(/tmp/multipartBody8153722787484754877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864804135,"filename":"image_16122025_06_58_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/16/728e32a48b618859aa612922c26e0ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8324287779203984855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864804135,"filename":"image_16122025_06_58_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/684a012b04022ce95df54baf62c02071.jpg","text":"TemporaryFile(/tmp/multipartBody7925753866745093641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864804135,"filename":"image_16122025_06_58_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/16/d15203d4cd22563f61e7857fcdef4029.jpg","text":"TemporaryFile(/tmp/multipartBody8847629855228025518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864804135,"filename":"image_16122025_06_58_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5387b1ac17733931e55aaee9c696e904.jpg","text":"TemporaryFile(/tmp/multipartBody391377938624302510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864804135,"filename":"image_16122025_06_57_55_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599261","file1":"1399599257","file0":"1399599253","file4":"1399599265","file5":"1399599267","file3":"1399599263"},"map_files_photo_id_array":[{"photo_id":"1399599267","filename":"file5"},{"photo_id":"1399599261","filename":"file2"},{"photo_id":"1399599265","filename":"file4"},{"photo_id":"1399599257","filename":"file1"},{"photo_id":"1399599253","filename":"file0"},{"photo_id":"1399599263","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599267":["hashtag1","hashtag2"]},{"1399599261":["hashtag1","hashtag2"]},{"1399599263":["hashtag1","hashtag2"]},{"1399599257":["hashtag1","hashtag2"]},{"1399599265":["hashtag1","hashtag2"]},{"1399599253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599267, 1399599261, 1399599263, 1399599257, 1399599265, 1399599253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22640514373779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:00:02.899749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_54_9847.jpg', '/home/pi/Desktop/images/16122025/06/58/image_16122025_06_59_05_10654.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_14_9778.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_24_9677.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_35_10541.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_44_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_54_9847.jpg
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_59_05_10654.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_14_9778.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_24_9677.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_35_10541.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_44_9728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6366736888885498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:00:12.498197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:00:22.511988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_54_9847.jpg', '/home/pi/Desktop/images/16122025/06/58/image_16122025_06_59_05_10654.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_14_9778.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_24_9677.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_35_10541.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_44_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_58_54_9847.jpg
/home/pi/Desktop/images/16122025/06/58/image_16122025_06_59_05_10654.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_14_9778.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_24_9677.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_35_10541.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_44_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599301","1399599297","1399599296","1399599299","1399599293","1399599298"],"photo_ids_order":["1399599293","1399599296","1399599297","1399599298","1399599299","1399599301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16db7b38283d37eddd12529c6c63c24a.jpg","text":"TemporaryFile(/tmp/multipartBody2443283093134446519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864883182,"filename":"image_16122025_06_59_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a4dc9309afd8863400261f54b9c83d3.jpg","text":"TemporaryFile(/tmp/multipartBody6415659723485155424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864883182,"filename":"image_16122025_06_59_14_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/82fb4eb116c6ec7431015b9d3e6b8822.jpg","text":"TemporaryFile(/tmp/multipartBody351206370030629532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864883182,"filename":"image_16122025_06_59_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9ccccd542cb4f5a96803047265ef3311.jpg","text":"TemporaryFile(/tmp/multipartBody5415419265849933537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864883182,"filename":"image_16122025_06_59_35_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/16/8f63477a6131ac00ba607d5f8ec7aa19.jpg","text":"TemporaryFile(/tmp/multipartBody3129499190249647779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864883182,"filename":"image_16122025_06_58_54_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7da87dce034451b1857befc09848977.jpg","text":"TemporaryFile(/tmp/multipartBody8897559719974995301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864883182,"filename":"image_16122025_06_59_24_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599297","file1":"1399599296","file0":"1399599293","file4":"1399599299","file5":"1399599301","file3":"1399599298"},"map_files_photo_id_array":[{"photo_id":"1399599301","filename":"file5"},{"photo_id":"1399599297","filename":"file2"},{"photo_id":"1399599299","filename":"file4"},{"photo_id":"1399599296","filename":"file1"},{"photo_id":"1399599293","filename":"file0"},{"photo_id":"1399599298","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599301":["hashtag1","hashtag2"]},{"1399599297":["hashtag1","hashtag2"]},{"1399599296":["hashtag1","hashtag2"]},{"1399599299":["hashtag1","hashtag2"]},{"1399599293":["hashtag1","hashtag2"]},{"1399599298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599301, 1399599297, 1399599296, 1399599299, 1399599293, 1399599298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.961341381073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:01:03.388936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_54_9659.jpg', '/home/pi/Desktop/images/16122025/06/59/image_16122025_07_00_05_10673.jpg', '/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_15_9866.jpg', '/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_35_10539.jpg', '/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_45_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/06/59/image_16122025_06_59_54_9659.jpg
/home/pi/Desktop/images/16122025/06/59/image_16122025_07_00_05_10673.jpg
/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_15_9866.jpg
/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_35_10539.jpg
/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_45_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599306","1399599315","1399599309","1399599311","1399599313"],"photo_ids_order":["1399599306","1399599309","1399599311","1399599313","1399599315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e8f3aaf2b4e274148991e18b08cded8.jpg","text":"TemporaryFile(/tmp/multipartBody4514850512972040785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864924065,"filename":"image_16122025_06_59_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/16/0d02461d1ac35857d28208b7f7168d35.jpg","text":"TemporaryFile(/tmp/multipartBody6990330642850589441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864924065,"filename":"image_16122025_07_00_45_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/16/8d88e51d0709a1ed06a93bb06eb9026f.jpg","text":"TemporaryFile(/tmp/multipartBody6083385779097214463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864924065,"filename":"image_16122025_07_00_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/252bfc92cf4afe59c9be57457ac75b7e.jpg","text":"TemporaryFile(/tmp/multipartBody4024537070362123828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864924065,"filename":"image_16122025_07_00_15_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f37b41784f30d9f70319d75626dc088d.jpg","text":"TemporaryFile(/tmp/multipartBody6070506860711331736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864924065,"filename":"image_16122025_07_00_35_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599311","file1":"1399599309","file0":"1399599306","file4":"1399599315","file3":"1399599313"},"map_files_photo_id_array":[{"photo_id":"1399599311","filename":"file2"},{"photo_id":"1399599315","filename":"file4"},{"photo_id":"1399599309","filename":"file1"},{"photo_id":"1399599306","filename":"file0"},{"photo_id":"1399599313","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599306":["hashtag1","hashtag2"]},{"1399599315":["hashtag1","hashtag2"]},{"1399599309":["hashtag1","hashtag2"]},{"1399599311":["hashtag1","hashtag2"]},{"1399599313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599306, 1399599315, 1399599309, 1399599311, 1399599313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.5937225818634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:01:42.747277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_33_1662.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_40_7113.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_41_1571.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_43_1814.jpg', '/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_45_1539.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_06_21485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_33_1662.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_40_7113.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_41_1571.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_43_1814.jpg
/home/pi/Desktop/images/06112025/15/17/image_06112025_15_17_45_1539.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_06_21485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599322","1399599324","1399599333","1399599329","1399599325","1399599334"],"photo_ids_order":["1399599322","1399599324","1399599325","1399599329","1399599333","1399599334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0f38462c29eec2db9e177b6d773eba8.jpg","text":"TemporaryFile(/tmp/multipartBody4364333461143051160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864963444,"filename":"image_06112025_15_17_33_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/16/449bc476fd79608efc98503f08776c9c.jpg","text":"TemporaryFile(/tmp/multipartBody9159375715798938140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864963444,"filename":"image_06112025_15_17_40_7113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7db9a96e2643f8fd7a6682a01efaf142.jpg","text":"TemporaryFile(/tmp/multipartBody6238292115991132376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864963444,"filename":"image_06112025_15_17_45_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32899688b3e55369db9fa83c3597a164.jpg","text":"TemporaryFile(/tmp/multipartBody6760076322743973210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864963444,"filename":"image_06112025_15_17_43_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae734e202b9138151ef44e73a4d1e519.jpg","text":"TemporaryFile(/tmp/multipartBody1839545439750992248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864963444,"filename":"image_06112025_15_17_41_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/16/ff7d570e4ff3603dd9d4260a9412acab.jpg","text":"TemporaryFile(/tmp/multipartBody5246007392015350146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765864963444,"filename":"image_06112025_15_18_06_21485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599325","file1":"1399599324","file0":"1399599322","file4":"1399599333","file5":"1399599334","file3":"1399599329"},"map_files_photo_id_array":[{"photo_id":"1399599334","filename":"file5"},{"photo_id":"1399599325","filename":"file2"},{"photo_id":"1399599333","filename":"file4"},{"photo_id":"1399599324","filename":"file1"},{"photo_id":"1399599322","filename":"file0"},{"photo_id":"1399599329","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399599322":["hashtag1","hashtag2"]},{"1399599324":["hashtag1","hashtag2"]},{"1399599333":["hashtag1","hashtag2"]},{"1399599329":["hashtag1","hashtag2"]},{"1399599325":["hashtag1","hashtag2"]},{"1399599334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399599322, 1399599324, 1399599333, 1399599329, 1399599325, 1399599334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59577989578247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:02:22.102844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_54_9710.jpg', '/home/pi/Desktop/images/16122025/07/00/image_16122025_07_01_04_9679.jpg', '/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_15_10668.jpg', '/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_24_9562.jpg', '/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_34_9702.jpg', '/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_45_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/00/image_16122025_07_00_54_9710.jpg
/home/pi/Desktop/images/16122025/07/00/image_16122025_07_01_04_9679.jpg
/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_15_10668.jpg
/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_24_9562.jpg
/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_34_9702.jpg
/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_45_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599339","1399599362","1399599344","1399599368","1399599347","1399599358"],"photo_ids_order":["1399599339","1399599344","1399599347","1399599358","1399599362","1399599368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/492491e1a10431e11b1dcf91c9081162.jpg","text":"TemporaryFile(/tmp/multipartBody8602193114722306890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865002858,"filename":"image_16122025_07_00_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/16/e7495e9830472057aaa70ab2d3b66eef.jpg","text":"TemporaryFile(/tmp/multipartBody4126329272456669797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865002858,"filename":"image_16122025_07_01_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/16/cb0b6ca0604188fcbb72a27e8b580ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8112629397797890797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865002858,"filename":"image_16122025_07_01_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/16/37a06ed043bde4803d1544b32c19fc1b.jpg","text":"TemporaryFile(/tmp/multipartBody5748064545698637778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865002858,"filename":"image_16122025_07_01_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/16/3ee8658241e5637e451ce9bc720a14c9.jpg","text":"TemporaryFile(/tmp/multipartBody8759828831231044067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865002858,"filename":"image_16122025_07_01_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef157550a5045bca8624a1337d702340.jpg","text":"TemporaryFile(/tmp/multipartBody876296909694733928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865002858,"filename":"image_16122025_07_01_24_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599347","file1":"1399599344","file0":"1399599339","file4":"1399599362","file5":"1399599368","file3":"1399599358"},"map_files_photo_id_array":[{"photo_id":"1399599368","filename":"file5"},{"photo_id":"1399599347","filename":"file2"},{"photo_id":"1399599362","filename":"file4"},{"photo_id":"1399599344","filename":"file1"},{"photo_id":"1399599339","filename":"file0"},{"photo_id":"1399599358","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599339":["hashtag1","hashtag2"]},{"1399599362":["hashtag1","hashtag2"]},{"1399599344":["hashtag1","hashtag2"]},{"1399599368":["hashtag1","hashtag2"]},{"1399599347":["hashtag1","hashtag2"]},{"1399599358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599339, 1399599362, 1399599344, 1399599368, 1399599347, 1399599358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95085644721985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:03:02.901324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_54_9709.jpg', '/home/pi/Desktop/images/16122025/07/01/image_16122025_07_02_04_9824.jpg', '/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_15_10598.jpg', '/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_34_9684.jpg', '/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/01/image_16122025_07_01_54_9709.jpg
/home/pi/Desktop/images/16122025/07/01/image_16122025_07_02_04_9824.jpg
/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_15_10598.jpg
/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_34_9684.jpg
/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_44_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599378","1399599372","1399599377","1399599374","1399599376"],"photo_ids_order":["1399599372","1399599374","1399599376","1399599377","1399599378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fdfe7bf4f0ee1a910bff6ccf9c0fa4de.jpg","text":"TemporaryFile(/tmp/multipartBody5628878848871874118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865043574,"filename":"image_16122025_07_02_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a7569072cc1e505f50ed619fb7f860a.jpg","text":"TemporaryFile(/tmp/multipartBody2049822938343855999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865043574,"filename":"image_16122025_07_01_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/16/182f1284692c0af15c12e9d738f41eac.jpg","text":"TemporaryFile(/tmp/multipartBody8197761361104708204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865043574,"filename":"image_16122025_07_02_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/16/b4f4e4dfbb54a6070646b5026ee2e0a0.jpg","text":"TemporaryFile(/tmp/multipartBody6532172196556896590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865043574,"filename":"image_16122025_07_02_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a0654ef716514ea0e8f93f34b38977e.jpg","text":"TemporaryFile(/tmp/multipartBody1206537945145615276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865043574,"filename":"image_16122025_07_02_15_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599376","file1":"1399599374","file0":"1399599372","file4":"1399599378","file3":"1399599377"},"map_files_photo_id_array":[{"photo_id":"1399599376","filename":"file2"},{"photo_id":"1399599378","filename":"file4"},{"photo_id":"1399599374","filename":"file1"},{"photo_id":"1399599372","filename":"file0"},{"photo_id":"1399599377","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599378":["hashtag1","hashtag2"]},{"1399599372":["hashtag1","hashtag2"]},{"1399599377":["hashtag1","hashtag2"]},{"1399599374":["hashtag1","hashtag2"]},{"1399599376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599378, 1399599372, 1399599377, 1399599374, 1399599376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.97318410873413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:03:42.194464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_08_1706.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_09_1539.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_11_1646.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_13_1616.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_14_1732.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_16_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_08_1706.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_09_1539.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_11_1646.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_13_1616.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_14_1732.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_16_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599393","1399599395","1399599392","1399599391","1399599394","1399599388"],"photo_ids_order":["1399599388","1399599391","1399599392","1399599393","1399599394","1399599395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49cb463966bf3998504a643e988a154a.jpg","text":"TemporaryFile(/tmp/multipartBody5386199363383257262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865082890,"filename":"image_06112025_15_18_13_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/16/2251b327cf3979fb9d4443e3cfa4e2f7.jpg","text":"TemporaryFile(/tmp/multipartBody9221791319021127086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865082890,"filename":"image_06112025_15_18_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/16/05fb6b9c3af1a07f50d10965c9a09150.jpg","text":"TemporaryFile(/tmp/multipartBody8120101420262013272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865082890,"filename":"image_06112025_15_18_11_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/16/335beb68b7861ec37c76d6ec4b98ddcd.jpg","text":"TemporaryFile(/tmp/multipartBody6748430651064353820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865082890,"filename":"image_06112025_15_18_09_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/16/025680d07d51eac53b35ccee74ccbbb2.jpg","text":"TemporaryFile(/tmp/multipartBody2888523130920031167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865082890,"filename":"image_06112025_15_18_14_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/16/88f877dbf126e545333196990c26fac4.jpg","text":"TemporaryFile(/tmp/multipartBody2931709390163425344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865082890,"filename":"image_06112025_15_18_08_1706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599392","file1":"1399599391","file0":"1399599388","file4":"1399599394","file5":"1399599395","file3":"1399599393"},"map_files_photo_id_array":[{"photo_id":"1399599395","filename":"file5"},{"photo_id":"1399599392","filename":"file2"},{"photo_id":"1399599394","filename":"file4"},{"photo_id":"1399599391","filename":"file1"},{"photo_id":"1399599388","filename":"file0"},{"photo_id":"1399599393","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399599393":["hashtag1","hashtag2"]},{"1399599395":["hashtag1","hashtag2"]},{"1399599392":["hashtag1","hashtag2"]},{"1399599391":["hashtag1","hashtag2"]},{"1399599394":["hashtag1","hashtag2"]},{"1399599388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399599393, 1399599395, 1399599392, 1399599391, 1399599394, 1399599388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.635992765426636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:04:22.465517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_54_10669.jpg', '/home/pi/Desktop/images/16122025/07/02/image_16122025_07_03_04_9818.jpg', '/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_14_9591.jpg', '/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_25_10689.jpg', '/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_34_9759.jpg', '/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/02/image_16122025_07_02_54_10669.jpg
/home/pi/Desktop/images/16122025/07/02/image_16122025_07_03_04_9818.jpg
/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_14_9591.jpg
/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_25_10689.jpg
/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_34_9759.jpg
/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599400","1399599459","1399599402","1399599414","1399599539","1399599503"],"photo_ids_order":["1399599400","1399599402","1399599414","1399599459","1399599503","1399599539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/365c0b28b28db073f7b1f6f821f6b3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2165559967098121045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865123170,"filename":"image_16122025_07_02_54_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5707e700f272098fc05c077e29c35ee3.jpg","text":"TemporaryFile(/tmp/multipartBody3899339691329880328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865123170,"filename":"image_16122025_07_03_25_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16a2f960ef3ac9b22b227fd07569ce72.jpg","text":"TemporaryFile(/tmp/multipartBody3857803310045089961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865123170,"filename":"image_16122025_07_03_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/16/ba84bc5a59a8a24a84875a455dbd573b.jpg","text":"TemporaryFile(/tmp/multipartBody4467706853286188885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865123170,"filename":"image_16122025_07_03_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09a4198d6b96ede10e4af777c2064fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3534657275589030805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865123170,"filename":"image_16122025_07_03_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e28a1b409564d834997e16c6e47bb913.jpg","text":"TemporaryFile(/tmp/multipartBody6917492041646662177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865123170,"filename":"image_16122025_07_03_34_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599414","file1":"1399599402","file0":"1399599400","file4":"1399599503","file5":"1399599539","file3":"1399599459"},"map_files_photo_id_array":[{"photo_id":"1399599539","filename":"file5"},{"photo_id":"1399599414","filename":"file2"},{"photo_id":"1399599503","filename":"file4"},{"photo_id":"1399599402","filename":"file1"},{"photo_id":"1399599400","filename":"file0"},{"photo_id":"1399599459","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599400":["hashtag1","hashtag2"]},{"1399599459":["hashtag1","hashtag2"]},{"1399599402":["hashtag1","hashtag2"]},{"1399599414":["hashtag1","hashtag2"]},{"1399599539":["hashtag1","hashtag2"]},{"1399599503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599400, 1399599459, 1399599402, 1399599414, 1399599539, 1399599503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.635764837265015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:05:03.399542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_55_10666.jpg', '/home/pi/Desktop/images/16122025/07/03/image_16122025_07_04_05_9896.jpg', '/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_24_9705.jpg', '/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_35_10604.jpg', '/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_44_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/03/image_16122025_07_03_55_10666.jpg
/home/pi/Desktop/images/16122025/07/03/image_16122025_07_04_05_9896.jpg
/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_24_9705.jpg
/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_35_10604.jpg
/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_44_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":["1399599630","1399599636","1399599680","1399599701","1399599676"],"photo_ids_order":["1399599630","1399599636","1399599676","1399599680","1399599701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c2213cce2bb09a9c1585ca86cc3f906e.jpg","text":"TemporaryFile(/tmp/multipartBody7582940399288832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865164061,"filename":"image_16122025_07_03_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/16/d1818b0516f0c94bc2d3fab0900eba09.jpg","text":"TemporaryFile(/tmp/multipartBody8410820327086437904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865164061,"filename":"image_16122025_07_04_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/16/ef71feece2a63ec71535df18c68109ba.jpg","text":"TemporaryFile(/tmp/multipartBody4318352509523992003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865164061,"filename":"image_16122025_07_04_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/16/fe438f66c38fff1cd39dc326a32e688c.jpg","text":"TemporaryFile(/tmp/multipartBody1359584943368519684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865164061,"filename":"image_16122025_07_04_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/16/d21bb1ce10f968655565b28420f2bc6d.jpg","text":"TemporaryFile(/tmp/multipartBody6631198531736585383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865164061,"filename":"image_16122025_07_04_24_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599676","file1":"1399599636","file0":"1399599630","file4":"1399599701","file3":"1399599680"},"map_files_photo_id_array":[{"photo_id":"1399599676","filename":"file2"},{"photo_id":"1399599701","filename":"file4"},{"photo_id":"1399599636","filename":"file1"},{"photo_id":"1399599630","filename":"file0"},{"photo_id":"1399599680","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599630":["hashtag1","hashtag2"]},{"1399599636":["hashtag1","hashtag2"]},{"1399599680":["hashtag1","hashtag2"]},{"1399599701":["hashtag1","hashtag2"]},{"1399599676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599630, 1399599636, 1399599680, 1399599701, 1399599676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.90248656272888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:05:42.702628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_18_1728.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_19_1558.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_21_1577.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_23_1754.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_24_1747.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_26_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_18_1728.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_19_1558.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_21_1577.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_23_1754.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_24_1747.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_26_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599726","1399599720","1399599717","1399599719","1399599721","1399599715"],"photo_ids_order":["1399599715","1399599717","1399599719","1399599720","1399599721","1399599726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1230f4e5958084d3cdae2d6455a33146.jpg","text":"TemporaryFile(/tmp/multipartBody468307195359191667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865203400,"filename":"image_06112025_15_18_26_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/16/d5b1497f3e101510a5765f7816dd7431.jpg","text":"TemporaryFile(/tmp/multipartBody3159093187905299297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865203400,"filename":"image_06112025_15_18_23_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/16/df85fad04ad8739b55f2011e3a2b9714.jpg","text":"TemporaryFile(/tmp/multipartBody658530244056748137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865203400,"filename":"image_06112025_15_18_19_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/16/9a9d74140637e66a6fc6182bccb68f06.jpg","text":"TemporaryFile(/tmp/multipartBody4292402944419449843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865203400,"filename":"image_06112025_15_18_21_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/16/4e89acc9c47fd27b06f5be58491a2132.jpg","text":"TemporaryFile(/tmp/multipartBody7918079584891981113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865203400,"filename":"image_06112025_15_18_24_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/16/204b70d0f3352c1f451f80aff01edf97.jpg","text":"TemporaryFile(/tmp/multipartBody6716548064841297058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865203400,"filename":"image_06112025_15_18_18_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599719","file1":"1399599717","file0":"1399599715","file4":"1399599721","file5":"1399599726","file3":"1399599720"},"map_files_photo_id_array":[{"photo_id":"1399599726","filename":"file5"},{"photo_id":"1399599719","filename":"file2"},{"photo_id":"1399599721","filename":"file4"},{"photo_id":"1399599717","filename":"file1"},{"photo_id":"1399599715","filename":"file0"},{"photo_id":"1399599720","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399599726":["hashtag1","hashtag2"]},{"1399599720":["hashtag1","hashtag2"]},{"1399599717":["hashtag1","hashtag2"]},{"1399599719":["hashtag1","hashtag2"]},{"1399599721":["hashtag1","hashtag2"]},{"1399599715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399599726, 1399599720, 1399599717, 1399599719, 1399599721, 1399599715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5209379196167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:06:22.008083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_54_9687.jpg', '/home/pi/Desktop/images/16122025/07/04/image_16122025_07_05_05_10594.jpg', '/home/pi/Desktop/images/16122025/07/05/image_16122025_07_05_24_9632.jpg', '/home/pi/Desktop/images/16122025/07/05/image_16122025_07_05_35_10566.jpg', '/home/pi/Desktop/images/16122025/07/05/image_16122025_07_05_44_9796.jpg', '/home/pi/Desktop/images/16122025/07/05/image_16122025_07_06_04_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/04/image_16122025_07_04_54_9687.jpg
/home/pi/Desktop/images/16122025/07/04/image_16122025_07_05_05_10594.jpg
/home/pi/Desktop/images/16122025/07/05/image_16122025_07_05_24_9632.jpg
/home/pi/Desktop/images/16122025/07/05/image_16122025_07_05_35_10566.jpg
/home/pi/Desktop/images/16122025/07/05/image_16122025_07_05_44_9796.jpg
/home/pi/Desktop/images/16122025/07/05/image_16122025_07_06_04_9948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599738","1399599747","1399599749","1399599751","1399599745","1399599742"],"photo_ids_order":["1399599738","1399599742","1399599745","1399599747","1399599749","1399599751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b252294212eb334b0d9e238fde44336.jpg","text":"TemporaryFile(/tmp/multipartBody5064498226355826557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865242667,"filename":"image_16122025_07_04_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/16/3c82fdd30415a5e6a4c3d9129053cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody5699256737197798915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865242667,"filename":"image_16122025_07_05_35_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b87accd46c7d3de2c08efbc5f63eadd3.jpg","text":"TemporaryFile(/tmp/multipartBody6393216028789282644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865242667,"filename":"image_16122025_07_05_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/16/8981aab8c8630ab7389152296a6ea25e.jpg","text":"TemporaryFile(/tmp/multipartBody594601645537287727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865242667,"filename":"image_16122025_07_06_04_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/16/156c9b59bd1123106323472ea7e0c37a.jpg","text":"TemporaryFile(/tmp/multipartBody3711001116203070555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865242667,"filename":"image_16122025_07_05_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dbc1bc039290131763e543785b5e1954.jpg","text":"TemporaryFile(/tmp/multipartBody131552448435847401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865242667,"filename":"image_16122025_07_05_05_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599745","file1":"1399599742","file0":"1399599738","file4":"1399599749","file5":"1399599751","file3":"1399599747"},"map_files_photo_id_array":[{"photo_id":"1399599751","filename":"file5"},{"photo_id":"1399599745","filename":"file2"},{"photo_id":"1399599749","filename":"file4"},{"photo_id":"1399599742","filename":"file1"},{"photo_id":"1399599738","filename":"file0"},{"photo_id":"1399599747","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599738":["hashtag1","hashtag2"]},{"1399599747":["hashtag1","hashtag2"]},{"1399599749":["hashtag1","hashtag2"]},{"1399599751":["hashtag1","hashtag2"]},{"1399599745":["hashtag1","hashtag2"]},{"1399599742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599738, 1399599747, 1399599749, 1399599751, 1399599745, 1399599742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0784912109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:07:02.747795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_14_10108.jpg', '/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_24_9657.jpg', '/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_34_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_14_10108.jpg
/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_24_9657.jpg
/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_34_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":["1399599759","1399599761","1399599752"],"photo_ids_order":["1399599752","1399599759","1399599761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3dce8cf0f4b22e89e74f2f8164fdaff1.jpg","text":"TemporaryFile(/tmp/multipartBody187335346289678388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865283347,"filename":"image_16122025_07_06_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/16/e8a95b699edf3ba57a4d2968a6d9fd39.jpg","text":"TemporaryFile(/tmp/multipartBody2799406546277718038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865283347,"filename":"image_16122025_07_06_34_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/682a318831d1811f0935ab785f28df4a.jpg","text":"TemporaryFile(/tmp/multipartBody4750527132882611156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865283347,"filename":"image_16122025_07_06_14_10108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599761","file1":"1399599759","file0":"1399599752"},"map_files_photo_id_array":[{"photo_id":"1399599761","filename":"file2"},{"photo_id":"1399599759","filename":"file1"},{"photo_id":"1399599752","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599759":["hashtag1","hashtag2"]},{"1399599761":["hashtag1","hashtag2"]},{"1399599752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599759, 1399599761, 1399599752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.810590744018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:07:32.279114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:07:42.224636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_28_1617.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_29_1744.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_33_3640.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_36_2707.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_38_2599.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_42_3510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_28_1617.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_29_1744.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_33_3640.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_36_2707.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_38_2599.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_42_3510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599795","1399599798","1399599797","1399599794","1399599796","1399599790"],"photo_ids_order":["1399599790","1399599794","1399599795","1399599796","1399599797","1399599798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d55c9e8183c496aa545bd4762142b706.jpg","text":"TemporaryFile(/tmp/multipartBody7922891330656415662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865322947,"filename":"image_06112025_15_18_33_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/16/b05e2e396db4a2d8f157bf26cda4b9d2.jpg","text":"TemporaryFile(/tmp/multipartBody836176592481016133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865322947,"filename":"image_06112025_15_18_42_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/16/49fb730662333b321b79c66615772a87.jpg","text":"TemporaryFile(/tmp/multipartBody7964778225155563762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865322947,"filename":"image_06112025_15_18_38_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/294e3247046b91c6c2800fe6a994690a.jpg","text":"TemporaryFile(/tmp/multipartBody1679008214723506545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865322947,"filename":"image_06112025_15_18_29_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/16/9914fda1c0c8b7735d81d479754de6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2963658640450705244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865322947,"filename":"image_06112025_15_18_36_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77c2b9e82533e1aaaaa43d8c5844af14.jpg","text":"TemporaryFile(/tmp/multipartBody4430218112372554830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865322947,"filename":"image_06112025_15_18_28_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599795","file1":"1399599794","file0":"1399599790","file4":"1399599797","file5":"1399599798","file3":"1399599796"},"map_files_photo_id_array":[{"photo_id":"1399599798","filename":"file5"},{"photo_id":"1399599795","filename":"file2"},{"photo_id":"1399599797","filename":"file4"},{"photo_id":"1399599794","filename":"file1"},{"photo_id":"1399599790","filename":"file0"},{"photo_id":"1399599796","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399599795":["hashtag1","hashtag2"]},{"1399599798":["hashtag1","hashtag2"]},{"1399599797":["hashtag1","hashtag2"]},{"1399599794":["hashtag1","hashtag2"]},{"1399599796":["hashtag1","hashtag2"]},{"1399599790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399599795, 1399599798, 1399599797, 1399599794, 1399599796, 1399599790)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.576276540756226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:08:32.542947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:08:45.699061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_56_14226.jpg', '/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_59_3298.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_07_6196.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_09_1521.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_11_1815.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_12_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_56_14226.jpg
/home/pi/Desktop/images/06112025/15/18/image_06112025_15_18_59_3298.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_07_6196.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_09_1521.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_11_1815.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_12_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":["1399599811","1399599810","1399599813","1399599816","1399599815","1399599812"],"photo_ids_order":["1399599810","1399599811","1399599812","1399599813","1399599815","1399599816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a4a521c879071c12026df67044553aa.jpg","text":"TemporaryFile(/tmp/multipartBody701729795669314379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865391498,"filename":"image_06112025_15_18_59_3298.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/45d0a995f973d59ee75601810af91666.jpg","text":"TemporaryFile(/tmp/multipartBody1856626325647058843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865391498,"filename":"image_06112025_15_18_56_14226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d22a0bf14d58dadc0f9f9ce3a934a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7777770979915706792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865391498,"filename":"image_06112025_15_19_09_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/904381ae77ae7502ffe54442608cdc34.jpg","text":"TemporaryFile(/tmp/multipartBody1539399966814983022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865391498,"filename":"image_06112025_15_19_12_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/16/084652086bd3075f6da0f39e51412f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7395229170135476498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865391498,"filename":"image_06112025_15_19_11_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/16/591b85ab456e670449ff1a67359e6d73.jpg","text":"TemporaryFile(/tmp/multipartBody3807769247956188558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865391498,"filename":"image_06112025_15_19_07_6196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599812","file1":"1399599811","file0":"1399599810","file4":"1399599815","file5":"1399599816","file3":"1399599813"},"map_files_photo_id_array":[{"photo_id":"1399599816","filename":"file5"},{"photo_id":"1399599812","filename":"file2"},{"photo_id":"1399599815","filename":"file4"},{"photo_id":"1399599811","filename":"file1"},{"photo_id":"1399599810","filename":"file0"},{"photo_id":"1399599813","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399599811":["hashtag1","hashtag2"]},{"1399599810":["hashtag1","hashtag2"]},{"1399599813":["hashtag1","hashtag2"]},{"1399599816":["hashtag1","hashtag2"]},{"1399599815":["hashtag1","hashtag2"]},{"1399599812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399599811, 1399599810, 1399599813, 1399599816, 1399599815, 1399599812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51370882987976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:09:31.878325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:09:41.841686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_14_1669.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_16_1683.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_17_1687.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_19_1678.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_21_1753.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_22_1586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_14_1669.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_16_1683.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_17_1687.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_19_1678.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_21_1753.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_22_1586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599831","1399599821","1399599830","1399599824","1399599832","1399599829"],"photo_ids_order":["1399599821","1399599824","1399599829","1399599830","1399599831","1399599832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e8a552a5851390b51e5f5095e797618.jpg","text":"TemporaryFile(/tmp/multipartBody6845376664618955515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865442537,"filename":"image_06112025_15_19_21_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/16/cdfd9813f73e7ad0ceb3da7d3b5ab275.jpg","text":"TemporaryFile(/tmp/multipartBody162115352432957072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865442537,"filename":"image_06112025_15_19_14_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/16/fa69a0302b9c3a0e69210c37410f75e8.jpg","text":"TemporaryFile(/tmp/multipartBody8263257011029153296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865442537,"filename":"image_06112025_15_19_19_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/16/30cd234f1862dbdd8d20c4f7c52d8a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1887494905128865996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865442537,"filename":"image_06112025_15_19_16_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c18c4c898eb07476c96212c76b912b5.jpg","text":"TemporaryFile(/tmp/multipartBody5787338345161315469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865442537,"filename":"image_06112025_15_19_22_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/16/a4924936d10d50538bfde28318db78fb.jpg","text":"TemporaryFile(/tmp/multipartBody1260072040739060001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865442537,"filename":"image_06112025_15_19_17_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599829","file1":"1399599824","file0":"1399599821","file4":"1399599831","file5":"1399599832","file3":"1399599830"},"map_files_photo_id_array":[{"photo_id":"1399599832","filename":"file5"},{"photo_id":"1399599829","filename":"file2"},{"photo_id":"1399599831","filename":"file4"},{"photo_id":"1399599824","filename":"file1"},{"photo_id":"1399599821","filename":"file0"},{"photo_id":"1399599830","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399599831":["hashtag1","hashtag2"]},{"1399599821":["hashtag1","hashtag2"]},{"1399599830":["hashtag1","hashtag2"]},{"1399599824":["hashtag1","hashtag2"]},{"1399599832":["hashtag1","hashtag2"]},{"1399599829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399599831, 1399599821, 1399599830, 1399599824, 1399599832, 1399599829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.848472356796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:10:22.193225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_45_10723.jpg', '/home/pi/Desktop/images/16122025/07/06/image_16122025_07_07_04_9688.jpg', '/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_15_10751.jpg', '/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_24_9749.jpg', '/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_34_9573.jpg', '/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_45_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/06/image_16122025_07_06_45_10723.jpg
/home/pi/Desktop/images/16122025/07/06/image_16122025_07_07_04_9688.jpg
/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_15_10751.jpg
/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_24_9749.jpg
/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_34_9573.jpg
/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_45_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399599837","1399599834","1399599869","1399599839","1399599841","1399599835"],"photo_ids_order":["1399599834","1399599835","1399599837","1399599839","1399599841","1399599869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/719b0d45a6b3a6acb0cd01a1828aa368.jpg","text":"TemporaryFile(/tmp/multipartBody3868210951714062687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865482851,"filename":"image_16122025_07_07_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/16/4cb3b05bc99bdaf853e92329be44b5d9.jpg","text":"TemporaryFile(/tmp/multipartBody8003336760179530202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865482851,"filename":"image_16122025_07_06_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/142a07137b356ff18517afb1ea1a48ae.jpg","text":"TemporaryFile(/tmp/multipartBody5184957501903225979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865482851,"filename":"image_16122025_07_07_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6da2ca2583fb104351b1b334399e6ca.jpg","text":"TemporaryFile(/tmp/multipartBody3633361973536097250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865482851,"filename":"image_16122025_07_07_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/16/a2d240144862edcca766ec6feb2de4ed.jpg","text":"TemporaryFile(/tmp/multipartBody2982446446577358532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865482851,"filename":"image_16122025_07_07_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/16/fff184a606c0f6ee91740c045f0b5468.jpg","text":"TemporaryFile(/tmp/multipartBody6107432614539298697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865482851,"filename":"image_16122025_07_07_04_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399599837","file1":"1399599835","file0":"1399599834","file4":"1399599841","file5":"1399599869","file3":"1399599839"},"map_files_photo_id_array":[{"photo_id":"1399599869","filename":"file5"},{"photo_id":"1399599837","filename":"file2"},{"photo_id":"1399599841","filename":"file4"},{"photo_id":"1399599835","filename":"file1"},{"photo_id":"1399599834","filename":"file0"},{"photo_id":"1399599839","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399599837":["hashtag1","hashtag2"]},{"1399599834":["hashtag1","hashtag2"]},{"1399599869":["hashtag1","hashtag2"]},{"1399599839":["hashtag1","hashtag2"]},{"1399599841":["hashtag1","hashtag2"]},{"1399599835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399599837, 1399599834, 1399599869, 1399599839, 1399599841, 1399599835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.358835220336914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:11:03.085586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_55_9939.jpg', '/home/pi/Desktop/images/16122025/07/07/image_16122025_07_08_04_9649.jpg', '/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_14_9729.jpg', '/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_25_10579.jpg', '/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_34_9642.jpg', '/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_44_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/07/image_16122025_07_07_55_9939.jpg
/home/pi/Desktop/images/16122025/07/07/image_16122025_07_08_04_9649.jpg
/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_14_9729.jpg
/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_25_10579.jpg
/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_34_9642.jpg
/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_44_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399600196","1399600082","1399600048","1399600120","1399600231","1399600158"],"photo_ids_order":["1399600048","1399600082","1399600120","1399600158","1399600196","1399600231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4ec4e920b18f700812bf64961b8db961.jpg","text":"TemporaryFile(/tmp/multipartBody4978902496077045418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865523795,"filename":"image_16122025_07_08_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/16/d803a3fcb4549ec8108252532214b13a.jpg","text":"TemporaryFile(/tmp/multipartBody2637604502395772967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865523795,"filename":"image_16122025_07_08_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/16/9d3e0952aa28680da0ae104de72b244f.jpg","text":"TemporaryFile(/tmp/multipartBody5911050101243365404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865523795,"filename":"image_16122025_07_07_55_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/16/70cf0bd6d4345fa48f3609643dc22d47.jpg","text":"TemporaryFile(/tmp/multipartBody7566167706332900589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865523795,"filename":"image_16122025_07_08_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/16/583fbeec438efab8e93bfb95fd7d297b.jpg","text":"TemporaryFile(/tmp/multipartBody7660311320421216746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865523795,"filename":"image_16122025_07_08_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/16/9950b18fe451e54f22e33f577efc60c7.jpg","text":"TemporaryFile(/tmp/multipartBody1578018205934658650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865523795,"filename":"image_16122025_07_08_25_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399600120","file1":"1399600082","file0":"1399600048","file4":"1399600196","file5":"1399600231","file3":"1399600158"},"map_files_photo_id_array":[{"photo_id":"1399600231","filename":"file5"},{"photo_id":"1399600120","filename":"file2"},{"photo_id":"1399600196","filename":"file4"},{"photo_id":"1399600082","filename":"file1"},{"photo_id":"1399600048","filename":"file0"},{"photo_id":"1399600158","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399600196":["hashtag1","hashtag2"]},{"1399600082":["hashtag1","hashtag2"]},{"1399600048":["hashtag1","hashtag2"]},{"1399600120":["hashtag1","hashtag2"]},{"1399600231":["hashtag1","hashtag2"]},{"1399600158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399600196, 1399600082, 1399600048, 1399600120, 1399600231, 1399600158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.698973417282104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:11:42.297405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_24_1735.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_27_2572.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_30_3561.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_33_2879.jpg', '/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_36_2558.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_02_26209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_24_1735.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_27_2572.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_30_3561.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_33_2879.jpg
/home/pi/Desktop/images/06112025/15/19/image_06112025_15_19_36_2558.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_02_26209.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399600520","1399600400","1399600684","1399600447","1399600360","1399600599"],"photo_ids_order":["1399600360","1399600400","1399600447","1399600520","1399600599","1399600684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a07e25d5443cb8eac20c02bff355122.jpg","text":"TemporaryFile(/tmp/multipartBody2230221058092317719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865563056,"filename":"image_06112025_15_19_33_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/625fbf3425ac1aecff320e2a6c3442bd.jpg","text":"TemporaryFile(/tmp/multipartBody4065501171494156395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865563056,"filename":"image_06112025_15_19_27_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b2b9563ecd4863ef390cce6f65cf9ae.jpg","text":"TemporaryFile(/tmp/multipartBody8219258868098463629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865563056,"filename":"image_06112025_15_20_02_26209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ef6cd31ed6531ee56d4fc65b6f562c4.jpg","text":"TemporaryFile(/tmp/multipartBody1829947246054692814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865563056,"filename":"image_06112025_15_19_30_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/16/8083c18edbae31b366bc2fe69b542786.jpg","text":"TemporaryFile(/tmp/multipartBody6119462265905349193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865563056,"filename":"image_06112025_15_19_24_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a633abc56a94fcad84fe408a912e101.jpg","text":"TemporaryFile(/tmp/multipartBody1024565356452958373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865563056,"filename":"image_06112025_15_19_36_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399600447","file1":"1399600400","file0":"1399600360","file4":"1399600599","file5":"1399600684","file3":"1399600520"},"map_files_photo_id_array":[{"photo_id":"1399600684","filename":"file5"},{"photo_id":"1399600447","filename":"file2"},{"photo_id":"1399600599","filename":"file4"},{"photo_id":"1399600400","filename":"file1"},{"photo_id":"1399600360","filename":"file0"},{"photo_id":"1399600520","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399600520":["hashtag1","hashtag2"]},{"1399600400":["hashtag1","hashtag2"]},{"1399600684":["hashtag1","hashtag2"]},{"1399600447":["hashtag1","hashtag2"]},{"1399600360":["hashtag1","hashtag2"]},{"1399600599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399600520, 1399600400, 1399600684, 1399600447, 1399600360, 1399600599)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.7314567565918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:12:32.550077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:12:42.574165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_04_2037.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_06_1975.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_07_1687.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_13_5435.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_15_1729.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_16_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_04_2037.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_06_1975.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_07_1687.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_13_5435.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_15_1729.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_16_1564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399601345","1399601249","1399601324","1399601287","1399601215","1399601178"],"photo_ids_order":["1399601178","1399601215","1399601249","1399601287","1399601324","1399601345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc1235e454417d21b2f68e8fb3590c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6400380238337454291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865623309,"filename":"image_06112025_15_20_16_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/16/460faf3bd0008bded40d88ecf1c8cbc1.jpg","text":"TemporaryFile(/tmp/multipartBody7693715178223754918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865623309,"filename":"image_06112025_15_20_07_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/16/2e7e8c4e69f2f2802b99060dfdaf6a95.jpg","text":"TemporaryFile(/tmp/multipartBody1130678642577557468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865623309,"filename":"image_06112025_15_20_15_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/16/f499527ebd458229ac925e866cfd05dd.jpg","text":"TemporaryFile(/tmp/multipartBody1433934878998767936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865623309,"filename":"image_06112025_15_20_13_5435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d6b7b3fbb0921420ff28fc5f9d2b221.jpg","text":"TemporaryFile(/tmp/multipartBody7468739991993638708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865623309,"filename":"image_06112025_15_20_06_1975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3328fdeaea0b355a2b3067b15ab21ff.jpg","text":"TemporaryFile(/tmp/multipartBody5161373544175379194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865623309,"filename":"image_06112025_15_20_04_2037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399601249","file1":"1399601215","file0":"1399601178","file4":"1399601324","file5":"1399601345","file3":"1399601287"},"map_files_photo_id_array":[{"photo_id":"1399601345","filename":"file5"},{"photo_id":"1399601249","filename":"file2"},{"photo_id":"1399601324","filename":"file4"},{"photo_id":"1399601215","filename":"file1"},{"photo_id":"1399601178","filename":"file0"},{"photo_id":"1399601287","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399601345":["hashtag1","hashtag2"]},{"1399601249":["hashtag1","hashtag2"]},{"1399601324":["hashtag1","hashtag2"]},{"1399601287":["hashtag1","hashtag2"]},{"1399601215":["hashtag1","hashtag2"]},{"1399601178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399601345, 1399601249, 1399601324, 1399601287, 1399601215, 1399601178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.004467725753784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:13:22.776410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_55_10616.jpg', '/home/pi/Desktop/images/16122025/07/08/image_16122025_07_09_04_9787.jpg', '/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_14_9753.jpg', '/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_24_9816.jpg', '/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_35_10690.jpg', '/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_44_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/08/image_16122025_07_08_55_10616.jpg
/home/pi/Desktop/images/16122025/07/08/image_16122025_07_09_04_9787.jpg
/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_14_9753.jpg
/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_24_9816.jpg
/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_35_10690.jpg
/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_44_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":["1399601639","1399601447","1399601551","1399601601","1399601505","1399601409"],"photo_ids_order":["1399601409","1399601447","1399601505","1399601551","1399601601","1399601639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b44511201693684a9333c5b4f7f0eb2b.jpg","text":"TemporaryFile(/tmp/multipartBody3867052699818560927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865663430,"filename":"image_16122025_07_09_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/16/190c5e2d4d6fd90d8c0a9ca154c913ac.jpg","text":"TemporaryFile(/tmp/multipartBody9052176978476473729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865663430,"filename":"image_16122025_07_09_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/16/0881d29dd2ea810fd0942886d6108798.jpg","text":"TemporaryFile(/tmp/multipartBody4624458389725605961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865663430,"filename":"image_16122025_07_09_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1e22139a2586176c981733dea944b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7834866735612060201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865663430,"filename":"image_16122025_07_09_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/16/1d1d2798cdb6cb32998e3c9a36389c49.jpg","text":"TemporaryFile(/tmp/multipartBody8830369940097605515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865663430,"filename":"image_16122025_07_09_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/16/bd08a96d1be98dd6e44a2e384563c9f8.jpg","text":"TemporaryFile(/tmp/multipartBody2173836217788704211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865663430,"filename":"image_16122025_07_08_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399601505","file1":"1399601447","file0":"1399601409","file4":"1399601601","file5":"1399601639","file3":"1399601551"},"map_files_photo_id_array":[{"photo_id":"1399601639","filename":"file5"},{"photo_id":"1399601505","filename":"file2"},{"photo_id":"1399601601","filename":"file4"},{"photo_id":"1399601447","filename":"file1"},{"photo_id":"1399601409","filename":"file0"},{"photo_id":"1399601551","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399601639":["hashtag1","hashtag2"]},{"1399601447":["hashtag1","hashtag2"]},{"1399601551":["hashtag1","hashtag2"]},{"1399601601":["hashtag1","hashtag2"]},{"1399601505":["hashtag1","hashtag2"]},{"1399601409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399601639, 1399601447, 1399601551, 1399601601, 1399601505, 1399601409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07461714744568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:14:02.589757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_55_10344.jpg', '/home/pi/Desktop/images/16122025/07/09/image_16122025_07_10_04_9682.jpg', '/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_14_9788.jpg', '/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_25_10593.jpg', '/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_34_9651.jpg', '/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_44_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/09/image_16122025_07_09_55_10344.jpg
/home/pi/Desktop/images/16122025/07/09/image_16122025_07_10_04_9682.jpg
/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_14_9788.jpg
/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_25_10593.jpg
/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_34_9651.jpg
/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_44_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399601723","1399601767","1399601761","1399601800","1399601694","1399601780"],"photo_ids_order":["1399601694","1399601723","1399601761","1399601767","1399601780","1399601800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/442514f48f9631d8e63c4ac95b08a337.jpg","text":"TemporaryFile(/tmp/multipartBody3913600473109603839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865704792,"filename":"image_16122025_07_10_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/16/496c0ac8e0e43bcd3735a9a46814d715.jpg","text":"TemporaryFile(/tmp/multipartBody574465240256782710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865704792,"filename":"image_16122025_07_10_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1ac4a51196cf9a7da5012d39889a992.jpg","text":"TemporaryFile(/tmp/multipartBody2799115289755277059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865704792,"filename":"image_16122025_07_10_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/16/ef9fb23595370ea223d94f2c5d14c91b.jpg","text":"TemporaryFile(/tmp/multipartBody6126851982612080060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865704792,"filename":"image_16122025_07_10_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c3d200f4d9219621f59aafcd37424b4.jpg","text":"TemporaryFile(/tmp/multipartBody1321121574447591588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865704792,"filename":"image_16122025_07_09_55_10344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9700eb32a5c7bbc766eb3f5e1986e3f6.jpg","text":"TemporaryFile(/tmp/multipartBody4584935549090640083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865704792,"filename":"image_16122025_07_10_34_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399601761","file1":"1399601723","file0":"1399601694","file4":"1399601780","file5":"1399601800","file3":"1399601767"},"map_files_photo_id_array":[{"photo_id":"1399601800","filename":"file5"},{"photo_id":"1399601761","filename":"file2"},{"photo_id":"1399601780","filename":"file4"},{"photo_id":"1399601723","filename":"file1"},{"photo_id":"1399601694","filename":"file0"},{"photo_id":"1399601767","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399601723":["hashtag1","hashtag2"]},{"1399601767":["hashtag1","hashtag2"]},{"1399601761":["hashtag1","hashtag2"]},{"1399601800":["hashtag1","hashtag2"]},{"1399601694":["hashtag1","hashtag2"]},{"1399601780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399601723, 1399601767, 1399601761, 1399601800, 1399601694, 1399601780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32146382331848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:14:41.852960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_18_1614.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_19_1597.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_21_1630.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_23_1749.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_24_1595.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_26_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_18_1614.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_19_1597.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_21_1630.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_23_1749.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_24_1595.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_26_1552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399601828","1399601822","1399601825","1399601827","1399601826","1399601852"],"photo_ids_order":["1399601822","1399601825","1399601826","1399601827","1399601828","1399601852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb38fb80ce4f82f9cd7b7305f15a2d02.jpg","text":"TemporaryFile(/tmp/multipartBody2632131308916876396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865742545,"filename":"image_06112025_15_20_24_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/16/1aefe86aa502468494edf8275989bc7e.jpg","text":"TemporaryFile(/tmp/multipartBody7693117855638031263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865742545,"filename":"image_06112025_15_20_18_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/16/3e0925c17666cf7c2795a7ecda9ce3db.jpg","text":"TemporaryFile(/tmp/multipartBody6542486363442333746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865742545,"filename":"image_06112025_15_20_19_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/16/bbe05bba0803e967b7c3befaa88a8d67.jpg","text":"TemporaryFile(/tmp/multipartBody6938936736691765407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865742545,"filename":"image_06112025_15_20_23_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43fbf0cfa57435f817a164732e2087ea.jpg","text":"TemporaryFile(/tmp/multipartBody3982589753918081608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865742545,"filename":"image_06112025_15_20_21_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/16/9102acc5fd8987feb49cbbfc9af830ed.jpg","text":"TemporaryFile(/tmp/multipartBody421433344698836390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865742545,"filename":"image_06112025_15_20_26_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399601826","file1":"1399601825","file0":"1399601822","file4":"1399601828","file5":"1399601852","file3":"1399601827"},"map_files_photo_id_array":[{"photo_id":"1399601852","filename":"file5"},{"photo_id":"1399601826","filename":"file2"},{"photo_id":"1399601828","filename":"file4"},{"photo_id":"1399601825","filename":"file1"},{"photo_id":"1399601822","filename":"file0"},{"photo_id":"1399601827","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399601828":["hashtag1","hashtag2"]},{"1399601822":["hashtag1","hashtag2"]},{"1399601825":["hashtag1","hashtag2"]},{"1399601827":["hashtag1","hashtag2"]},{"1399601826":["hashtag1","hashtag2"]},{"1399601852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399601828, 1399601822, 1399601825, 1399601827, 1399601826, 1399601852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17058825492859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:15:21.989831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_54_9847.jpg', '/home/pi/Desktop/images/16122025/07/10/image_16122025_07_11_05_10750.jpg', '/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_15_9874.jpg', '/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_24_9773.jpg', '/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_34_9762.jpg', '/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_45_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/10/image_16122025_07_10_54_9847.jpg
/home/pi/Desktop/images/16122025/07/10/image_16122025_07_11_05_10750.jpg
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_15_9874.jpg
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_24_9773.jpg
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_34_9762.jpg
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_45_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399602011","1399602175","1399602061","1399602136","1399602099","1399601973"],"photo_ids_order":["1399601973","1399602011","1399602061","1399602099","1399602136","1399602175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/170700826ad398ecb88f4f233f1cbd6c.jpg","text":"TemporaryFile(/tmp/multipartBody1679879412132624291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865782633,"filename":"image_16122025_07_11_05_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8d576714fe3f013963bca418cd338d2.jpg","text":"TemporaryFile(/tmp/multipartBody6183609687819076445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865782633,"filename":"image_16122025_07_11_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/16/5516e13f4013f46d90f6ba384f606651.jpg","text":"TemporaryFile(/tmp/multipartBody7263368694541842758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865782633,"filename":"image_16122025_07_11_15_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/16/cb97ae6e3620129421e43bf60226ede6.jpg","text":"TemporaryFile(/tmp/multipartBody5593181615893984608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865782633,"filename":"image_16122025_07_11_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d652022afddbb01789162c1513e6f900.jpg","text":"TemporaryFile(/tmp/multipartBody3134635567331372229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865782633,"filename":"image_16122025_07_11_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/16/85eb2df2abc2173e19a91e70f6a6f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody8889337173956762740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865782633,"filename":"image_16122025_07_10_54_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602061","file1":"1399602011","file0":"1399601973","file4":"1399602136","file5":"1399602175","file3":"1399602099"},"map_files_photo_id_array":[{"photo_id":"1399602175","filename":"file5"},{"photo_id":"1399602061","filename":"file2"},{"photo_id":"1399602136","filename":"file4"},{"photo_id":"1399602011","filename":"file1"},{"photo_id":"1399601973","filename":"file0"},{"photo_id":"1399602099","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399602011":["hashtag1","hashtag2"]},{"1399602175":["hashtag1","hashtag2"]},{"1399602061":["hashtag1","hashtag2"]},{"1399602136":["hashtag1","hashtag2"]},{"1399602099":["hashtag1","hashtag2"]},{"1399601973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399602011, 1399602175, 1399602061, 1399602136, 1399602099, 1399601973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62463998794556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:16:02.803198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_54_9734.jpg', '/home/pi/Desktop/images/16122025/07/11/image_16122025_07_12_05_10177.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_24_9753.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_35_10588.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_44_9749.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_54_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_54_9734.jpg
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_12_05_10177.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_24_9753.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_35_10588.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_44_9749.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_54_9901.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5839970111846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:16:12.361486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:16:22.501781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_54_9734.jpg', '/home/pi/Desktop/images/16122025/07/11/image_16122025_07_12_05_10177.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_24_9753.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_35_10588.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_44_9749.jpg', '/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_54_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_11_54_9734.jpg
/home/pi/Desktop/images/16122025/07/11/image_16122025_07_12_05_10177.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_24_9753.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_35_10588.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_44_9749.jpg
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_12_54_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399602577","1399602604","1399602555","1399602593","1399602668","1399602629"],"photo_ids_order":["1399602555","1399602577","1399602593","1399602604","1399602629","1399602668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/323f613689ce9f63f50148813be027ac.jpg","text":"TemporaryFile(/tmp/multipartBody5094128886915032915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865843158,"filename":"image_16122025_07_12_05_10177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5c4f0360206561daf2eaedcd433857b.jpg","text":"TemporaryFile(/tmp/multipartBody2354321022999945942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865843158,"filename":"image_16122025_07_12_35_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f682ba40413492d24858914dec6e71b3.jpg","text":"TemporaryFile(/tmp/multipartBody6429851656418039052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865843158,"filename":"image_16122025_07_11_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52dc58d587deb511e1bd004a990ef474.jpg","text":"TemporaryFile(/tmp/multipartBody8785221166381937141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865843158,"filename":"image_16122025_07_12_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/16/be018b6b7de89ac6e5266c2a6cf24fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1438769813456895840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865843158,"filename":"image_16122025_07_12_54_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1dcd06420e34f2113db2f6de90f20cb6.jpg","text":"TemporaryFile(/tmp/multipartBody555009652839848160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865843158,"filename":"image_16122025_07_12_44_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602593","file1":"1399602577","file0":"1399602555","file4":"1399602629","file5":"1399602668","file3":"1399602604"},"map_files_photo_id_array":[{"photo_id":"1399602668","filename":"file5"},{"photo_id":"1399602593","filename":"file2"},{"photo_id":"1399602629","filename":"file4"},{"photo_id":"1399602577","filename":"file1"},{"photo_id":"1399602555","filename":"file0"},{"photo_id":"1399602604","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399602577":["hashtag1","hashtag2"]},{"1399602604":["hashtag1","hashtag2"]},{"1399602555":["hashtag1","hashtag2"]},{"1399602593":["hashtag1","hashtag2"]},{"1399602668":["hashtag1","hashtag2"]},{"1399602629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399602577, 1399602604, 1399602555, 1399602593, 1399602668, 1399602629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25001811981201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:17:03.229714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/12/image_16122025_07_13_05_10247.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_15_10085.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_25_9786.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_34_9696.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_44_9759.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_13_05_10247.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_15_10085.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_25_9786.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_34_9696.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_44_9759.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_55_10711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6127383708953857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:17:12.549494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:17:22.567402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/12/image_16122025_07_13_05_10247.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_15_10085.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_25_9786.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_34_9696.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_44_9759.jpg', '/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/12/image_16122025_07_13_05_10247.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_15_10085.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_25_9786.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_34_9696.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_44_9759.jpg
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_13_55_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399602803","1399602805","1399602808","1399602798","1399602795","1399602800"],"photo_ids_order":["1399602795","1399602798","1399602800","1399602803","1399602805","1399602808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d374052c09ec90c1d50b414461db68b.jpg","text":"TemporaryFile(/tmp/multipartBody2614751318942549739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865903265,"filename":"image_16122025_07_13_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/16/fdf3ef94d9f8b40410ce54e34cc29493.jpg","text":"TemporaryFile(/tmp/multipartBody1201156229266853331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865903265,"filename":"image_16122025_07_13_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/16/4cc146781b40eee8c20e27a7775f0636.jpg","text":"TemporaryFile(/tmp/multipartBody380549909695459374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865903265,"filename":"image_16122025_07_13_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14711ba1abcdc1a28ac9e178a6eb2662.jpg","text":"TemporaryFile(/tmp/multipartBody6944682454126434080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865903265,"filename":"image_16122025_07_13_15_10085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a8b4ac2339ffe7ad26814ce04443484.jpg","text":"TemporaryFile(/tmp/multipartBody1732637972217454874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865903265,"filename":"image_16122025_07_13_05_10247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/28ad5a1401053c238523ddbcbdbf4267.jpg","text":"TemporaryFile(/tmp/multipartBody7798695433785105025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865903265,"filename":"image_16122025_07_13_25_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602800","file1":"1399602798","file0":"1399602795","file4":"1399602805","file5":"1399602808","file3":"1399602803"},"map_files_photo_id_array":[{"photo_id":"1399602808","filename":"file5"},{"photo_id":"1399602800","filename":"file2"},{"photo_id":"1399602805","filename":"file4"},{"photo_id":"1399602798","filename":"file1"},{"photo_id":"1399602795","filename":"file0"},{"photo_id":"1399602803","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399602803":["hashtag1","hashtag2"]},{"1399602805":["hashtag1","hashtag2"]},{"1399602808":["hashtag1","hashtag2"]},{"1399602798":["hashtag1","hashtag2"]},{"1399602795":["hashtag1","hashtag2"]},{"1399602800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399602803, 1399602805, 1399602808, 1399602798, 1399602795, 1399602800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.622406005859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:18:03.235045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/13/image_16122025_07_14_04_9762.jpg', '/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_14_9607.jpg', '/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_25_10739.jpg', '/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_44_9806.jpg', '/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_54_9669.jpg', '/home/pi/Desktop/images/16122025/07/14/image_16122025_07_15_04_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/13/image_16122025_07_14_04_9762.jpg
/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_14_9607.jpg
/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_25_10739.jpg
/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_44_9806.jpg
/home/pi/Desktop/images/16122025/07/14/image_16122025_07_14_54_9669.jpg
/home/pi/Desktop/images/16122025/07/14/image_16122025_07_15_04_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":["1399602811","1399602817","1399602822","1399602819","1399602813","1399602815"],"photo_ids_order":["1399602811","1399602813","1399602815","1399602817","1399602819","1399602822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9591fde2d4fadbf524ef52cfb7e46de3.jpg","text":"TemporaryFile(/tmp/multipartBody5573838646845481964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865943950,"filename":"image_16122025_07_14_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df4e37e2c32622362da6a4c6e824d75b.jpg","text":"TemporaryFile(/tmp/multipartBody2613923805804856837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865943950,"filename":"image_16122025_07_14_44_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/16/48dec60e7da82c8231dab041f67bb529.jpg","text":"TemporaryFile(/tmp/multipartBody8444493347842637918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865943950,"filename":"image_16122025_07_15_04_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/00da1d4677af547e9cd78912457fcdb1.jpg","text":"TemporaryFile(/tmp/multipartBody2991675401698823030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865943950,"filename":"image_16122025_07_14_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/16/3956113f9678c50edea168d1ff442785.jpg","text":"TemporaryFile(/tmp/multipartBody6315280233364330654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865943950,"filename":"image_16122025_07_14_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3764fea3d7814628c2e8108fa7bd1648.jpg","text":"TemporaryFile(/tmp/multipartBody337810850099269816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865943950,"filename":"image_16122025_07_14_25_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602815","file1":"1399602813","file0":"1399602811","file4":"1399602819","file5":"1399602822","file3":"1399602817"},"map_files_photo_id_array":[{"photo_id":"1399602822","filename":"file5"},{"photo_id":"1399602815","filename":"file2"},{"photo_id":"1399602819","filename":"file4"},{"photo_id":"1399602813","filename":"file1"},{"photo_id":"1399602811","filename":"file0"},{"photo_id":"1399602817","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399602811":["hashtag1","hashtag2"]},{"1399602817":["hashtag1","hashtag2"]},{"1399602822":["hashtag1","hashtag2"]},{"1399602819":["hashtag1","hashtag2"]},{"1399602813":["hashtag1","hashtag2"]},{"1399602815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399602811, 1399602817, 1399602822, 1399602819, 1399602813, 1399602815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73075199127197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:18:42.712265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_28_1687.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_29_1633.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_31_1741.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_33_1765.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_37_4545.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_39_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_28_1687.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_29_1633.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_31_1741.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_33_1765.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_37_4545.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_39_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399602832","1399602834","1399602828","1399602831","1399602830","1399602833"],"photo_ids_order":["1399602828","1399602830","1399602831","1399602832","1399602833","1399602834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44e8db94ef11e84a26d6b673e8e65623.jpg","text":"TemporaryFile(/tmp/multipartBody3704397524229747919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865983433,"filename":"image_06112025_15_20_33_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30d02d09d663d7ca75742cf34a8be220.jpg","text":"TemporaryFile(/tmp/multipartBody424643189690155066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865983433,"filename":"image_06112025_15_20_39_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/16/bcd388eb8aff27d9aa8291e7d4c4a5ba.jpg","text":"TemporaryFile(/tmp/multipartBody8118516026218394282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865983433,"filename":"image_06112025_15_20_28_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac70829324b482112224ce33f65b43de.jpg","text":"TemporaryFile(/tmp/multipartBody7812367664533790393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865983433,"filename":"image_06112025_15_20_31_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/16/611f2c9f364496ae53df96f7c2858300.jpg","text":"TemporaryFile(/tmp/multipartBody3890063487836925182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865983433,"filename":"image_06112025_15_20_29_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/306c27eac51b685afc12e804674f0261.jpg","text":"TemporaryFile(/tmp/multipartBody2450392446599942597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765865983433,"filename":"image_06112025_15_20_37_4545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602831","file1":"1399602830","file0":"1399602828","file4":"1399602833","file5":"1399602834","file3":"1399602832"},"map_files_photo_id_array":[{"photo_id":"1399602834","filename":"file5"},{"photo_id":"1399602831","filename":"file2"},{"photo_id":"1399602833","filename":"file4"},{"photo_id":"1399602830","filename":"file1"},{"photo_id":"1399602828","filename":"file0"},{"photo_id":"1399602832","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399602832":["hashtag1","hashtag2"]},{"1399602834":["hashtag1","hashtag2"]},{"1399602828":["hashtag1","hashtag2"]},{"1399602831":["hashtag1","hashtag2"]},{"1399602830":["hashtag1","hashtag2"]},{"1399602833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399602832, 1399602834, 1399602828, 1399602831, 1399602830, 1399602833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16419839859009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:19:22.016963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_15_10918.jpg', '/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_25_9880.jpg', '/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_34_9706.jpg', '/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_55_10703.jpg', '/home/pi/Desktop/images/16122025/07/15/image_16122025_07_16_05_9856.jpg', '/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_14_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_15_10918.jpg
/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_25_9880.jpg
/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_34_9706.jpg
/home/pi/Desktop/images/16122025/07/15/image_16122025_07_15_55_10703.jpg
/home/pi/Desktop/images/16122025/07/15/image_16122025_07_16_05_9856.jpg
/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_14_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":["1399602856","1399602852","1399602858","1399602863","1399602860","1399602854"],"photo_ids_order":["1399602852","1399602854","1399602856","1399602858","1399602860","1399602863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5506b17002bc84ffd11e1a9fb19a4ad.jpg","text":"TemporaryFile(/tmp/multipartBody7778808877248311254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866022723,"filename":"image_16122025_07_15_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12f6200cc2371f75f4bb73f57f5fd6aa.jpg","text":"TemporaryFile(/tmp/multipartBody1631625613152156409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866022723,"filename":"image_16122025_07_15_15_10918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2c5036e65fba10efb0fb4014f33b36e.jpg","text":"TemporaryFile(/tmp/multipartBody5472228829653133066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866022723,"filename":"image_16122025_07_15_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/05393e475333a31bf43bac86cfe26e51.jpg","text":"TemporaryFile(/tmp/multipartBody5461182709771390734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866022723,"filename":"image_16122025_07_16_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/743744609b0b49a4ab6ccb3967782009.jpg","text":"TemporaryFile(/tmp/multipartBody7766523853595102917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866022723,"filename":"image_16122025_07_16_05_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9958b910ff6cc7f5ab2f7477d7510ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4325564029337184467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866022723,"filename":"image_16122025_07_15_25_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602856","file1":"1399602854","file0":"1399602852","file4":"1399602860","file5":"1399602863","file3":"1399602858"},"map_files_photo_id_array":[{"photo_id":"1399602863","filename":"file5"},{"photo_id":"1399602856","filename":"file2"},{"photo_id":"1399602860","filename":"file4"},{"photo_id":"1399602854","filename":"file1"},{"photo_id":"1399602852","filename":"file0"},{"photo_id":"1399602858","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399602856":["hashtag1","hashtag2"]},{"1399602852":["hashtag1","hashtag2"]},{"1399602858":["hashtag1","hashtag2"]},{"1399602863":["hashtag1","hashtag2"]},{"1399602860":["hashtag1","hashtag2"]},{"1399602854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399602856, 1399602852, 1399602858, 1399602863, 1399602860, 1399602854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25563168525696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:20:02.589619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_24_9731.jpg', '/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_35_10638.jpg', '/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_44_9690.jpg', '/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_54_9772.jpg', '/home/pi/Desktop/images/16122025/07/16/image_16122025_07_17_04_9688.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_15_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_24_9731.jpg
/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_35_10638.jpg
/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_44_9690.jpg
/home/pi/Desktop/images/16122025/07/16/image_16122025_07_16_54_9772.jpg
/home/pi/Desktop/images/16122025/07/16/image_16122025_07_17_04_9688.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_15_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":["1399602883","1399602882","1399602888","1399602876","1399602881","1399602884"],"photo_ids_order":["1399602876","1399602881","1399602882","1399602883","1399602884","1399602888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd6baa27047aa997197bac2c2fedd586.jpg","text":"TemporaryFile(/tmp/multipartBody6866673490063208865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866063282,"filename":"image_16122025_07_16_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fdf01c8b73dc1792d2ece95bea02fd7a.jpg","text":"TemporaryFile(/tmp/multipartBody3470828799110285913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866063282,"filename":"image_16122025_07_16_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/16/f46bab5ce08f3a9f001e47f5f00e716d.jpg","text":"TemporaryFile(/tmp/multipartBody1926382696302419403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866063282,"filename":"image_16122025_07_17_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33d1acc540cfe1097271155ee114ed96.jpg","text":"TemporaryFile(/tmp/multipartBody733545291512997309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866063282,"filename":"image_16122025_07_16_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/16/da57a71aee851c84238e5cd5f2f05369.jpg","text":"TemporaryFile(/tmp/multipartBody7161818778328210761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866063282,"filename":"image_16122025_07_16_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/16/d4aba6f131269972ce6225cebaaaa5a1.jpg","text":"TemporaryFile(/tmp/multipartBody5351793755775023335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866063282,"filename":"image_16122025_07_17_04_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602882","file1":"1399602881","file0":"1399602876","file4":"1399602884","file5":"1399602888","file3":"1399602883"},"map_files_photo_id_array":[{"photo_id":"1399602888","filename":"file5"},{"photo_id":"1399602882","filename":"file2"},{"photo_id":"1399602884","filename":"file4"},{"photo_id":"1399602881","filename":"file1"},{"photo_id":"1399602876","filename":"file0"},{"photo_id":"1399602883","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399602883":["hashtag1","hashtag2"]},{"1399602882":["hashtag1","hashtag2"]},{"1399602888":["hashtag1","hashtag2"]},{"1399602876":["hashtag1","hashtag2"]},{"1399602881":["hashtag1","hashtag2"]},{"1399602884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399602883, 1399602882, 1399602888, 1399602876, 1399602881, 1399602884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.491694688797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:20:42.245258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_40_1507.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_42_1586.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_44_1775.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_46_1744.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_47_1641.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_51_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_40_1507.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_42_1586.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_44_1775.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_46_1744.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_47_1641.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_51_3549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399602902","1399602922","1399602901","1399602903","1399602911","1399602898"],"photo_ids_order":["1399602898","1399602901","1399602902","1399602903","1399602911","1399602922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5a21b906af0539f3524f1ad86e6a14e.jpg","text":"TemporaryFile(/tmp/multipartBody8597880801978574274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866102930,"filename":"image_06112025_15_20_44_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c72ea639474c6123d73ac075f2d5fae1.jpg","text":"TemporaryFile(/tmp/multipartBody6890818547202053053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866102930,"filename":"image_06112025_15_20_51_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/16/fa580710ebd2876e410735a978685fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8323194295901508581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866102930,"filename":"image_06112025_15_20_42_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61a2f3dc407bcab8477c5e91920f0017.jpg","text":"TemporaryFile(/tmp/multipartBody3803502829571604086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866102930,"filename":"image_06112025_15_20_46_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/16/3c03374c7230985193d763c305bfc9aa.jpg","text":"TemporaryFile(/tmp/multipartBody1737376257019359858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866102930,"filename":"image_06112025_15_20_47_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/16/67a3104cc53715c1b3fe4d9eae4557c7.jpg","text":"TemporaryFile(/tmp/multipartBody6018672127911546911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866102930,"filename":"image_06112025_15_20_40_1507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602902","file1":"1399602901","file0":"1399602898","file4":"1399602911","file5":"1399602922","file3":"1399602903"},"map_files_photo_id_array":[{"photo_id":"1399602922","filename":"file5"},{"photo_id":"1399602902","filename":"file2"},{"photo_id":"1399602911","filename":"file4"},{"photo_id":"1399602901","filename":"file1"},{"photo_id":"1399602898","filename":"file0"},{"photo_id":"1399602903","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399602902":["hashtag1","hashtag2"]},{"1399602922":["hashtag1","hashtag2"]},{"1399602901":["hashtag1","hashtag2"]},{"1399602903":["hashtag1","hashtag2"]},{"1399602911":["hashtag1","hashtag2"]},{"1399602898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399602902, 1399602922, 1399602901, 1399602903, 1399602911, 1399602898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.717846155166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:21:22.466026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_24_9657.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_34_9582.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_44_10669.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_54_9699.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_18_05_10610.jpg', '/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_24_9657.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_34_9582.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_44_10669.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_54_9699.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_18_05_10610.jpg
/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_14_9668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5193054676055908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:21:32.409566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:21:42.416685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_53_2624.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_57_3637.jpg', '/home/pi/Desktop/images/06112025/15/20/image_06112025_15_21_00_2713.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_02_2550.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_05_3103.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_08_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_53_2624.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_20_57_3637.jpg
/home/pi/Desktop/images/06112025/15/20/image_06112025_15_21_00_2713.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_02_2550.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_05_3103.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_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":["1399602979","1399602976","1399602978","1399602980","1399602974","1399602977"],"photo_ids_order":["1399602974","1399602976","1399602977","1399602978","1399602979","1399602980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8dee7c5bcd0913443b87bcda2749501e.jpg","text":"TemporaryFile(/tmp/multipartBody8218668771780909409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866163141,"filename":"image_06112025_15_21_05_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/16/262f75f1a145fd7b9b704021f41797be.jpg","text":"TemporaryFile(/tmp/multipartBody85898822339069360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866163141,"filename":"image_06112025_15_20_57_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/16/752c52560707bff828d2ef8589a60292.jpg","text":"TemporaryFile(/tmp/multipartBody179800515719202791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866163141,"filename":"image_06112025_15_21_02_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc071ef1afc51da1ec6cee23f8f94e30.jpg","text":"TemporaryFile(/tmp/multipartBody7438756646967138360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866163141,"filename":"image_06112025_15_21_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/16/baf9780c7eaaa32b6c76d29dcb2f1256.jpg","text":"TemporaryFile(/tmp/multipartBody7416583281421833039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866163141,"filename":"image_06112025_15_20_53_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/16/bb185780bf6debf52a4787eb1c8f6b86.jpg","text":"TemporaryFile(/tmp/multipartBody2309549569900776551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866163141,"filename":"image_06112025_15_21_00_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602977","file1":"1399602976","file0":"1399602974","file4":"1399602979","file5":"1399602980","file3":"1399602978"},"map_files_photo_id_array":[{"photo_id":"1399602980","filename":"file5"},{"photo_id":"1399602977","filename":"file2"},{"photo_id":"1399602979","filename":"file4"},{"photo_id":"1399602976","filename":"file1"},{"photo_id":"1399602974","filename":"file0"},{"photo_id":"1399602978","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399602979":["hashtag1","hashtag2"]},{"1399602976":["hashtag1","hashtag2"]},{"1399602978":["hashtag1","hashtag2"]},{"1399602980":["hashtag1","hashtag2"]},{"1399602974":["hashtag1","hashtag2"]},{"1399602977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399602979, 1399602976, 1399602978, 1399602980, 1399602974, 1399602977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03530502319336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:22:22.606178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_24_9657.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_34_9582.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_44_10669.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_54_9699.jpg', '/home/pi/Desktop/images/16122025/07/17/image_16122025_07_18_05_10610.jpg', '/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_24_9657.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_34_9582.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_44_10669.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_17_54_9699.jpg
/home/pi/Desktop/images/16122025/07/17/image_16122025_07_18_05_10610.jpg
/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_14_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399602985","1399602990","1399602993","1399602987","1399602995","1399602997"],"photo_ids_order":["1399602985","1399602987","1399602990","1399602993","1399602995","1399602997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6587f496439bb7f7ada28befc4def06.jpg","text":"TemporaryFile(/tmp/multipartBody4640177049611450711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866203274,"filename":"image_16122025_07_17_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/16/af737fe8c36c23fe2e0bbcaa0dcfc45e.jpg","text":"TemporaryFile(/tmp/multipartBody6041416794482872370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866203274,"filename":"image_16122025_07_17_44_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/16/f80582de55d45f985b014be3e1a09745.jpg","text":"TemporaryFile(/tmp/multipartBody7634304754621502707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866203274,"filename":"image_16122025_07_17_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/16/9506c137e0504bc2ef4271cdac9bcb85.jpg","text":"TemporaryFile(/tmp/multipartBody8542833661048469552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866203274,"filename":"image_16122025_07_17_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/16/6d417bfa280d30739fb21d93f768d712.jpg","text":"TemporaryFile(/tmp/multipartBody7940547640050101431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866203274,"filename":"image_16122025_07_18_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2543dd3dd963f3f8888ae7747c31b327.jpg","text":"TemporaryFile(/tmp/multipartBody1978964304251124173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866203274,"filename":"image_16122025_07_18_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399602990","file1":"1399602987","file0":"1399602985","file4":"1399602995","file5":"1399602997","file3":"1399602993"},"map_files_photo_id_array":[{"photo_id":"1399602997","filename":"file5"},{"photo_id":"1399602990","filename":"file2"},{"photo_id":"1399602995","filename":"file4"},{"photo_id":"1399602987","filename":"file1"},{"photo_id":"1399602985","filename":"file0"},{"photo_id":"1399602993","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399602985":["hashtag1","hashtag2"]},{"1399602990":["hashtag1","hashtag2"]},{"1399602993":["hashtag1","hashtag2"]},{"1399602987":["hashtag1","hashtag2"]},{"1399602995":["hashtag1","hashtag2"]},{"1399602997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399602985, 1399602990, 1399602993, 1399602987, 1399602995, 1399602997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92608165740967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:23:03.393794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_24_9671.jpg', '/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_34_9796.jpg', '/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_45_10766.jpg', '/home/pi/Desktop/images/16122025/07/18/image_16122025_07_19_04_9567.jpg', '/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_14_9841.jpg', '/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_25_10864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_24_9671.jpg
/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_34_9796.jpg
/home/pi/Desktop/images/16122025/07/18/image_16122025_07_18_45_10766.jpg
/home/pi/Desktop/images/16122025/07/18/image_16122025_07_19_04_9567.jpg
/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_14_9841.jpg
/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_25_10864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399603024","1399603027","1399603015","1399603032","1399603035","1399603022"],"photo_ids_order":["1399603015","1399603022","1399603024","1399603027","1399603032","1399603035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae9b73adcf54cbe5136648332c1ad0cf.jpg","text":"TemporaryFile(/tmp/multipartBody5388630010991734028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866244115,"filename":"image_16122025_07_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/16/c67cb07b8d1e48f98e1343f68fd94d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6369290704328624810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866244115,"filename":"image_16122025_07_19_04_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/16/a48000f6c9eda700876c8193707bf2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2364184332248626631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866244115,"filename":"image_16122025_07_18_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/16/bdc046a9cedcb0b99c5cf13efed8d808.jpg","text":"TemporaryFile(/tmp/multipartBody3376950204405852938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866244115,"filename":"image_16122025_07_19_14_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a3e85ddb573e488303a4f57c708adbf.jpg","text":"TemporaryFile(/tmp/multipartBody4407942754418167346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866244115,"filename":"image_16122025_07_19_25_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/16/c674bb7ac8e159b1f929101881d70f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8127597437431474144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866244115,"filename":"image_16122025_07_18_34_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603024","file1":"1399603022","file0":"1399603015","file4":"1399603032","file5":"1399603035","file3":"1399603027"},"map_files_photo_id_array":[{"photo_id":"1399603035","filename":"file5"},{"photo_id":"1399603024","filename":"file2"},{"photo_id":"1399603032","filename":"file4"},{"photo_id":"1399603022","filename":"file1"},{"photo_id":"1399603015","filename":"file0"},{"photo_id":"1399603027","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399603024":["hashtag1","hashtag2"]},{"1399603027":["hashtag1","hashtag2"]},{"1399603015":["hashtag1","hashtag2"]},{"1399603032":["hashtag1","hashtag2"]},{"1399603035":["hashtag1","hashtag2"]},{"1399603022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399603024, 1399603027, 1399603015, 1399603032, 1399603035, 1399603022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45133137702942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:23:42.809263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_12_3570.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_14_2702.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_17_2660.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_21_3797.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_23_2606.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_37_13563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_12_3570.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_14_2702.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_17_2660.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_21_3797.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_23_2606.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_37_13563.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5940520763397217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:24:02.563971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_34_9733.jpg', '/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_44_9799.jpg', '/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_54_9740.jpg', '/home/pi/Desktop/images/16122025/07/19/image_16122025_07_20_05_10772.jpg', '/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_15_9777.jpg', '/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_25_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_34_9733.jpg
/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_44_9799.jpg
/home/pi/Desktop/images/16122025/07/19/image_16122025_07_19_54_9740.jpg
/home/pi/Desktop/images/16122025/07/19/image_16122025_07_20_05_10772.jpg
/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_15_9777.jpg
/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_25_9994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399603054","1399603062","1399603050","1399603056","1399603058","1399603052"],"photo_ids_order":["1399603050","1399603052","1399603054","1399603056","1399603058","1399603062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04612537d41605e4d8cb9e0feb9828ea.jpg","text":"TemporaryFile(/tmp/multipartBody4868171420669735460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866303354,"filename":"image_16122025_07_19_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/16/e6c2ee785b3f4d9d004d106c56c21868.jpg","text":"TemporaryFile(/tmp/multipartBody3527052008980075107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866303354,"filename":"image_16122025_07_20_25_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/16/c02cdc4cbf35c97bbb0a8c38cf041056.jpg","text":"TemporaryFile(/tmp/multipartBody4671528225364336061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866303354,"filename":"image_16122025_07_19_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/441c9a22c369a5ad91127ebf84e32343.jpg","text":"TemporaryFile(/tmp/multipartBody565130471523203825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866303354,"filename":"image_16122025_07_20_05_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d39d046c7c388829b6433d784bfcc314.jpg","text":"TemporaryFile(/tmp/multipartBody3512954537275137456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866303354,"filename":"image_16122025_07_20_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/712486099e0f141bcc0d54393fa51469.jpg","text":"TemporaryFile(/tmp/multipartBody2503533482593943113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866303354,"filename":"image_16122025_07_19_44_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603054","file1":"1399603052","file0":"1399603050","file4":"1399603058","file5":"1399603062","file3":"1399603056"},"map_files_photo_id_array":[{"photo_id":"1399603062","filename":"file5"},{"photo_id":"1399603054","filename":"file2"},{"photo_id":"1399603058","filename":"file4"},{"photo_id":"1399603052","filename":"file1"},{"photo_id":"1399603050","filename":"file0"},{"photo_id":"1399603056","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399603054":["hashtag1","hashtag2"]},{"1399603062":["hashtag1","hashtag2"]},{"1399603050":["hashtag1","hashtag2"]},{"1399603056":["hashtag1","hashtag2"]},{"1399603058":["hashtag1","hashtag2"]},{"1399603052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399603054, 1399603062, 1399603050, 1399603056, 1399603058, 1399603052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00073432922363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:24:42.022426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_12_3570.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_14_2702.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_17_2660.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_21_3797.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_23_2606.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_37_13563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_12_3570.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_14_2702.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_17_2660.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_21_3797.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_23_2606.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_37_13563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399603095","1399603088","1399603097","1399603070","1399603096","1399603078"],"photo_ids_order":["1399603070","1399603078","1399603088","1399603095","1399603096","1399603097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d12ff5dab1d0c55229715023f2e00af.jpg","text":"TemporaryFile(/tmp/multipartBody6081554254080924131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866342609,"filename":"image_06112025_15_21_21_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/16/b3dcf121b78d632f4409f69bc57aefba.jpg","text":"TemporaryFile(/tmp/multipartBody1172821969678815411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866342609,"filename":"image_06112025_15_21_17_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea2b6a5690b377386610432a0c16780f.jpg","text":"TemporaryFile(/tmp/multipartBody3265747817911774111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866342609,"filename":"image_06112025_15_21_37_13563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b0b766a803bccb23ebf97f16f2af6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7865023947235306751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866342609,"filename":"image_06112025_15_21_12_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/16/96d148f6b3b0d0de0264aaf4ad31d793.jpg","text":"TemporaryFile(/tmp/multipartBody8576511379870227924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866342609,"filename":"image_06112025_15_21_23_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/16/06384832a2cc253c5caee80ed5d343f7.jpg","text":"TemporaryFile(/tmp/multipartBody1489061988768993830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866342609,"filename":"image_06112025_15_21_14_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603088","file1":"1399603078","file0":"1399603070","file4":"1399603096","file5":"1399603097","file3":"1399603095"},"map_files_photo_id_array":[{"photo_id":"1399603097","filename":"file5"},{"photo_id":"1399603088","filename":"file2"},{"photo_id":"1399603096","filename":"file4"},{"photo_id":"1399603078","filename":"file1"},{"photo_id":"1399603070","filename":"file0"},{"photo_id":"1399603095","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399603095":["hashtag1","hashtag2"]},{"1399603088":["hashtag1","hashtag2"]},{"1399603097":["hashtag1","hashtag2"]},{"1399603070":["hashtag1","hashtag2"]},{"1399603096":["hashtag1","hashtag2"]},{"1399603078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399603095, 1399603088, 1399603097, 1399603070, 1399603096, 1399603078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9252724647522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:25:22.281469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_34_9785.jpg', '/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_44_9729.jpg', '/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_55_10651.jpg', '/home/pi/Desktop/images/16122025/07/20/image_16122025_07_21_04_9693.jpg', '/home/pi/Desktop/images/16122025/07/21/image_16122025_07_21_34_9751.jpg', '/home/pi/Desktop/images/16122025/07/21/image_16122025_07_21_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_34_9785.jpg
/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_44_9729.jpg
/home/pi/Desktop/images/16122025/07/20/image_16122025_07_20_55_10651.jpg
/home/pi/Desktop/images/16122025/07/20/image_16122025_07_21_04_9693.jpg
/home/pi/Desktop/images/16122025/07/21/image_16122025_07_21_34_9751.jpg
/home/pi/Desktop/images/16122025/07/21/image_16122025_07_21_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399603233","1399603101","1399603187","1399603142","1399603106","1399603103"],"photo_ids_order":["1399603101","1399603103","1399603106","1399603142","1399603187","1399603233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b0dda8c076e91a4dbaa1c7a133260b9.jpg","text":"TemporaryFile(/tmp/multipartBody5689227400796842574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866382986,"filename":"image_16122025_07_21_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/16/ed5cea4a50730f17a39d8b1e15404c31.jpg","text":"TemporaryFile(/tmp/multipartBody1546796970558066439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866382986,"filename":"image_16122025_07_20_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/16/939292e1c87c9f62b7505a6382de2481.jpg","text":"TemporaryFile(/tmp/multipartBody2712769467499425481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866382986,"filename":"image_16122025_07_21_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07083bb3c82cff46454b737d06cf61bd.jpg","text":"TemporaryFile(/tmp/multipartBody5482187773213850124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866382986,"filename":"image_16122025_07_21_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/16/81e9db582da495f5943eb65591b48dcd.jpg","text":"TemporaryFile(/tmp/multipartBody518710140499166153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866382986,"filename":"image_16122025_07_20_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cdbaab234de543e042457d1c4d9950f3.jpg","text":"TemporaryFile(/tmp/multipartBody5938546481579631648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866382986,"filename":"image_16122025_07_20_44_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603106","file1":"1399603103","file0":"1399603101","file4":"1399603187","file5":"1399603233","file3":"1399603142"},"map_files_photo_id_array":[{"photo_id":"1399603233","filename":"file5"},{"photo_id":"1399603106","filename":"file2"},{"photo_id":"1399603187","filename":"file4"},{"photo_id":"1399603103","filename":"file1"},{"photo_id":"1399603101","filename":"file0"},{"photo_id":"1399603142","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399603233":["hashtag1","hashtag2"]},{"1399603101":["hashtag1","hashtag2"]},{"1399603187":["hashtag1","hashtag2"]},{"1399603142":["hashtag1","hashtag2"]},{"1399603106":["hashtag1","hashtag2"]},{"1399603103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399603233, 1399603101, 1399603187, 1399603142, 1399603106, 1399603103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13188910484314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:26:02.959476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_14_9846.jpg', '/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_34_9717.jpg', '/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_45_10705.jpg', '/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_54_9673.jpg', '/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_14_9725.jpg', '/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_25_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_14_9846.jpg
/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_34_9717.jpg
/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_45_10705.jpg
/home/pi/Desktop/images/16122025/07/22/image_16122025_07_22_54_9673.jpg
/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_14_9725.jpg
/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_25_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399603423","1399603416","1399603419","1399603379","1399603427","1399603412"],"photo_ids_order":["1399603379","1399603412","1399603416","1399603419","1399603423","1399603427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97a032d8278b7c5975059c5a97de6b4e.jpg","text":"TemporaryFile(/tmp/multipartBody7496976169963401450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866423640,"filename":"image_16122025_07_23_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/16/ce4cf35b377eb5a744201a04b41eda9d.jpg","text":"TemporaryFile(/tmp/multipartBody7416642931389523179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866423640,"filename":"image_16122025_07_22_45_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21040dca6dcb4f22074198756cae9c12.jpg","text":"TemporaryFile(/tmp/multipartBody313853660745879250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866423640,"filename":"image_16122025_07_22_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4690af114cd8c73124be301d6630cb40.jpg","text":"TemporaryFile(/tmp/multipartBody486787911935601148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866423640,"filename":"image_16122025_07_22_14_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e337913c5cb5a390ae608468395657ff.jpg","text":"TemporaryFile(/tmp/multipartBody3561916807503123991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866423640,"filename":"image_16122025_07_23_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3ad79c8697ca4783494cc9b4354f37c.jpg","text":"TemporaryFile(/tmp/multipartBody6965969348813956056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866423640,"filename":"image_16122025_07_22_34_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603416","file1":"1399603412","file0":"1399603379","file4":"1399603423","file5":"1399603427","file3":"1399603419"},"map_files_photo_id_array":[{"photo_id":"1399603427","filename":"file5"},{"photo_id":"1399603416","filename":"file2"},{"photo_id":"1399603423","filename":"file4"},{"photo_id":"1399603412","filename":"file1"},{"photo_id":"1399603379","filename":"file0"},{"photo_id":"1399603419","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399603423":["hashtag1","hashtag2"]},{"1399603416":["hashtag1","hashtag2"]},{"1399603419":["hashtag1","hashtag2"]},{"1399603379":["hashtag1","hashtag2"]},{"1399603427":["hashtag1","hashtag2"]},{"1399603412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399603423, 1399603416, 1399603419, 1399603379, 1399603427, 1399603412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3816499710083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:27:02.595526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_34_9740.jpg', '/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_44_9885.jpg', '/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_54_9619.jpg', '/home/pi/Desktop/images/16122025/07/23/image_16122025_07_24_04_10625.jpg', '/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_14_9843.jpg', '/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_25_10293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_34_9740.jpg
/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_44_9885.jpg
/home/pi/Desktop/images/16122025/07/23/image_16122025_07_23_54_9619.jpg
/home/pi/Desktop/images/16122025/07/23/image_16122025_07_24_04_10625.jpg
/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_14_9843.jpg
/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_25_10293.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399603644","1399603638","1399603652","1399603700","1399603690","1399603654"],"photo_ids_order":["1399603638","1399603644","1399603652","1399603654","1399603690","1399603700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35f85ec93a471e91080edf47aa192940.jpg","text":"TemporaryFile(/tmp/multipartBody8521884810268923253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866483363,"filename":"image_16122025_07_23_44_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/16/3d7fa671b561155e25aaf801a5766c19.jpg","text":"TemporaryFile(/tmp/multipartBody678666228236050584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866483363,"filename":"image_16122025_07_23_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f4456baa3a932794cb2a245d1b0e4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6600089449529768814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866483363,"filename":"image_16122025_07_23_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/16/75e7537a4af51d081f354899e06cab0a.jpg","text":"TemporaryFile(/tmp/multipartBody1281725167863264984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866483363,"filename":"image_16122025_07_24_25_10293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/55039cdb10332d3934ae9664dc48b701.jpg","text":"TemporaryFile(/tmp/multipartBody3987578963326854785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866483363,"filename":"image_16122025_07_24_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/16/fdab290156e20e3ce8a811672deb3ccd.jpg","text":"TemporaryFile(/tmp/multipartBody937142176514338124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866483363,"filename":"image_16122025_07_24_04_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603652","file1":"1399603644","file0":"1399603638","file4":"1399603690","file5":"1399603700","file3":"1399603654"},"map_files_photo_id_array":[{"photo_id":"1399603700","filename":"file5"},{"photo_id":"1399603652","filename":"file2"},{"photo_id":"1399603690","filename":"file4"},{"photo_id":"1399603644","filename":"file1"},{"photo_id":"1399603638","filename":"file0"},{"photo_id":"1399603654","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399603644":["hashtag1","hashtag2"]},{"1399603638":["hashtag1","hashtag2"]},{"1399603652":["hashtag1","hashtag2"]},{"1399603700":["hashtag1","hashtag2"]},{"1399603690":["hashtag1","hashtag2"]},{"1399603654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399603644, 1399603638, 1399603652, 1399603700, 1399603690, 1399603654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.026198387145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:27:42.187154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_38_1519.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_40_1704.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_42_1671.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_46_4217.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_48_1998.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_50_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_38_1519.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_40_1704.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_42_1671.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_46_4217.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_48_1998.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_50_1803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399603762","1399603735","1399603797","1399603731","1399603734","1399603736"],"photo_ids_order":["1399603731","1399603734","1399603735","1399603736","1399603762","1399603797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aec0dbe51e00670b594a83949db80208.jpg","text":"TemporaryFile(/tmp/multipartBody8967386011800417624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866522883,"filename":"image_06112025_15_21_48_1998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23fc0a08424154c2dbe0d3ee843dccca.jpg","text":"TemporaryFile(/tmp/multipartBody6701351161109018533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866522883,"filename":"image_06112025_15_21_42_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/16/f412da9f7886b9fbc4eaa4addd9993e4.jpg","text":"TemporaryFile(/tmp/multipartBody7553009341432905161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866522883,"filename":"image_06112025_15_21_50_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b498c63484c3f92a89ecb73458878e7.jpg","text":"TemporaryFile(/tmp/multipartBody1525198204179094570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866522883,"filename":"image_06112025_15_21_38_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/16/421cdf90c2999a95e51b6338f3445b57.jpg","text":"TemporaryFile(/tmp/multipartBody851770500502922341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866522883,"filename":"image_06112025_15_21_40_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/16/c36fe76b7bb24acd4d1f32028637e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody507947505799699888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866522883,"filename":"image_06112025_15_21_46_4217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603735","file1":"1399603734","file0":"1399603731","file4":"1399603762","file5":"1399603797","file3":"1399603736"},"map_files_photo_id_array":[{"photo_id":"1399603797","filename":"file5"},{"photo_id":"1399603735","filename":"file2"},{"photo_id":"1399603762","filename":"file4"},{"photo_id":"1399603734","filename":"file1"},{"photo_id":"1399603731","filename":"file0"},{"photo_id":"1399603736","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399603762":["hashtag1","hashtag2"]},{"1399603735":["hashtag1","hashtag2"]},{"1399603797":["hashtag1","hashtag2"]},{"1399603731":["hashtag1","hashtag2"]},{"1399603734":["hashtag1","hashtag2"]},{"1399603736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399603762, 1399603735, 1399603797, 1399603731, 1399603734, 1399603736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60784196853638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:28:22.500167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_34_9792.jpg', '/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_44_9648.jpg', '/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_54_9797.jpg', '/home/pi/Desktop/images/16122025/07/24/image_16122025_07_25_05_10754.jpg', '/home/pi/Desktop/images/16122025/07/25/image_16122025_07_25_14_9771.jpg', '/home/pi/Desktop/images/16122025/07/25/image_16122025_07_25_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_34_9792.jpg
/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_44_9648.jpg
/home/pi/Desktop/images/16122025/07/24/image_16122025_07_24_54_9797.jpg
/home/pi/Desktop/images/16122025/07/24/image_16122025_07_25_05_10754.jpg
/home/pi/Desktop/images/16122025/07/25/image_16122025_07_25_14_9771.jpg
/home/pi/Desktop/images/16122025/07/25/image_16122025_07_25_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":["1399604055","1399603906","1399603985","1399604021","1399604095","1399603945"],"photo_ids_order":["1399603906","1399603945","1399603985","1399604021","1399604055","1399604095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/67a2fb875009c298d2dac9862b990b77.jpg","text":"TemporaryFile(/tmp/multipartBody716765149398429301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866563153,"filename":"image_16122025_07_25_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a810f046dd43c335ce71bdbef2cb9d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3793719588556244925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866563153,"filename":"image_16122025_07_24_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/16/98abf89a836dceb7b57784e615fa43a9.jpg","text":"TemporaryFile(/tmp/multipartBody4564340617155095301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866563153,"filename":"image_16122025_07_24_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7baac83596ec691929fdadaa67bb499c.jpg","text":"TemporaryFile(/tmp/multipartBody7553313599344133897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866563153,"filename":"image_16122025_07_25_05_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b75145ef0abaa4d9f4b20fe98690661.jpg","text":"TemporaryFile(/tmp/multipartBody7334559575897794295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866563153,"filename":"image_16122025_07_25_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/16/5358deaf7f700bf179fd2f1af1735b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5753559610725580717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866563153,"filename":"image_16122025_07_24_44_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399603985","file1":"1399603945","file0":"1399603906","file4":"1399604055","file5":"1399604095","file3":"1399604021"},"map_files_photo_id_array":[{"photo_id":"1399604095","filename":"file5"},{"photo_id":"1399603985","filename":"file2"},{"photo_id":"1399604055","filename":"file4"},{"photo_id":"1399603945","filename":"file1"},{"photo_id":"1399603906","filename":"file0"},{"photo_id":"1399604021","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399604055":["hashtag1","hashtag2"]},{"1399603906":["hashtag1","hashtag2"]},{"1399603985":["hashtag1","hashtag2"]},{"1399604021":["hashtag1","hashtag2"]},{"1399604095":["hashtag1","hashtag2"]},{"1399603945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399604055, 1399603906, 1399603985, 1399604021, 1399604095, 1399603945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97615575790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:29:03.515142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/25/image_16122025_07_25_45_10627.jpg', '/home/pi/Desktop/images/16122025/07/25/image_16122025_07_26_04_9640.jpg', '/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_15_10709.jpg', '/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_24_9626.jpg', '/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_34_9653.jpg', '/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_45_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/25/image_16122025_07_25_45_10627.jpg
/home/pi/Desktop/images/16122025/07/25/image_16122025_07_26_04_9640.jpg
/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_15_10709.jpg
/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_24_9626.jpg
/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_34_9653.jpg
/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_45_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399604119","1399604130","1399604124","1399604121","1399604126","1399604128"],"photo_ids_order":["1399604119","1399604121","1399604124","1399604126","1399604128","1399604130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70ca42821f0fd2412eb07400344097db.jpg","text":"TemporaryFile(/tmp/multipartBody6876213709428869142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866604331,"filename":"image_16122025_07_25_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/892adf54e22732a8472b546dcea30aba.jpg","text":"TemporaryFile(/tmp/multipartBody9022048788096485579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866604331,"filename":"image_16122025_07_26_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d640048ed8bb172d43942c52e1878d92.jpg","text":"TemporaryFile(/tmp/multipartBody8383846899927928160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866604331,"filename":"image_16122025_07_26_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4dac00f4299d1ed6eaf0595bc928f65e.jpg","text":"TemporaryFile(/tmp/multipartBody59955408648572028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866604331,"filename":"image_16122025_07_26_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9347aca60c20046ebfb0a67f985bfdc7.jpg","text":"TemporaryFile(/tmp/multipartBody2394260904763501724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866604331,"filename":"image_16122025_07_26_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/16/654a4e16a54b3fc818b5eac87f49465a.jpg","text":"TemporaryFile(/tmp/multipartBody9035196307830590065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866604331,"filename":"image_16122025_07_26_34_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604124","file1":"1399604121","file0":"1399604119","file4":"1399604128","file5":"1399604130","file3":"1399604126"},"map_files_photo_id_array":[{"photo_id":"1399604130","filename":"file5"},{"photo_id":"1399604124","filename":"file2"},{"photo_id":"1399604128","filename":"file4"},{"photo_id":"1399604121","filename":"file1"},{"photo_id":"1399604119","filename":"file0"},{"photo_id":"1399604126","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399604119":["hashtag1","hashtag2"]},{"1399604130":["hashtag1","hashtag2"]},{"1399604124":["hashtag1","hashtag2"]},{"1399604121":["hashtag1","hashtag2"]},{"1399604126":["hashtag1","hashtag2"]},{"1399604128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399604119, 1399604130, 1399604124, 1399604121, 1399604126, 1399604128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0122389793396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:29:42.537616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_51_1534.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_54_2504.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_56_1753.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_57_1645.jpg', '/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_59_2014.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_02_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_51_1534.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_54_2504.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_56_1753.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_57_1645.jpg
/home/pi/Desktop/images/06112025/15/21/image_06112025_15_21_59_2014.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_02_2825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399604169","1399604142","1399604136","1399604208","1399604147","1399604144"],"photo_ids_order":["1399604136","1399604142","1399604144","1399604147","1399604169","1399604208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c271cd80c60ecd3b8acbd41d905b58e9.jpg","text":"TemporaryFile(/tmp/multipartBody4268383017054032344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866643234,"filename":"image_06112025_15_21_59_2014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bec1d871c922062e5d5e6b1b46e95e51.jpg","text":"TemporaryFile(/tmp/multipartBody7346897107512174620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866643234,"filename":"image_06112025_15_21_54_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/16/b4b57db9e51d85af72c68bdd82c05be4.jpg","text":"TemporaryFile(/tmp/multipartBody8773443417106949998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866643234,"filename":"image_06112025_15_21_51_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f083cf8ad2f4eb503b99c37c1c0ad6b3.jpg","text":"TemporaryFile(/tmp/multipartBody9078888723808484055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866643234,"filename":"image_06112025_15_22_02_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/16/b5820e61c5425987f739536a082a4145.jpg","text":"TemporaryFile(/tmp/multipartBody7575370807772571078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866643234,"filename":"image_06112025_15_21_57_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e18aeaf8088f01989c01ff7b25f8c24a.jpg","text":"TemporaryFile(/tmp/multipartBody2826487808471012505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866643234,"filename":"image_06112025_15_21_56_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604144","file1":"1399604142","file0":"1399604136","file4":"1399604169","file5":"1399604208","file3":"1399604147"},"map_files_photo_id_array":[{"photo_id":"1399604208","filename":"file5"},{"photo_id":"1399604144","filename":"file2"},{"photo_id":"1399604169","filename":"file4"},{"photo_id":"1399604142","filename":"file1"},{"photo_id":"1399604136","filename":"file0"},{"photo_id":"1399604147","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399604169":["hashtag1","hashtag2"]},{"1399604142":["hashtag1","hashtag2"]},{"1399604136":["hashtag1","hashtag2"]},{"1399604208":["hashtag1","hashtag2"]},{"1399604147":["hashtag1","hashtag2"]},{"1399604144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399604169, 1399604142, 1399604136, 1399604208, 1399604147, 1399604144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57510495185852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:30:22.794399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_54_9572.jpg', '/home/pi/Desktop/images/16122025/07/26/image_16122025_07_27_04_9695.jpg', '/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_15_10819.jpg', '/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_25_9898.jpg', '/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_34_9662.jpg', '/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/26/image_16122025_07_26_54_9572.jpg
/home/pi/Desktop/images/16122025/07/26/image_16122025_07_27_04_9695.jpg
/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_15_10819.jpg
/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_25_9898.jpg
/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_34_9662.jpg
/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_44_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":["1399604385","1399604421","1399604345","1399604440","1399604434","1399604437"],"photo_ids_order":["1399604345","1399604385","1399604421","1399604434","1399604437","1399604440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/28ac9c35c2f3fd0ab80f780c2b78a4fd.jpg","text":"TemporaryFile(/tmp/multipartBody2992508585218962398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866683448,"filename":"image_16122025_07_27_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/16/9169917dc0bc99e9095251342b359ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5233878385467476895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866683448,"filename":"image_16122025_07_27_15_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aaf7a9423f59982bfb1bbba32bcad8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6944472944881631078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866683448,"filename":"image_16122025_07_26_54_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c84d92e8c801a5ebe04ddb6e680a0f88.jpg","text":"TemporaryFile(/tmp/multipartBody1893159856804907076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866683448,"filename":"image_16122025_07_27_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a231fce019bffbae23f2f2331c27865b.jpg","text":"TemporaryFile(/tmp/multipartBody5698397131168867295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866683448,"filename":"image_16122025_07_27_25_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/16/8d700143f97d54bf3603c6c6d5fbb08e.jpg","text":"TemporaryFile(/tmp/multipartBody312228517846567555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866683448,"filename":"image_16122025_07_27_34_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604421","file1":"1399604385","file0":"1399604345","file4":"1399604437","file5":"1399604440","file3":"1399604434"},"map_files_photo_id_array":[{"photo_id":"1399604440","filename":"file5"},{"photo_id":"1399604421","filename":"file2"},{"photo_id":"1399604437","filename":"file4"},{"photo_id":"1399604385","filename":"file1"},{"photo_id":"1399604345","filename":"file0"},{"photo_id":"1399604434","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399604385":["hashtag1","hashtag2"]},{"1399604421":["hashtag1","hashtag2"]},{"1399604345":["hashtag1","hashtag2"]},{"1399604440":["hashtag1","hashtag2"]},{"1399604434":["hashtag1","hashtag2"]},{"1399604437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399604385, 1399604421, 1399604345, 1399604440, 1399604434, 1399604437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.589970111846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:31:12.026023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:31:22.014178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_54_10044.jpg', '/home/pi/Desktop/images/16122025/07/27/image_16122025_07_28_04_9784.jpg', '/home/pi/Desktop/images/16122025/07/28/image_16122025_07_28_14_10641.jpg', '/home/pi/Desktop/images/16122025/07/28/image_16122025_07_28_55_10734.jpg', '/home/pi/Desktop/images/16122025/07/28/image_16122025_07_29_04_9790.jpg', '/home/pi/Desktop/images/16122025/07/29/image_16122025_07_29_14_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/27/image_16122025_07_27_54_10044.jpg
/home/pi/Desktop/images/16122025/07/27/image_16122025_07_28_04_9784.jpg
/home/pi/Desktop/images/16122025/07/28/image_16122025_07_28_14_10641.jpg
/home/pi/Desktop/images/16122025/07/28/image_16122025_07_28_55_10734.jpg
/home/pi/Desktop/images/16122025/07/28/image_16122025_07_29_04_9790.jpg
/home/pi/Desktop/images/16122025/07/29/image_16122025_07_29_14_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":["1399604451","1399604453","1399604455","1399604449","1399604458","1399604446"],"photo_ids_order":["1399604446","1399604449","1399604451","1399604453","1399604455","1399604458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b6f30fb4d72b94159963857a2879836.jpg","text":"TemporaryFile(/tmp/multipartBody7301719614889952637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866742669,"filename":"image_16122025_07_28_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98b88a6b922265a262a2defdc1d92576.jpg","text":"TemporaryFile(/tmp/multipartBody3285822118136167177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866742669,"filename":"image_16122025_07_28_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/16/1e4fced2538b91a43f02a2197006a322.jpg","text":"TemporaryFile(/tmp/multipartBody6031719128600835150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866742669,"filename":"image_16122025_07_29_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/743b50e546ee7b599a72020ec01c4a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3042409997541820963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866742669,"filename":"image_16122025_07_28_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c4448c09837f245164a8f438c20df18f.jpg","text":"TemporaryFile(/tmp/multipartBody1761541065458001898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866742669,"filename":"image_16122025_07_29_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/16/da58e2948ddc140587cd67077542c1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8941321484243710115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866742669,"filename":"image_16122025_07_27_54_10044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604451","file1":"1399604449","file0":"1399604446","file4":"1399604455","file5":"1399604458","file3":"1399604453"},"map_files_photo_id_array":[{"photo_id":"1399604458","filename":"file5"},{"photo_id":"1399604451","filename":"file2"},{"photo_id":"1399604455","filename":"file4"},{"photo_id":"1399604449","filename":"file1"},{"photo_id":"1399604446","filename":"file0"},{"photo_id":"1399604453","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399604451":["hashtag1","hashtag2"]},{"1399604453":["hashtag1","hashtag2"]},{"1399604455":["hashtag1","hashtag2"]},{"1399604449":["hashtag1","hashtag2"]},{"1399604458":["hashtag1","hashtag2"]},{"1399604446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399604451, 1399604453, 1399604455, 1399604449, 1399604458, 1399604446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99481701850891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:32:02.660023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/29/image_16122025_07_29_24_9718.jpg', '/home/pi/Desktop/images/16122025/07/29/image_16122025_07_29_35_10690.jpg', '/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_14_9819.jpg', '/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_24_9756.jpg', '/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_34_9767.jpg', '/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_44_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/29/image_16122025_07_29_24_9718.jpg
/home/pi/Desktop/images/16122025/07/29/image_16122025_07_29_35_10690.jpg
/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_14_9819.jpg
/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_24_9756.jpg
/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_34_9767.jpg
/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_44_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":["1399604500","1399604472","1399604466","1399604475","1399604469","1399604473"],"photo_ids_order":["1399604466","1399604469","1399604472","1399604473","1399604475","1399604500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/05f2a924d4f93c748341a02048c12e04.jpg","text":"TemporaryFile(/tmp/multipartBody6740557964840344506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866783398,"filename":"image_16122025_07_30_44_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/16/f5f7e370f0b777625dd6f9373bdf2c57.jpg","text":"TemporaryFile(/tmp/multipartBody2159942059185961726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866783398,"filename":"image_16122025_07_30_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/16/86535a51e93167b7b084590370d0f319.jpg","text":"TemporaryFile(/tmp/multipartBody4263534599895063339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866783398,"filename":"image_16122025_07_29_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/16/2070ecb8fb8420ae81c3733607ec172d.jpg","text":"TemporaryFile(/tmp/multipartBody2249017251918644193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866783398,"filename":"image_16122025_07_30_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8de0eb2d64294074bb0805714a9af6dc.jpg","text":"TemporaryFile(/tmp/multipartBody4987801142573757698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866783398,"filename":"image_16122025_07_29_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/16/7eb224ca1525f2a1a52b18b4caca73b6.jpg","text":"TemporaryFile(/tmp/multipartBody774991385330989010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866783398,"filename":"image_16122025_07_30_24_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604472","file1":"1399604469","file0":"1399604466","file4":"1399604475","file5":"1399604500","file3":"1399604473"},"map_files_photo_id_array":[{"photo_id":"1399604500","filename":"file5"},{"photo_id":"1399604472","filename":"file2"},{"photo_id":"1399604475","filename":"file4"},{"photo_id":"1399604469","filename":"file1"},{"photo_id":"1399604466","filename":"file0"},{"photo_id":"1399604473","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399604500":["hashtag1","hashtag2"]},{"1399604472":["hashtag1","hashtag2"]},{"1399604466":["hashtag1","hashtag2"]},{"1399604475":["hashtag1","hashtag2"]},{"1399604469":["hashtag1","hashtag2"]},{"1399604473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399604500, 1399604472, 1399604466, 1399604475, 1399604469, 1399604473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66637825965881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:32:42.270488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_06_3659.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_08_2592.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_11_2526.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_18_6610.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_19_1638.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_21_1795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_06_3659.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_08_2592.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_11_2526.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_18_6610.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_19_1638.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_21_1795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399604751","1399604753","1399604639","1399604752","1399604680","1399604722"],"photo_ids_order":["1399604639","1399604680","1399604722","1399604751","1399604752","1399604753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8de6e42cd7c3ebb07e4059dcb06f46a.jpg","text":"TemporaryFile(/tmp/multipartBody331466803473081206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866823002,"filename":"image_06112025_15_22_18_6610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af9f68f052080a08d00667bd2150371e.jpg","text":"TemporaryFile(/tmp/multipartBody192200052132327113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866823002,"filename":"image_06112025_15_22_21_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/16/c4bdee997e293d45b8f1cac4dce88145.jpg","text":"TemporaryFile(/tmp/multipartBody5549737118198209775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866823002,"filename":"image_06112025_15_22_06_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fa87bbe751eaea17dad8525a9cb4778.jpg","text":"TemporaryFile(/tmp/multipartBody2406739972411970272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866823002,"filename":"image_06112025_15_22_19_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b442549495668786ea0075bef34667f3.jpg","text":"TemporaryFile(/tmp/multipartBody941051235477295031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866823002,"filename":"image_06112025_15_22_08_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/16/1b4ad0b8c56d469974f1753aefc0dd65.jpg","text":"TemporaryFile(/tmp/multipartBody4155281957623411732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866823002,"filename":"image_06112025_15_22_11_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604722","file1":"1399604680","file0":"1399604639","file4":"1399604752","file5":"1399604753","file3":"1399604751"},"map_files_photo_id_array":[{"photo_id":"1399604753","filename":"file5"},{"photo_id":"1399604722","filename":"file2"},{"photo_id":"1399604752","filename":"file4"},{"photo_id":"1399604680","filename":"file1"},{"photo_id":"1399604639","filename":"file0"},{"photo_id":"1399604751","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399604751":["hashtag1","hashtag2"]},{"1399604753":["hashtag1","hashtag2"]},{"1399604639":["hashtag1","hashtag2"]},{"1399604752":["hashtag1","hashtag2"]},{"1399604680":["hashtag1","hashtag2"]},{"1399604722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399604751, 1399604753, 1399604639, 1399604752, 1399604680, 1399604722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53959512710571 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-16 07:33:32.532312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:33:42.568285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_24_2680.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_26_2690.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_29_2647.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_33_3652.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_35_2599.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_38_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_24_2680.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_26_2690.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_29_2647.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_33_3652.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_35_2599.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_38_2760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399604919","1399604858","1399604918","1399604813","1399604899","1399604920"],"photo_ids_order":["1399604813","1399604858","1399604899","1399604918","1399604919","1399604920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa31a5439d4d4f1a5d8ced58792c54a3.jpg","text":"TemporaryFile(/tmp/multipartBody2451193749781513169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866883315,"filename":"image_06112025_15_22_35_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fde40da4c830b13273b252ad89a648d6.jpg","text":"TemporaryFile(/tmp/multipartBody9161054837518176422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866883315,"filename":"image_06112025_15_22_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/16/a8a0d7da0fd76b2da855bb597a9705a3.jpg","text":"TemporaryFile(/tmp/multipartBody8015402614125196566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866883315,"filename":"image_06112025_15_22_33_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/16/4c58030485c222049c157fc88cf56fa9.jpg","text":"TemporaryFile(/tmp/multipartBody9210260786380369439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866883315,"filename":"image_06112025_15_22_24_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/16/a6dff71e5d023e9f7fbdf27765d83e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2662496796522899013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866883315,"filename":"image_06112025_15_22_29_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/16/f01d50bff597fb0542e988fcaf1c530d.jpg","text":"TemporaryFile(/tmp/multipartBody3468002661633342713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866883315,"filename":"image_06112025_15_22_38_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604899","file1":"1399604858","file0":"1399604813","file4":"1399604919","file5":"1399604920","file3":"1399604918"},"map_files_photo_id_array":[{"photo_id":"1399604920","filename":"file5"},{"photo_id":"1399604899","filename":"file2"},{"photo_id":"1399604919","filename":"file4"},{"photo_id":"1399604858","filename":"file1"},{"photo_id":"1399604813","filename":"file0"},{"photo_id":"1399604918","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399604919":["hashtag1","hashtag2"]},{"1399604858":["hashtag1","hashtag2"]},{"1399604918":["hashtag1","hashtag2"]},{"1399604813":["hashtag1","hashtag2"]},{"1399604899":["hashtag1","hashtag2"]},{"1399604920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399604919, 1399604858, 1399604918, 1399604813, 1399604899, 1399604920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09394073486328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:34:22.746896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_55_10659.jpg', '/home/pi/Desktop/images/16122025/07/30/image_16122025_07_31_04_9300.jpg', '/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_15_10749.jpg', '/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_24_9728.jpg', '/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_34_10012.jpg', '/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/30/image_16122025_07_30_55_10659.jpg
/home/pi/Desktop/images/16122025/07/30/image_16122025_07_31_04_9300.jpg
/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_15_10749.jpg
/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_24_9728.jpg
/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_34_10012.jpg
/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_44_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399604955","1399604931","1399604933","1399604995","1399604926","1399604929"],"photo_ids_order":["1399604926","1399604929","1399604931","1399604933","1399604955","1399604995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ffb28c07bbb6f4ea382f5f3224227dad.jpg","text":"TemporaryFile(/tmp/multipartBody7645277621591374723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866923401,"filename":"image_16122025_07_31_34_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/16/7c732ed005f3879ffd666147027cbcff.jpg","text":"TemporaryFile(/tmp/multipartBody1317670122599417839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866923401,"filename":"image_16122025_07_31_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0614b2a09737c9410b4e44e3b8b6cbf6.jpg","text":"TemporaryFile(/tmp/multipartBody4164218780141612500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866923401,"filename":"image_16122025_07_31_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/16/6c42f0e44c6b6a7cfd004d6d21ea6e76.jpg","text":"TemporaryFile(/tmp/multipartBody2924515241842356258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866923401,"filename":"image_16122025_07_31_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac974ea765170843dd158b1cbac757b1.jpg","text":"TemporaryFile(/tmp/multipartBody6162137706312711561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866923401,"filename":"image_16122025_07_30_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c787ea83de032fc2c9bf20d62ac01e60.jpg","text":"TemporaryFile(/tmp/multipartBody3421182429267415053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866923401,"filename":"image_16122025_07_31_04_9300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399604931","file1":"1399604929","file0":"1399604926","file4":"1399604955","file5":"1399604995","file3":"1399604933"},"map_files_photo_id_array":[{"photo_id":"1399604995","filename":"file5"},{"photo_id":"1399604931","filename":"file2"},{"photo_id":"1399604955","filename":"file4"},{"photo_id":"1399604929","filename":"file1"},{"photo_id":"1399604926","filename":"file0"},{"photo_id":"1399604933","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399604955":["hashtag1","hashtag2"]},{"1399604931":["hashtag1","hashtag2"]},{"1399604933":["hashtag1","hashtag2"]},{"1399604995":["hashtag1","hashtag2"]},{"1399604926":["hashtag1","hashtag2"]},{"1399604929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399604955, 1399604931, 1399604933, 1399604995, 1399604926, 1399604929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.050747871398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:35:02.437933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_55_10568.jpg', '/home/pi/Desktop/images/16122025/07/31/image_16122025_07_32_05_9830.jpg', '/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_24_9660.jpg', '/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_35_10751.jpg', '/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_44_9585.jpg', '/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_54_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/31/image_16122025_07_31_55_10568.jpg
/home/pi/Desktop/images/16122025/07/31/image_16122025_07_32_05_9830.jpg
/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_24_9660.jpg
/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_35_10751.jpg
/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_44_9585.jpg
/home/pi/Desktop/images/16122025/07/32/image_16122025_07_32_54_9861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605120","1399605114","1399605122","1399605082","1399605079","1399605084"],"photo_ids_order":["1399605079","1399605082","1399605084","1399605114","1399605120","1399605122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53156523d4ec8d85d1211adfb7e0191c.jpg","text":"TemporaryFile(/tmp/multipartBody265018858032579868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866963159,"filename":"image_16122025_07_32_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/16/579df826e95ad18fced75376969c87ba.jpg","text":"TemporaryFile(/tmp/multipartBody7271900846944163731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866963159,"filename":"image_16122025_07_32_35_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4dabf006943d8fb88e7d30fe57b6b66f.jpg","text":"TemporaryFile(/tmp/multipartBody845007180773582635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866963159,"filename":"image_16122025_07_32_54_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bc6e44a070ab40c9609cdb7da0e7f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7627044758726785033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866963159,"filename":"image_16122025_07_32_05_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2eb848f74896d95eaae58ecee2d5ba7d.jpg","text":"TemporaryFile(/tmp/multipartBody5607585874762698914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866963159,"filename":"image_16122025_07_31_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/16/27f8613f1a21dc63b9a6825425b7f7ec.jpg","text":"TemporaryFile(/tmp/multipartBody3358988320200857639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765866963159,"filename":"image_16122025_07_32_24_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605084","file1":"1399605082","file0":"1399605079","file4":"1399605120","file5":"1399605122","file3":"1399605114"},"map_files_photo_id_array":[{"photo_id":"1399605122","filename":"file5"},{"photo_id":"1399605084","filename":"file2"},{"photo_id":"1399605120","filename":"file4"},{"photo_id":"1399605082","filename":"file1"},{"photo_id":"1399605079","filename":"file0"},{"photo_id":"1399605114","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605120":["hashtag1","hashtag2"]},{"1399605114":["hashtag1","hashtag2"]},{"1399605122":["hashtag1","hashtag2"]},{"1399605082":["hashtag1","hashtag2"]},{"1399605079":["hashtag1","hashtag2"]},{"1399605084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605120, 1399605114, 1399605122, 1399605082, 1399605079, 1399605084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69869518280029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:35:41.883511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_42_3529.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_44_2639.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_47_2813.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_51_3537.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_57_3639.jpg', '/home/pi/Desktop/images/06112025/15/22/image_06112025_15_23_00_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_42_3529.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_44_2639.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_47_2813.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_51_3537.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_22_57_3639.jpg
/home/pi/Desktop/images/06112025/15/22/image_06112025_15_23_00_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":["1399605135","1399605131","1399605134","1399605136","1399605133","1399605127"],"photo_ids_order":["1399605127","1399605131","1399605133","1399605134","1399605135","1399605136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b03737389b05d9d55095d33de4f0ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2250252106275362126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867002575,"filename":"image_06112025_15_22_57_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1df832c4e359e98263d4873484f26ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6995972490148618742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867002575,"filename":"image_06112025_15_22_44_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c889c0c4a86fdcd580ab393f7bd33f6.jpg","text":"TemporaryFile(/tmp/multipartBody7662387588778049902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867002575,"filename":"image_06112025_15_22_51_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/16/453d3353a91fbb88b18e7ce77c7c31b6.jpg","text":"TemporaryFile(/tmp/multipartBody1735131699383103912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867002575,"filename":"image_06112025_15_23_00_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/16/7c4ed514fc789254b3d2f162870adbb4.jpg","text":"TemporaryFile(/tmp/multipartBody8400310260894858863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867002575,"filename":"image_06112025_15_22_47_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/16/088187188274e1663fafb55326f22121.jpg","text":"TemporaryFile(/tmp/multipartBody6577872261756192139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867002575,"filename":"image_06112025_15_22_42_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605133","file1":"1399605131","file0":"1399605127","file4":"1399605135","file5":"1399605136","file3":"1399605134"},"map_files_photo_id_array":[{"photo_id":"1399605136","filename":"file5"},{"photo_id":"1399605133","filename":"file2"},{"photo_id":"1399605135","filename":"file4"},{"photo_id":"1399605131","filename":"file1"},{"photo_id":"1399605127","filename":"file0"},{"photo_id":"1399605134","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605135":["hashtag1","hashtag2"]},{"1399605131":["hashtag1","hashtag2"]},{"1399605134":["hashtag1","hashtag2"]},{"1399605136":["hashtag1","hashtag2"]},{"1399605133":["hashtag1","hashtag2"]},{"1399605127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605135, 1399605131, 1399605134, 1399605136, 1399605133, 1399605127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96463894844055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:36:22.145015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/32/image_16122025_07_33_04_9720.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_15_10848.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_24_9740.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_34_9741.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_44_9768.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_55_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/32/image_16122025_07_33_04_9720.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_15_10848.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_24_9740.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_34_9741.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_44_9768.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_55_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.5901017189025879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:36:32.270103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:36:42.219890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_02_2638.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_06_3611.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_09_2796.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_13_4582.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_15_1612.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_17_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_02_2638.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_06_3611.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_09_2796.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_13_4582.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_15_1612.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_17_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":["1399605153","1399605161","1399605155","1399605164","1399605154","1399605150"],"photo_ids_order":["1399605150","1399605153","1399605154","1399605155","1399605161","1399605164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c192c21c34485259ebf9ddcdb0b5fd79.jpg","text":"TemporaryFile(/tmp/multipartBody7864925186960454878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867062913,"filename":"image_06112025_15_23_06_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/16/efc161c427cead66e3a36dcb6d4fde82.jpg","text":"TemporaryFile(/tmp/multipartBody1971837677308730677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867062913,"filename":"image_06112025_15_23_15_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/16/3e9d63c2d92edb6b87ad81e75b47363d.jpg","text":"TemporaryFile(/tmp/multipartBody820363799462027904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867062913,"filename":"image_06112025_15_23_13_4582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eff29b1f58fa4404aa674410190cd7d3.jpg","text":"TemporaryFile(/tmp/multipartBody3496776319575271589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867062913,"filename":"image_06112025_15_23_17_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/459dd4a8f098df26dd4bc68cba4ff55f.jpg","text":"TemporaryFile(/tmp/multipartBody250798730964936183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867062913,"filename":"image_06112025_15_23_09_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64566b00a0e21591a68383ecdb228ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7186506995688749343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867062913,"filename":"image_06112025_15_23_02_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605154","file1":"1399605153","file0":"1399605150","file4":"1399605161","file5":"1399605164","file3":"1399605155"},"map_files_photo_id_array":[{"photo_id":"1399605164","filename":"file5"},{"photo_id":"1399605154","filename":"file2"},{"photo_id":"1399605161","filename":"file4"},{"photo_id":"1399605153","filename":"file1"},{"photo_id":"1399605150","filename":"file0"},{"photo_id":"1399605155","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605153":["hashtag1","hashtag2"]},{"1399605161":["hashtag1","hashtag2"]},{"1399605155":["hashtag1","hashtag2"]},{"1399605164":["hashtag1","hashtag2"]},{"1399605154":["hashtag1","hashtag2"]},{"1399605150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605153, 1399605161, 1399605155, 1399605164, 1399605154, 1399605150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.615925788879395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:37:22.475400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/32/image_16122025_07_33_04_9720.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_15_10848.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_24_9740.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_34_9741.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_44_9768.jpg', '/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_55_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/32/image_16122025_07_33_04_9720.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_15_10848.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_24_9740.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_34_9741.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_44_9768.jpg
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_33_55_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":["1399605180","1399605173","1399605176","1399605170","1399605172","1399605178"],"photo_ids_order":["1399605170","1399605172","1399605173","1399605176","1399605178","1399605180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92d9d71129afcb48c13adfe4307c8c6c.jpg","text":"TemporaryFile(/tmp/multipartBody8060182705006113828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867103179,"filename":"image_16122025_07_33_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/16/4bb0f5806947c2789a2d72356c363e53.jpg","text":"TemporaryFile(/tmp/multipartBody860153830464780809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867103179,"filename":"image_16122025_07_33_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/16/fce1af655c6267096aa7130ed5e2b341.jpg","text":"TemporaryFile(/tmp/multipartBody7168303128075018733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867103179,"filename":"image_16122025_07_33_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/16/4650b2878f5c0098d177d36e5c0985ae.jpg","text":"TemporaryFile(/tmp/multipartBody6346733746097738421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867103179,"filename":"image_16122025_07_33_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/16/3ae4a283cb9e677b319504d336bd8eac.jpg","text":"TemporaryFile(/tmp/multipartBody4479417523283001226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867103179,"filename":"image_16122025_07_33_15_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eef7c91797816d8696b873a51e693bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3385848549800819265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867103179,"filename":"image_16122025_07_33_44_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605173","file1":"1399605172","file0":"1399605170","file4":"1399605178","file5":"1399605180","file3":"1399605176"},"map_files_photo_id_array":[{"photo_id":"1399605180","filename":"file5"},{"photo_id":"1399605173","filename":"file2"},{"photo_id":"1399605178","filename":"file4"},{"photo_id":"1399605172","filename":"file1"},{"photo_id":"1399605170","filename":"file0"},{"photo_id":"1399605176","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605180":["hashtag1","hashtag2"]},{"1399605173":["hashtag1","hashtag2"]},{"1399605176":["hashtag1","hashtag2"]},{"1399605170":["hashtag1","hashtag2"]},{"1399605172":["hashtag1","hashtag2"]},{"1399605178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605180, 1399605173, 1399605176, 1399605170, 1399605172, 1399605178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1440224647522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:38:03.152951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/33/image_16122025_07_34_04_9534.jpg', '/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_15_10713.jpg', '/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_25_9811.jpg', '/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_34_9698.jpg', '/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_44_9680.jpg', '/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/33/image_16122025_07_34_04_9534.jpg
/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_15_10713.jpg
/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_25_9811.jpg
/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_34_9698.jpg
/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_44_9680.jpg
/home/pi/Desktop/images/16122025/07/34/image_16122025_07_34_55_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605191","1399605185","1399605193","1399605187","1399605189","1399605183"],"photo_ids_order":["1399605183","1399605185","1399605187","1399605189","1399605191","1399605193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c3ddeafb24f6f54b513baaeb3c3be8e.jpg","text":"TemporaryFile(/tmp/multipartBody4420345917749658986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867143866,"filename":"image_16122025_07_34_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37b0a59d570d40e42e89db511048c03f.jpg","text":"TemporaryFile(/tmp/multipartBody799455404155973916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867143866,"filename":"image_16122025_07_34_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/345bed8cfd26d38c81daf4d5d8fa1e22.jpg","text":"TemporaryFile(/tmp/multipartBody5730069791320791033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867143866,"filename":"image_16122025_07_34_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12e9eee24b6f64a715a1bf736244676d.jpg","text":"TemporaryFile(/tmp/multipartBody6722320881499703844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867143866,"filename":"image_16122025_07_34_25_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f634c0b6b955290bbbaba1c971f20510.jpg","text":"TemporaryFile(/tmp/multipartBody510508639711409127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867143866,"filename":"image_16122025_07_34_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/16/bd52dd6ebc11a15d6f10f718f9328622.jpg","text":"TemporaryFile(/tmp/multipartBody7137786183353008134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867143866,"filename":"image_16122025_07_34_04_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605187","file1":"1399605185","file0":"1399605183","file4":"1399605191","file5":"1399605193","file3":"1399605189"},"map_files_photo_id_array":[{"photo_id":"1399605193","filename":"file5"},{"photo_id":"1399605187","filename":"file2"},{"photo_id":"1399605191","filename":"file4"},{"photo_id":"1399605185","filename":"file1"},{"photo_id":"1399605183","filename":"file0"},{"photo_id":"1399605189","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605191":["hashtag1","hashtag2"]},{"1399605185":["hashtag1","hashtag2"]},{"1399605193":["hashtag1","hashtag2"]},{"1399605187":["hashtag1","hashtag2"]},{"1399605189":["hashtag1","hashtag2"]},{"1399605183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605191, 1399605185, 1399605193, 1399605187, 1399605189, 1399605183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52154350280762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:38:42.715277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_20_2615.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_24_3728.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_27_2888.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_29_2596.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_33_3537.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_36_3461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_20_2615.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_24_3728.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_27_2888.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_29_2596.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_33_3537.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_36_3461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605210","1399605212","1399605209","1399605200","1399605220","1399605211"],"photo_ids_order":["1399605200","1399605209","1399605210","1399605211","1399605212","1399605220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae6c0beb4eace8e692ae51624aeff316.jpg","text":"TemporaryFile(/tmp/multipartBody8949600798264639205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867183447,"filename":"image_06112025_15_23_27_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/16/3e68cf035385bf7279c33084ced6d365.jpg","text":"TemporaryFile(/tmp/multipartBody4354555416752120011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867183447,"filename":"image_06112025_15_23_33_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/16/c269f71da269ebb61b30d50e59dbae00.jpg","text":"TemporaryFile(/tmp/multipartBody2328288675498677231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867183447,"filename":"image_06112025_15_23_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/16/8fe1b38c4e03c4eb0e92a47742acfb51.jpg","text":"TemporaryFile(/tmp/multipartBody4055675954416056613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867183447,"filename":"image_06112025_15_23_20_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/16/12c4f6d7be22ccaae8befb4bb3a9dd55.jpg","text":"TemporaryFile(/tmp/multipartBody6282701235524469486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867183447,"filename":"image_06112025_15_23_36_3461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9a3cb0b934f491c2777edc7e590c123.jpg","text":"TemporaryFile(/tmp/multipartBody994005546693747635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867183447,"filename":"image_06112025_15_23_29_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605210","file1":"1399605209","file0":"1399605200","file4":"1399605212","file5":"1399605220","file3":"1399605211"},"map_files_photo_id_array":[{"photo_id":"1399605220","filename":"file5"},{"photo_id":"1399605210","filename":"file2"},{"photo_id":"1399605212","filename":"file4"},{"photo_id":"1399605209","filename":"file1"},{"photo_id":"1399605200","filename":"file0"},{"photo_id":"1399605211","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605210":["hashtag1","hashtag2"]},{"1399605212":["hashtag1","hashtag2"]},{"1399605209":["hashtag1","hashtag2"]},{"1399605200":["hashtag1","hashtag2"]},{"1399605220":["hashtag1","hashtag2"]},{"1399605211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605210, 1399605212, 1399605209, 1399605200, 1399605220, 1399605211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.186338663101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:39:21.974165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/34/image_16122025_07_35_04_9647.jpg', '/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_14_10082.jpg', '/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_24_9596.jpg', '/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_44_9734.jpg', '/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_54_9624.jpg', '/home/pi/Desktop/images/16122025/07/35/image_16122025_07_36_05_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/34/image_16122025_07_35_04_9647.jpg
/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_14_10082.jpg
/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_24_9596.jpg
/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_44_9734.jpg
/home/pi/Desktop/images/16122025/07/35/image_16122025_07_35_54_9624.jpg
/home/pi/Desktop/images/16122025/07/35/image_16122025_07_36_05_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605228","1399605242","1399605245","1399605239","1399605235","1399605232"],"photo_ids_order":["1399605228","1399605232","1399605235","1399605239","1399605242","1399605245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b7310218025ddad3d716b9414e18422.jpg","text":"TemporaryFile(/tmp/multipartBody4757810194893256078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867222596,"filename":"image_16122025_07_35_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/16/06ab10bfcbc4c750b5c0e88735a26390.jpg","text":"TemporaryFile(/tmp/multipartBody6549696554799572652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867222596,"filename":"image_16122025_07_35_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/16/a28022447352f8dc7acefe88457d17e3.jpg","text":"TemporaryFile(/tmp/multipartBody7124444891381879424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867222596,"filename":"image_16122025_07_36_05_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d504760093747c1f6bfd856e178b34c.jpg","text":"TemporaryFile(/tmp/multipartBody8160901446214630295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867222596,"filename":"image_16122025_07_35_44_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dead46a009eb8fbdd92cc8535c7b4107.jpg","text":"TemporaryFile(/tmp/multipartBody4751927622942681397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867222596,"filename":"image_16122025_07_35_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ecc4e5577b719d6d7f2a6e81bad8a1ea.jpg","text":"TemporaryFile(/tmp/multipartBody4129567004731598468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867222596,"filename":"image_16122025_07_35_14_10082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605235","file1":"1399605232","file0":"1399605228","file4":"1399605242","file5":"1399605245","file3":"1399605239"},"map_files_photo_id_array":[{"photo_id":"1399605245","filename":"file5"},{"photo_id":"1399605235","filename":"file2"},{"photo_id":"1399605242","filename":"file4"},{"photo_id":"1399605232","filename":"file1"},{"photo_id":"1399605228","filename":"file0"},{"photo_id":"1399605239","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605228":["hashtag1","hashtag2"]},{"1399605242":["hashtag1","hashtag2"]},{"1399605245":["hashtag1","hashtag2"]},{"1399605239":["hashtag1","hashtag2"]},{"1399605235":["hashtag1","hashtag2"]},{"1399605232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605228, 1399605242, 1399605245, 1399605239, 1399605235, 1399605232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67387533187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:40:02.715105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/36/image_16122025_07_36_24_9900.jpg', '/home/pi/Desktop/images/16122025/07/36/image_16122025_07_36_34_9709.jpg', '/home/pi/Desktop/images/16122025/07/36/image_16122025_07_37_04_9803.jpg', '/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_14_9738.jpg', '/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_24_9896.jpg', '/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_35_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/36/image_16122025_07_36_24_9900.jpg
/home/pi/Desktop/images/16122025/07/36/image_16122025_07_36_34_9709.jpg
/home/pi/Desktop/images/16122025/07/36/image_16122025_07_37_04_9803.jpg
/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_14_9738.jpg
/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_24_9896.jpg
/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_35_10813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605261","1399605255","1399605263","1399605257","1399605265","1399605259"],"photo_ids_order":["1399605255","1399605257","1399605259","1399605261","1399605263","1399605265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fd6a5289b4001392617747f01942d8c.jpg","text":"TemporaryFile(/tmp/multipartBody8054663866635097344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867263384,"filename":"image_16122025_07_37_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/16/6fe94657fa89290cb5b1cfcd5c9acaaf.jpg","text":"TemporaryFile(/tmp/multipartBody4240108732370833323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867263384,"filename":"image_16122025_07_36_24_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/098e2e18b1c0753163c56e045c9d6210.jpg","text":"TemporaryFile(/tmp/multipartBody2256884780116382679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867263384,"filename":"image_16122025_07_37_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/16/6d6bdfcdd5aa43711554ca7c27351c03.jpg","text":"TemporaryFile(/tmp/multipartBody6380593310597048697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867263384,"filename":"image_16122025_07_36_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/110a8427457b46afb9ff5a0b57fa4d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2205238742665049391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867263384,"filename":"image_16122025_07_37_35_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d467437c9d99b9cedd18c027b16ed3d9.jpg","text":"TemporaryFile(/tmp/multipartBody264412170219406079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867263384,"filename":"image_16122025_07_37_04_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605259","file1":"1399605257","file0":"1399605255","file4":"1399605263","file5":"1399605265","file3":"1399605261"},"map_files_photo_id_array":[{"photo_id":"1399605265","filename":"file5"},{"photo_id":"1399605259","filename":"file2"},{"photo_id":"1399605263","filename":"file4"},{"photo_id":"1399605257","filename":"file1"},{"photo_id":"1399605255","filename":"file0"},{"photo_id":"1399605261","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605261":["hashtag1","hashtag2"]},{"1399605255":["hashtag1","hashtag2"]},{"1399605263":["hashtag1","hashtag2"]},{"1399605257":["hashtag1","hashtag2"]},{"1399605265":["hashtag1","hashtag2"]},{"1399605259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605261, 1399605255, 1399605263, 1399605257, 1399605265, 1399605259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873573541641235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:40:42.191618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_38_1728.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_42_3622.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_44_2521.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_47_2714.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_50_3620.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_53_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_38_1728.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_42_3622.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_44_2521.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_47_2714.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_50_3620.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_53_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605275","1399605284","1399605302","1399605271","1399605274","1399605304"],"photo_ids_order":["1399605271","1399605274","1399605275","1399605284","1399605302","1399605304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4275a13cad3a44edea2f12be2c7d677.jpg","text":"TemporaryFile(/tmp/multipartBody2308528737507521388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867302951,"filename":"image_06112025_15_23_44_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/16/2fa85cea97ed6e3166f201e9de3ee7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3787649983321786630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867302951,"filename":"image_06112025_15_23_47_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/16/f9b6dae2e24c83cf71bb0b44bb599249.jpg","text":"TemporaryFile(/tmp/multipartBody1715258647217799888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867302951,"filename":"image_06112025_15_23_50_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/16/81e5514b9f942201f6803d37f17cef0e.jpg","text":"TemporaryFile(/tmp/multipartBody5279653759925308941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867302951,"filename":"image_06112025_15_23_38_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/16/3804e21ffd9ae968aa6537d62bfb7547.jpg","text":"TemporaryFile(/tmp/multipartBody2597390366298788634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867302951,"filename":"image_06112025_15_23_42_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9ea5406752173d7d963cde9125e3a55e.jpg","text":"TemporaryFile(/tmp/multipartBody1524892270837252540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867302951,"filename":"image_06112025_15_23_53_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605275","file1":"1399605274","file0":"1399605271","file4":"1399605302","file5":"1399605304","file3":"1399605284"},"map_files_photo_id_array":[{"photo_id":"1399605304","filename":"file5"},{"photo_id":"1399605275","filename":"file2"},{"photo_id":"1399605302","filename":"file4"},{"photo_id":"1399605274","filename":"file1"},{"photo_id":"1399605271","filename":"file0"},{"photo_id":"1399605284","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605275":["hashtag1","hashtag2"]},{"1399605284":["hashtag1","hashtag2"]},{"1399605302":["hashtag1","hashtag2"]},{"1399605271":["hashtag1","hashtag2"]},{"1399605274":["hashtag1","hashtag2"]},{"1399605304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605275, 1399605284, 1399605302, 1399605271, 1399605274, 1399605304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.579854249954224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:41:22.571603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_44_9620.jpg', '/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_14_9603.jpg', '/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_25_10676.jpg', '/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_34_9659.jpg', '/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_44_9662.jpg', '/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_55_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/37/image_16122025_07_37_44_9620.jpg
/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_14_9603.jpg
/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_25_10676.jpg
/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_34_9659.jpg
/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_44_9662.jpg
/home/pi/Desktop/images/16122025/07/38/image_16122025_07_38_55_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605315","1399605311","1399605329","1399605367","1399605310","1399605313"],"photo_ids_order":["1399605310","1399605311","1399605313","1399605315","1399605329","1399605367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/51e6fb10afcaba0284968cb778a8c3f1.jpg","text":"TemporaryFile(/tmp/multipartBody916803750968106311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867343234,"filename":"image_16122025_07_38_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1446b62d7d69c5e9d5c0675521c00128.jpg","text":"TemporaryFile(/tmp/multipartBody6954580271302274318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867343234,"filename":"image_16122025_07_38_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b487f588aeb4b6b3ee1a0e5721cfac6.jpg","text":"TemporaryFile(/tmp/multipartBody1020515821666932481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867343234,"filename":"image_16122025_07_38_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/16/9334176b48350e07e0951cc0b0e2323c.jpg","text":"TemporaryFile(/tmp/multipartBody6854305086653904983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867343234,"filename":"image_16122025_07_38_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b81f394aee2b02728d66fa1e4be2e447.jpg","text":"TemporaryFile(/tmp/multipartBody3856360968257840693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867343234,"filename":"image_16122025_07_37_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/16/c80038c434fe1075b74437d3f0d80f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6065147109630068516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867343234,"filename":"image_16122025_07_38_25_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605313","file1":"1399605311","file0":"1399605310","file4":"1399605329","file5":"1399605367","file3":"1399605315"},"map_files_photo_id_array":[{"photo_id":"1399605367","filename":"file5"},{"photo_id":"1399605313","filename":"file2"},{"photo_id":"1399605329","filename":"file4"},{"photo_id":"1399605311","filename":"file1"},{"photo_id":"1399605310","filename":"file0"},{"photo_id":"1399605315","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605315":["hashtag1","hashtag2"]},{"1399605311":["hashtag1","hashtag2"]},{"1399605329":["hashtag1","hashtag2"]},{"1399605367":["hashtag1","hashtag2"]},{"1399605310":["hashtag1","hashtag2"]},{"1399605313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605315, 1399605311, 1399605329, 1399605367, 1399605310, 1399605313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.821386098861694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:42:03.176204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/38/image_16122025_07_39_04_9747.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_14_9687.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_24_10131.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_34_9729.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_45_10678.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_54_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/38/image_16122025_07_39_04_9747.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_14_9687.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_24_10131.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_34_9729.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_45_10678.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_54_9743.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5793912410736084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:42:14.167888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:42:22.770612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/38/image_16122025_07_39_04_9747.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_14_9687.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_24_10131.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_34_9729.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_45_10678.jpg', '/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_54_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/38/image_16122025_07_39_04_9747.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_14_9687.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_24_10131.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_34_9729.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_45_10678.jpg
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_39_54_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605543","1399605534","1399605464","1399605500","1399605550","1399605553"],"photo_ids_order":["1399605464","1399605500","1399605534","1399605543","1399605550","1399605553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8253546816034eabe9189f8f7368d6a.jpg","text":"TemporaryFile(/tmp/multipartBody1402945893520684411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867403422,"filename":"image_16122025_07_39_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18ec97e09b6f93c48797e85f130f7ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6773315839818707642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867403422,"filename":"image_16122025_07_39_24_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/16/2ceef597432a770ef46e7b054977595f.jpg","text":"TemporaryFile(/tmp/multipartBody6805071022907072585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867403422,"filename":"image_16122025_07_39_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/16/a47c7d053c9871edb1caa90c51618597.jpg","text":"TemporaryFile(/tmp/multipartBody3239662883522703040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867403422,"filename":"image_16122025_07_39_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/16/e9bb99171ce04d9e0990d54b7df700ca.jpg","text":"TemporaryFile(/tmp/multipartBody8449058650089464598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867403422,"filename":"image_16122025_07_39_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93e9fb282e6ba965514fa24b6e142bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8264031655366609304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867403422,"filename":"image_16122025_07_39_54_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605534","file1":"1399605500","file0":"1399605464","file4":"1399605550","file5":"1399605553","file3":"1399605543"},"map_files_photo_id_array":[{"photo_id":"1399605553","filename":"file5"},{"photo_id":"1399605534","filename":"file2"},{"photo_id":"1399605550","filename":"file4"},{"photo_id":"1399605500","filename":"file1"},{"photo_id":"1399605464","filename":"file0"},{"photo_id":"1399605543","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605543":["hashtag1","hashtag2"]},{"1399605534":["hashtag1","hashtag2"]},{"1399605464":["hashtag1","hashtag2"]},{"1399605500":["hashtag1","hashtag2"]},{"1399605550":["hashtag1","hashtag2"]},{"1399605553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605543, 1399605534, 1399605464, 1399605500, 1399605550, 1399605553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85115027427673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:43:02.670446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 07:43:11.831252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:43:21.884858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/39/image_16122025_07_40_05_10087.jpg', '/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_14_9900.jpg', '/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_24_9551.jpg', '/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_35_10797.jpg', '/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_45_9775.jpg', '/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_54_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/39/image_16122025_07_40_05_10087.jpg
/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_14_9900.jpg
/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_24_9551.jpg
/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_35_10797.jpg
/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_45_9775.jpg
/home/pi/Desktop/images/16122025/07/40/image_16122025_07_40_54_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605603","1399605606","1399605600","1399605608","1399605610","1399605613"],"photo_ids_order":["1399605600","1399605603","1399605606","1399605608","1399605610","1399605613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7631c63a028c7ff72ace086db33e7040.jpg","text":"TemporaryFile(/tmp/multipartBody903984956750314535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867462474,"filename":"image_16122025_07_40_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/16/b43c5ff273ccb1d7a2f569baee3cd26d.jpg","text":"TemporaryFile(/tmp/multipartBody3098672276505860565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867462474,"filename":"image_16122025_07_40_24_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b81b63965d2f3c2c8ba84417babe9dad.jpg","text":"TemporaryFile(/tmp/multipartBody1786381376563961994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867462474,"filename":"image_16122025_07_40_05_10087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b05b01e26c23904b3bc40bc429cc15c6.jpg","text":"TemporaryFile(/tmp/multipartBody5031063665947414562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867462474,"filename":"image_16122025_07_40_35_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/16/a9e8eb8c89e1f0539671fca507686525.jpg","text":"TemporaryFile(/tmp/multipartBody4667209451843603728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867462474,"filename":"image_16122025_07_40_45_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ba5d2554e27f94a9eab78ef777beca1.jpg","text":"TemporaryFile(/tmp/multipartBody3660045250890351578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867462474,"filename":"image_16122025_07_40_54_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605606","file1":"1399605603","file0":"1399605600","file4":"1399605610","file5":"1399605613","file3":"1399605608"},"map_files_photo_id_array":[{"photo_id":"1399605613","filename":"file5"},{"photo_id":"1399605606","filename":"file2"},{"photo_id":"1399605610","filename":"file4"},{"photo_id":"1399605603","filename":"file1"},{"photo_id":"1399605600","filename":"file0"},{"photo_id":"1399605608","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605603":["hashtag1","hashtag2"]},{"1399605606":["hashtag1","hashtag2"]},{"1399605600":["hashtag1","hashtag2"]},{"1399605608":["hashtag1","hashtag2"]},{"1399605610":["hashtag1","hashtag2"]},{"1399605613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605603, 1399605606, 1399605600, 1399605608, 1399605610, 1399605613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54959177970886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:44:02.838000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/40/image_16122025_07_41_04_9708.jpg', '/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_15_10814.jpg', '/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_24_9609.jpg', '/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_35_10211.jpg', '/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_44_9703.jpg', '/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/40/image_16122025_07_41_04_9708.jpg
/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_15_10814.jpg
/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_24_9609.jpg
/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_35_10211.jpg
/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_44_9703.jpg
/home/pi/Desktop/images/16122025/07/41/image_16122025_07_41_54_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":["1399605621","1399605629","1399605623","1399605626","1399605619","1399605628"],"photo_ids_order":["1399605619","1399605621","1399605623","1399605626","1399605628","1399605629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7bc376f24b7a8c2da0c8f3f1bf257b9.jpg","text":"TemporaryFile(/tmp/multipartBody5467019498217622147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867503523,"filename":"image_16122025_07_41_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/16/95604a3a075dfbac538a6721cdce4d61.jpg","text":"TemporaryFile(/tmp/multipartBody5481526807225653997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867503523,"filename":"image_16122025_07_41_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/16/aa101aa01229943fb7c6e6aeb1fe1c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8114446579891111850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867503523,"filename":"image_16122025_07_41_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/16/94c92ea1ee0d4af7769c060eb1086467.jpg","text":"TemporaryFile(/tmp/multipartBody5262558899306500079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867503523,"filename":"image_16122025_07_41_35_10211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5f57a1fb1673f75706fef14d79df40e6.jpg","text":"TemporaryFile(/tmp/multipartBody2015503863466791554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867503523,"filename":"image_16122025_07_41_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7105bc7ebecddb22606f44b3eaf763da.jpg","text":"TemporaryFile(/tmp/multipartBody7653412128475618873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867503523,"filename":"image_16122025_07_41_44_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605623","file1":"1399605621","file0":"1399605619","file4":"1399605628","file5":"1399605629","file3":"1399605626"},"map_files_photo_id_array":[{"photo_id":"1399605629","filename":"file5"},{"photo_id":"1399605623","filename":"file2"},{"photo_id":"1399605628","filename":"file4"},{"photo_id":"1399605621","filename":"file1"},{"photo_id":"1399605619","filename":"file0"},{"photo_id":"1399605626","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605621":["hashtag1","hashtag2"]},{"1399605629":["hashtag1","hashtag2"]},{"1399605623":["hashtag1","hashtag2"]},{"1399605626":["hashtag1","hashtag2"]},{"1399605619":["hashtag1","hashtag2"]},{"1399605628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605621, 1399605629, 1399605623, 1399605626, 1399605619, 1399605628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2140417098999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:44:42.249564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_57_3691.jpg', '/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_59_2691.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_02_2648.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_06_3612.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_08_2653.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_11_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_57_3691.jpg
/home/pi/Desktop/images/06112025/15/23/image_06112025_15_23_59_2691.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_02_2648.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_06_3612.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_08_2653.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_11_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":["1399605657","1399605659","1399605650","1399605661","1399605643","1399605646"],"photo_ids_order":["1399605643","1399605646","1399605650","1399605657","1399605659","1399605661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d805bc64f7e5a9df8215e268b2c00367.jpg","text":"TemporaryFile(/tmp/multipartBody1436420178634773469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867542954,"filename":"image_06112025_15_24_06_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/16/9e1ab114a4a5aa088d4551a67b6f65b8.jpg","text":"TemporaryFile(/tmp/multipartBody5819332798489232331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867542954,"filename":"image_06112025_15_24_08_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c726d62ac07bc8c8ed9dce53bf2955dc.jpg","text":"TemporaryFile(/tmp/multipartBody53526659003502274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867542954,"filename":"image_06112025_15_24_02_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/16/9ed04a6cbdfbc89783e2e934628e30ee.jpg","text":"TemporaryFile(/tmp/multipartBody652678731536485026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867542954,"filename":"image_06112025_15_24_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/16/6d156177019528975b2aebf8dc87886e.jpg","text":"TemporaryFile(/tmp/multipartBody1993449113612093908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867542954,"filename":"image_06112025_15_23_57_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/16/c50ce4fa0bb11c4bb7e5cef56ed82872.jpg","text":"TemporaryFile(/tmp/multipartBody701162142531271844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867542954,"filename":"image_06112025_15_23_59_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605650","file1":"1399605646","file0":"1399605643","file4":"1399605659","file5":"1399605661","file3":"1399605657"},"map_files_photo_id_array":[{"photo_id":"1399605661","filename":"file5"},{"photo_id":"1399605650","filename":"file2"},{"photo_id":"1399605659","filename":"file4"},{"photo_id":"1399605646","filename":"file1"},{"photo_id":"1399605643","filename":"file0"},{"photo_id":"1399605657","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605657":["hashtag1","hashtag2"]},{"1399605659":["hashtag1","hashtag2"]},{"1399605650":["hashtag1","hashtag2"]},{"1399605661":["hashtag1","hashtag2"]},{"1399605643":["hashtag1","hashtag2"]},{"1399605646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605657, 1399605659, 1399605650, 1399605661, 1399605643, 1399605646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64775371551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:45:22.538535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/41/image_16122025_07_42_04_10271.jpg', '/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_14_9737.jpg', '/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_25_10647.jpg', '/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_34_9663.jpg', '/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_44_9785.jpg', '/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_54_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/41/image_16122025_07_42_04_10271.jpg
/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_14_9737.jpg
/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_25_10647.jpg
/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_34_9663.jpg
/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_44_9785.jpg
/home/pi/Desktop/images/16122025/07/42/image_16122025_07_42_54_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605671","1399605673","1399605679","1399605666","1399605675","1399605669"],"photo_ids_order":["1399605666","1399605669","1399605671","1399605673","1399605675","1399605679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff0edbf5d335eecc8fcaf4f29106c8bd.jpg","text":"TemporaryFile(/tmp/multipartBody8589183696801439842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867583232,"filename":"image_16122025_07_42_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/16/e4f870c04bc66357c29864078c0cac94.jpg","text":"TemporaryFile(/tmp/multipartBody2799270495524200637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867583232,"filename":"image_16122025_07_42_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6d3ee0b37345e85cd03ed7293c5f972.jpg","text":"TemporaryFile(/tmp/multipartBody3992413795240480907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867583232,"filename":"image_16122025_07_42_54_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d62918cac1fab88949c6af81e325e67d.jpg","text":"TemporaryFile(/tmp/multipartBody5304704460904280765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867583232,"filename":"image_16122025_07_42_04_10271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d23a1385fd5d92c865a39852a7355bf.jpg","text":"TemporaryFile(/tmp/multipartBody6045672283132040112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867583232,"filename":"image_16122025_07_42_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/16/5ba730f86a4364dc350d175b1239079b.jpg","text":"TemporaryFile(/tmp/multipartBody8297815679430441003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867583232,"filename":"image_16122025_07_42_14_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605671","file1":"1399605669","file0":"1399605666","file4":"1399605675","file5":"1399605679","file3":"1399605673"},"map_files_photo_id_array":[{"photo_id":"1399605679","filename":"file5"},{"photo_id":"1399605671","filename":"file2"},{"photo_id":"1399605675","filename":"file4"},{"photo_id":"1399605669","filename":"file1"},{"photo_id":"1399605666","filename":"file0"},{"photo_id":"1399605673","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605671":["hashtag1","hashtag2"]},{"1399605673":["hashtag1","hashtag2"]},{"1399605679":["hashtag1","hashtag2"]},{"1399605666":["hashtag1","hashtag2"]},{"1399605675":["hashtag1","hashtag2"]},{"1399605669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605671, 1399605673, 1399605679, 1399605666, 1399605675, 1399605669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.699222803115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:46:03.249470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/42/image_16122025_07_43_05_10892.jpg', '/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_15_9916.jpg', '/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_24_9851.jpg', '/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_34_9668.jpg', '/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_45_10479.jpg', '/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_55_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/42/image_16122025_07_43_05_10892.jpg
/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_15_9916.jpg
/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_24_9851.jpg
/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_34_9668.jpg
/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_45_10479.jpg
/home/pi/Desktop/images/16122025/07/43/image_16122025_07_43_55_9884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605702","1399605705","1399605689","1399605698","1399605701","1399605685"],"photo_ids_order":["1399605685","1399605689","1399605698","1399605701","1399605702","1399605705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01b4e748782f650431bac6753f2f3e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5284274724781459224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867623937,"filename":"image_16122025_07_43_45_10479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bad6992818c7f2843be993c0a33540c7.jpg","text":"TemporaryFile(/tmp/multipartBody2628024734564017532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867623937,"filename":"image_16122025_07_43_55_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/16/594471a87b284fd478122f93f72378b3.jpg","text":"TemporaryFile(/tmp/multipartBody3675516997454739507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867623937,"filename":"image_16122025_07_43_15_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/82f275c8e6c5155af3d201ae9c7cbf04.jpg","text":"TemporaryFile(/tmp/multipartBody3813292282023561303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867623937,"filename":"image_16122025_07_43_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/16/0762a0541add0c40c9ac71703d59edcd.jpg","text":"TemporaryFile(/tmp/multipartBody623372912858380400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867623937,"filename":"image_16122025_07_43_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c05b5eeefe7eb03376f3e95e1c3cc430.jpg","text":"TemporaryFile(/tmp/multipartBody6665981641487966765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867623937,"filename":"image_16122025_07_43_05_10892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605698","file1":"1399605689","file0":"1399605685","file4":"1399605702","file5":"1399605705","file3":"1399605701"},"map_files_photo_id_array":[{"photo_id":"1399605705","filename":"file5"},{"photo_id":"1399605698","filename":"file2"},{"photo_id":"1399605702","filename":"file4"},{"photo_id":"1399605689","filename":"file1"},{"photo_id":"1399605685","filename":"file0"},{"photo_id":"1399605701","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605702":["hashtag1","hashtag2"]},{"1399605705":["hashtag1","hashtag2"]},{"1399605689":["hashtag1","hashtag2"]},{"1399605698":["hashtag1","hashtag2"]},{"1399605701":["hashtag1","hashtag2"]},{"1399605685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605702, 1399605705, 1399605689, 1399605698, 1399605701, 1399605685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.937636852264404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:46:42.719549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_15_3618.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_20_4958.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_21_1662.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_23_1793.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_27_3558.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_29_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_15_3618.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_20_4958.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_21_1662.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_23_1793.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_27_3558.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_29_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":["1399605729","1399605723","1399605726","1399605725","1399605727","1399605721"],"photo_ids_order":["1399605721","1399605723","1399605725","1399605726","1399605727","1399605729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b358d87f59a952bc0c45530dcfea2fdf.jpg","text":"TemporaryFile(/tmp/multipartBody1325619830113181021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867663425,"filename":"image_06112025_15_24_29_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/871cfc5289dca3413674cce4a438e4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5306114272890966432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867663425,"filename":"image_06112025_15_24_20_4958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf41343cc35c5bdc4a982d6caaf4ab1b.jpg","text":"TemporaryFile(/tmp/multipartBody47197759318194732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867663425,"filename":"image_06112025_15_24_23_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf6e06b71ce44c1cc53c99c8db2bd4c5.jpg","text":"TemporaryFile(/tmp/multipartBody5232412911283255305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867663425,"filename":"image_06112025_15_24_21_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/16/5272c46433ff967607bd837d928c4c5f.jpg","text":"TemporaryFile(/tmp/multipartBody9021453010242862355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867663425,"filename":"image_06112025_15_24_27_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/16/b07719716362d0f76f7235d1b0f64a45.jpg","text":"TemporaryFile(/tmp/multipartBody3855519741671557713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867663425,"filename":"image_06112025_15_24_15_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605725","file1":"1399605723","file0":"1399605721","file4":"1399605727","file5":"1399605729","file3":"1399605726"},"map_files_photo_id_array":[{"photo_id":"1399605729","filename":"file5"},{"photo_id":"1399605725","filename":"file2"},{"photo_id":"1399605727","filename":"file4"},{"photo_id":"1399605723","filename":"file1"},{"photo_id":"1399605721","filename":"file0"},{"photo_id":"1399605726","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605729":["hashtag1","hashtag2"]},{"1399605723":["hashtag1","hashtag2"]},{"1399605726":["hashtag1","hashtag2"]},{"1399605725":["hashtag1","hashtag2"]},{"1399605727":["hashtag1","hashtag2"]},{"1399605721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605729, 1399605723, 1399605726, 1399605725, 1399605727, 1399605721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05202054977417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:47:21.978035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/43/image_16122025_07_44_04_9935.jpg', '/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_14_9754.jpg', '/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_35_10772.jpg', '/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_44_9097.jpg', '/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_54_10575.jpg', '/home/pi/Desktop/images/16122025/07/44/image_16122025_07_45_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/43/image_16122025_07_44_04_9935.jpg
/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_14_9754.jpg
/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_35_10772.jpg
/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_44_9097.jpg
/home/pi/Desktop/images/16122025/07/44/image_16122025_07_44_54_10575.jpg
/home/pi/Desktop/images/16122025/07/44/image_16122025_07_45_04_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":["1399605738","1399605740","1399605734","1399605742","1399605736","1399605745"],"photo_ids_order":["1399605734","1399605736","1399605738","1399605740","1399605742","1399605745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/453076bccc7c816834b0ff2365f9713c.jpg","text":"TemporaryFile(/tmp/multipartBody3350770505000187954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867702597,"filename":"image_16122025_07_44_35_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/16/563c9f491f0a7f19c063a6d3ec3e95e9.jpg","text":"TemporaryFile(/tmp/multipartBody9083543560391676593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867702597,"filename":"image_16122025_07_44_44_9097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7206dffadbec36be2384ee95351dab2d.jpg","text":"TemporaryFile(/tmp/multipartBody8494002070337397007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867702597,"filename":"image_16122025_07_44_04_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/16/866b527ed8a1aeb48507c454aaae2129.jpg","text":"TemporaryFile(/tmp/multipartBody7175383115312098397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867702597,"filename":"image_16122025_07_44_54_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d903ddbd3408e3e0de1ae569b5e7d7fd.jpg","text":"TemporaryFile(/tmp/multipartBody1164778392230274783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867702597,"filename":"image_16122025_07_44_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff4efd2e3e8e361cf59ddfaffcdfac40.jpg","text":"TemporaryFile(/tmp/multipartBody196315078361306313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867702597,"filename":"image_16122025_07_45_04_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605738","file1":"1399605736","file0":"1399605734","file4":"1399605742","file5":"1399605745","file3":"1399605740"},"map_files_photo_id_array":[{"photo_id":"1399605745","filename":"file5"},{"photo_id":"1399605738","filename":"file2"},{"photo_id":"1399605742","filename":"file4"},{"photo_id":"1399605736","filename":"file1"},{"photo_id":"1399605734","filename":"file0"},{"photo_id":"1399605740","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605738":["hashtag1","hashtag2"]},{"1399605740":["hashtag1","hashtag2"]},{"1399605734":["hashtag1","hashtag2"]},{"1399605742":["hashtag1","hashtag2"]},{"1399605736":["hashtag1","hashtag2"]},{"1399605745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605738, 1399605740, 1399605734, 1399605742, 1399605736, 1399605745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.68865394592285 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-16 07:48:15.383696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:48:25.269346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_14_9700.jpg', '/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_24_10635.jpg', '/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_34_9749.jpg', '/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_44_9748.jpg', '/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_54_9868.jpg', '/home/pi/Desktop/images/16122025/07/45/image_16122025_07_46_05_10977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_14_9700.jpg
/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_24_10635.jpg
/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_34_9749.jpg
/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_44_9748.jpg
/home/pi/Desktop/images/16122025/07/45/image_16122025_07_45_54_9868.jpg
/home/pi/Desktop/images/16122025/07/45/image_16122025_07_46_05_10977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605764","1399605767","1399605755","1399605769","1399605757","1399605753"],"photo_ids_order":["1399605753","1399605755","1399605757","1399605764","1399605767","1399605769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/542edd72f1006207ba1675443e10afa8.jpg","text":"TemporaryFile(/tmp/multipartBody2929058368649581191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867765868,"filename":"image_16122025_07_45_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/16/14632f53fb06d1b0e7b2abc31d397ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2503484630443390518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867765868,"filename":"image_16122025_07_45_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/16/fd7a71574552c06d178d02b755204b18.jpg","text":"TemporaryFile(/tmp/multipartBody4382438634828555335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867765868,"filename":"image_16122025_07_45_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8af2ef72aaf0c5a8a8d24d0296957f47.jpg","text":"TemporaryFile(/tmp/multipartBody4929291519776378747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867765868,"filename":"image_16122025_07_46_05_10977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06a7687096bd2c5d67da67fa51faec80.jpg","text":"TemporaryFile(/tmp/multipartBody5747289377784791129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867765868,"filename":"image_16122025_07_45_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/16/6c7d659ea8511a6bcf771f2b6a2697aa.jpg","text":"TemporaryFile(/tmp/multipartBody6969651963583884772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867765868,"filename":"image_16122025_07_45_14_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605757","file1":"1399605755","file0":"1399605753","file4":"1399605767","file5":"1399605769","file3":"1399605764"},"map_files_photo_id_array":[{"photo_id":"1399605769","filename":"file5"},{"photo_id":"1399605757","filename":"file2"},{"photo_id":"1399605767","filename":"file4"},{"photo_id":"1399605755","filename":"file1"},{"photo_id":"1399605753","filename":"file0"},{"photo_id":"1399605764","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605764":["hashtag1","hashtag2"]},{"1399605767":["hashtag1","hashtag2"]},{"1399605755":["hashtag1","hashtag2"]},{"1399605769":["hashtag1","hashtag2"]},{"1399605757":["hashtag1","hashtag2"]},{"1399605753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605764, 1399605767, 1399605755, 1399605769, 1399605757, 1399605753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.69920372962952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:49:11.903077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:49:21.926420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_14_9711.jpg', '/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_24_9745.jpg', '/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_34_9662.jpg', '/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_55_9770.jpg', '/home/pi/Desktop/images/16122025/07/46/image_16122025_07_47_04_9693.jpg', '/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_14_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_14_9711.jpg
/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_24_9745.jpg
/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_34_9662.jpg
/home/pi/Desktop/images/16122025/07/46/image_16122025_07_46_55_9770.jpg
/home/pi/Desktop/images/16122025/07/46/image_16122025_07_47_04_9693.jpg
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_14_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605777","1399605779","1399605773","1399605781","1399605775","1399605784"],"photo_ids_order":["1399605773","1399605775","1399605777","1399605779","1399605781","1399605784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a1f5eabb0e715742628487ac1c750d8.jpg","text":"TemporaryFile(/tmp/multipartBody3333089896592584775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867822516,"filename":"image_16122025_07_46_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/acc2470cfaaad7ec8b553eb1dbe01454.jpg","text":"TemporaryFile(/tmp/multipartBody6041278793635699070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867822516,"filename":"image_16122025_07_46_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/16/8ea8d4b2cee1926df737fb8a1655aa84.jpg","text":"TemporaryFile(/tmp/multipartBody6460739414482271635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867822516,"filename":"image_16122025_07_46_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/16/42fb6ca6500eb6dccf34b7fa8247a201.jpg","text":"TemporaryFile(/tmp/multipartBody7350167125603786660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867822516,"filename":"image_16122025_07_47_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/16/62df4b6b8adcfef62cd11202da8f5e93.jpg","text":"TemporaryFile(/tmp/multipartBody1342933875599562219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867822516,"filename":"image_16122025_07_46_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/16/6558be99b73f7a03e64dc087cc44ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody2311421625840030271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867822516,"filename":"image_16122025_07_47_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605777","file1":"1399605775","file0":"1399605773","file4":"1399605781","file5":"1399605784","file3":"1399605779"},"map_files_photo_id_array":[{"photo_id":"1399605784","filename":"file5"},{"photo_id":"1399605777","filename":"file2"},{"photo_id":"1399605781","filename":"file4"},{"photo_id":"1399605775","filename":"file1"},{"photo_id":"1399605773","filename":"file0"},{"photo_id":"1399605779","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605777":["hashtag1","hashtag2"]},{"1399605779":["hashtag1","hashtag2"]},{"1399605773":["hashtag1","hashtag2"]},{"1399605781":["hashtag1","hashtag2"]},{"1399605775":["hashtag1","hashtag2"]},{"1399605784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605777, 1399605779, 1399605773, 1399605781, 1399605775, 1399605784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70185303688049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:50:02.550554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_25_10927.jpg', '/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_35_9813.jpg', '/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_44_9683.jpg', '/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_54_9647.jpg', '/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_15_10684.jpg', '/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_24_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_25_10927.jpg
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_35_9813.jpg
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_44_9683.jpg
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_54_9647.jpg
/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_15_10684.jpg
/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_24_9375.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6230897903442383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:50:12.074121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:50:22.043735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_25_10927.jpg', '/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_35_9813.jpg', '/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_44_9683.jpg', '/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_54_9647.jpg', '/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_15_10684.jpg', '/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_24_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_25_10927.jpg
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_35_9813.jpg
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_44_9683.jpg
/home/pi/Desktop/images/16122025/07/47/image_16122025_07_47_54_9647.jpg
/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_15_10684.jpg
/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_24_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605801","1399605810","1399605799","1399605803","1399605805","1399605808"],"photo_ids_order":["1399605799","1399605801","1399605803","1399605805","1399605808","1399605810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d83eb240f50c27319c5dec6304dcdd70.jpg","text":"TemporaryFile(/tmp/multipartBody1018843999083230780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867882734,"filename":"image_16122025_07_47_35_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9cb112d0a5a881df205db331fc8aad6c.jpg","text":"TemporaryFile(/tmp/multipartBody9120452498531096908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867882734,"filename":"image_16122025_07_48_24_9375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1b33c57fdb9c2cd793ed81ebd5a077b.jpg","text":"TemporaryFile(/tmp/multipartBody4808117895627850984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867882734,"filename":"image_16122025_07_47_25_10927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8833b246574bba5215b45efcfd492ab3.jpg","text":"TemporaryFile(/tmp/multipartBody681468072939495990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867882734,"filename":"image_16122025_07_47_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0398dea7bbc62e593b5a975946ad2857.jpg","text":"TemporaryFile(/tmp/multipartBody7029163004719097335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867882734,"filename":"image_16122025_07_47_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/16/9e5611a6bd216fd1e0f596e47d9fe975.jpg","text":"TemporaryFile(/tmp/multipartBody5706337865878944952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867882734,"filename":"image_16122025_07_48_15_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605803","file1":"1399605801","file0":"1399605799","file4":"1399605808","file5":"1399605810","file3":"1399605805"},"map_files_photo_id_array":[{"photo_id":"1399605810","filename":"file5"},{"photo_id":"1399605803","filename":"file2"},{"photo_id":"1399605808","filename":"file4"},{"photo_id":"1399605801","filename":"file1"},{"photo_id":"1399605799","filename":"file0"},{"photo_id":"1399605805","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605801":["hashtag1","hashtag2"]},{"1399605810":["hashtag1","hashtag2"]},{"1399605799":["hashtag1","hashtag2"]},{"1399605803":["hashtag1","hashtag2"]},{"1399605805":["hashtag1","hashtag2"]},{"1399605808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605801, 1399605810, 1399605799, 1399605803, 1399605805, 1399605808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65928936004639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:51:02.965597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_54_9621.jpg', '/home/pi/Desktop/images/16122025/07/48/image_16122025_07_49_04_10229.jpg', '/home/pi/Desktop/images/16122025/07/49/image_16122025_07_49_14_9624.jpg', '/home/pi/Desktop/images/16122025/07/49/image_16122025_07_49_34_9687.jpg', '/home/pi/Desktop/images/16122025/07/49/image_16122025_07_49_44_9802.jpg', '/home/pi/Desktop/images/16122025/07/49/image_16122025_07_50_04_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/48/image_16122025_07_48_54_9621.jpg
/home/pi/Desktop/images/16122025/07/48/image_16122025_07_49_04_10229.jpg
/home/pi/Desktop/images/16122025/07/49/image_16122025_07_49_14_9624.jpg
/home/pi/Desktop/images/16122025/07/49/image_16122025_07_49_34_9687.jpg
/home/pi/Desktop/images/16122025/07/49/image_16122025_07_49_44_9802.jpg
/home/pi/Desktop/images/16122025/07/49/image_16122025_07_50_04_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605831","1399605833","1399605835","1399605823","1399605826","1399605829"],"photo_ids_order":["1399605823","1399605826","1399605829","1399605831","1399605833","1399605835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/67caffee74ba78bbb8e1d5f6771772f6.jpg","text":"TemporaryFile(/tmp/multipartBody6295341580256312737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867923738,"filename":"image_16122025_07_49_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/16/f21312b710b52808a8ad6b6bd8810fd3.jpg","text":"TemporaryFile(/tmp/multipartBody6777211889477938925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867923738,"filename":"image_16122025_07_49_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/16/dfa51688a4839762b0d15c80f3bea368.jpg","text":"TemporaryFile(/tmp/multipartBody1279057307998824852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867923738,"filename":"image_16122025_07_50_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60b3fd7e69b91a586bffc4cac287c1de.jpg","text":"TemporaryFile(/tmp/multipartBody1347595442891814694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867923738,"filename":"image_16122025_07_48_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/16/4fd0ffa118f89ce33a5992c195e627ec.jpg","text":"TemporaryFile(/tmp/multipartBody4387673310299090375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867923738,"filename":"image_16122025_07_49_04_10229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09d736d016ba784f4117ecd17295cbbb.jpg","text":"TemporaryFile(/tmp/multipartBody7383931191459854842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867923738,"filename":"image_16122025_07_49_14_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605829","file1":"1399605826","file0":"1399605823","file4":"1399605833","file5":"1399605835","file3":"1399605831"},"map_files_photo_id_array":[{"photo_id":"1399605835","filename":"file5"},{"photo_id":"1399605829","filename":"file2"},{"photo_id":"1399605833","filename":"file4"},{"photo_id":"1399605826","filename":"file1"},{"photo_id":"1399605823","filename":"file0"},{"photo_id":"1399605831","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605831":["hashtag1","hashtag2"]},{"1399605833":["hashtag1","hashtag2"]},{"1399605835":["hashtag1","hashtag2"]},{"1399605823":["hashtag1","hashtag2"]},{"1399605826":["hashtag1","hashtag2"]},{"1399605829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605831, 1399605833, 1399605835, 1399605823, 1399605826, 1399605829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4132981300354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:51:42.270015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_32_2767.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_35_3562.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_38_2604.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_41_3138.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_44_2770.jpg', '/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_53_8783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_32_2767.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_35_3562.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_38_2604.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_41_3138.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_44_2770.jpg
/home/pi/Desktop/images/06112025/15/24/image_06112025_15_24_53_8783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605840","1399605843","1399605842","1399605845","1399605844","1399605846"],"photo_ids_order":["1399605840","1399605842","1399605843","1399605844","1399605845","1399605846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f5bf589587bb60a0558558ba86d2a699.jpg","text":"TemporaryFile(/tmp/multipartBody1087285616175992647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867962983,"filename":"image_06112025_15_24_32_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/16/1158fa83431beb8f6bfb6abadcb1a7b7.jpg","text":"TemporaryFile(/tmp/multipartBody1476081457703586830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867962983,"filename":"image_06112025_15_24_38_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bb79354e1c8f93449a4eabc17c2e244.jpg","text":"TemporaryFile(/tmp/multipartBody6471946302030112331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867962983,"filename":"image_06112025_15_24_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/16/e02a00ef7c829ab2f6109422de77de5e.jpg","text":"TemporaryFile(/tmp/multipartBody8182784625360116421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867962983,"filename":"image_06112025_15_24_44_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/16/62a1222423b527733e4bf7bc40811667.jpg","text":"TemporaryFile(/tmp/multipartBody2821810737387293578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867962983,"filename":"image_06112025_15_24_41_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/16/684c3f64e17de4ff0aa3c6ba0fb70407.jpg","text":"TemporaryFile(/tmp/multipartBody3009428284736760542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765867962983,"filename":"image_06112025_15_24_53_8783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605843","file1":"1399605842","file0":"1399605840","file4":"1399605845","file5":"1399605846","file3":"1399605844"},"map_files_photo_id_array":[{"photo_id":"1399605846","filename":"file5"},{"photo_id":"1399605843","filename":"file2"},{"photo_id":"1399605845","filename":"file4"},{"photo_id":"1399605842","filename":"file1"},{"photo_id":"1399605840","filename":"file0"},{"photo_id":"1399605844","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605840":["hashtag1","hashtag2"]},{"1399605843":["hashtag1","hashtag2"]},{"1399605842":["hashtag1","hashtag2"]},{"1399605845":["hashtag1","hashtag2"]},{"1399605844":["hashtag1","hashtag2"]},{"1399605846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605840, 1399605843, 1399605842, 1399605845, 1399605844, 1399605846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09027934074402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:52:26.343097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_14_9582.jpg', '/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_25_10732.jpg', '/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_44_9634.jpg', '/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_55_10664.jpg', '/home/pi/Desktop/images/16122025/07/50/image_16122025_07_51_04_9785.jpg', '/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_14_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_14_9582.jpg
/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_25_10732.jpg
/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_44_9634.jpg
/home/pi/Desktop/images/16122025/07/50/image_16122025_07_50_55_10664.jpg
/home/pi/Desktop/images/16122025/07/50/image_16122025_07_51_04_9785.jpg
/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_14_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605863","1399605854","1399605871","1399605874","1399605876","1399605858"],"photo_ids_order":["1399605854","1399605858","1399605863","1399605871","1399605874","1399605876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d9fa250c242030cb3fc158a2590af5d.jpg","text":"TemporaryFile(/tmp/multipartBody5142203340329949135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868006994,"filename":"image_16122025_07_50_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71ff51c6ad8ee55cdb04e042c129536b.jpg","text":"TemporaryFile(/tmp/multipartBody1026107323398143344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868006994,"filename":"image_16122025_07_50_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/16/18cce0deb0d1645a3968338b6f894d44.jpg","text":"TemporaryFile(/tmp/multipartBody3904253668919596212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868006994,"filename":"image_16122025_07_50_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74ff4c1262eca00108e1bfd9f6f021b6.jpg","text":"TemporaryFile(/tmp/multipartBody2332287042495510619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868006994,"filename":"image_16122025_07_51_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aac4b1f06c45832fd13282a5b4457e7c.jpg","text":"TemporaryFile(/tmp/multipartBody3112564537592022908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868006994,"filename":"image_16122025_07_51_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/16/b06e74b4ee110a1c489206980eab8f9b.jpg","text":"TemporaryFile(/tmp/multipartBody3440093802226405592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868006994,"filename":"image_16122025_07_50_25_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605863","file1":"1399605858","file0":"1399605854","file4":"1399605874","file5":"1399605876","file3":"1399605871"},"map_files_photo_id_array":[{"photo_id":"1399605876","filename":"file5"},{"photo_id":"1399605863","filename":"file2"},{"photo_id":"1399605874","filename":"file4"},{"photo_id":"1399605858","filename":"file1"},{"photo_id":"1399605854","filename":"file0"},{"photo_id":"1399605871","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605863":["hashtag1","hashtag2"]},{"1399605854":["hashtag1","hashtag2"]},{"1399605871":["hashtag1","hashtag2"]},{"1399605874":["hashtag1","hashtag2"]},{"1399605876":["hashtag1","hashtag2"]},{"1399605858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605863, 1399605854, 1399605871, 1399605874, 1399605876, 1399605858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.228073596954346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:53:12.628909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:53:22.850992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_24_9803.jpg', '/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_34_10636.jpg', '/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_44_9681.jpg', '/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_55_10622.jpg', '/home/pi/Desktop/images/16122025/07/51/image_16122025_07_52_05_9753.jpg', '/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_14_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_24_9803.jpg
/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_34_10636.jpg
/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_44_9681.jpg
/home/pi/Desktop/images/16122025/07/51/image_16122025_07_51_55_10622.jpg
/home/pi/Desktop/images/16122025/07/51/image_16122025_07_52_05_9753.jpg
/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_14_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":["1399605899","1399605905","1399605910","1399605894","1399605913","1399605891"],"photo_ids_order":["1399605891","1399605894","1399605899","1399605905","1399605910","1399605913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8da5ecf7e3e86124e01cd5415b6cf30d.jpg","text":"TemporaryFile(/tmp/multipartBody8283867136495351945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868063504,"filename":"image_16122025_07_51_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42a0df605638fc8aa14b0b8234647647.jpg","text":"TemporaryFile(/tmp/multipartBody7171325290677603663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868063504,"filename":"image_16122025_07_51_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/16/06803ddf8a76cf9f55322f87a177b7f2.jpg","text":"TemporaryFile(/tmp/multipartBody3960574058588389132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868063504,"filename":"image_16122025_07_52_05_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2c532565a30bce4c928486e8f5651794.jpg","text":"TemporaryFile(/tmp/multipartBody2132510518734466881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868063504,"filename":"image_16122025_07_51_34_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/16/448f9cae9d8eb3c4d5931c55e1e3266c.jpg","text":"TemporaryFile(/tmp/multipartBody8462951568194720097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868063504,"filename":"image_16122025_07_52_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/16/352add21e504334d0bf46ea9af2c8a64.jpg","text":"TemporaryFile(/tmp/multipartBody3865005553084477965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868063504,"filename":"image_16122025_07_51_24_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605899","file1":"1399605894","file0":"1399605891","file4":"1399605910","file5":"1399605913","file3":"1399605905"},"map_files_photo_id_array":[{"photo_id":"1399605913","filename":"file5"},{"photo_id":"1399605899","filename":"file2"},{"photo_id":"1399605910","filename":"file4"},{"photo_id":"1399605894","filename":"file1"},{"photo_id":"1399605891","filename":"file0"},{"photo_id":"1399605905","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605899":["hashtag1","hashtag2"]},{"1399605905":["hashtag1","hashtag2"]},{"1399605910":["hashtag1","hashtag2"]},{"1399605894":["hashtag1","hashtag2"]},{"1399605913":["hashtag1","hashtag2"]},{"1399605891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605899, 1399605905, 1399605910, 1399605894, 1399605913, 1399605891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27410101890564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:54:02.594553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_25_10282.jpg', '/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_34_9807.jpg', '/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_44_9646.jpg', '/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_25_10735.jpg', '/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_34_9656.jpg', '/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_25_10282.jpg
/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_34_9807.jpg
/home/pi/Desktop/images/16122025/07/52/image_16122025_07_52_44_9646.jpg
/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_25_10735.jpg
/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_34_9656.jpg
/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_44_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605918","1399605923","1399605920","1399605922","1399605916","1399605925"],"photo_ids_order":["1399605916","1399605918","1399605920","1399605922","1399605923","1399605925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa6e598fd706e67aa19ed5684cd3ba76.jpg","text":"TemporaryFile(/tmp/multipartBody3660751038383945643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868103403,"filename":"image_16122025_07_52_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/16/31ac158a14997745bca703a7931c531c.jpg","text":"TemporaryFile(/tmp/multipartBody7912707472038885842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868103403,"filename":"image_16122025_07_53_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/16/b3c0712d38a6193a983b07e527720a36.jpg","text":"TemporaryFile(/tmp/multipartBody2274464881104397380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868103403,"filename":"image_16122025_07_52_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/972725cf13e5ea624e5b85aac61d0f10.jpg","text":"TemporaryFile(/tmp/multipartBody486085038798628964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868103403,"filename":"image_16122025_07_53_25_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d006cbadd34b5f97454c1b544b653d6.jpg","text":"TemporaryFile(/tmp/multipartBody2478711740709379551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868103403,"filename":"image_16122025_07_52_25_10282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41d3a26fd276260c5d60cd852a2165ff.jpg","text":"TemporaryFile(/tmp/multipartBody7322083195605265650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868103403,"filename":"image_16122025_07_53_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605920","file1":"1399605918","file0":"1399605916","file4":"1399605923","file5":"1399605925","file3":"1399605922"},"map_files_photo_id_array":[{"photo_id":"1399605925","filename":"file5"},{"photo_id":"1399605920","filename":"file2"},{"photo_id":"1399605923","filename":"file4"},{"photo_id":"1399605918","filename":"file1"},{"photo_id":"1399605916","filename":"file0"},{"photo_id":"1399605922","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605918":["hashtag1","hashtag2"]},{"1399605923":["hashtag1","hashtag2"]},{"1399605920":["hashtag1","hashtag2"]},{"1399605922":["hashtag1","hashtag2"]},{"1399605916":["hashtag1","hashtag2"]},{"1399605925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605918, 1399605923, 1399605920, 1399605922, 1399605916, 1399605925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91499447822571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:54:41.962615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_07_14669.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_09_1663.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_11_1521.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_12_1662.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_14_1663.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_16_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_07_14669.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_09_1663.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_11_1521.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_12_1662.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_14_1663.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_16_1592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605948","1399605933","1399605936","1399605935","1399605943","1399605937"],"photo_ids_order":["1399605933","1399605935","1399605936","1399605937","1399605943","1399605948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5025aa4da95979398194d373fd787767.jpg","text":"TemporaryFile(/tmp/multipartBody1637606942957918767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868142669,"filename":"image_06112025_15_25_16_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/16/c052216c41c0c3e66ff10390a2e3dfb3.jpg","text":"TemporaryFile(/tmp/multipartBody2106170689885388329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868142669,"filename":"image_06112025_15_25_07_14669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea16a819e02ded684b8118da55b14105.jpg","text":"TemporaryFile(/tmp/multipartBody433597955368835057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868142669,"filename":"image_06112025_15_25_11_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/16/3ac5d80bc8569109af10073813d15478.jpg","text":"TemporaryFile(/tmp/multipartBody8032124409628497323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868142669,"filename":"image_06112025_15_25_09_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/16/8a952d41d6b9222eccd26857b63d6525.jpg","text":"TemporaryFile(/tmp/multipartBody8370380940390311538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868142669,"filename":"image_06112025_15_25_14_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/16/ff469003f86ce72a784964a7b6174602.jpg","text":"TemporaryFile(/tmp/multipartBody3676780439546578822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868142669,"filename":"image_06112025_15_25_12_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605936","file1":"1399605935","file0":"1399605933","file4":"1399605943","file5":"1399605948","file3":"1399605937"},"map_files_photo_id_array":[{"photo_id":"1399605948","filename":"file5"},{"photo_id":"1399605936","filename":"file2"},{"photo_id":"1399605943","filename":"file4"},{"photo_id":"1399605935","filename":"file1"},{"photo_id":"1399605933","filename":"file0"},{"photo_id":"1399605937","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605948":["hashtag1","hashtag2"]},{"1399605933":["hashtag1","hashtag2"]},{"1399605936":["hashtag1","hashtag2"]},{"1399605935":["hashtag1","hashtag2"]},{"1399605943":["hashtag1","hashtag2"]},{"1399605937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605948, 1399605933, 1399605936, 1399605935, 1399605943, 1399605937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32494926452637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:55:22.339932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_55_10708.jpg', '/home/pi/Desktop/images/16122025/07/53/image_16122025_07_54_04_9636.jpg', '/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_14_9610.jpg', '/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_25_10612.jpg', '/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_44_9970.jpg', '/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/53/image_16122025_07_53_55_10708.jpg
/home/pi/Desktop/images/16122025/07/53/image_16122025_07_54_04_9636.jpg
/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_14_9610.jpg
/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_25_10612.jpg
/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_44_9970.jpg
/home/pi/Desktop/images/16122025/07/54/image_16122025_07_54_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605960","1399605954","1399605956","1399605961","1399605964","1399605958"],"photo_ids_order":["1399605954","1399605956","1399605958","1399605960","1399605961","1399605964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d739d1eba6c44d942f9110272fb1c766.jpg","text":"TemporaryFile(/tmp/multipartBody7566056652203819382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868183045,"filename":"image_16122025_07_54_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70d0e73c776027a656f91f57db1d45e1.jpg","text":"TemporaryFile(/tmp/multipartBody7061052566855854234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868183045,"filename":"image_16122025_07_53_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/092eef579ef403f46739d5355af8bf3d.jpg","text":"TemporaryFile(/tmp/multipartBody4945601399174293734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868183045,"filename":"image_16122025_07_54_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/16/2e2b9218b649c020015ed8fd902b67d7.jpg","text":"TemporaryFile(/tmp/multipartBody4082386107835743979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868183045,"filename":"image_16122025_07_54_44_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/16/9ce0da58d468bc5c0009d5138fe24e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8047251913358016506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868183045,"filename":"image_16122025_07_54_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/16/d18862c808b8bec1e619c476ac71c6a0.jpg","text":"TemporaryFile(/tmp/multipartBody7265227548196180339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868183045,"filename":"image_16122025_07_54_14_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605958","file1":"1399605956","file0":"1399605954","file4":"1399605961","file5":"1399605964","file3":"1399605960"},"map_files_photo_id_array":[{"photo_id":"1399605964","filename":"file5"},{"photo_id":"1399605958","filename":"file2"},{"photo_id":"1399605961","filename":"file4"},{"photo_id":"1399605956","filename":"file1"},{"photo_id":"1399605954","filename":"file0"},{"photo_id":"1399605960","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605960":["hashtag1","hashtag2"]},{"1399605954":["hashtag1","hashtag2"]},{"1399605956":["hashtag1","hashtag2"]},{"1399605961":["hashtag1","hashtag2"]},{"1399605964":["hashtag1","hashtag2"]},{"1399605958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605960, 1399605954, 1399605956, 1399605961, 1399605964, 1399605958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17229104042053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:56:03.154691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_14_9695.jpg', '/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_24_9648.jpg', '/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_35_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_14_9695.jpg
/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_24_9648.jpg
/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_35_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605969","1399605971","1399605967"],"photo_ids_order":["1399605967","1399605969","1399605971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3c0323f901e8033f4a89c03a5a2649f.jpg","text":"TemporaryFile(/tmp/multipartBody422548333446036693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868223705,"filename":"image_16122025_07_55_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe10d6b84a237f22115961c898ce6fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1579142380744879840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868223705,"filename":"image_16122025_07_55_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8652c693502a2578aa07ffb40688fa4a.jpg","text":"TemporaryFile(/tmp/multipartBody1418570337677688086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868223705,"filename":"image_16122025_07_55_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605971","file1":"1399605969","file0":"1399605967"},"map_files_photo_id_array":[{"photo_id":"1399605971","filename":"file2"},{"photo_id":"1399605969","filename":"file1"},{"photo_id":"1399605967","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399605969":["hashtag1","hashtag2"]},{"1399605971":["hashtag1","hashtag2"]},{"1399605967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399605969, 1399605971, 1399605967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.836429595947266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 07:56:32.575374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 07:56:42.673809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_19_3105.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_20_1564.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_22_1747.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_27_5420.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_29_1613.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_31_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_19_3105.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_20_1564.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_22_1747.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_27_5420.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_29_1613.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_31_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399605989","1399605991","1399605985","1399605988","1399605990","1399605987"],"photo_ids_order":["1399605985","1399605987","1399605988","1399605989","1399605990","1399605991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/848c3e067cbc85a84c70ef2a6c1644bd.jpg","text":"TemporaryFile(/tmp/multipartBody7772701798082162440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868263380,"filename":"image_06112025_15_25_27_5420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d3e6d5f0b62710eea4cc43f322f5624.jpg","text":"TemporaryFile(/tmp/multipartBody7422321672025917998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868263380,"filename":"image_06112025_15_25_31_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/16/43672b20521c3b9db9041808da42c20b.jpg","text":"TemporaryFile(/tmp/multipartBody3436290660855634518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868263380,"filename":"image_06112025_15_25_19_3105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fe361f415ea9b1f7f4354357b837c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5735450431273556406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868263380,"filename":"image_06112025_15_25_22_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/16/26dfed93125ad0071ec50c82c560cdd9.jpg","text":"TemporaryFile(/tmp/multipartBody988772135589161033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868263380,"filename":"image_06112025_15_25_29_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/16/43c1122ad60090acee78e8a244b2da21.jpg","text":"TemporaryFile(/tmp/multipartBody3144684807881607249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868263380,"filename":"image_06112025_15_25_20_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399605988","file1":"1399605987","file0":"1399605985","file4":"1399605990","file5":"1399605991","file3":"1399605989"},"map_files_photo_id_array":[{"photo_id":"1399605991","filename":"file5"},{"photo_id":"1399605988","filename":"file2"},{"photo_id":"1399605990","filename":"file4"},{"photo_id":"1399605987","filename":"file1"},{"photo_id":"1399605985","filename":"file0"},{"photo_id":"1399605989","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399605989":["hashtag1","hashtag2"]},{"1399605991":["hashtag1","hashtag2"]},{"1399605985":["hashtag1","hashtag2"]},{"1399605988":["hashtag1","hashtag2"]},{"1399605990":["hashtag1","hashtag2"]},{"1399605987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399605989, 1399605991, 1399605985, 1399605988, 1399605990, 1399605987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49900269508362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 07:57:22.032982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_54_9641.jpg', '/home/pi/Desktop/images/16122025/07/55/image_16122025_07_56_04_9807.jpg', '/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_14_10348.jpg', '/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_24_9618.jpg', '/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_34_9776.jpg', '/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_44_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/55/image_16122025_07_55_54_9641.jpg
/home/pi/Desktop/images/16122025/07/55/image_16122025_07_56_04_9807.jpg
/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_14_10348.jpg
/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_24_9618.jpg
/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_34_9776.jpg
/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_44_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399606005","1399606001","1399606003","1399605996","1399605999","1399606008"],"photo_ids_order":["1399605996","1399605999","1399606001","1399606003","1399606005","1399606008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ef3d9ca045cab1faeb031c14ef2be57.jpg","text":"TemporaryFile(/tmp/multipartBody5387444219432129857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868302686,"filename":"image_16122025_07_56_34_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff9b4b74bd246eaf9b6e525b7d9522e0.jpg","text":"TemporaryFile(/tmp/multipartBody8579309478889295852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868302686,"filename":"image_16122025_07_56_14_10348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/445222e7b55881dff5f3c953c610c8b2.jpg","text":"TemporaryFile(/tmp/multipartBody6138823869246245976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868302686,"filename":"image_16122025_07_56_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd9763ab99256e2f1ab6dec28612d42d.jpg","text":"TemporaryFile(/tmp/multipartBody3483500090967590224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868302686,"filename":"image_16122025_07_55_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39f94373263cef050f2022b6c1d81cee.jpg","text":"TemporaryFile(/tmp/multipartBody8655539627672753985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868302686,"filename":"image_16122025_07_56_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/16/29967c4ee293dddd13c1bb9fce9118ef.jpg","text":"TemporaryFile(/tmp/multipartBody1851054645546967967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868302686,"filename":"image_16122025_07_56_44_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399606001","file1":"1399605999","file0":"1399605996","file4":"1399606005","file5":"1399606008","file3":"1399606003"},"map_files_photo_id_array":[{"photo_id":"1399606008","filename":"file5"},{"photo_id":"1399606001","filename":"file2"},{"photo_id":"1399606005","filename":"file4"},{"photo_id":"1399605999","filename":"file1"},{"photo_id":"1399605996","filename":"file0"},{"photo_id":"1399606003","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399606005":["hashtag1","hashtag2"]},{"1399606001":["hashtag1","hashtag2"]},{"1399606003":["hashtag1","hashtag2"]},{"1399605996":["hashtag1","hashtag2"]},{"1399605999":["hashtag1","hashtag2"]},{"1399606008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399606005, 1399606001, 1399606003, 1399605996, 1399605999, 1399606008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16923928260803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 07:59:03.358507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_54_9710.jpg', '/home/pi/Desktop/images/16122025/07/57/image_16122025_07_57_15_10774.jpg', '/home/pi/Desktop/images/16122025/07/57/image_16122025_07_57_24_9748.jpg', '/home/pi/Desktop/images/16122025/07/57/image_16122025_07_58_04_9795.jpg', '/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_14_9740.jpg', '/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_35_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/56/image_16122025_07_56_54_9710.jpg
/home/pi/Desktop/images/16122025/07/57/image_16122025_07_57_15_10774.jpg
/home/pi/Desktop/images/16122025/07/57/image_16122025_07_57_24_9748.jpg
/home/pi/Desktop/images/16122025/07/57/image_16122025_07_58_04_9795.jpg
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_14_9740.jpg
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_35_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399606889","1399606868","1399606897","1399606839","1399606827","1399606836"],"photo_ids_order":["1399606827","1399606836","1399606839","1399606868","1399606889","1399606897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c580ae01f3b5c7f621eaa3b29594f70.jpg","text":"TemporaryFile(/tmp/multipartBody3563772800113491521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868404162,"filename":"image_16122025_07_58_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/677bc164455e5b1811d254ed77eff53b.jpg","text":"TemporaryFile(/tmp/multipartBody1965392118451913987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868404162,"filename":"image_16122025_07_58_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1915931d49d1ab8c7fc91f13f7bef4eb.jpg","text":"TemporaryFile(/tmp/multipartBody1508848578126778036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868404162,"filename":"image_16122025_07_58_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/16/f6feae5bab2cc8a7b62091f0ec732c67.jpg","text":"TemporaryFile(/tmp/multipartBody8203297655809466150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868404162,"filename":"image_16122025_07_57_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/16/995976a28f68d9f039f4cce1d177e5b9.jpg","text":"TemporaryFile(/tmp/multipartBody8890403890958231630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868404162,"filename":"image_16122025_07_56_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/16/d72f98eb8dbfc6a179cf566e3c68da50.jpg","text":"TemporaryFile(/tmp/multipartBody8698525834678209756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868404162,"filename":"image_16122025_07_57_15_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399606839","file1":"1399606836","file0":"1399606827","file4":"1399606889","file5":"1399606897","file3":"1399606868"},"map_files_photo_id_array":[{"photo_id":"1399606897","filename":"file5"},{"photo_id":"1399606839","filename":"file2"},{"photo_id":"1399606889","filename":"file4"},{"photo_id":"1399606836","filename":"file1"},{"photo_id":"1399606827","filename":"file0"},{"photo_id":"1399606868","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399606889":["hashtag1","hashtag2"]},{"1399606868":["hashtag1","hashtag2"]},{"1399606897":["hashtag1","hashtag2"]},{"1399606839":["hashtag1","hashtag2"]},{"1399606827":["hashtag1","hashtag2"]},{"1399606836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399606889, 1399606868, 1399606897, 1399606839, 1399606827, 1399606836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82928490638733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:00:03.135317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_44_9726.jpg', '/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_54_10000.jpg', '/home/pi/Desktop/images/16122025/07/58/image_16122025_07_59_04_9698.jpg', '/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_14_9810.jpg', '/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_24_10014.jpg', '/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_35_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_44_9726.jpg
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_54_10000.jpg
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_59_04_9698.jpg
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_14_9810.jpg
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_24_10014.jpg
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_35_10591.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5791893005371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:00:12.582840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:00:22.600738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_44_9726.jpg', '/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_54_10000.jpg', '/home/pi/Desktop/images/16122025/07/58/image_16122025_07_59_04_9698.jpg', '/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_14_9810.jpg', '/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_24_10014.jpg', '/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_35_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_44_9726.jpg
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_58_54_10000.jpg
/home/pi/Desktop/images/16122025/07/58/image_16122025_07_59_04_9698.jpg
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_14_9810.jpg
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_24_10014.jpg
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_35_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399607231","1399607242","1399607245","1399607230","1399607224","1399607235"],"photo_ids_order":["1399607224","1399607230","1399607231","1399607235","1399607242","1399607245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03fd14895ce082441e655e71573ac636.jpg","text":"TemporaryFile(/tmp/multipartBody5227614584164717379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868483279,"filename":"image_16122025_07_59_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/16/eae0b305ae15e2da899d4b30f7addda5.jpg","text":"TemporaryFile(/tmp/multipartBody6140869471050017389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868483279,"filename":"image_16122025_07_59_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/16/e456436fc4636ac9b9dc80e653231efb.jpg","text":"TemporaryFile(/tmp/multipartBody7033387114231342860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868483279,"filename":"image_16122025_07_59_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e488bc1c59e239f595182c8a699489ac.jpg","text":"TemporaryFile(/tmp/multipartBody4583489834780944455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868483279,"filename":"image_16122025_07_58_54_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/16/40014d5a80eb0bd8c40c6a4d1b4667ef.jpg","text":"TemporaryFile(/tmp/multipartBody47805392446055369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868483279,"filename":"image_16122025_07_58_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cfd6e4155dfab4b4292234a3eb9cf1f.jpg","text":"TemporaryFile(/tmp/multipartBody6485017339028878130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868483279,"filename":"image_16122025_07_59_14_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399607231","file1":"1399607230","file0":"1399607224","file4":"1399607242","file5":"1399607245","file3":"1399607235"},"map_files_photo_id_array":[{"photo_id":"1399607245","filename":"file5"},{"photo_id":"1399607231","filename":"file2"},{"photo_id":"1399607242","filename":"file4"},{"photo_id":"1399607230","filename":"file1"},{"photo_id":"1399607224","filename":"file0"},{"photo_id":"1399607235","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399607231":["hashtag1","hashtag2"]},{"1399607242":["hashtag1","hashtag2"]},{"1399607245":["hashtag1","hashtag2"]},{"1399607230":["hashtag1","hashtag2"]},{"1399607224":["hashtag1","hashtag2"]},{"1399607235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399607231, 1399607242, 1399607245, 1399607230, 1399607224, 1399607235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28522801399231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:01:02.331922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_44_9858.jpg', '/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_55_10178.jpg', '/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_14_10053.jpg', '/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_25_10638.jpg', '/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_35_9817.jpg', '/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_45_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_44_9858.jpg
/home/pi/Desktop/images/16122025/07/59/image_16122025_07_59_55_10178.jpg
/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_14_10053.jpg
/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_25_10638.jpg
/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_35_9817.jpg
/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_45_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399607252","1399607246","1399607281","1399607254","1399607248","1399607250"],"photo_ids_order":["1399607246","1399607248","1399607250","1399607252","1399607254","1399607281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b3a0d67459644c0937875d54194ed53.jpg","text":"TemporaryFile(/tmp/multipartBody4871887141957036608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868523068,"filename":"image_16122025_08_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/16/50824f3cae2bc05aa7310e040c12a06e.jpg","text":"TemporaryFile(/tmp/multipartBody7370903868231236823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868523068,"filename":"image_16122025_07_59_44_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57c96baa85d7c0ba00b8503fc6522b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4119487803779686135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868523068,"filename":"image_16122025_08_00_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/16/69c5da86fcc8510fa648537a68a82290.jpg","text":"TemporaryFile(/tmp/multipartBody7568133035064820238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868523068,"filename":"image_16122025_08_00_35_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e19756aeff856b0f3ae428ce542ffd02.jpg","text":"TemporaryFile(/tmp/multipartBody430028963178019098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868523068,"filename":"image_16122025_07_59_55_10178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d3f2292ce3a2a8c57928587ab147f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5727679496480115081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868523068,"filename":"image_16122025_08_00_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399607250","file1":"1399607248","file0":"1399607246","file4":"1399607254","file5":"1399607281","file3":"1399607252"},"map_files_photo_id_array":[{"photo_id":"1399607281","filename":"file5"},{"photo_id":"1399607250","filename":"file2"},{"photo_id":"1399607254","filename":"file4"},{"photo_id":"1399607248","filename":"file1"},{"photo_id":"1399607246","filename":"file0"},{"photo_id":"1399607252","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399607252":["hashtag1","hashtag2"]},{"1399607246":["hashtag1","hashtag2"]},{"1399607281":["hashtag1","hashtag2"]},{"1399607254":["hashtag1","hashtag2"]},{"1399607248":["hashtag1","hashtag2"]},{"1399607250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399607252, 1399607246, 1399607281, 1399607254, 1399607248, 1399607250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9515643119812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:01:41.733625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_32_1698.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_34_1540.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_35_1620.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_37_1737.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_39_1519.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_41_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_32_1698.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_34_1540.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_35_1620.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_37_1737.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_39_1519.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_41_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":["1399607558","1399607519","1399607485","1399607446","1399607410","1399607594"],"photo_ids_order":["1399607410","1399607446","1399607485","1399607519","1399607558","1399607594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/353af5cca2e439fc8967af74a695348a.jpg","text":"TemporaryFile(/tmp/multipartBody7458944387558478023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868562475,"filename":"image_06112025_15_25_39_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/16/dfe096a88e7ce63f2aebd62abc95b669.jpg","text":"TemporaryFile(/tmp/multipartBody9111838144990453895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868562475,"filename":"image_06112025_15_25_37_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62f02606e62d141a7f1f309aed3aa09b.jpg","text":"TemporaryFile(/tmp/multipartBody2834262987036029813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868562475,"filename":"image_06112025_15_25_35_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46c83130822fe2bf73e45118bd24a92a.jpg","text":"TemporaryFile(/tmp/multipartBody8273127615218321572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868562475,"filename":"image_06112025_15_25_34_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43d67291c9475ecf30734a87fd6a169d.jpg","text":"TemporaryFile(/tmp/multipartBody1282562497960360062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868562475,"filename":"image_06112025_15_25_32_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f058bc8775769f1605f34a9dfedc0cba.jpg","text":"TemporaryFile(/tmp/multipartBody2380572242856062937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868562475,"filename":"image_06112025_15_25_41_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399607485","file1":"1399607446","file0":"1399607410","file4":"1399607558","file5":"1399607594","file3":"1399607519"},"map_files_photo_id_array":[{"photo_id":"1399607594","filename":"file5"},{"photo_id":"1399607485","filename":"file2"},{"photo_id":"1399607558","filename":"file4"},{"photo_id":"1399607446","filename":"file1"},{"photo_id":"1399607410","filename":"file0"},{"photo_id":"1399607519","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399607558":["hashtag1","hashtag2"]},{"1399607519":["hashtag1","hashtag2"]},{"1399607485":["hashtag1","hashtag2"]},{"1399607446":["hashtag1","hashtag2"]},{"1399607410":["hashtag1","hashtag2"]},{"1399607594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399607558, 1399607519, 1399607485, 1399607446, 1399607410, 1399607594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52791357040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:02:25.859312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_55_10643.jpg', '/home/pi/Desktop/images/16122025/08/00/image_16122025_08_01_05_9773.jpg', '/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_15_9745.jpg', '/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_25_9723.jpg', '/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_35_10648.jpg', '/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_45_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/00/image_16122025_08_00_55_10643.jpg
/home/pi/Desktop/images/16122025/08/00/image_16122025_08_01_05_9773.jpg
/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_15_9745.jpg
/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_25_9723.jpg
/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_35_10648.jpg
/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_45_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":["1399607948","1399607764","1399607872","1399607833","1399607908","1399607799"],"photo_ids_order":["1399607764","1399607799","1399607833","1399607872","1399607908","1399607948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/433395d0607f2a8142bae83c49b1dc9b.jpg","text":"TemporaryFile(/tmp/multipartBody4417109616128866560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868606518,"filename":"image_16122025_08_01_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/16/415727681801907d4c6dc779a8305d16.jpg","text":"TemporaryFile(/tmp/multipartBody9124252518044205803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868606518,"filename":"image_16122025_08_00_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53d931d53c9a8e9fa146dd3780ff3270.jpg","text":"TemporaryFile(/tmp/multipartBody7344194355332973788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868606518,"filename":"image_16122025_08_01_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/16/08da926e5553a2b415600f6c4c90be31.jpg","text":"TemporaryFile(/tmp/multipartBody7883096477294927903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868606518,"filename":"image_16122025_08_01_15_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/16/11b242821071645b070dc5ac9601de6d.jpg","text":"TemporaryFile(/tmp/multipartBody1062053757304779312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868606518,"filename":"image_16122025_08_01_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/946fa56369d2dafce2ee1dd60351089c.jpg","text":"TemporaryFile(/tmp/multipartBody1777984956183708426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868606518,"filename":"image_16122025_08_01_05_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399607833","file1":"1399607799","file0":"1399607764","file4":"1399607908","file5":"1399607948","file3":"1399607872"},"map_files_photo_id_array":[{"photo_id":"1399607948","filename":"file5"},{"photo_id":"1399607833","filename":"file2"},{"photo_id":"1399607908","filename":"file4"},{"photo_id":"1399607799","filename":"file1"},{"photo_id":"1399607764","filename":"file0"},{"photo_id":"1399607872","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399607948":["hashtag1","hashtag2"]},{"1399607764":["hashtag1","hashtag2"]},{"1399607872":["hashtag1","hashtag2"]},{"1399607833":["hashtag1","hashtag2"]},{"1399607908":["hashtag1","hashtag2"]},{"1399607799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399607948, 1399607764, 1399607872, 1399607833, 1399607908, 1399607799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1468460559845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:03:12.010946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:03:22.076303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_54_9579.jpg', '/home/pi/Desktop/images/16122025/08/01/image_16122025_08_02_05_10692.jpg', '/home/pi/Desktop/images/16122025/08/02/image_16122025_08_02_15_9782.jpg', '/home/pi/Desktop/images/16122025/08/02/image_16122025_08_02_25_9864.jpg', '/home/pi/Desktop/images/16122025/08/02/image_16122025_08_02_45_10848.jpg', '/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_15_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/01/image_16122025_08_01_54_9579.jpg
/home/pi/Desktop/images/16122025/08/01/image_16122025_08_02_05_10692.jpg
/home/pi/Desktop/images/16122025/08/02/image_16122025_08_02_15_9782.jpg
/home/pi/Desktop/images/16122025/08/02/image_16122025_08_02_25_9864.jpg
/home/pi/Desktop/images/16122025/08/02/image_16122025_08_02_45_10848.jpg
/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_15_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608151","1399608145","1399608153","1399608147","1399608156","1399608149"],"photo_ids_order":["1399608145","1399608147","1399608149","1399608151","1399608153","1399608156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/792d4c8c10b99cf8dc8a94b959be2085.jpg","text":"TemporaryFile(/tmp/multipartBody422458155830348204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868662773,"filename":"image_16122025_08_02_25_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/16/028832ab8a1af283d8b3c738b9bb9bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3578451541392322236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868662773,"filename":"image_16122025_08_01_54_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a20709ad1bb66036365605c3d80be127.jpg","text":"TemporaryFile(/tmp/multipartBody4483509095856689575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868662773,"filename":"image_16122025_08_02_45_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/13ff1804e42fb2528d41b1b162c7fbbf.jpg","text":"TemporaryFile(/tmp/multipartBody4801594757861864799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868662773,"filename":"image_16122025_08_02_05_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/16/508fb5aa975d78d955686bff100ba8ab.jpg","text":"TemporaryFile(/tmp/multipartBody8887201997114553714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868662773,"filename":"image_16122025_08_03_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/16/1a425e03baf4d72078ba03045aeb0325.jpg","text":"TemporaryFile(/tmp/multipartBody4409411085839982390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868662773,"filename":"image_16122025_08_02_15_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608149","file1":"1399608147","file0":"1399608145","file4":"1399608153","file5":"1399608156","file3":"1399608151"},"map_files_photo_id_array":[{"photo_id":"1399608156","filename":"file5"},{"photo_id":"1399608149","filename":"file2"},{"photo_id":"1399608153","filename":"file4"},{"photo_id":"1399608147","filename":"file1"},{"photo_id":"1399608145","filename":"file0"},{"photo_id":"1399608151","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608151":["hashtag1","hashtag2"]},{"1399608145":["hashtag1","hashtag2"]},{"1399608153":["hashtag1","hashtag2"]},{"1399608147":["hashtag1","hashtag2"]},{"1399608156":["hashtag1","hashtag2"]},{"1399608149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608151, 1399608145, 1399608153, 1399608147, 1399608156, 1399608149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10126709938049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:04:04.312828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_25_9760.jpg', '/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_35_9998.jpg', '/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_45_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_25_9760.jpg
/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_35_9998.jpg
/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_45_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":["1399608292","1399608256","1399608216"],"photo_ids_order":["1399608216","1399608256","1399608292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07cd4553ef95c4dada3a92c41df4a41e.jpg","text":"TemporaryFile(/tmp/multipartBody2264667972040812634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868704903,"filename":"image_16122025_08_03_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/16/eae0326192c116beabde89c41dc3f0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6197433415377275946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868704903,"filename":"image_16122025_08_03_35_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18b1924ac8093e1ae80de6a329107a19.jpg","text":"TemporaryFile(/tmp/multipartBody6920278508781356436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868704903,"filename":"image_16122025_08_03_25_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608292","file1":"1399608256","file0":"1399608216"},"map_files_photo_id_array":[{"photo_id":"1399608292","filename":"file2"},{"photo_id":"1399608256","filename":"file1"},{"photo_id":"1399608216","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608292":["hashtag1","hashtag2"]},{"1399608256":["hashtag1","hashtag2"]},{"1399608216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608292, 1399608256, 1399608216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.808083295822144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:04:33.659567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:04:43.536759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_44_2629.jpg', '/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_47_3026.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_07_19930.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_09_1811.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_10_1549.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_12_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_44_2629.jpg
/home/pi/Desktop/images/06112025/15/25/image_06112025_15_25_47_3026.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_07_19930.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_09_1811.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_10_1549.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_12_1722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608481","1399608511","1399608406","1399608483","1399608443","1399608524"],"photo_ids_order":["1399608406","1399608443","1399608481","1399608483","1399608511","1399608524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9c2ae6220702de8b7727ee0bf7b0aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5768905192824572975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868744259,"filename":"image_06112025_15_26_07_19930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b59d6c579862c4080455e44d6dda1a3f.jpg","text":"TemporaryFile(/tmp/multipartBody8469794828086209828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868744259,"filename":"image_06112025_15_26_10_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/16/ed11d57639a9d048a9cf1cd56089e419.jpg","text":"TemporaryFile(/tmp/multipartBody4692054045092000099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868744259,"filename":"image_06112025_15_25_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/16/1f0ed97651e8ee21395630a4cbddae6e.jpg","text":"TemporaryFile(/tmp/multipartBody8889802700079507172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868744259,"filename":"image_06112025_15_26_09_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/16/bd54998520acb610db2e42c6a2a07b33.jpg","text":"TemporaryFile(/tmp/multipartBody2369619042389419550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868744259,"filename":"image_06112025_15_25_47_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2cf53b521c951da45bf7243a8ff1ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6476305847925184039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868744259,"filename":"image_06112025_15_26_12_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608481","file1":"1399608443","file0":"1399608406","file4":"1399608511","file5":"1399608524","file3":"1399608483"},"map_files_photo_id_array":[{"photo_id":"1399608524","filename":"file5"},{"photo_id":"1399608481","filename":"file2"},{"photo_id":"1399608511","filename":"file4"},{"photo_id":"1399608443","filename":"file1"},{"photo_id":"1399608406","filename":"file0"},{"photo_id":"1399608483","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608481":["hashtag1","hashtag2"]},{"1399608511":["hashtag1","hashtag2"]},{"1399608406":["hashtag1","hashtag2"]},{"1399608483":["hashtag1","hashtag2"]},{"1399608443":["hashtag1","hashtag2"]},{"1399608524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608481, 1399608511, 1399608406, 1399608483, 1399608443, 1399608524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.044652223587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:05:22.735169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_55_9684.jpg', '/home/pi/Desktop/images/16122025/08/03/image_16122025_08_04_04_9742.jpg', '/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_15_10775.jpg', '/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_25_9678.jpg', '/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_35_10017.jpg', '/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_45_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/03/image_16122025_08_03_55_9684.jpg
/home/pi/Desktop/images/16122025/08/03/image_16122025_08_04_04_9742.jpg
/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_15_10775.jpg
/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_25_9678.jpg
/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_35_10017.jpg
/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_45_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608559","1399608570","1399608552","1399608561","1399608555","1399608557"],"photo_ids_order":["1399608552","1399608555","1399608557","1399608559","1399608561","1399608570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/691b295ee5aa79fdf5fee5e0cf7b057f.jpg","text":"TemporaryFile(/tmp/multipartBody5951702244359986418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868783394,"filename":"image_16122025_08_04_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/16/c420a422c2245f48ef71e78c9380cc75.jpg","text":"TemporaryFile(/tmp/multipartBody5850923641640112257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868783394,"filename":"image_16122025_08_04_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/16/66065c4fd8545a3b1b66a8bb082dc3ee.jpg","text":"TemporaryFile(/tmp/multipartBody9168034223234498443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868783394,"filename":"image_16122025_08_03_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c07142ca48f1e73d8e4ccf66bf07663.jpg","text":"TemporaryFile(/tmp/multipartBody7895961291849240604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868783394,"filename":"image_16122025_08_04_35_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/16/00b4a083d60dadda0941b4cd84da9cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6242796204356335113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868783394,"filename":"image_16122025_08_04_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc71c0afec9b2db1416a2830296b3bac.jpg","text":"TemporaryFile(/tmp/multipartBody6452684435022337871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868783394,"filename":"image_16122025_08_04_15_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608557","file1":"1399608555","file0":"1399608552","file4":"1399608561","file5":"1399608570","file3":"1399608559"},"map_files_photo_id_array":[{"photo_id":"1399608570","filename":"file5"},{"photo_id":"1399608557","filename":"file2"},{"photo_id":"1399608561","filename":"file4"},{"photo_id":"1399608555","filename":"file1"},{"photo_id":"1399608552","filename":"file0"},{"photo_id":"1399608559","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608559":["hashtag1","hashtag2"]},{"1399608570":["hashtag1","hashtag2"]},{"1399608552":["hashtag1","hashtag2"]},{"1399608561":["hashtag1","hashtag2"]},{"1399608555":["hashtag1","hashtag2"]},{"1399608557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608559, 1399608570, 1399608552, 1399608561, 1399608555, 1399608557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79990196228027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:06:02.388191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_54_9766.jpg', '/home/pi/Desktop/images/16122025/08/04/image_16122025_08_05_05_10709.jpg', '/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_15_10069.jpg', '/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_25_9620.jpg', '/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_35_9684.jpg', '/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_45_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/04/image_16122025_08_04_54_9766.jpg
/home/pi/Desktop/images/16122025/08/04/image_16122025_08_05_05_10709.jpg
/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_15_10069.jpg
/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_25_9620.jpg
/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_35_9684.jpg
/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_45_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608580","1399608574","1399608577","1399608579","1399608573","1399608582"],"photo_ids_order":["1399608573","1399608574","1399608577","1399608579","1399608580","1399608582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8634035d81bbfb21dfd9fa8ee76c290a.jpg","text":"TemporaryFile(/tmp/multipartBody397364379462940841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868823069,"filename":"image_16122025_08_05_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/16/905c4a08517eec84e513628301464df6.jpg","text":"TemporaryFile(/tmp/multipartBody6932121948320000158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868823069,"filename":"image_16122025_08_05_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/16/a58dea5528c6c4297cd03de606207fea.jpg","text":"TemporaryFile(/tmp/multipartBody5508830574543499154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868823069,"filename":"image_16122025_08_05_15_10069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79428257fc5e7fef3cdfd7cf5f1fac62.jpg","text":"TemporaryFile(/tmp/multipartBody5110927783701796030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868823069,"filename":"image_16122025_08_05_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7807aa5a0dfd847292a3bd7981397783.jpg","text":"TemporaryFile(/tmp/multipartBody2215028043581088564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868823069,"filename":"image_16122025_08_04_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/16/7007b844bf59d4a140ff231682b9e067.jpg","text":"TemporaryFile(/tmp/multipartBody2825110177785320243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868823069,"filename":"image_16122025_08_05_45_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608577","file1":"1399608574","file0":"1399608573","file4":"1399608580","file5":"1399608582","file3":"1399608579"},"map_files_photo_id_array":[{"photo_id":"1399608582","filename":"file5"},{"photo_id":"1399608577","filename":"file2"},{"photo_id":"1399608580","filename":"file4"},{"photo_id":"1399608574","filename":"file1"},{"photo_id":"1399608573","filename":"file0"},{"photo_id":"1399608579","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608580":["hashtag1","hashtag2"]},{"1399608574":["hashtag1","hashtag2"]},{"1399608577":["hashtag1","hashtag2"]},{"1399608579":["hashtag1","hashtag2"]},{"1399608573":["hashtag1","hashtag2"]},{"1399608582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608580, 1399608574, 1399608577, 1399608579, 1399608573, 1399608582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62662959098816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:06:41.924231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_14_1623.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_15_1700.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_17_1666.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_19_1627.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_21_1820.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_40_19217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_14_1623.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_15_1700.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_17_1666.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_19_1627.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_21_1820.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_40_19217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608605","1399608597","1399608601","1399608604","1399608603","1399608606"],"photo_ids_order":["1399608597","1399608601","1399608603","1399608604","1399608605","1399608606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8744bc619ec2095456e8f90740fdfcab.jpg","text":"TemporaryFile(/tmp/multipartBody6706345001554112941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868862606,"filename":"image_06112025_15_26_21_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad74015f8daf75c4ec192e49ac6a5860.jpg","text":"TemporaryFile(/tmp/multipartBody7054859783971588826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868862606,"filename":"image_06112025_15_26_14_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/16/96b341d6f0101b461a48736217495f13.jpg","text":"TemporaryFile(/tmp/multipartBody6222476609639423934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868862606,"filename":"image_06112025_15_26_15_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/176210140cfdb64f69c38c38ede594d7.jpg","text":"TemporaryFile(/tmp/multipartBody9127582290244627045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868862606,"filename":"image_06112025_15_26_19_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/16/c5b5d450e6df71847c4582aa3c61e998.jpg","text":"TemporaryFile(/tmp/multipartBody3828575027413056223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868862606,"filename":"image_06112025_15_26_17_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2690da04698eec39cb014673dfa85b92.jpg","text":"TemporaryFile(/tmp/multipartBody4211551029560053606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868862606,"filename":"image_06112025_15_26_40_19217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608603","file1":"1399608601","file0":"1399608597","file4":"1399608605","file5":"1399608606","file3":"1399608604"},"map_files_photo_id_array":[{"photo_id":"1399608606","filename":"file5"},{"photo_id":"1399608603","filename":"file2"},{"photo_id":"1399608605","filename":"file4"},{"photo_id":"1399608601","filename":"file1"},{"photo_id":"1399608597","filename":"file0"},{"photo_id":"1399608604","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608605":["hashtag1","hashtag2"]},{"1399608597":["hashtag1","hashtag2"]},{"1399608601":["hashtag1","hashtag2"]},{"1399608604":["hashtag1","hashtag2"]},{"1399608603":["hashtag1","hashtag2"]},{"1399608606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608605, 1399608597, 1399608601, 1399608604, 1399608603, 1399608606)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.5912230014801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:07:32.155456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:07:42.103283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_41_1547.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_43_1640.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_45_1974.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_46_1544.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_48_1695.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_50_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_41_1547.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_43_1640.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_45_1974.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_46_1544.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_48_1695.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_50_1587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608622","1399608616","1399608621","1399608618","1399608614","1399608617"],"photo_ids_order":["1399608614","1399608616","1399608617","1399608618","1399608621","1399608622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8605b0c242b77975084a707aa8a2abba.jpg","text":"TemporaryFile(/tmp/multipartBody1335706761421027575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868922749,"filename":"image_06112025_15_26_50_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8246cf78e194a9dc0fdce937822d936.jpg","text":"TemporaryFile(/tmp/multipartBody7714049463405615302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868922749,"filename":"image_06112025_15_26_43_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/16/b9ba50a7499babad966ed03759b51950.jpg","text":"TemporaryFile(/tmp/multipartBody5380172384930868677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868922749,"filename":"image_06112025_15_26_48_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/16/b313b46b5c087e585e34f01e83ae49ba.jpg","text":"TemporaryFile(/tmp/multipartBody3278902556164431184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868922749,"filename":"image_06112025_15_26_46_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/16/e4af94decc73a336319e64aaa3bfa993.jpg","text":"TemporaryFile(/tmp/multipartBody2655764531600797234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868922749,"filename":"image_06112025_15_26_41_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/265a6881d6cb1c28ba9595dcbc4fd521.jpg","text":"TemporaryFile(/tmp/multipartBody1056512752220378990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868922749,"filename":"image_06112025_15_26_45_1974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608617","file1":"1399608616","file0":"1399608614","file4":"1399608621","file5":"1399608622","file3":"1399608618"},"map_files_photo_id_array":[{"photo_id":"1399608622","filename":"file5"},{"photo_id":"1399608617","filename":"file2"},{"photo_id":"1399608621","filename":"file4"},{"photo_id":"1399608616","filename":"file1"},{"photo_id":"1399608614","filename":"file0"},{"photo_id":"1399608618","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608622":["hashtag1","hashtag2"]},{"1399608616":["hashtag1","hashtag2"]},{"1399608621":["hashtag1","hashtag2"]},{"1399608618":["hashtag1","hashtag2"]},{"1399608614":["hashtag1","hashtag2"]},{"1399608617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608622, 1399608616, 1399608621, 1399608618, 1399608614, 1399608617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91681790351868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:08:22.401303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_55_9604.jpg', '/home/pi/Desktop/images/16122025/08/05/image_16122025_08_06_05_9737.jpg', '/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_15_10729.jpg', '/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_25_9886.jpg', '/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_35_9976.jpg', '/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_45_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/05/image_16122025_08_05_55_9604.jpg
/home/pi/Desktop/images/16122025/08/05/image_16122025_08_06_05_9737.jpg
/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_15_10729.jpg
/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_25_9886.jpg
/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_35_9976.jpg
/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_45_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608631","1399608636","1399608639","1399608627","1399608644","1399608629"],"photo_ids_order":["1399608627","1399608629","1399608631","1399608636","1399608639","1399608644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0324df7180b547b8f56afcd82e7c4de2.jpg","text":"TemporaryFile(/tmp/multipartBody5134563597536304540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868963097,"filename":"image_16122025_08_06_15_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/859cc0e319fd5687ab439e72157d06d2.jpg","text":"TemporaryFile(/tmp/multipartBody7565452207118092119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868963097,"filename":"image_16122025_08_06_25_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/16/e3f4deb1912b72b8c310308c9220c121.jpg","text":"TemporaryFile(/tmp/multipartBody3730521384183509745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868963097,"filename":"image_16122025_08_06_35_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33600040bc09fde0473f92cfcb15aadc.jpg","text":"TemporaryFile(/tmp/multipartBody6422899429508686413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868963097,"filename":"image_16122025_08_05_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/16/59c0f5ab8d5b4735205729c5808231e6.jpg","text":"TemporaryFile(/tmp/multipartBody1506557260694579386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868963097,"filename":"image_16122025_08_06_45_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d6341272af1799dd80312d580e77721.jpg","text":"TemporaryFile(/tmp/multipartBody2003963947516774949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765868963097,"filename":"image_16122025_08_06_05_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608631","file1":"1399608629","file0":"1399608627","file4":"1399608639","file5":"1399608644","file3":"1399608636"},"map_files_photo_id_array":[{"photo_id":"1399608644","filename":"file5"},{"photo_id":"1399608631","filename":"file2"},{"photo_id":"1399608639","filename":"file4"},{"photo_id":"1399608629","filename":"file1"},{"photo_id":"1399608627","filename":"file0"},{"photo_id":"1399608636","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608631":["hashtag1","hashtag2"]},{"1399608636":["hashtag1","hashtag2"]},{"1399608639":["hashtag1","hashtag2"]},{"1399608627":["hashtag1","hashtag2"]},{"1399608644":["hashtag1","hashtag2"]},{"1399608629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608631, 1399608636, 1399608639, 1399608627, 1399608644, 1399608629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16668176651001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:09:03.758681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_55_9797.jpg', '/home/pi/Desktop/images/16122025/08/06/image_16122025_08_07_05_9735.jpg', '/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_14_9811.jpg', '/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_25_10670.jpg', '/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_35_9609.jpg', '/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_45_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/06/image_16122025_08_06_55_9797.jpg
/home/pi/Desktop/images/16122025/08/06/image_16122025_08_07_05_9735.jpg
/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_14_9811.jpg
/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_25_10670.jpg
/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_35_9609.jpg
/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_45_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608655","1399608646","1399608648","1399608657","1399608650","1399608653"],"photo_ids_order":["1399608646","1399608648","1399608650","1399608653","1399608655","1399608657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f65c5cbbbf7ffd78a9a73c3ed14e2951.jpg","text":"TemporaryFile(/tmp/multipartBody1383757600377762438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869004580,"filename":"image_16122025_08_07_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af0865bd2c6db958a6a87ffabf5320a8.jpg","text":"TemporaryFile(/tmp/multipartBody159589539147237842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869004580,"filename":"image_16122025_08_06_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/16/966524e8ad854c00d68da8def5038bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4336267991779646224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869004580,"filename":"image_16122025_08_07_05_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31810321cfac3b7d2cb235f59724f80a.jpg","text":"TemporaryFile(/tmp/multipartBody2313102776953507257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869004580,"filename":"image_16122025_08_07_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/51353b7c13318c2c94e19e2b05cc5bee.jpg","text":"TemporaryFile(/tmp/multipartBody6015139671155136467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869004580,"filename":"image_16122025_08_07_14_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bcab00ec036e1947e66b7670c83af60c.jpg","text":"TemporaryFile(/tmp/multipartBody2120063236078372874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869004580,"filename":"image_16122025_08_07_25_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608650","file1":"1399608648","file0":"1399608646","file4":"1399608655","file5":"1399608657","file3":"1399608653"},"map_files_photo_id_array":[{"photo_id":"1399608657","filename":"file5"},{"photo_id":"1399608650","filename":"file2"},{"photo_id":"1399608655","filename":"file4"},{"photo_id":"1399608648","filename":"file1"},{"photo_id":"1399608646","filename":"file0"},{"photo_id":"1399608653","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608655":["hashtag1","hashtag2"]},{"1399608646":["hashtag1","hashtag2"]},{"1399608648":["hashtag1","hashtag2"]},{"1399608657":["hashtag1","hashtag2"]},{"1399608650":["hashtag1","hashtag2"]},{"1399608653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608655, 1399608646, 1399608648, 1399608657, 1399608650, 1399608653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49826788902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:10:02.395256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_55_9761.jpg', '/home/pi/Desktop/images/16122025/08/07/image_16122025_08_08_05_9723.jpg', '/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_15_10597.jpg', '/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_25_9556.jpg', '/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_45_10640.jpg', '/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_55_10028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/07/image_16122025_08_07_55_9761.jpg
/home/pi/Desktop/images/16122025/08/07/image_16122025_08_08_05_9723.jpg
/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_15_10597.jpg
/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_25_9556.jpg
/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_45_10640.jpg
/home/pi/Desktop/images/16122025/08/08/image_16122025_08_08_55_10028.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608670","1399608664","1399608672","1399608666","1399608675","1399608668"],"photo_ids_order":["1399608664","1399608666","1399608668","1399608670","1399608672","1399608675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b672976b1030bdd13666340dbdf76d36.jpg","text":"TemporaryFile(/tmp/multipartBody29686146137174277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869063065,"filename":"image_16122025_08_08_25_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b03fb96d2c5d930080a61206995735bc.jpg","text":"TemporaryFile(/tmp/multipartBody6314823485499550650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869063065,"filename":"image_16122025_08_07_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/16/ae9f29fec897dee786209ac2d9b928d6.jpg","text":"TemporaryFile(/tmp/multipartBody9059059562363612338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869063065,"filename":"image_16122025_08_08_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b9550c99106d92d82c341b47af17a74.jpg","text":"TemporaryFile(/tmp/multipartBody9201979387305893976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869063065,"filename":"image_16122025_08_08_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ef5c58d5c195f5b4d96f1adf78e0ee4.jpg","text":"TemporaryFile(/tmp/multipartBody6965981319443442982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869063065,"filename":"image_16122025_08_08_55_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/16/15f52987352d13ccf466d5eaa8aaf6d1.jpg","text":"TemporaryFile(/tmp/multipartBody2304755465039475951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869063065,"filename":"image_16122025_08_08_15_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608668","file1":"1399608666","file0":"1399608664","file4":"1399608672","file5":"1399608675","file3":"1399608670"},"map_files_photo_id_array":[{"photo_id":"1399608675","filename":"file5"},{"photo_id":"1399608668","filename":"file2"},{"photo_id":"1399608672","filename":"file4"},{"photo_id":"1399608666","filename":"file1"},{"photo_id":"1399608664","filename":"file0"},{"photo_id":"1399608670","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608670":["hashtag1","hashtag2"]},{"1399608664":["hashtag1","hashtag2"]},{"1399608672":["hashtag1","hashtag2"]},{"1399608666":["hashtag1","hashtag2"]},{"1399608675":["hashtag1","hashtag2"]},{"1399608668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608670, 1399608664, 1399608672, 1399608666, 1399608675, 1399608668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64108681678772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:10:41.790720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_51_1616.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_53_1697.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_55_1565.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_58_3404.jpg', '/home/pi/Desktop/images/06112025/15/26/image_06112025_15_27_00_1587.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_01_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_51_1616.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_53_1697.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_55_1565.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_26_58_3404.jpg
/home/pi/Desktop/images/06112025/15/26/image_06112025_15_27_00_1587.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_01_1563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608700","1399608690","1399608693","1399608702","1399608689","1399608685"],"photo_ids_order":["1399608685","1399608689","1399608690","1399608693","1399608700","1399608702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab648f3a0554724439df514373307090.jpg","text":"TemporaryFile(/tmp/multipartBody726149844002465760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869102516,"filename":"image_06112025_15_27_00_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/16/60bb5d4169600c4a885e69367f17270e.jpg","text":"TemporaryFile(/tmp/multipartBody6674088745457089860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869102516,"filename":"image_06112025_15_26_55_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f11b3af10ce2d4abd33ab3b70650e336.jpg","text":"TemporaryFile(/tmp/multipartBody8082505398689417660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869102516,"filename":"image_06112025_15_26_58_3404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ecfcbc30180a0c7dc6ede0707ac82163.jpg","text":"TemporaryFile(/tmp/multipartBody1809363881554460240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869102516,"filename":"image_06112025_15_27_01_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/16/d9e937d21045f677d5707e7f78062d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6806366401974682867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869102516,"filename":"image_06112025_15_26_53_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69f0fd2c86f5a52916f219f801563fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4934956367211752369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869102516,"filename":"image_06112025_15_26_51_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608690","file1":"1399608689","file0":"1399608685","file4":"1399608700","file5":"1399608702","file3":"1399608693"},"map_files_photo_id_array":[{"photo_id":"1399608702","filename":"file5"},{"photo_id":"1399608690","filename":"file2"},{"photo_id":"1399608700","filename":"file4"},{"photo_id":"1399608689","filename":"file1"},{"photo_id":"1399608685","filename":"file0"},{"photo_id":"1399608693","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608700":["hashtag1","hashtag2"]},{"1399608690":["hashtag1","hashtag2"]},{"1399608693":["hashtag1","hashtag2"]},{"1399608702":["hashtag1","hashtag2"]},{"1399608689":["hashtag1","hashtag2"]},{"1399608685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608700, 1399608690, 1399608693, 1399608702, 1399608689, 1399608685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88733196258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:11:22.007102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_15_9795.jpg', '/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_35_10770.jpg', '/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_45_9813.jpg', '/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_55_9990.jpg', '/home/pi/Desktop/images/16122025/08/09/image_16122025_08_10_05_9755.jpg', '/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_15_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_15_9795.jpg
/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_35_10770.jpg
/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_45_9813.jpg
/home/pi/Desktop/images/16122025/08/09/image_16122025_08_09_55_9990.jpg
/home/pi/Desktop/images/16122025/08/09/image_16122025_08_10_05_9755.jpg
/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_15_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608719","1399608710","1399608727","1399608715","1399608717","1399608713"],"photo_ids_order":["1399608710","1399608713","1399608715","1399608717","1399608719","1399608727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ffe3bd16248d5ff334b9ad1e2a012fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1607385636652097457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869142667,"filename":"image_16122025_08_10_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/16/7c779b0f561ee0904047d2ef0dd9be7f.jpg","text":"TemporaryFile(/tmp/multipartBody1237247202355652547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869142667,"filename":"image_16122025_08_09_15_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0683b5540aa371017be946198febada5.jpg","text":"TemporaryFile(/tmp/multipartBody5764875325406913091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869142667,"filename":"image_16122025_08_10_15_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/221dbbdf282406a93bb31036421e04ca.jpg","text":"TemporaryFile(/tmp/multipartBody7074422892602929643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869142667,"filename":"image_16122025_08_09_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aac39aa71af3f2d6e2bcb570c27258cc.jpg","text":"TemporaryFile(/tmp/multipartBody2866989352533246893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869142667,"filename":"image_16122025_08_09_55_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9247b868a9065d303021f66a4ea0c67.jpg","text":"TemporaryFile(/tmp/multipartBody7217793280406805719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869142667,"filename":"image_16122025_08_09_35_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608715","file1":"1399608713","file0":"1399608710","file4":"1399608719","file5":"1399608727","file3":"1399608717"},"map_files_photo_id_array":[{"photo_id":"1399608727","filename":"file5"},{"photo_id":"1399608715","filename":"file2"},{"photo_id":"1399608719","filename":"file4"},{"photo_id":"1399608713","filename":"file1"},{"photo_id":"1399608710","filename":"file0"},{"photo_id":"1399608717","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608719":["hashtag1","hashtag2"]},{"1399608710":["hashtag1","hashtag2"]},{"1399608727":["hashtag1","hashtag2"]},{"1399608715":["hashtag1","hashtag2"]},{"1399608717":["hashtag1","hashtag2"]},{"1399608713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608719, 1399608710, 1399608727, 1399608715, 1399608717, 1399608713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.776164531707764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:12:02.754101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_25_10354.jpg', '/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_35_9759.jpg', '/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_44_9708.jpg', '/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_55_10812.jpg', '/home/pi/Desktop/images/16122025/08/10/image_16122025_08_11_05_9798.jpg', '/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_25_10354.jpg
/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_35_9759.jpg
/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_44_9708.jpg
/home/pi/Desktop/images/16122025/08/10/image_16122025_08_10_55_10812.jpg
/home/pi/Desktop/images/16122025/08/10/image_16122025_08_11_05_9798.jpg
/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_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":["1399608742","1399608739","1399608741","1399608735","1399608743","1399608737"],"photo_ids_order":["1399608735","1399608737","1399608739","1399608741","1399608742","1399608743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08aa0be33a0bcd23502885c5e7a2d170.jpg","text":"TemporaryFile(/tmp/multipartBody7783020739163515069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869183460,"filename":"image_16122025_08_11_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/577beceb34e0ebef45458ab0178178cb.jpg","text":"TemporaryFile(/tmp/multipartBody8135115608351862332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869183460,"filename":"image_16122025_08_10_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77f5e53836ae3caa9c0176a2bc7c7e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4565427483739094706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869183460,"filename":"image_16122025_08_10_55_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad6cbcdc8b123925aeca6e96c1664706.jpg","text":"TemporaryFile(/tmp/multipartBody6410337101773982310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869183460,"filename":"image_16122025_08_10_25_10354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb41497f004dd861e1bf6f3ad634dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody5402711829473439596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869183460,"filename":"image_16122025_08_11_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bba51316a39fda6630a512dcf4ce4eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5934010075109963099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869183460,"filename":"image_16122025_08_10_35_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608739","file1":"1399608737","file0":"1399608735","file4":"1399608742","file5":"1399608743","file3":"1399608741"},"map_files_photo_id_array":[{"photo_id":"1399608743","filename":"file5"},{"photo_id":"1399608739","filename":"file2"},{"photo_id":"1399608742","filename":"file4"},{"photo_id":"1399608737","filename":"file1"},{"photo_id":"1399608735","filename":"file0"},{"photo_id":"1399608741","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608742":["hashtag1","hashtag2"]},{"1399608739":["hashtag1","hashtag2"]},{"1399608741":["hashtag1","hashtag2"]},{"1399608735":["hashtag1","hashtag2"]},{"1399608743":["hashtag1","hashtag2"]},{"1399608737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608742, 1399608739, 1399608741, 1399608735, 1399608743, 1399608737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.697142124176025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:12:42.365842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_03_1681.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_05_1785.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_06_1578.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_08_1546.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_09_1525.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_11_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_03_1681.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_05_1785.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_06_1578.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_08_1546.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_09_1525.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_11_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608766","1399608775","1399608763","1399608777","1399608768","1399608758"],"photo_ids_order":["1399608758","1399608763","1399608766","1399608768","1399608775","1399608777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71b121b0cf2af11018ea9ce8c2e7099c.jpg","text":"TemporaryFile(/tmp/multipartBody4289424434872762359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869223084,"filename":"image_06112025_15_27_06_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/16/e6f6ee3fb6403d558f324248289f9b41.jpg","text":"TemporaryFile(/tmp/multipartBody467614077999201175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869223084,"filename":"image_06112025_15_27_09_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c001ef19caf4638460c9ac0d9f05effd.jpg","text":"TemporaryFile(/tmp/multipartBody1799672530316897055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869223084,"filename":"image_06112025_15_27_05_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/16/70308296677deadc0c7dd8d56f6f84c8.jpg","text":"TemporaryFile(/tmp/multipartBody8407916996961351595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869223084,"filename":"image_06112025_15_27_11_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/16/660a45ce9f73414cdbf9dc1d2b6e2384.jpg","text":"TemporaryFile(/tmp/multipartBody8467770336592583482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869223084,"filename":"image_06112025_15_27_08_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/16/fb2cde7b076269d3bfc6b0be17a3ac79.jpg","text":"TemporaryFile(/tmp/multipartBody5002115816109381470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869223084,"filename":"image_06112025_15_27_03_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608766","file1":"1399608763","file0":"1399608758","file4":"1399608775","file5":"1399608777","file3":"1399608768"},"map_files_photo_id_array":[{"photo_id":"1399608777","filename":"file5"},{"photo_id":"1399608766","filename":"file2"},{"photo_id":"1399608775","filename":"file4"},{"photo_id":"1399608763","filename":"file1"},{"photo_id":"1399608758","filename":"file0"},{"photo_id":"1399608768","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608766":["hashtag1","hashtag2"]},{"1399608775":["hashtag1","hashtag2"]},{"1399608763":["hashtag1","hashtag2"]},{"1399608777":["hashtag1","hashtag2"]},{"1399608768":["hashtag1","hashtag2"]},{"1399608758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608766, 1399608775, 1399608763, 1399608777, 1399608768, 1399608758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.955613136291504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:13:22.665474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_25_9890.jpg', '/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_35_9983.jpg', '/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_45_9876.jpg', '/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_55_10733.jpg', '/home/pi/Desktop/images/16122025/08/11/image_16122025_08_12_05_9785.jpg', '/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_15_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_25_9890.jpg
/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_35_9983.jpg
/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_45_9876.jpg
/home/pi/Desktop/images/16122025/08/11/image_16122025_08_11_55_10733.jpg
/home/pi/Desktop/images/16122025/08/11/image_16122025_08_12_05_9785.jpg
/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_15_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608787","1399608789","1399608794","1399608782","1399608791","1399608785"],"photo_ids_order":["1399608782","1399608785","1399608787","1399608789","1399608791","1399608794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/decd0494083488f320f7035ac9378fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6030233689569534981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869263369,"filename":"image_16122025_08_11_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/16/6f7ad4cbad06ff558af77c0bfd8f142b.jpg","text":"TemporaryFile(/tmp/multipartBody417854855915990828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869263369,"filename":"image_16122025_08_11_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/16/5d669109158a4e0f27e87ded5ff9775a.jpg","text":"TemporaryFile(/tmp/multipartBody4025219655394472960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869263369,"filename":"image_16122025_08_12_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/16/112a4fe756e65e330c2cc8a0e34f539b.jpg","text":"TemporaryFile(/tmp/multipartBody283494419578018361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869263369,"filename":"image_16122025_08_11_25_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/16/0acf10b8b88d23fc70cc9cc8a35afa4e.jpg","text":"TemporaryFile(/tmp/multipartBody8494878206258432741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869263369,"filename":"image_16122025_08_12_05_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/16/e3a4be6461a8a27f71939319272ed6be.jpg","text":"TemporaryFile(/tmp/multipartBody5799097609039717427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869263369,"filename":"image_16122025_08_11_35_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608787","file1":"1399608785","file0":"1399608782","file4":"1399608791","file5":"1399608794","file3":"1399608789"},"map_files_photo_id_array":[{"photo_id":"1399608794","filename":"file5"},{"photo_id":"1399608787","filename":"file2"},{"photo_id":"1399608791","filename":"file4"},{"photo_id":"1399608785","filename":"file1"},{"photo_id":"1399608782","filename":"file0"},{"photo_id":"1399608789","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608787":["hashtag1","hashtag2"]},{"1399608789":["hashtag1","hashtag2"]},{"1399608794":["hashtag1","hashtag2"]},{"1399608782":["hashtag1","hashtag2"]},{"1399608791":["hashtag1","hashtag2"]},{"1399608785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608787, 1399608789, 1399608794, 1399608782, 1399608791, 1399608785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9114933013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:14:02.493177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_25_10741.jpg', '/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_35_9221.jpg', '/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_45_10603.jpg', '/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_55_9812.jpg', '/home/pi/Desktop/images/16122025/08/12/image_16122025_08_13_05_9694.jpg', '/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_15_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_25_10741.jpg
/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_35_9221.jpg
/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_45_10603.jpg
/home/pi/Desktop/images/16122025/08/12/image_16122025_08_12_55_9812.jpg
/home/pi/Desktop/images/16122025/08/12/image_16122025_08_13_05_9694.jpg
/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_15_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":["1399608803","1399608811","1399608814","1399608801","1399608807","1399608809"],"photo_ids_order":["1399608801","1399608803","1399608807","1399608809","1399608811","1399608814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2452f28da29c28f51aea086c275f6577.jpg","text":"TemporaryFile(/tmp/multipartBody8810346890210516558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869303192,"filename":"image_16122025_08_12_35_9221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a245626c49e971c70cefd9ee8188824.jpg","text":"TemporaryFile(/tmp/multipartBody5675293256313349952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869303192,"filename":"image_16122025_08_13_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/16/7c1773f351754bf4b74a677aa2eb267d.jpg","text":"TemporaryFile(/tmp/multipartBody3277020308267434807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869303192,"filename":"image_16122025_08_13_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae2a8e58865c175465c66721f0dd9a69.jpg","text":"TemporaryFile(/tmp/multipartBody4295247329350941816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869303192,"filename":"image_16122025_08_12_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9bddb4d2390b68db52da9fd2ab8d439a.jpg","text":"TemporaryFile(/tmp/multipartBody6247941203033514297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869303192,"filename":"image_16122025_08_12_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e9dc2d728e1ebf03405200c241118e8.jpg","text":"TemporaryFile(/tmp/multipartBody1525274670555081940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869303192,"filename":"image_16122025_08_12_55_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608807","file1":"1399608803","file0":"1399608801","file4":"1399608811","file5":"1399608814","file3":"1399608809"},"map_files_photo_id_array":[{"photo_id":"1399608814","filename":"file5"},{"photo_id":"1399608807","filename":"file2"},{"photo_id":"1399608811","filename":"file4"},{"photo_id":"1399608803","filename":"file1"},{"photo_id":"1399608801","filename":"file0"},{"photo_id":"1399608809","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608803":["hashtag1","hashtag2"]},{"1399608811":["hashtag1","hashtag2"]},{"1399608814":["hashtag1","hashtag2"]},{"1399608801":["hashtag1","hashtag2"]},{"1399608807":["hashtag1","hashtag2"]},{"1399608809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608803, 1399608811, 1399608814, 1399608801, 1399608807, 1399608809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.559725761413574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:14:41.858165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_14_2740.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_17_3195.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_20_3545.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_42_21725.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_44_1551.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_45_1533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_14_2740.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_17_3195.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_20_3545.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_42_21725.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_44_1551.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_45_1533.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6458721160888672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:15:02.831792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_25_10683.jpg', '/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_35_9736.jpg', '/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_45_9652.jpg', '/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_55_10688.jpg', '/home/pi/Desktop/images/16122025/08/13/image_16122025_08_14_05_9713.jpg', '/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_15_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_25_10683.jpg
/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_35_9736.jpg
/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_45_9652.jpg
/home/pi/Desktop/images/16122025/08/13/image_16122025_08_13_55_10688.jpg
/home/pi/Desktop/images/16122025/08/13/image_16122025_08_14_05_9713.jpg
/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_15_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":["1399608838","1399608832","1399608840","1399608834","1399608836","1399608830"],"photo_ids_order":["1399608830","1399608832","1399608834","1399608836","1399608838","1399608840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7e1f874ff4f3f4abb1d09b401a06836.jpg","text":"TemporaryFile(/tmp/multipartBody3132519724534289961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869363616,"filename":"image_16122025_08_14_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/16/ee376a955af1b923836848c30af1f417.jpg","text":"TemporaryFile(/tmp/multipartBody6671349182615450544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869363616,"filename":"image_16122025_08_13_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/16/47b58fb93368de452a8a4c952bb717ba.jpg","text":"TemporaryFile(/tmp/multipartBody5792667894722317523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869363616,"filename":"image_16122025_08_14_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/16/59c021bb8959fca28c11aef84c0305de.jpg","text":"TemporaryFile(/tmp/multipartBody1769135941528800745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869363616,"filename":"image_16122025_08_13_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/16/e8732d3e08514874cf0b737d8b49a410.jpg","text":"TemporaryFile(/tmp/multipartBody5191070796146663940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869363616,"filename":"image_16122025_08_13_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/16/666315b685ea62b07d29b35514d4d4cd.jpg","text":"TemporaryFile(/tmp/multipartBody8064613136254799616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869363616,"filename":"image_16122025_08_13_25_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608834","file1":"1399608832","file0":"1399608830","file4":"1399608838","file5":"1399608840","file3":"1399608836"},"map_files_photo_id_array":[{"photo_id":"1399608840","filename":"file5"},{"photo_id":"1399608834","filename":"file2"},{"photo_id":"1399608838","filename":"file4"},{"photo_id":"1399608832","filename":"file1"},{"photo_id":"1399608830","filename":"file0"},{"photo_id":"1399608836","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608838":["hashtag1","hashtag2"]},{"1399608832":["hashtag1","hashtag2"]},{"1399608840":["hashtag1","hashtag2"]},{"1399608834":["hashtag1","hashtag2"]},{"1399608836":["hashtag1","hashtag2"]},{"1399608830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608838, 1399608832, 1399608840, 1399608834, 1399608836, 1399608830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21970534324646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:15:42.202502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_14_2740.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_17_3195.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_20_3545.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_42_21725.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_44_1551.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_45_1533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_14_2740.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_17_3195.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_20_3545.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_42_21725.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_44_1551.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_45_1533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608853","1399608847","1399608850","1399608849","1399608851","1399608845"],"photo_ids_order":["1399608845","1399608847","1399608849","1399608850","1399608851","1399608853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbad224ccff828390928f0a1dbd5513b.jpg","text":"TemporaryFile(/tmp/multipartBody4419901647607557668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869402801,"filename":"image_06112025_15_27_45_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/16/8930ebb256eb05588082dd306d675765.jpg","text":"TemporaryFile(/tmp/multipartBody2569466593689111400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869402801,"filename":"image_06112025_15_27_17_3195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac9d6fc8dbcfefa85555635df1dd2256.jpg","text":"TemporaryFile(/tmp/multipartBody8596048268390627917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869402801,"filename":"image_06112025_15_27_42_21725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a472d799d734b384089238fe4e16348.jpg","text":"TemporaryFile(/tmp/multipartBody8981233360044517409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869402801,"filename":"image_06112025_15_27_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/16/946c1bbd3847d3e521fc8702b868cdc2.jpg","text":"TemporaryFile(/tmp/multipartBody2095115346142362524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869402801,"filename":"image_06112025_15_27_44_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/16/4ce9c2d13e540cbb84db9a56c22d4396.jpg","text":"TemporaryFile(/tmp/multipartBody7453737584295050831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869402801,"filename":"image_06112025_15_27_14_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608849","file1":"1399608847","file0":"1399608845","file4":"1399608851","file5":"1399608853","file3":"1399608850"},"map_files_photo_id_array":[{"photo_id":"1399608853","filename":"file5"},{"photo_id":"1399608849","filename":"file2"},{"photo_id":"1399608851","filename":"file4"},{"photo_id":"1399608847","filename":"file1"},{"photo_id":"1399608845","filename":"file0"},{"photo_id":"1399608850","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608853":["hashtag1","hashtag2"]},{"1399608847":["hashtag1","hashtag2"]},{"1399608850":["hashtag1","hashtag2"]},{"1399608849":["hashtag1","hashtag2"]},{"1399608851":["hashtag1","hashtag2"]},{"1399608845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608853, 1399608847, 1399608850, 1399608849, 1399608851, 1399608845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37376165390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:16:22.522896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_35_9708.jpg', '/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_45_9688.jpg', '/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_55_10723.jpg', '/home/pi/Desktop/images/16122025/08/14/image_16122025_08_15_05_9628.jpg', '/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_15_9778.jpg', '/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_24_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_35_9708.jpg
/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_45_9688.jpg
/home/pi/Desktop/images/16122025/08/14/image_16122025_08_14_55_10723.jpg
/home/pi/Desktop/images/16122025/08/14/image_16122025_08_15_05_9628.jpg
/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_15_9778.jpg
/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_24_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608868","1399608862","1399608876","1399608864","1399608858","1399608860"],"photo_ids_order":["1399608858","1399608860","1399608862","1399608864","1399608868","1399608876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6319c618328ea4469713fae4be9a813.jpg","text":"TemporaryFile(/tmp/multipartBody4070070978859855770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869443180,"filename":"image_16122025_08_15_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/16/1bd92aa18491163ac06aaa89c72bbc4c.jpg","text":"TemporaryFile(/tmp/multipartBody3428975004125852456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869443180,"filename":"image_16122025_08_14_55_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/16/beea252405b52ff58695d1c1c9fd3300.jpg","text":"TemporaryFile(/tmp/multipartBody3857656125485859124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869443180,"filename":"image_16122025_08_15_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60a36c2bb835704a973bf3a3abee2254.jpg","text":"TemporaryFile(/tmp/multipartBody4528283578279357592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869443180,"filename":"image_16122025_08_15_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90a13d2230839ace88d34302fee6ac12.jpg","text":"TemporaryFile(/tmp/multipartBody3955658123376050438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869443180,"filename":"image_16122025_08_14_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ce884f9275d001dab28675c6230a48f.jpg","text":"TemporaryFile(/tmp/multipartBody1788993055878711701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869443180,"filename":"image_16122025_08_14_45_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608862","file1":"1399608860","file0":"1399608858","file4":"1399608868","file5":"1399608876","file3":"1399608864"},"map_files_photo_id_array":[{"photo_id":"1399608876","filename":"file5"},{"photo_id":"1399608862","filename":"file2"},{"photo_id":"1399608868","filename":"file4"},{"photo_id":"1399608860","filename":"file1"},{"photo_id":"1399608858","filename":"file0"},{"photo_id":"1399608864","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608868":["hashtag1","hashtag2"]},{"1399608862":["hashtag1","hashtag2"]},{"1399608876":["hashtag1","hashtag2"]},{"1399608864":["hashtag1","hashtag2"]},{"1399608858":["hashtag1","hashtag2"]},{"1399608860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608868, 1399608862, 1399608876, 1399608864, 1399608858, 1399608860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16810083389282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:17:03.421913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_35_10609.jpg', '/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_54_9819.jpg', '/home/pi/Desktop/images/16122025/08/15/image_16122025_08_16_05_10717.jpg', '/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_15_9834.jpg', '/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_25_9735.jpg', '/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_35_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_35_10609.jpg
/home/pi/Desktop/images/16122025/08/15/image_16122025_08_15_54_9819.jpg
/home/pi/Desktop/images/16122025/08/15/image_16122025_08_16_05_10717.jpg
/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_15_9834.jpg
/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_25_9735.jpg
/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_35_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608886","1399608891","1399608879","1399608888","1399608881","1399608883"],"photo_ids_order":["1399608879","1399608881","1399608883","1399608886","1399608888","1399608891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3645bf62433e0ee7aaf505a5ed7aa74.jpg","text":"TemporaryFile(/tmp/multipartBody8301957644980848711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869484123,"filename":"image_16122025_08_16_15_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e84950720761807db49839717a3d9d65.jpg","text":"TemporaryFile(/tmp/multipartBody2006359875218637413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869484123,"filename":"image_16122025_08_16_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/259b5fe8308948c377f2e115164b3646.jpg","text":"TemporaryFile(/tmp/multipartBody8097665723886800887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869484123,"filename":"image_16122025_08_15_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b5cd474eb18a50e674b6bb214e851e4.jpg","text":"TemporaryFile(/tmp/multipartBody8282652162023431726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869484123,"filename":"image_16122025_08_16_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/16/0f512c7f6bcb4abdf7435b9c5626e57f.jpg","text":"TemporaryFile(/tmp/multipartBody638081172401262425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869484123,"filename":"image_16122025_08_15_54_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75335e3804a20811b5f1ea8961d5be79.jpg","text":"TemporaryFile(/tmp/multipartBody5414909661237844279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869484123,"filename":"image_16122025_08_16_05_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608883","file1":"1399608881","file0":"1399608879","file4":"1399608888","file5":"1399608891","file3":"1399608886"},"map_files_photo_id_array":[{"photo_id":"1399608891","filename":"file5"},{"photo_id":"1399608883","filename":"file2"},{"photo_id":"1399608888","filename":"file4"},{"photo_id":"1399608881","filename":"file1"},{"photo_id":"1399608879","filename":"file0"},{"photo_id":"1399608886","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608886":["hashtag1","hashtag2"]},{"1399608891":["hashtag1","hashtag2"]},{"1399608879":["hashtag1","hashtag2"]},{"1399608888":["hashtag1","hashtag2"]},{"1399608881":["hashtag1","hashtag2"]},{"1399608883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608886, 1399608891, 1399608879, 1399608888, 1399608881, 1399608883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49032926559448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:17:42.674508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_47_1527.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_48_1751.jpg', '/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_50_1727.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_06_15584.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_07_1550.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_09_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_47_1527.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_48_1751.jpg
/home/pi/Desktop/images/06112025/15/27/image_06112025_15_27_50_1727.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_06_15584.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_07_1550.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_09_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608904","1399608907","1399608900","1399608903","1399608906","1399608905"],"photo_ids_order":["1399608900","1399608903","1399608904","1399608905","1399608906","1399608907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aeec557c7b9b6135e10474c87cce174b.jpg","text":"TemporaryFile(/tmp/multipartBody5925199090478535499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869523428,"filename":"image_06112025_15_27_50_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bd2b58f51cd04d3581e4d484e128ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8073472623655156366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869523428,"filename":"image_06112025_15_28_09_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/16/44a88cb835d916e6b7ce8b225b72c447.jpg","text":"TemporaryFile(/tmp/multipartBody8295479663071910446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869523428,"filename":"image_06112025_15_27_47_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/16/67d13154db59f591165a0406253ce9ba.jpg","text":"TemporaryFile(/tmp/multipartBody8304766269672574194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869523428,"filename":"image_06112025_15_27_48_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/16/ce1e218fca32e4500e3a2023e7aee5e7.jpg","text":"TemporaryFile(/tmp/multipartBody2360539907248045907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869523428,"filename":"image_06112025_15_28_07_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/16/a5533d5fb26eabdafd2d26ddaaa12e60.jpg","text":"TemporaryFile(/tmp/multipartBody3318031675321428863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869523428,"filename":"image_06112025_15_28_06_15584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608904","file1":"1399608903","file0":"1399608900","file4":"1399608906","file5":"1399608907","file3":"1399608905"},"map_files_photo_id_array":[{"photo_id":"1399608907","filename":"file5"},{"photo_id":"1399608904","filename":"file2"},{"photo_id":"1399608906","filename":"file4"},{"photo_id":"1399608903","filename":"file1"},{"photo_id":"1399608900","filename":"file0"},{"photo_id":"1399608905","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608904":["hashtag1","hashtag2"]},{"1399608907":["hashtag1","hashtag2"]},{"1399608900":["hashtag1","hashtag2"]},{"1399608903":["hashtag1","hashtag2"]},{"1399608906":["hashtag1","hashtag2"]},{"1399608905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608904, 1399608907, 1399608900, 1399608903, 1399608906, 1399608905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.910512924194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:18:21.942413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_45_9797.jpg', '/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_55_9800.jpg', '/home/pi/Desktop/images/16122025/08/16/image_16122025_08_17_05_9620.jpg', '/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_14_9801.jpg', '/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_25_10737.jpg', '/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_35_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_45_9797.jpg
/home/pi/Desktop/images/16122025/08/16/image_16122025_08_16_55_9800.jpg
/home/pi/Desktop/images/16122025/08/16/image_16122025_08_17_05_9620.jpg
/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_14_9801.jpg
/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_25_10737.jpg
/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_35_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608934","1399608928","1399608919","1399608913","1399608915","1399608917"],"photo_ids_order":["1399608913","1399608915","1399608917","1399608919","1399608928","1399608934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2321e2c4809fb179c587a6fdec2a4aab.jpg","text":"TemporaryFile(/tmp/multipartBody2325940761477284421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869562652,"filename":"image_16122025_08_17_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7e22ee21caf5af08c123defcd6dde7f.jpg","text":"TemporaryFile(/tmp/multipartBody8048545025000372223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869562652,"filename":"image_16122025_08_17_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b71eeb2d5fe8c81af954e0de8b28c59e.jpg","text":"TemporaryFile(/tmp/multipartBody2545923956114690335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869562652,"filename":"image_16122025_08_17_14_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b2dd950f4aa86fd77097903ba524a64.jpg","text":"TemporaryFile(/tmp/multipartBody1945349427927865151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869562652,"filename":"image_16122025_08_16_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/16/d64881740ac924f5d78587652682c28a.jpg","text":"TemporaryFile(/tmp/multipartBody4618221169055516544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869562652,"filename":"image_16122025_08_16_55_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89a26c3bd069d3ba7fbdb7f0e19ed4d2.jpg","text":"TemporaryFile(/tmp/multipartBody2443105529110934865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869562652,"filename":"image_16122025_08_17_05_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608917","file1":"1399608915","file0":"1399608913","file4":"1399608928","file5":"1399608934","file3":"1399608919"},"map_files_photo_id_array":[{"photo_id":"1399608934","filename":"file5"},{"photo_id":"1399608917","filename":"file2"},{"photo_id":"1399608928","filename":"file4"},{"photo_id":"1399608915","filename":"file1"},{"photo_id":"1399608913","filename":"file0"},{"photo_id":"1399608919","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608934":["hashtag1","hashtag2"]},{"1399608928":["hashtag1","hashtag2"]},{"1399608919":["hashtag1","hashtag2"]},{"1399608913":["hashtag1","hashtag2"]},{"1399608915":["hashtag1","hashtag2"]},{"1399608917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608934, 1399608928, 1399608919, 1399608913, 1399608915, 1399608917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.604363679885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:19:03.158268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_45_9752.jpg', '/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_55_10737.jpg', '/home/pi/Desktop/images/16122025/08/17/image_16122025_08_18_05_9721.jpg', '/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_15_9678.jpg', '/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_25_9781.jpg', '/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_35_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_45_9752.jpg
/home/pi/Desktop/images/16122025/08/17/image_16122025_08_17_55_10737.jpg
/home/pi/Desktop/images/16122025/08/17/image_16122025_08_18_05_9721.jpg
/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_15_9678.jpg
/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_25_9781.jpg
/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_35_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":["1399608946","1399608943","1399608939","1399608936","1399608941","1399608944"],"photo_ids_order":["1399608936","1399608939","1399608941","1399608943","1399608944","1399608946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe90e22e4797451ca9908403d83e1ecf.jpg","text":"TemporaryFile(/tmp/multipartBody1047985136823088330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869603970,"filename":"image_16122025_08_18_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/16/8e941b0b8fd6b2d7a79f4e921816d081.jpg","text":"TemporaryFile(/tmp/multipartBody8282170249333671942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869603970,"filename":"image_16122025_08_18_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33b69ba8e6895b03bd6815996eb30e54.jpg","text":"TemporaryFile(/tmp/multipartBody7659199624974695534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869603970,"filename":"image_16122025_08_17_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/16/4a70059542e292e1417194b334dd7524.jpg","text":"TemporaryFile(/tmp/multipartBody1687855047843267675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869603970,"filename":"image_16122025_08_17_45_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef21cfcacd0aca1d1b81889bf5b147e5.jpg","text":"TemporaryFile(/tmp/multipartBody3380274132983391996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869603970,"filename":"image_16122025_08_18_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c236899bd7ebfa14eda75c213029e89d.jpg","text":"TemporaryFile(/tmp/multipartBody7845302566516726224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869603970,"filename":"image_16122025_08_18_25_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608941","file1":"1399608939","file0":"1399608936","file4":"1399608944","file5":"1399608946","file3":"1399608943"},"map_files_photo_id_array":[{"photo_id":"1399608946","filename":"file5"},{"photo_id":"1399608941","filename":"file2"},{"photo_id":"1399608944","filename":"file4"},{"photo_id":"1399608939","filename":"file1"},{"photo_id":"1399608936","filename":"file0"},{"photo_id":"1399608943","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608946":["hashtag1","hashtag2"]},{"1399608943":["hashtag1","hashtag2"]},{"1399608939":["hashtag1","hashtag2"]},{"1399608936":["hashtag1","hashtag2"]},{"1399608941":["hashtag1","hashtag2"]},{"1399608944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608946, 1399608943, 1399608939, 1399608936, 1399608941, 1399608944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46083211898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:19:42.142181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_11_1713.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_21_10046.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_24_3369.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_26_1509.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_27_1610.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_29_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_11_1713.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_21_10046.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_24_3369.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_26_1509.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_27_1610.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_29_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608952","1399608958","1399608957","1399608954","1399608959","1399608950"],"photo_ids_order":["1399608950","1399608952","1399608954","1399608957","1399608958","1399608959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da70ceb45d93772b94b4087e059a3a38.jpg","text":"TemporaryFile(/tmp/multipartBody7078204808778969976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869642852,"filename":"image_06112025_15_28_21_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/16/9308164c44f7fa3fdbbd2b101c050c06.jpg","text":"TemporaryFile(/tmp/multipartBody7094101553069020820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869642852,"filename":"image_06112025_15_28_27_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/16/237d9b6512a92a47ca90b18145171e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8273754306983813050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869642852,"filename":"image_06112025_15_28_26_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/16/1f327934a457789fe3eb30fb72cfa5fe.jpg","text":"TemporaryFile(/tmp/multipartBody5678126059208125961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869642852,"filename":"image_06112025_15_28_24_3369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a866fefb3b8b2e74b88323c8cad03305.jpg","text":"TemporaryFile(/tmp/multipartBody7205466819482547638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869642852,"filename":"image_06112025_15_28_29_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/16/3f1458ed8ea458e16d110174fdbbd209.jpg","text":"TemporaryFile(/tmp/multipartBody6190332922745576530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869642852,"filename":"image_06112025_15_28_11_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608954","file1":"1399608952","file0":"1399608950","file4":"1399608958","file5":"1399608959","file3":"1399608957"},"map_files_photo_id_array":[{"photo_id":"1399608959","filename":"file5"},{"photo_id":"1399608954","filename":"file2"},{"photo_id":"1399608958","filename":"file4"},{"photo_id":"1399608952","filename":"file1"},{"photo_id":"1399608950","filename":"file0"},{"photo_id":"1399608957","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399608952":["hashtag1","hashtag2"]},{"1399608958":["hashtag1","hashtag2"]},{"1399608957":["hashtag1","hashtag2"]},{"1399608954":["hashtag1","hashtag2"]},{"1399608959":["hashtag1","hashtag2"]},{"1399608950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399608952, 1399608958, 1399608957, 1399608954, 1399608959, 1399608950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.754398822784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:20:22.400186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_45_9648.jpg', '/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_55_9817.jpg', '/home/pi/Desktop/images/16122025/08/18/image_16122025_08_19_05_9801.jpg', '/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_15_10788.jpg', '/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_25_9596.jpg', '/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_35_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_45_9648.jpg
/home/pi/Desktop/images/16122025/08/18/image_16122025_08_18_55_9817.jpg
/home/pi/Desktop/images/16122025/08/18/image_16122025_08_19_05_9801.jpg
/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_15_10788.jpg
/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_25_9596.jpg
/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_35_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399608967","1399608963","1399608971","1399608974","1399608968","1399608965"],"photo_ids_order":["1399608963","1399608965","1399608967","1399608968","1399608971","1399608974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06c0dc762ecb54942de53de2e38251c3.jpg","text":"TemporaryFile(/tmp/multipartBody3865936965483015127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869683052,"filename":"image_16122025_08_19_05_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47f255ac09dfa59656fc4f902cc8daa3.jpg","text":"TemporaryFile(/tmp/multipartBody1138901698506600965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869683052,"filename":"image_16122025_08_18_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/881e4860b0048c8df249ffb2a28935f5.jpg","text":"TemporaryFile(/tmp/multipartBody1921300641690933105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869683052,"filename":"image_16122025_08_19_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/16/2aa16ff255de7308ec3954767bc921e0.jpg","text":"TemporaryFile(/tmp/multipartBody2613692190882878183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869683052,"filename":"image_16122025_08_19_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/16/e7ee28c01c2edcc08e030982b779afbb.jpg","text":"TemporaryFile(/tmp/multipartBody2378060718552234923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869683052,"filename":"image_16122025_08_19_15_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e57dca5a719422bfe67f4d59f151438.jpg","text":"TemporaryFile(/tmp/multipartBody9090512854708731191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869683052,"filename":"image_16122025_08_18_55_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399608967","file1":"1399608965","file0":"1399608963","file4":"1399608971","file5":"1399608974","file3":"1399608968"},"map_files_photo_id_array":[{"photo_id":"1399608974","filename":"file5"},{"photo_id":"1399608967","filename":"file2"},{"photo_id":"1399608971","filename":"file4"},{"photo_id":"1399608965","filename":"file1"},{"photo_id":"1399608963","filename":"file0"},{"photo_id":"1399608968","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399608967":["hashtag1","hashtag2"]},{"1399608963":["hashtag1","hashtag2"]},{"1399608971":["hashtag1","hashtag2"]},{"1399608974":["hashtag1","hashtag2"]},{"1399608968":["hashtag1","hashtag2"]},{"1399608965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399608967, 1399608963, 1399608971, 1399608974, 1399608968, 1399608965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35156297683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:21:03.178020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_45_10748.jpg', '/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_55_9210.jpg', '/home/pi/Desktop/images/16122025/08/19/image_16122025_08_20_05_10837.jpg', '/home/pi/Desktop/images/16122025/08/20/image_16122025_08_20_15_9668.jpg', '/home/pi/Desktop/images/16122025/08/20/image_16122025_08_20_25_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_45_10748.jpg
/home/pi/Desktop/images/16122025/08/19/image_16122025_08_19_55_9210.jpg
/home/pi/Desktop/images/16122025/08/19/image_16122025_08_20_05_10837.jpg
/home/pi/Desktop/images/16122025/08/20/image_16122025_08_20_15_9668.jpg
/home/pi/Desktop/images/16122025/08/20/image_16122025_08_20_25_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":["1399609000","1399609012","1399609014","1399609008","1399609010"],"photo_ids_order":["1399609000","1399609008","1399609010","1399609012","1399609014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9520433f9b183774448d3c7e4a849651.jpg","text":"TemporaryFile(/tmp/multipartBody5991599048929175459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869723833,"filename":"image_16122025_08_19_45_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef02af74553050470ceb677ef56abc13.jpg","text":"TemporaryFile(/tmp/multipartBody8707872936436986936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869723833,"filename":"image_16122025_08_20_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f85d726e92f22951b3f4bf961c233665.jpg","text":"TemporaryFile(/tmp/multipartBody3569025034622272812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869723833,"filename":"image_16122025_08_20_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5260d9019f96e762f7d3b7cec9877e2a.jpg","text":"TemporaryFile(/tmp/multipartBody5577255357832543680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869723833,"filename":"image_16122025_08_19_55_9210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab82b4de64d2dcbda857f7a663623c93.jpg","text":"TemporaryFile(/tmp/multipartBody435723928504334199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869723833,"filename":"image_16122025_08_20_05_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609010","file1":"1399609008","file0":"1399609000","file4":"1399609014","file3":"1399609012"},"map_files_photo_id_array":[{"photo_id":"1399609010","filename":"file2"},{"photo_id":"1399609014","filename":"file4"},{"photo_id":"1399609008","filename":"file1"},{"photo_id":"1399609000","filename":"file0"},{"photo_id":"1399609012","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609000":["hashtag1","hashtag2"]},{"1399609012":["hashtag1","hashtag2"]},{"1399609014":["hashtag1","hashtag2"]},{"1399609008":["hashtag1","hashtag2"]},{"1399609010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609000, 1399609012, 1399609014, 1399609008, 1399609010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.03843975067139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:21:42.623758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_30_1586.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_32_1505.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_34_1588.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_35_1605.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_37_1674.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_38_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_30_1586.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_32_1505.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_34_1588.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_35_1605.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_37_1674.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_38_1659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609027","1399609021","1399609024","1399609026","1399609023","1399609025"],"photo_ids_order":["1399609021","1399609023","1399609024","1399609025","1399609026","1399609027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/715a6d739aa15aae0f429237247fea5a.jpg","text":"TemporaryFile(/tmp/multipartBody6067342756341395290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869763338,"filename":"image_06112025_15_28_38_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/16/6db1ba6922bd62a60dfb97a858c92d01.jpg","text":"TemporaryFile(/tmp/multipartBody8041064482109454924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869763338,"filename":"image_06112025_15_28_30_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/16/ff4becbb53ebd1f4a42d33e57672a2f0.jpg","text":"TemporaryFile(/tmp/multipartBody1209706445449976572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869763338,"filename":"image_06112025_15_28_34_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/16/8e690b1379c8defdeecc997f61c87245.jpg","text":"TemporaryFile(/tmp/multipartBody5400769939064509446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869763338,"filename":"image_06112025_15_28_37_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/16/eaf18c25e9cbc21daa17bfd1a02ef781.jpg","text":"TemporaryFile(/tmp/multipartBody6509952315287118550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869763338,"filename":"image_06112025_15_28_32_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92772c18a9f26024a24a8e1a673891c6.jpg","text":"TemporaryFile(/tmp/multipartBody4223807919072006786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869763338,"filename":"image_06112025_15_28_35_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609024","file1":"1399609023","file0":"1399609021","file4":"1399609026","file5":"1399609027","file3":"1399609025"},"map_files_photo_id_array":[{"photo_id":"1399609027","filename":"file5"},{"photo_id":"1399609024","filename":"file2"},{"photo_id":"1399609026","filename":"file4"},{"photo_id":"1399609023","filename":"file1"},{"photo_id":"1399609021","filename":"file0"},{"photo_id":"1399609025","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609027":["hashtag1","hashtag2"]},{"1399609021":["hashtag1","hashtag2"]},{"1399609024":["hashtag1","hashtag2"]},{"1399609026":["hashtag1","hashtag2"]},{"1399609023":["hashtag1","hashtag2"]},{"1399609025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609027, 1399609021, 1399609024, 1399609026, 1399609023, 1399609025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05634617805481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:22:21.899058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/20/image_16122025_08_20_55_9867.jpg', '/home/pi/Desktop/images/16122025/08/20/image_16122025_08_21_05_9703.jpg', '/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_14_9607.jpg', '/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_25_10745.jpg', '/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_35_9642.jpg', '/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_45_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/20/image_16122025_08_20_55_9867.jpg
/home/pi/Desktop/images/16122025/08/20/image_16122025_08_21_05_9703.jpg
/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_14_9607.jpg
/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_25_10745.jpg
/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_35_9642.jpg
/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_45_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":["1399609098","1399609044","1399609041","1399609034","1399609037","1399609051"],"photo_ids_order":["1399609034","1399609037","1399609041","1399609044","1399609051","1399609098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/501f681600680f146571c21b2f4b75ca.jpg","text":"TemporaryFile(/tmp/multipartBody5968013533721182048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869802596,"filename":"image_16122025_08_21_45_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/16/d630ce6a2cf4590a1601e05bb4d7ee9a.jpg","text":"TemporaryFile(/tmp/multipartBody271387420796644943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869802596,"filename":"image_16122025_08_21_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ada1ad179bb5321f6b1d5a45013c66f9.jpg","text":"TemporaryFile(/tmp/multipartBody5475842620674072057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869802596,"filename":"image_16122025_08_21_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be827f9d7236e7416c7c34e8916b3a7c.jpg","text":"TemporaryFile(/tmp/multipartBody9102447958227047414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869802596,"filename":"image_16122025_08_20_55_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c05070b668d43db4336798cafacfee5e.jpg","text":"TemporaryFile(/tmp/multipartBody701064255407278073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869802596,"filename":"image_16122025_08_21_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eeaf5e6911962bb456e74714c855d9c1.jpg","text":"TemporaryFile(/tmp/multipartBody995751379978631202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869802596,"filename":"image_16122025_08_21_35_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609041","file1":"1399609037","file0":"1399609034","file4":"1399609051","file5":"1399609098","file3":"1399609044"},"map_files_photo_id_array":[{"photo_id":"1399609098","filename":"file5"},{"photo_id":"1399609041","filename":"file2"},{"photo_id":"1399609051","filename":"file4"},{"photo_id":"1399609037","filename":"file1"},{"photo_id":"1399609034","filename":"file0"},{"photo_id":"1399609044","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609098":["hashtag1","hashtag2"]},{"1399609044":["hashtag1","hashtag2"]},{"1399609041":["hashtag1","hashtag2"]},{"1399609034":["hashtag1","hashtag2"]},{"1399609037":["hashtag1","hashtag2"]},{"1399609051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609098, 1399609044, 1399609041, 1399609034, 1399609037, 1399609051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27150273323059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:23:02.795823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_55_10693.jpg', '/home/pi/Desktop/images/16122025/08/21/image_16122025_08_22_05_9639.jpg', '/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_15_9719.jpg', '/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_25_10796.jpg', '/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_45_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/21/image_16122025_08_21_55_10693.jpg
/home/pi/Desktop/images/16122025/08/21/image_16122025_08_22_05_9639.jpg
/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_15_9719.jpg
/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_25_10796.jpg
/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_45_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":["1399609345","1399609324","1399609249","1399609343","1399609291"],"photo_ids_order":["1399609249","1399609291","1399609324","1399609343","1399609345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba8fa68bb6b0773a43b4b11a3641794f.jpg","text":"TemporaryFile(/tmp/multipartBody7208731744159976109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869843464,"filename":"image_16122025_08_22_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c51c569cf1f771f08d0108526289bf2.jpg","text":"TemporaryFile(/tmp/multipartBody5512443202138049350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869843464,"filename":"image_16122025_08_22_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/16/41cefbd8c6bbf37ee606618649315f37.jpg","text":"TemporaryFile(/tmp/multipartBody1094543870485005416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869843464,"filename":"image_16122025_08_21_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/16/37cee32158adbf100d3b79ed1dff71e6.jpg","text":"TemporaryFile(/tmp/multipartBody3441574239946749956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869843464,"filename":"image_16122025_08_22_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/16/adb750856e315eea086010157d30af65.jpg","text":"TemporaryFile(/tmp/multipartBody6957554033057698985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869843464,"filename":"image_16122025_08_22_05_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609324","file1":"1399609291","file0":"1399609249","file4":"1399609345","file3":"1399609343"},"map_files_photo_id_array":[{"photo_id":"1399609324","filename":"file2"},{"photo_id":"1399609345","filename":"file4"},{"photo_id":"1399609291","filename":"file1"},{"photo_id":"1399609249","filename":"file0"},{"photo_id":"1399609343","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609345":["hashtag1","hashtag2"]},{"1399609324":["hashtag1","hashtag2"]},{"1399609249":["hashtag1","hashtag2"]},{"1399609343":["hashtag1","hashtag2"]},{"1399609291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609345, 1399609324, 1399609249, 1399609343, 1399609291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.99539566040039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:23:42.070185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_40_1478.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_42_1986.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_44_1606.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_45_1614.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_47_1926.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_49_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_40_1478.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_42_1986.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_44_1606.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_45_1614.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_47_1926.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_49_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609447","1399609507","1399609509","1399609419","1399609475","1399609498"],"photo_ids_order":["1399609419","1399609447","1399609475","1399609498","1399609507","1399609509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b4fec56aa59ea80621fcb5931852a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3315557764419955828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869882789,"filename":"image_06112025_15_28_42_1986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8aca9306d2304b3b064d6eda82188729.jpg","text":"TemporaryFile(/tmp/multipartBody7187433511439444677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869882789,"filename":"image_06112025_15_28_47_1926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bed291de45df837bd118c25f7155103.jpg","text":"TemporaryFile(/tmp/multipartBody8089456001863036140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869882789,"filename":"image_06112025_15_28_49_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/16/93b0e44f0904eb90e8585912430c2d6c.jpg","text":"TemporaryFile(/tmp/multipartBody8600601591707904138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869882789,"filename":"image_06112025_15_28_40_1478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aabfa8934f4e0b677b975a0b6c63bf6d.jpg","text":"TemporaryFile(/tmp/multipartBody125083277216230776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869882789,"filename":"image_06112025_15_28_44_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/684236104d9c4133f9fc1622e84c791b.jpg","text":"TemporaryFile(/tmp/multipartBody8443120432568870801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869882789,"filename":"image_06112025_15_28_45_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609475","file1":"1399609447","file0":"1399609419","file4":"1399609507","file5":"1399609509","file3":"1399609498"},"map_files_photo_id_array":[{"photo_id":"1399609509","filename":"file5"},{"photo_id":"1399609475","filename":"file2"},{"photo_id":"1399609507","filename":"file4"},{"photo_id":"1399609447","filename":"file1"},{"photo_id":"1399609419","filename":"file0"},{"photo_id":"1399609498","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609447":["hashtag1","hashtag2"]},{"1399609507":["hashtag1","hashtag2"]},{"1399609509":["hashtag1","hashtag2"]},{"1399609419":["hashtag1","hashtag2"]},{"1399609475":["hashtag1","hashtag2"]},{"1399609498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609447, 1399609507, 1399609509, 1399609419, 1399609475, 1399609498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62390494346619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:24:22.417752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_55_9644.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_15_9704.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_25_9857.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_35_10673.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_45_9769.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_55_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_55_9644.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_15_9704.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_25_9857.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_35_10673.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_45_9769.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_55_9766.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5480179786682129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:24:32.355294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:24:42.300602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_50_1759.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_52_1708.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_54_1662.jpg', '/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_55_1611.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_06_10612.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_08_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_50_1759.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_52_1708.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_54_1662.jpg
/home/pi/Desktop/images/06112025/15/28/image_06112025_15_28_55_1611.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_06_10612.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_08_1572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609537","1399609551","1399609536","1399609538","1399609532","1399609540"],"photo_ids_order":["1399609532","1399609536","1399609537","1399609538","1399609540","1399609551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cf7dcf8f62480be65ec6925ef46335c.jpg","text":"TemporaryFile(/tmp/multipartBody3248734579135841506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869943018,"filename":"image_06112025_15_28_54_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/16/9917f4a75718828256b3de031dfafa20.jpg","text":"TemporaryFile(/tmp/multipartBody8977086577407942503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869943018,"filename":"image_06112025_15_29_08_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/16/ea91f425a2ded7bfea11720163d03afe.jpg","text":"TemporaryFile(/tmp/multipartBody5271779457143539443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869943018,"filename":"image_06112025_15_28_52_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/16/1bce358a62fdc9522bef64f3b24d04b4.jpg","text":"TemporaryFile(/tmp/multipartBody1817246332824477563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869943018,"filename":"image_06112025_15_28_55_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7baa8f1edb1a83d9c9a167d8672aedb.jpg","text":"TemporaryFile(/tmp/multipartBody2252501320211935231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869943018,"filename":"image_06112025_15_28_50_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/16/c1e62ea5077cc5a6aed8f3bd2c4a9c30.jpg","text":"TemporaryFile(/tmp/multipartBody7750974748475937179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869943018,"filename":"image_06112025_15_29_06_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609537","file1":"1399609536","file0":"1399609532","file4":"1399609540","file5":"1399609551","file3":"1399609538"},"map_files_photo_id_array":[{"photo_id":"1399609551","filename":"file5"},{"photo_id":"1399609537","filename":"file2"},{"photo_id":"1399609540","filename":"file4"},{"photo_id":"1399609536","filename":"file1"},{"photo_id":"1399609532","filename":"file0"},{"photo_id":"1399609538","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609537":["hashtag1","hashtag2"]},{"1399609551":["hashtag1","hashtag2"]},{"1399609536":["hashtag1","hashtag2"]},{"1399609538":["hashtag1","hashtag2"]},{"1399609532":["hashtag1","hashtag2"]},{"1399609540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609537, 1399609551, 1399609536, 1399609538, 1399609532, 1399609540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39735293388367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:25:22.502319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_55_9644.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_15_9704.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_25_9857.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_35_10673.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_45_9769.jpg', '/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_55_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/22/image_16122025_08_22_55_9644.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_15_9704.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_25_9857.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_35_10673.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_45_9769.jpg
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_23_55_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":["1399609563","1399609557","1399609556","1399609559","1399609567","1399609561"],"photo_ids_order":["1399609556","1399609557","1399609559","1399609561","1399609563","1399609567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29d24cdd401690da2a200afde6402303.jpg","text":"TemporaryFile(/tmp/multipartBody5408855903754428784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869983158,"filename":"image_16122025_08_23_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9590d77d789d5a3856d1232ea87d3ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1802154394412315792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869983158,"filename":"image_16122025_08_23_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5123770fd3d9a447e41051c40fe7cae3.jpg","text":"TemporaryFile(/tmp/multipartBody5937573906239958608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869983158,"filename":"image_16122025_08_22_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac3ea102960ce4e57687f5086d540676.jpg","text":"TemporaryFile(/tmp/multipartBody4089312412999078877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869983158,"filename":"image_16122025_08_23_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/16/23e6144c42eaa501bbac900fd38a3a5c.jpg","text":"TemporaryFile(/tmp/multipartBody8909235028890410561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869983158,"filename":"image_16122025_08_23_55_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/16/25a2372bff757772b9d5b3b44e118178.jpg","text":"TemporaryFile(/tmp/multipartBody7609175340153950293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765869983158,"filename":"image_16122025_08_23_35_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609559","file1":"1399609557","file0":"1399609556","file4":"1399609563","file5":"1399609567","file3":"1399609561"},"map_files_photo_id_array":[{"photo_id":"1399609567","filename":"file5"},{"photo_id":"1399609559","filename":"file2"},{"photo_id":"1399609563","filename":"file4"},{"photo_id":"1399609557","filename":"file1"},{"photo_id":"1399609556","filename":"file0"},{"photo_id":"1399609561","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609563":["hashtag1","hashtag2"]},{"1399609557":["hashtag1","hashtag2"]},{"1399609556":["hashtag1","hashtag2"]},{"1399609559":["hashtag1","hashtag2"]},{"1399609567":["hashtag1","hashtag2"]},{"1399609561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609563, 1399609557, 1399609556, 1399609559, 1399609567, 1399609561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30710697174072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:26:03.162375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/23/image_16122025_08_24_05_9782.jpg', '/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_15_10604.jpg', '/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_25_9703.jpg', '/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_45_9840.jpg', '/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_55_10752.jpg', '/home/pi/Desktop/images/16122025/08/24/image_16122025_08_25_05_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/23/image_16122025_08_24_05_9782.jpg
/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_15_10604.jpg
/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_25_9703.jpg
/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_45_9840.jpg
/home/pi/Desktop/images/16122025/08/24/image_16122025_08_24_55_10752.jpg
/home/pi/Desktop/images/16122025/08/24/image_16122025_08_25_05_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609584","1399609578","1399609580","1399609573","1399609582","1399609576"],"photo_ids_order":["1399609573","1399609576","1399609578","1399609580","1399609582","1399609584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/954d9b7d467ad8964e5a0fffcf876d97.jpg","text":"TemporaryFile(/tmp/multipartBody3900541652126895468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870023856,"filename":"image_16122025_08_25_05_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/254c20e2a7ada0937dbd1167d79c50ea.jpg","text":"TemporaryFile(/tmp/multipartBody5309823992758131077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870023856,"filename":"image_16122025_08_24_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53606f2ae275724203c183b3179dee8d.jpg","text":"TemporaryFile(/tmp/multipartBody206436244418808211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870023856,"filename":"image_16122025_08_24_45_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/16/c173ebef1b136c48475712bfce76982b.jpg","text":"TemporaryFile(/tmp/multipartBody8904006743141013021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870023856,"filename":"image_16122025_08_24_05_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc855e58a4403c6d135b3d1f45d39f46.jpg","text":"TemporaryFile(/tmp/multipartBody5561029843519804433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870023856,"filename":"image_16122025_08_24_55_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae67b472f624efa74ee336f1ac0f267a.jpg","text":"TemporaryFile(/tmp/multipartBody3570063121615647779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870023856,"filename":"image_16122025_08_24_15_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609578","file1":"1399609576","file0":"1399609573","file4":"1399609582","file5":"1399609584","file3":"1399609580"},"map_files_photo_id_array":[{"photo_id":"1399609584","filename":"file5"},{"photo_id":"1399609578","filename":"file2"},{"photo_id":"1399609582","filename":"file4"},{"photo_id":"1399609576","filename":"file1"},{"photo_id":"1399609573","filename":"file0"},{"photo_id":"1399609580","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609584":["hashtag1","hashtag2"]},{"1399609578":["hashtag1","hashtag2"]},{"1399609580":["hashtag1","hashtag2"]},{"1399609573":["hashtag1","hashtag2"]},{"1399609582":["hashtag1","hashtag2"]},{"1399609576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609584, 1399609578, 1399609580, 1399609573, 1399609582, 1399609576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.277390003204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:27:02.671962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/25/image_16122025_08_25_25_9793.jpg', '/home/pi/Desktop/images/16122025/08/25/image_16122025_08_25_55_9728.jpg', '/home/pi/Desktop/images/16122025/08/25/image_16122025_08_26_05_9760.jpg', '/home/pi/Desktop/images/16122025/08/26/image_16122025_08_26_15_10627.jpg', '/home/pi/Desktop/images/16122025/08/26/image_16122025_08_26_44_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/25/image_16122025_08_25_25_9793.jpg
/home/pi/Desktop/images/16122025/08/25/image_16122025_08_25_55_9728.jpg
/home/pi/Desktop/images/16122025/08/25/image_16122025_08_26_05_9760.jpg
/home/pi/Desktop/images/16122025/08/26/image_16122025_08_26_15_10627.jpg
/home/pi/Desktop/images/16122025/08/26/image_16122025_08_26_44_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609630","1399609624","1399609626","1399609622","1399609628"],"photo_ids_order":["1399609622","1399609624","1399609626","1399609628","1399609630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/769b969419080a9c505617146fc20540.jpg","text":"TemporaryFile(/tmp/multipartBody3380873114941086494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870083403,"filename":"image_16122025_08_26_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc1505e3d001a0649ee4b4f08a72aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody1902819849919374744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870083403,"filename":"image_16122025_08_25_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cbb72936d342dd7c737b9b2a8c94c12.jpg","text":"TemporaryFile(/tmp/multipartBody6261657055373885484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870083403,"filename":"image_16122025_08_26_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/16/650980db6925d632eb96c0482a1b7cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7975500187161640440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870083403,"filename":"image_16122025_08_25_25_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b732292973c62a57258353aad15ba9a.jpg","text":"TemporaryFile(/tmp/multipartBody2403682751065566354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870083403,"filename":"image_16122025_08_26_15_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609626","file1":"1399609624","file0":"1399609622","file4":"1399609630","file3":"1399609628"},"map_files_photo_id_array":[{"photo_id":"1399609626","filename":"file2"},{"photo_id":"1399609630","filename":"file4"},{"photo_id":"1399609624","filename":"file1"},{"photo_id":"1399609622","filename":"file0"},{"photo_id":"1399609628","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609630":["hashtag1","hashtag2"]},{"1399609624":["hashtag1","hashtag2"]},{"1399609626":["hashtag1","hashtag2"]},{"1399609622":["hashtag1","hashtag2"]},{"1399609628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609630, 1399609624, 1399609626, 1399609622, 1399609628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.81870746612549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:27:42.032049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_18_10212.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_20_1638.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_27_7475.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_29_1636.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_30_1588.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_32_1756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_18_10212.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_20_1638.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_27_7475.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_29_1636.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_30_1588.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_32_1756.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6013352870941162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:28:02.654880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/26/image_16122025_08_26_55_10750.jpg', '/home/pi/Desktop/images/16122025/08/26/image_16122025_08_27_05_9738.jpg', '/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_15_9645.jpg', '/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_25_10705.jpg', '/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_35_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/26/image_16122025_08_26_55_10750.jpg
/home/pi/Desktop/images/16122025/08/26/image_16122025_08_27_05_9738.jpg
/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_15_9645.jpg
/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_25_10705.jpg
/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_35_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":["1399609656","1399609658","1399609652","1399609660","1399609654"],"photo_ids_order":["1399609652","1399609654","1399609656","1399609658","1399609660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80968a3623f0697aec02fc49813262a2.jpg","text":"TemporaryFile(/tmp/multipartBody5125970637582516481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870143339,"filename":"image_16122025_08_27_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/16/0c70c79496265177776a654414e3f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody189287987454586666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870143339,"filename":"image_16122025_08_27_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bbd7c77599d9a9e122dddfe4f3931a6.jpg","text":"TemporaryFile(/tmp/multipartBody3465758950771026906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870143339,"filename":"image_16122025_08_26_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88135cc517fd6e7cc6d8f33b8d3f9780.jpg","text":"TemporaryFile(/tmp/multipartBody8825772732758937673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870143339,"filename":"image_16122025_08_27_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c49932d64bfeb943ab7bf3aca849f38.jpg","text":"TemporaryFile(/tmp/multipartBody2338319817803096620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870143339,"filename":"image_16122025_08_27_05_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609656","file1":"1399609654","file0":"1399609652","file4":"1399609660","file3":"1399609658"},"map_files_photo_id_array":[{"photo_id":"1399609656","filename":"file2"},{"photo_id":"1399609660","filename":"file4"},{"photo_id":"1399609654","filename":"file1"},{"photo_id":"1399609652","filename":"file0"},{"photo_id":"1399609658","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609656":["hashtag1","hashtag2"]},{"1399609658":["hashtag1","hashtag2"]},{"1399609652":["hashtag1","hashtag2"]},{"1399609660":["hashtag1","hashtag2"]},{"1399609654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609656, 1399609658, 1399609652, 1399609660, 1399609654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.31070566177368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:28:42.427637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_18_10212.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_20_1638.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_27_7475.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_29_1636.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_30_1588.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_32_1756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_18_10212.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_20_1638.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_27_7475.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_29_1636.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_30_1588.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_32_1756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609671","1399609673","1399609682","1399609684","1399609678","1399609675"],"photo_ids_order":["1399609671","1399609673","1399609675","1399609678","1399609682","1399609684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edba91b808aff23ad2d6eae1136f3422.jpg","text":"TemporaryFile(/tmp/multipartBody8657853549850394136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870183056,"filename":"image_06112025_15_29_18_10212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d597ccac0112d7ac0261deae69fd44ac.jpg","text":"TemporaryFile(/tmp/multipartBody4908952652798644854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870183056,"filename":"image_06112025_15_29_20_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7f0d63905c133053e76a62bcfa3d2a2.jpg","text":"TemporaryFile(/tmp/multipartBody9215493385321681172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870183056,"filename":"image_06112025_15_29_30_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/16/e12183c39889307d2fc49334b7b9bfb8.jpg","text":"TemporaryFile(/tmp/multipartBody2320958336101646521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870183056,"filename":"image_06112025_15_29_32_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/16/55c0e027884d7b19e9d6fededb7d6b5c.jpg","text":"TemporaryFile(/tmp/multipartBody1230675223062562653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870183056,"filename":"image_06112025_15_29_29_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/16/15b6d042602f3901ca7e9783cbe2d4f6.jpg","text":"TemporaryFile(/tmp/multipartBody6014011688050826003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870183056,"filename":"image_06112025_15_29_27_7475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609675","file1":"1399609673","file0":"1399609671","file4":"1399609682","file5":"1399609684","file3":"1399609678"},"map_files_photo_id_array":[{"photo_id":"1399609684","filename":"file5"},{"photo_id":"1399609675","filename":"file2"},{"photo_id":"1399609682","filename":"file4"},{"photo_id":"1399609673","filename":"file1"},{"photo_id":"1399609671","filename":"file0"},{"photo_id":"1399609678","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609671":["hashtag1","hashtag2"]},{"1399609673":["hashtag1","hashtag2"]},{"1399609682":["hashtag1","hashtag2"]},{"1399609684":["hashtag1","hashtag2"]},{"1399609678":["hashtag1","hashtag2"]},{"1399609675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609671, 1399609673, 1399609682, 1399609684, 1399609678, 1399609675)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.2241907119751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:29:32.606002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:29:44.828166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_33_1503.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_35_1624.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_37_1807.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_39_1633.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_40_1659.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_45_4512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_33_1503.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_35_1624.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_37_1807.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_39_1633.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_40_1659.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_45_4512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609738","1399609731","1399609734","1399609728","1399609736","1399609732"],"photo_ids_order":["1399609728","1399609731","1399609732","1399609734","1399609736","1399609738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/775a94c951d73fc1d5642b153f4172b4.jpg","text":"TemporaryFile(/tmp/multipartBody4374927280026546290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870255835,"filename":"image_06112025_15_29_45_4512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/666d12f92899ff0946d7a73ba2e8404b.jpg","text":"TemporaryFile(/tmp/multipartBody4853106010639200278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870255835,"filename":"image_06112025_15_29_35_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/16/c7187657a6ae1626fac7b0b3946c23f3.jpg","text":"TemporaryFile(/tmp/multipartBody4830715304892933330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870255835,"filename":"image_06112025_15_29_39_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/16/b8a21dc094cfe4770ab65566387e3ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5717965399192337165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870255835,"filename":"image_06112025_15_29_33_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/16/3a7542ee99326ec3c4ec6313e65b0f11.jpg","text":"TemporaryFile(/tmp/multipartBody8378092065707426053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870255835,"filename":"image_06112025_15_29_40_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/16/0562895d2dc4bd9481158b3a596bb65d.jpg","text":"TemporaryFile(/tmp/multipartBody5341107199151535928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870255835,"filename":"image_06112025_15_29_37_1807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609732","file1":"1399609731","file0":"1399609728","file4":"1399609736","file5":"1399609738","file3":"1399609734"},"map_files_photo_id_array":[{"photo_id":"1399609738","filename":"file5"},{"photo_id":"1399609732","filename":"file2"},{"photo_id":"1399609736","filename":"file4"},{"photo_id":"1399609731","filename":"file1"},{"photo_id":"1399609728","filename":"file0"},{"photo_id":"1399609734","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609738":["hashtag1","hashtag2"]},{"1399609731":["hashtag1","hashtag2"]},{"1399609734":["hashtag1","hashtag2"]},{"1399609728":["hashtag1","hashtag2"]},{"1399609736":["hashtag1","hashtag2"]},{"1399609732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609738, 1399609731, 1399609734, 1399609728, 1399609736, 1399609732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.37878346443176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:30:47.271591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_46_1597.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_48_1732.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_50_1580.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_51_1672.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_53_1745.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_55_1538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_46_1597.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_48_1732.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_50_1580.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_51_1672.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_53_1745.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_55_1538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609773","1399609761","1399609758","1399609767","1399609771","1399609759"],"photo_ids_order":["1399609758","1399609759","1399609761","1399609767","1399609771","1399609773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/acf585b78e7853449b2fde55334e7c98.jpg","text":"TemporaryFile(/tmp/multipartBody7135663524114077043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870308019,"filename":"image_06112025_15_29_55_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/648a9fc2acd0623d58e9b8fc54870aac.jpg","text":"TemporaryFile(/tmp/multipartBody7911595738834472672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870308019,"filename":"image_06112025_15_29_50_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1174348a1cd75a1f7ad2d6ea5f93703.jpg","text":"TemporaryFile(/tmp/multipartBody1288899103809439603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870308019,"filename":"image_06112025_15_29_46_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/16/a122a6d7154f41594ac9ab932b872f88.jpg","text":"TemporaryFile(/tmp/multipartBody5787715549822659449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870308019,"filename":"image_06112025_15_29_51_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/16/109c27393117d4782bc6f11b4ebb34dd.jpg","text":"TemporaryFile(/tmp/multipartBody552773848629878549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870308019,"filename":"image_06112025_15_29_53_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/16/1d4eda7f51989e3bcdb559982f72c08d.jpg","text":"TemporaryFile(/tmp/multipartBody2658361041902764851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870308019,"filename":"image_06112025_15_29_48_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609761","file1":"1399609759","file0":"1399609758","file4":"1399609771","file5":"1399609773","file3":"1399609767"},"map_files_photo_id_array":[{"photo_id":"1399609773","filename":"file5"},{"photo_id":"1399609761","filename":"file2"},{"photo_id":"1399609771","filename":"file4"},{"photo_id":"1399609759","filename":"file1"},{"photo_id":"1399609758","filename":"file0"},{"photo_id":"1399609767","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609773":["hashtag1","hashtag2"]},{"1399609761":["hashtag1","hashtag2"]},{"1399609758":["hashtag1","hashtag2"]},{"1399609767":["hashtag1","hashtag2"]},{"1399609771":["hashtag1","hashtag2"]},{"1399609759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609773, 1399609761, 1399609758, 1399609767, 1399609771, 1399609759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.081615924835205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:31:33.839288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:31:43.791393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_56_1660.jpg', '/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_59_2751.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_07_3011.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_11_3755.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_14_2705.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_17_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_56_1660.jpg
/home/pi/Desktop/images/06112025/15/29/image_06112025_15_29_59_2751.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_07_3011.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_11_3755.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_14_2705.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_17_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609791","1399609788","1399609785","1399609793","1399609783","1399609792"],"photo_ids_order":["1399609783","1399609785","1399609788","1399609791","1399609792","1399609793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ae6157968f503c386b1a1b8d47b78de.jpg","text":"TemporaryFile(/tmp/multipartBody6410312923768308533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870364493,"filename":"image_06112025_15_30_11_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/16/ddaacf9e63df5ceb81c24e8ff854794b.jpg","text":"TemporaryFile(/tmp/multipartBody9096641311768125141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870364493,"filename":"image_06112025_15_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92b943f349b009146577a821a5d53da1.jpg","text":"TemporaryFile(/tmp/multipartBody5179323000033522823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870364493,"filename":"image_06112025_15_29_59_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/16/ce4ce24d7901f530ff7b18f126f913e2.jpg","text":"TemporaryFile(/tmp/multipartBody2753683273210792584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870364493,"filename":"image_06112025_15_30_17_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/16/48b07b3a390c5a7383aa26ce48295b96.jpg","text":"TemporaryFile(/tmp/multipartBody8006087401482465679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870364493,"filename":"image_06112025_15_29_56_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/16/348b93d969d0ec0cfc48eea38861c1a8.jpg","text":"TemporaryFile(/tmp/multipartBody8799336818096551652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870364493,"filename":"image_06112025_15_30_14_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609788","file1":"1399609785","file0":"1399609783","file4":"1399609792","file5":"1399609793","file3":"1399609791"},"map_files_photo_id_array":[{"photo_id":"1399609793","filename":"file5"},{"photo_id":"1399609788","filename":"file2"},{"photo_id":"1399609792","filename":"file4"},{"photo_id":"1399609785","filename":"file1"},{"photo_id":"1399609783","filename":"file0"},{"photo_id":"1399609791","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609791":["hashtag1","hashtag2"]},{"1399609788":["hashtag1","hashtag2"]},{"1399609785":["hashtag1","hashtag2"]},{"1399609793":["hashtag1","hashtag2"]},{"1399609783":["hashtag1","hashtag2"]},{"1399609792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609791, 1399609788, 1399609785, 1399609793, 1399609783, 1399609792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74493455886841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:32:22.092540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_55_10719.jpg', '/home/pi/Desktop/images/16122025/08/27/image_16122025_08_28_05_9677.jpg', '/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_15_9630.jpg', '/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_25_10675.jpg', '/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_35_9805.jpg', '/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_45_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/27/image_16122025_08_27_55_10719.jpg
/home/pi/Desktop/images/16122025/08/27/image_16122025_08_28_05_9677.jpg
/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_15_9630.jpg
/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_25_10675.jpg
/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_35_9805.jpg
/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_45_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609801","1399609803","1399609817","1399609814","1399609808","1399609798"],"photo_ids_order":["1399609798","1399609801","1399609803","1399609808","1399609814","1399609817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a84673a7575b1903aec1e5983f7b6fbe.jpg","text":"TemporaryFile(/tmp/multipartBody4025699775714589752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870402749,"filename":"image_16122025_08_28_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85492a2ab21f8d13405cbd7e8eb43c4b.jpg","text":"TemporaryFile(/tmp/multipartBody468961962383121835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870402749,"filename":"image_16122025_08_28_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20bd11e1177cadc655129ff07e1d8b99.jpg","text":"TemporaryFile(/tmp/multipartBody2447605198839598164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870402749,"filename":"image_16122025_08_28_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/16/424b6c89a0cdc8f191ada5f7e6f150f3.jpg","text":"TemporaryFile(/tmp/multipartBody6619366310242967204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870402749,"filename":"image_16122025_08_28_35_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/16/1d3b4aa5d2ac0e01ac5717141b454d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5768917126842867156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870402749,"filename":"image_16122025_08_28_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/503fc37e9f560b5def90caa478132370.jpg","text":"TemporaryFile(/tmp/multipartBody6298969056218963677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870402749,"filename":"image_16122025_08_27_55_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609803","file1":"1399609801","file0":"1399609798","file4":"1399609814","file5":"1399609817","file3":"1399609808"},"map_files_photo_id_array":[{"photo_id":"1399609817","filename":"file5"},{"photo_id":"1399609803","filename":"file2"},{"photo_id":"1399609814","filename":"file4"},{"photo_id":"1399609801","filename":"file1"},{"photo_id":"1399609798","filename":"file0"},{"photo_id":"1399609808","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609801":["hashtag1","hashtag2"]},{"1399609803":["hashtag1","hashtag2"]},{"1399609817":["hashtag1","hashtag2"]},{"1399609814":["hashtag1","hashtag2"]},{"1399609808":["hashtag1","hashtag2"]},{"1399609798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609801, 1399609803, 1399609817, 1399609814, 1399609808, 1399609798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28467845916748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:33:02.811783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_55_10684.jpg', '/home/pi/Desktop/images/16122025/08/28/image_16122025_08_29_05_9655.jpg', '/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_15_9589.jpg', '/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_25_10190.jpg', '/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_35_9750.jpg', '/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_45_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/28/image_16122025_08_28_55_10684.jpg
/home/pi/Desktop/images/16122025/08/28/image_16122025_08_29_05_9655.jpg
/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_15_9589.jpg
/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_25_10190.jpg
/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_35_9750.jpg
/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_45_10563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609840","1399609834","1399609837","1399609833","1399609835","1399609832"],"photo_ids_order":["1399609832","1399609833","1399609834","1399609835","1399609837","1399609840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c88fbfa3f2d89614532f62ded0befdf.jpg","text":"TemporaryFile(/tmp/multipartBody6593588835540927153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870443529,"filename":"image_16122025_08_29_45_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a64b002323b34681a42513abf92ef732.jpg","text":"TemporaryFile(/tmp/multipartBody6914644044431554829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870443529,"filename":"image_16122025_08_29_15_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2345422ae953156a09f1cd4390e65ad1.jpg","text":"TemporaryFile(/tmp/multipartBody6824614371786077999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870443529,"filename":"image_16122025_08_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/16/d5f11bb2324f9ba4bcd03a5a62dd5bac.jpg","text":"TemporaryFile(/tmp/multipartBody503019529700606283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870443529,"filename":"image_16122025_08_29_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4db46e55bb654f4efd9711cfd9006554.jpg","text":"TemporaryFile(/tmp/multipartBody3467921733985750931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870443529,"filename":"image_16122025_08_29_25_10190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b65222eb3ef155f39940a58f80ea7228.jpg","text":"TemporaryFile(/tmp/multipartBody9054318990485305115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870443529,"filename":"image_16122025_08_28_55_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609834","file1":"1399609833","file0":"1399609832","file4":"1399609837","file5":"1399609840","file3":"1399609835"},"map_files_photo_id_array":[{"photo_id":"1399609840","filename":"file5"},{"photo_id":"1399609834","filename":"file2"},{"photo_id":"1399609837","filename":"file4"},{"photo_id":"1399609833","filename":"file1"},{"photo_id":"1399609832","filename":"file0"},{"photo_id":"1399609835","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609840":["hashtag1","hashtag2"]},{"1399609834":["hashtag1","hashtag2"]},{"1399609837":["hashtag1","hashtag2"]},{"1399609833":["hashtag1","hashtag2"]},{"1399609835":["hashtag1","hashtag2"]},{"1399609832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609840, 1399609834, 1399609837, 1399609833, 1399609835, 1399609832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94310474395752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:33:42.347410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_20_3624.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_23_2613.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_25_2571.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_29_3632.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_32_2672.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_38_6779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_20_3624.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_23_2613.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_25_2571.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_29_3632.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_32_2672.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_38_6779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609849","1399609851","1399609845","1399609848","1399609850","1399609852"],"photo_ids_order":["1399609845","1399609848","1399609849","1399609850","1399609851","1399609852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b25af4a28b98249181d3caeb52f1238.jpg","text":"TemporaryFile(/tmp/multipartBody852529346806936214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870483056,"filename":"image_06112025_15_30_25_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/16/720a32f49cd48fd48fba42c02fc10254.jpg","text":"TemporaryFile(/tmp/multipartBody3829342472690361340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870483056,"filename":"image_06112025_15_30_32_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/16/05cb4841e60dd8c30c571109df085bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5898410349222637895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870483056,"filename":"image_06112025_15_30_20_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/16/70caff689bf120e843570d353ce8b71d.jpg","text":"TemporaryFile(/tmp/multipartBody1375440414017130858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870483056,"filename":"image_06112025_15_30_23_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/16/e68f8aad3504db3628bc1991376b43d7.jpg","text":"TemporaryFile(/tmp/multipartBody7800167723703426696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870483056,"filename":"image_06112025_15_30_29_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/16/a8a439eafc20b9d02dc380a4d05fff2a.jpg","text":"TemporaryFile(/tmp/multipartBody4155151917733996652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870483056,"filename":"image_06112025_15_30_38_6779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609849","file1":"1399609848","file0":"1399609845","file4":"1399609851","file5":"1399609852","file3":"1399609850"},"map_files_photo_id_array":[{"photo_id":"1399609852","filename":"file5"},{"photo_id":"1399609849","filename":"file2"},{"photo_id":"1399609851","filename":"file4"},{"photo_id":"1399609848","filename":"file1"},{"photo_id":"1399609845","filename":"file0"},{"photo_id":"1399609850","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609849":["hashtag1","hashtag2"]},{"1399609851":["hashtag1","hashtag2"]},{"1399609845":["hashtag1","hashtag2"]},{"1399609848":["hashtag1","hashtag2"]},{"1399609850":["hashtag1","hashtag2"]},{"1399609852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609849, 1399609851, 1399609845, 1399609848, 1399609850, 1399609852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.815468072891235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:34:22.666657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_55_9780.jpg', '/home/pi/Desktop/images/16122025/08/30/image_16122025_08_30_14_10288.jpg', '/home/pi/Desktop/images/16122025/08/30/image_16122025_08_30_44_9418.jpg', '/home/pi/Desktop/images/16122025/08/30/image_16122025_08_30_55_10341.jpg', '/home/pi/Desktop/images/16122025/08/30/image_16122025_08_31_05_9921.jpg', '/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_15_10065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/29/image_16122025_08_29_55_9780.jpg
/home/pi/Desktop/images/16122025/08/30/image_16122025_08_30_14_10288.jpg
/home/pi/Desktop/images/16122025/08/30/image_16122025_08_30_44_9418.jpg
/home/pi/Desktop/images/16122025/08/30/image_16122025_08_30_55_10341.jpg
/home/pi/Desktop/images/16122025/08/30/image_16122025_08_31_05_9921.jpg
/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_15_10065.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609872","1399609875","1399609869","1399609865","1399609859","1399609867"],"photo_ids_order":["1399609859","1399609865","1399609867","1399609869","1399609872","1399609875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/063ed9eb7207744c6ceb86f1886857c6.jpg","text":"TemporaryFile(/tmp/multipartBody5267337622957212433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870523358,"filename":"image_16122025_08_31_05_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/16/12d98139447fddcdc4f6fffa8a261dad.jpg","text":"TemporaryFile(/tmp/multipartBody8810229738234482979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870523358,"filename":"image_16122025_08_31_15_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/16/23183122f9611988dfb80e21ace1f37b.jpg","text":"TemporaryFile(/tmp/multipartBody4663364740632616996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870523358,"filename":"image_16122025_08_30_55_10341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a23dd3baf6744883008ecfff53d15b08.jpg","text":"TemporaryFile(/tmp/multipartBody6360579627082990798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870523358,"filename":"image_16122025_08_30_14_10288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7c2d036bf52ff5fc9627d3f430320ab.jpg","text":"TemporaryFile(/tmp/multipartBody8420926050707237206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870523358,"filename":"image_16122025_08_29_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/16/0561b8a35a32d200db0c7af57db29530.jpg","text":"TemporaryFile(/tmp/multipartBody5104540970202741415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870523358,"filename":"image_16122025_08_30_44_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609867","file1":"1399609865","file0":"1399609859","file4":"1399609872","file5":"1399609875","file3":"1399609869"},"map_files_photo_id_array":[{"photo_id":"1399609875","filename":"file5"},{"photo_id":"1399609867","filename":"file2"},{"photo_id":"1399609872","filename":"file4"},{"photo_id":"1399609865","filename":"file1"},{"photo_id":"1399609859","filename":"file0"},{"photo_id":"1399609869","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609872":["hashtag1","hashtag2"]},{"1399609875":["hashtag1","hashtag2"]},{"1399609869":["hashtag1","hashtag2"]},{"1399609865":["hashtag1","hashtag2"]},{"1399609859":["hashtag1","hashtag2"]},{"1399609867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609872, 1399609875, 1399609869, 1399609865, 1399609859, 1399609867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29301142692566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:35:11.837783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:35:21.860977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_24_9647.jpg', '/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_35_10710.jpg', '/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_45_9713.jpg', '/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_54_9496.jpg', '/home/pi/Desktop/images/16122025/08/31/image_16122025_08_32_05_10638.jpg', '/home/pi/Desktop/images/16122025/08/32/image_16122025_08_32_15_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_24_9647.jpg
/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_35_10710.jpg
/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_45_9713.jpg
/home/pi/Desktop/images/16122025/08/31/image_16122025_08_31_54_9496.jpg
/home/pi/Desktop/images/16122025/08/31/image_16122025_08_32_05_10638.jpg
/home/pi/Desktop/images/16122025/08/32/image_16122025_08_32_15_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609887","1399609892","1399609880","1399609894","1399609882","1399609885"],"photo_ids_order":["1399609880","1399609882","1399609885","1399609887","1399609892","1399609894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d862a0f09deffbe10cd922ce9968c85.jpg","text":"TemporaryFile(/tmp/multipartBody3413718281619860550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870582517,"filename":"image_16122025_08_31_54_9496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30c9a894a211ca4aa119146ba01c5096.jpg","text":"TemporaryFile(/tmp/multipartBody2478565038056050426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870582517,"filename":"image_16122025_08_32_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/16/00a16753ea0c934e72df74f37a2dc806.jpg","text":"TemporaryFile(/tmp/multipartBody3309174791517776670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870582517,"filename":"image_16122025_08_31_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd3b1a011a042195cf42d573fade199a.jpg","text":"TemporaryFile(/tmp/multipartBody4336345506069486215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870582517,"filename":"image_16122025_08_32_15_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/609e9695b7032540df620f179945c574.jpg","text":"TemporaryFile(/tmp/multipartBody6730969985511560522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870582517,"filename":"image_16122025_08_31_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c6816e73e6de98a3a7825a84fcb3f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8208618060963658288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870582517,"filename":"image_16122025_08_31_45_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609885","file1":"1399609882","file0":"1399609880","file4":"1399609892","file5":"1399609894","file3":"1399609887"},"map_files_photo_id_array":[{"photo_id":"1399609894","filename":"file5"},{"photo_id":"1399609885","filename":"file2"},{"photo_id":"1399609892","filename":"file4"},{"photo_id":"1399609882","filename":"file1"},{"photo_id":"1399609880","filename":"file0"},{"photo_id":"1399609887","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609887":["hashtag1","hashtag2"]},{"1399609892":["hashtag1","hashtag2"]},{"1399609880":["hashtag1","hashtag2"]},{"1399609894":["hashtag1","hashtag2"]},{"1399609882":["hashtag1","hashtag2"]},{"1399609885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609887, 1399609892, 1399609880, 1399609894, 1399609882, 1399609885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48480176925659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:36:02.550368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/32/image_16122025_08_32_24_9600.jpg', '/home/pi/Desktop/images/16122025/08/32/image_16122025_08_33_04_9628.jpg', '/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_25_9767.jpg', '/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_34_9682.jpg', '/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_45_10643.jpg', '/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_55_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/32/image_16122025_08_32_24_9600.jpg
/home/pi/Desktop/images/16122025/08/32/image_16122025_08_33_04_9628.jpg
/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_25_9767.jpg
/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_34_9682.jpg
/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_45_10643.jpg
/home/pi/Desktop/images/16122025/08/33/image_16122025_08_33_55_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609909","1399609900","1399609903","1399609896","1399609902","1399609897"],"photo_ids_order":["1399609896","1399609897","1399609900","1399609902","1399609903","1399609909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/027fd1011cb99fa8ed7f26d0d5105e93.jpg","text":"TemporaryFile(/tmp/multipartBody918833426254599184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870623230,"filename":"image_16122025_08_33_55_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/476d8b3329d4b76ffec478485cc030ba.jpg","text":"TemporaryFile(/tmp/multipartBody5938249381157903440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870623230,"filename":"image_16122025_08_33_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/16/480e43acf678d40b961a677fa4477c73.jpg","text":"TemporaryFile(/tmp/multipartBody7402038298507769316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870623230,"filename":"image_16122025_08_33_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25a4cd91b32bbc5466a1d6f80d84ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody4669631810485461114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870623230,"filename":"image_16122025_08_32_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c776d2503f93fb55412ac92ed7540ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8651626316816051514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870623230,"filename":"image_16122025_08_33_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/16/8118500b21514a77f5ce324fb54f1ebf.jpg","text":"TemporaryFile(/tmp/multipartBody75136168207269019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870623230,"filename":"image_16122025_08_33_04_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609900","file1":"1399609897","file0":"1399609896","file4":"1399609903","file5":"1399609909","file3":"1399609902"},"map_files_photo_id_array":[{"photo_id":"1399609909","filename":"file5"},{"photo_id":"1399609900","filename":"file2"},{"photo_id":"1399609903","filename":"file4"},{"photo_id":"1399609897","filename":"file1"},{"photo_id":"1399609896","filename":"file0"},{"photo_id":"1399609902","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399609909":["hashtag1","hashtag2"]},{"1399609900":["hashtag1","hashtag2"]},{"1399609903":["hashtag1","hashtag2"]},{"1399609896":["hashtag1","hashtag2"]},{"1399609902":["hashtag1","hashtag2"]},{"1399609897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399609909, 1399609900, 1399609903, 1399609896, 1399609902, 1399609897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98809885978699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:36:42.129461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_40_1665.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_42_1582.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_43_1594.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_47_3611.jpg', '/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_52_5260.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_01_8861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_40_1665.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_42_1582.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_43_1594.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_47_3611.jpg
/home/pi/Desktop/images/06112025/15/30/image_06112025_15_30_52_5260.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_01_8861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399609921","1399609915","1399609923","1399609920","1399609928","1399609925"],"photo_ids_order":["1399609915","1399609920","1399609921","1399609923","1399609925","1399609928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/86ce84096dd25281659789300aee9be8.jpg","text":"TemporaryFile(/tmp/multipartBody8567177537582162291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870662942,"filename":"image_06112025_15_30_43_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76e811a10cc5433b0a1856d373f5b728.jpg","text":"TemporaryFile(/tmp/multipartBody7586343138492414539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870662942,"filename":"image_06112025_15_30_40_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/16/139ce9a62a476783ae563eb47f3c4b00.jpg","text":"TemporaryFile(/tmp/multipartBody2132167942465401642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870662942,"filename":"image_06112025_15_30_47_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/16/50da7732498ec8b147c8dfdb35ae6ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4078628067655657797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870662942,"filename":"image_06112025_15_30_42_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3ea8a47119e5611fe6b9c5690d9ea4b.jpg","text":"TemporaryFile(/tmp/multipartBody2545438865856606193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870662942,"filename":"image_06112025_15_31_01_8861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/364d64b67aecb0bb62fbff7b092d72ca.jpg","text":"TemporaryFile(/tmp/multipartBody7785715638826701116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870662942,"filename":"image_06112025_15_30_52_5260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399609921","file1":"1399609920","file0":"1399609915","file4":"1399609925","file5":"1399609928","file3":"1399609923"},"map_files_photo_id_array":[{"photo_id":"1399609928","filename":"file5"},{"photo_id":"1399609921","filename":"file2"},{"photo_id":"1399609925","filename":"file4"},{"photo_id":"1399609920","filename":"file1"},{"photo_id":"1399609915","filename":"file0"},{"photo_id":"1399609923","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399609921":["hashtag1","hashtag2"]},{"1399609915":["hashtag1","hashtag2"]},{"1399609923":["hashtag1","hashtag2"]},{"1399609920":["hashtag1","hashtag2"]},{"1399609928":["hashtag1","hashtag2"]},{"1399609925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399609921, 1399609915, 1399609923, 1399609920, 1399609928, 1399609925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.476314544677734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:37:22.515935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/33/image_16122025_08_34_04_9687.jpg', '/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_15_10710.jpg', '/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_25_9596.jpg', '/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_35_10570.jpg', '/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_14_9960.jpg', '/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_25_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/33/image_16122025_08_34_04_9687.jpg
/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_15_10710.jpg
/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_25_9596.jpg
/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_35_10570.jpg
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_14_9960.jpg
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_25_10722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5940639972686768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:37:32.507805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:37:42.327661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_03_1760.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_05_1781.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_06_1695.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_45_38274.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_46_1599.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_48_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_03_1760.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_05_1781.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_06_1695.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_45_38274.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_46_1599.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_48_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610044","1399610043","1399610046","1399610042","1399610036","1399610045"],"photo_ids_order":["1399610036","1399610042","1399610043","1399610044","1399610045","1399610046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ef2e9ffb50d2ec78488247663b0b665.jpg","text":"TemporaryFile(/tmp/multipartBody8051064335949605555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870723124,"filename":"image_06112025_15_31_45_38274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f4ebb90a5384d7721ac48e5c22a24cd.jpg","text":"TemporaryFile(/tmp/multipartBody1267902902313994173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870723124,"filename":"image_06112025_15_31_06_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/16/ad6dad5c2a11a19fd7c7a5239a35705c.jpg","text":"TemporaryFile(/tmp/multipartBody2735373822992670200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870723124,"filename":"image_06112025_15_31_48_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/16/ebe78415532e035eb375e6a2c383ae9c.jpg","text":"TemporaryFile(/tmp/multipartBody3640935880403437492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870723124,"filename":"image_06112025_15_31_05_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/16/e568378cba0a202ddec99ca9d00ed0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6251289189123878562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870723124,"filename":"image_06112025_15_31_03_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f068fc638d4330ceae5b833a75229ed.jpg","text":"TemporaryFile(/tmp/multipartBody2213885065259164690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870723124,"filename":"image_06112025_15_31_46_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610043","file1":"1399610042","file0":"1399610036","file4":"1399610045","file5":"1399610046","file3":"1399610044"},"map_files_photo_id_array":[{"photo_id":"1399610046","filename":"file5"},{"photo_id":"1399610043","filename":"file2"},{"photo_id":"1399610045","filename":"file4"},{"photo_id":"1399610042","filename":"file1"},{"photo_id":"1399610036","filename":"file0"},{"photo_id":"1399610044","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399610044":["hashtag1","hashtag2"]},{"1399610043":["hashtag1","hashtag2"]},{"1399610046":["hashtag1","hashtag2"]},{"1399610042":["hashtag1","hashtag2"]},{"1399610036":["hashtag1","hashtag2"]},{"1399610045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399610044, 1399610043, 1399610046, 1399610042, 1399610036, 1399610045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87507390975952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:38:22.625774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/33/image_16122025_08_34_04_9687.jpg', '/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_15_10710.jpg', '/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_25_9596.jpg', '/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_35_10570.jpg', '/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_14_9960.jpg', '/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_25_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/33/image_16122025_08_34_04_9687.jpg
/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_15_10710.jpg
/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_25_9596.jpg
/home/pi/Desktop/images/16122025/08/34/image_16122025_08_34_35_10570.jpg
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_14_9960.jpg
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_25_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610055","1399610049","1399610064","1399610052","1399610051","1399610057"],"photo_ids_order":["1399610049","1399610051","1399610052","1399610055","1399610057","1399610064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd33f7358702f02268f8efd1427ad5d8.jpg","text":"TemporaryFile(/tmp/multipartBody8971801369858047480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870763277,"filename":"image_16122025_08_34_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd140b988133937042702a1f00a3b324.jpg","text":"TemporaryFile(/tmp/multipartBody4168415181409027115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870763277,"filename":"image_16122025_08_34_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d2ad59aed49bcced198c1dc0291e4927.jpg","text":"TemporaryFile(/tmp/multipartBody1599377111454233891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870763277,"filename":"image_16122025_08_35_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3ae4e63d2b6ed701e44b3baec456692.jpg","text":"TemporaryFile(/tmp/multipartBody6335945710254998561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870763277,"filename":"image_16122025_08_34_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/16/fd21eb5d0f20717c802cbba5f36e65a2.jpg","text":"TemporaryFile(/tmp/multipartBody777190100007681587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870763277,"filename":"image_16122025_08_34_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04464a69cfad7715cece09be4c0da255.jpg","text":"TemporaryFile(/tmp/multipartBody4775895161011693557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870763277,"filename":"image_16122025_08_35_14_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610052","file1":"1399610051","file0":"1399610049","file4":"1399610057","file5":"1399610064","file3":"1399610055"},"map_files_photo_id_array":[{"photo_id":"1399610064","filename":"file5"},{"photo_id":"1399610052","filename":"file2"},{"photo_id":"1399610057","filename":"file4"},{"photo_id":"1399610051","filename":"file1"},{"photo_id":"1399610049","filename":"file0"},{"photo_id":"1399610055","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399610055":["hashtag1","hashtag2"]},{"1399610049":["hashtag1","hashtag2"]},{"1399610064":["hashtag1","hashtag2"]},{"1399610052":["hashtag1","hashtag2"]},{"1399610051":["hashtag1","hashtag2"]},{"1399610057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399610055, 1399610049, 1399610064, 1399610052, 1399610051, 1399610057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.078964948654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:39:02.603467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_35_9900.jpg', '/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_44_9547.jpg', '/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_54_9838.jpg', '/home/pi/Desktop/images/16122025/08/35/image_16122025_08_36_05_10722.jpg', '/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_15_9676.jpg', '/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_25_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_35_9900.jpg
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_44_9547.jpg
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_35_54_9838.jpg
/home/pi/Desktop/images/16122025/08/35/image_16122025_08_36_05_10722.jpg
/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_15_9676.jpg
/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_25_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610185","1399610184","1399610187","1399610202","1399610189","1399610186"],"photo_ids_order":["1399610184","1399610185","1399610186","1399610187","1399610189","1399610202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a1bfd4e06e63e5e52b7f8071562005c.jpg","text":"TemporaryFile(/tmp/multipartBody9158330642574264717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870803436,"filename":"image_16122025_08_35_44_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e54ebd8d938a0f5e6e256a50d2f48e1.jpg","text":"TemporaryFile(/tmp/multipartBody3242280416210769083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870803436,"filename":"image_16122025_08_35_35_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3655234a0142680d9941927e0ae97f45.jpg","text":"TemporaryFile(/tmp/multipartBody2572471461914746265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870803436,"filename":"image_16122025_08_36_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d30811a3150f19ac4311d3bee159630.jpg","text":"TemporaryFile(/tmp/multipartBody5333465249111386694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870803436,"filename":"image_16122025_08_36_25_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14ec2c53de3362d57bba860ed96d0153.jpg","text":"TemporaryFile(/tmp/multipartBody6248886125514661053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870803436,"filename":"image_16122025_08_36_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c9084320fda4bd8dd8a041847503eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2799296879953600615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870803436,"filename":"image_16122025_08_35_54_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610186","file1":"1399610185","file0":"1399610184","file4":"1399610189","file5":"1399610202","file3":"1399610187"},"map_files_photo_id_array":[{"photo_id":"1399610202","filename":"file5"},{"photo_id":"1399610186","filename":"file2"},{"photo_id":"1399610189","filename":"file4"},{"photo_id":"1399610185","filename":"file1"},{"photo_id":"1399610184","filename":"file0"},{"photo_id":"1399610187","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399610185":["hashtag1","hashtag2"]},{"1399610184":["hashtag1","hashtag2"]},{"1399610187":["hashtag1","hashtag2"]},{"1399610202":["hashtag1","hashtag2"]},{"1399610189":["hashtag1","hashtag2"]},{"1399610186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399610185, 1399610184, 1399610187, 1399610202, 1399610189, 1399610186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7560396194458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:39:41.740400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_49_1673.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_51_1607.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_53_1614.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_54_1611.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_56_1640.jpg', '/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_58_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_49_1673.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_51_1607.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_53_1614.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_54_1611.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_56_1640.jpg
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_58_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610219","1399610230","1399610224","1399610220","1399610217","1399610232"],"photo_ids_order":["1399610217","1399610219","1399610220","1399610224","1399610230","1399610232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27c13555c312aa7dca41aeb4eaf403ec.jpg","text":"TemporaryFile(/tmp/multipartBody6786873464908748523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870842496,"filename":"image_06112025_15_31_51_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/16/08f2f019d219ded6a738c822070909e3.jpg","text":"TemporaryFile(/tmp/multipartBody1847168865350028228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870842496,"filename":"image_06112025_15_31_56_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/16/fd3833370fab4d825c3aaa0251e3e1d3.jpg","text":"TemporaryFile(/tmp/multipartBody2415717842079786850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870842496,"filename":"image_06112025_15_31_54_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b25e6679864ab1bc6f40462eca0916eb.jpg","text":"TemporaryFile(/tmp/multipartBody9060204408917219737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870842496,"filename":"image_06112025_15_31_53_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afa51b42ac6c9d575deb2a944af463d1.jpg","text":"TemporaryFile(/tmp/multipartBody555048392544172670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870842496,"filename":"image_06112025_15_31_49_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f886944db2713d1a6806d63c32f5cee.jpg","text":"TemporaryFile(/tmp/multipartBody893494873968201548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870842496,"filename":"image_06112025_15_31_58_1674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610220","file1":"1399610219","file0":"1399610217","file4":"1399610230","file5":"1399610232","file3":"1399610224"},"map_files_photo_id_array":[{"photo_id":"1399610232","filename":"file5"},{"photo_id":"1399610220","filename":"file2"},{"photo_id":"1399610230","filename":"file4"},{"photo_id":"1399610219","filename":"file1"},{"photo_id":"1399610217","filename":"file0"},{"photo_id":"1399610224","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399610219":["hashtag1","hashtag2"]},{"1399610230":["hashtag1","hashtag2"]},{"1399610224":["hashtag1","hashtag2"]},{"1399610220":["hashtag1","hashtag2"]},{"1399610217":["hashtag1","hashtag2"]},{"1399610232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399610219, 1399610230, 1399610224, 1399610220, 1399610217, 1399610232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50277090072632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:40:21.977096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_34_9766.jpg', '/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_55_9649.jpg', '/home/pi/Desktop/images/16122025/08/36/image_16122025_08_37_04_9576.jpg', '/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_15_10733.jpg', '/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_25_9879.jpg', '/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_34_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_34_9766.jpg
/home/pi/Desktop/images/16122025/08/36/image_16122025_08_36_55_9649.jpg
/home/pi/Desktop/images/16122025/08/36/image_16122025_08_37_04_9576.jpg
/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_15_10733.jpg
/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_25_9879.jpg
/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610296","1399610377","1399610259","1399610415","1399610333","1399610234"],"photo_ids_order":["1399610234","1399610259","1399610296","1399610333","1399610377","1399610415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc42de20c2fe04400bdfbd7040fc2765.jpg","text":"TemporaryFile(/tmp/multipartBody1676227450091645008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870882630,"filename":"image_16122025_08_37_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e58b1659be14dd4498b54912c3ee367.jpg","text":"TemporaryFile(/tmp/multipartBody2157727517589070215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870882630,"filename":"image_16122025_08_37_25_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7665243a42821bfa5d2798ba1468398.jpg","text":"TemporaryFile(/tmp/multipartBody1774264981902699722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870882630,"filename":"image_16122025_08_36_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec9491c6f0a9e30f9cdc954f8f6ec55c.jpg","text":"TemporaryFile(/tmp/multipartBody7895072700617019680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870882630,"filename":"image_16122025_08_37_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/16/fae486997ea8d6832ad505f9619a4175.jpg","text":"TemporaryFile(/tmp/multipartBody1330774582168761654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870882630,"filename":"image_16122025_08_37_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f4137fefc5fb0e947147b45238873028.jpg","text":"TemporaryFile(/tmp/multipartBody3383834271418985890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870882630,"filename":"image_16122025_08_36_34_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610296","file1":"1399610259","file0":"1399610234","file4":"1399610377","file5":"1399610415","file3":"1399610333"},"map_files_photo_id_array":[{"photo_id":"1399610415","filename":"file5"},{"photo_id":"1399610296","filename":"file2"},{"photo_id":"1399610377","filename":"file4"},{"photo_id":"1399610259","filename":"file1"},{"photo_id":"1399610234","filename":"file0"},{"photo_id":"1399610333","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399610296":["hashtag1","hashtag2"]},{"1399610377":["hashtag1","hashtag2"]},{"1399610259":["hashtag1","hashtag2"]},{"1399610415":["hashtag1","hashtag2"]},{"1399610333":["hashtag1","hashtag2"]},{"1399610234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399610296, 1399610377, 1399610259, 1399610415, 1399610333, 1399610234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63669395446777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:41:02.909874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_44_9794.jpg', '/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_55_10738.jpg', '/home/pi/Desktop/images/16122025/08/38/image_16122025_08_38_15_9965.jpg', '/home/pi/Desktop/images/16122025/08/38/image_16122025_08_39_04_9796.jpg', '/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_25_9668.jpg', '/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_44_9794.jpg
/home/pi/Desktop/images/16122025/08/37/image_16122025_08_37_55_10738.jpg
/home/pi/Desktop/images/16122025/08/38/image_16122025_08_38_15_9965.jpg
/home/pi/Desktop/images/16122025/08/38/image_16122025_08_39_04_9796.jpg
/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_25_9668.jpg
/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_34_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610446","1399610428","1399610484","1399610492","1399610480","1399610483"],"photo_ids_order":["1399610428","1399610446","1399610480","1399610483","1399610484","1399610492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1128d0719325b24795458ef693150bdb.jpg","text":"TemporaryFile(/tmp/multipartBody438928198423943813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870923652,"filename":"image_16122025_08_37_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/16/b191fe357117ae1bf0e47e170bcc45e2.jpg","text":"TemporaryFile(/tmp/multipartBody7490299753040453039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870923652,"filename":"image_16122025_08_37_44_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/16/8e9c01c93974a7cc7288b3aa4c9c54df.jpg","text":"TemporaryFile(/tmp/multipartBody2191316912374457909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870923652,"filename":"image_16122025_08_39_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/521d75831b6cc7590e889c59c899b0c2.jpg","text":"TemporaryFile(/tmp/multipartBody5966837299880846135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870923652,"filename":"image_16122025_08_39_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/16/78850af0292528802b853433b6790068.jpg","text":"TemporaryFile(/tmp/multipartBody4689255906439278720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870923652,"filename":"image_16122025_08_38_15_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce4c84b9e27911704688729cf6bd9586.jpg","text":"TemporaryFile(/tmp/multipartBody7574888161238400656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870923652,"filename":"image_16122025_08_39_04_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610480","file1":"1399610446","file0":"1399610428","file4":"1399610484","file5":"1399610492","file3":"1399610483"},"map_files_photo_id_array":[{"photo_id":"1399610492","filename":"file5"},{"photo_id":"1399610480","filename":"file2"},{"photo_id":"1399610484","filename":"file4"},{"photo_id":"1399610446","filename":"file1"},{"photo_id":"1399610428","filename":"file0"},{"photo_id":"1399610483","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399610446":["hashtag1","hashtag2"]},{"1399610428":["hashtag1","hashtag2"]},{"1399610484":["hashtag1","hashtag2"]},{"1399610492":["hashtag1","hashtag2"]},{"1399610480":["hashtag1","hashtag2"]},{"1399610483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399610446, 1399610428, 1399610484, 1399610492, 1399610480, 1399610483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39582586288452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:41:42.264395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_59_1531.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_01_1650.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_02_1720.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_04_1569.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_06_1589.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_07_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/31/image_06112025_15_31_59_1531.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_01_1650.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_02_1720.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_04_1569.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_06_1589.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_07_1622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610578","1399610512","1399610579","1399610570","1399610510","1399610534"],"photo_ids_order":["1399610510","1399610512","1399610534","1399610570","1399610578","1399610579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba285780d43b6cc073518a7f5f44694e.jpg","text":"TemporaryFile(/tmp/multipartBody1167034629555296578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870962986,"filename":"image_06112025_15_32_06_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0f00178bdc5575c56e6ed9708c2a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody6125671985767161242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870962986,"filename":"image_06112025_15_32_01_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/16/4c3989f9126166de075e02f0b30f743c.jpg","text":"TemporaryFile(/tmp/multipartBody7985106805484631672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870962986,"filename":"image_06112025_15_32_07_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/16/c9751cca438fda6bc2efbf7d2f6722f0.jpg","text":"TemporaryFile(/tmp/multipartBody4864366987678682883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870962986,"filename":"image_06112025_15_32_04_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9510328a8890dce22b1988320d807339.jpg","text":"TemporaryFile(/tmp/multipartBody4973743844698069651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870962986,"filename":"image_06112025_15_31_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/16/092d8a87c23630639935bf380029f277.jpg","text":"TemporaryFile(/tmp/multipartBody5818050642845590471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765870962986,"filename":"image_06112025_15_32_02_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610534","file1":"1399610512","file0":"1399610510","file4":"1399610578","file5":"1399610579","file3":"1399610570"},"map_files_photo_id_array":[{"photo_id":"1399610579","filename":"file5"},{"photo_id":"1399610534","filename":"file2"},{"photo_id":"1399610578","filename":"file4"},{"photo_id":"1399610512","filename":"file1"},{"photo_id":"1399610510","filename":"file0"},{"photo_id":"1399610570","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399610578":["hashtag1","hashtag2"]},{"1399610512":["hashtag1","hashtag2"]},{"1399610579":["hashtag1","hashtag2"]},{"1399610570":["hashtag1","hashtag2"]},{"1399610510":["hashtag1","hashtag2"]},{"1399610534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399610578, 1399610512, 1399610579, 1399610570, 1399610510, 1399610534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0779287815094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:42:22.579765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_45_10769.jpg', '/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_55_9701.jpg', '/home/pi/Desktop/images/16122025/08/39/image_16122025_08_40_04_9639.jpg', '/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_14_9723.jpg', '/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_25_10621.jpg', '/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_35_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_45_10769.jpg
/home/pi/Desktop/images/16122025/08/39/image_16122025_08_39_55_9701.jpg
/home/pi/Desktop/images/16122025/08/39/image_16122025_08_40_04_9639.jpg
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_14_9723.jpg
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_25_10621.jpg
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_35_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399610599","1399610632","1399610605","1399610583","1399610585","1399610618"],"photo_ids_order":["1399610583","1399610585","1399610599","1399610605","1399610618","1399610632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1eadbd90f332c977b2f8240b5e5311b2.jpg","text":"TemporaryFile(/tmp/multipartBody999052851640289902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871003274,"filename":"image_16122025_08_40_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4b68624be7d8b284f0dddb7132cc507.jpg","text":"TemporaryFile(/tmp/multipartBody5925649258963821565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871003274,"filename":"image_16122025_08_40_35_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/16/a3cc9f46c1b31fc005a07a656ca6d76c.jpg","text":"TemporaryFile(/tmp/multipartBody7940388809035034212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871003274,"filename":"image_16122025_08_40_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/16/aace6caea43e7f2df076185016a6bfef.jpg","text":"TemporaryFile(/tmp/multipartBody3089901247318302668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871003274,"filename":"image_16122025_08_39_45_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e559967e54b37c5b85c169be0d6ae4af.jpg","text":"TemporaryFile(/tmp/multipartBody3737334042356011657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871003274,"filename":"image_16122025_08_39_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58775f9c70cdf344ecae27888996cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody6771109277226213567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871003274,"filename":"image_16122025_08_40_25_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610599","file1":"1399610585","file0":"1399610583","file4":"1399610618","file5":"1399610632","file3":"1399610605"},"map_files_photo_id_array":[{"photo_id":"1399610632","filename":"file5"},{"photo_id":"1399610599","filename":"file2"},{"photo_id":"1399610618","filename":"file4"},{"photo_id":"1399610585","filename":"file1"},{"photo_id":"1399610583","filename":"file0"},{"photo_id":"1399610605","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399610599":["hashtag1","hashtag2"]},{"1399610632":["hashtag1","hashtag2"]},{"1399610605":["hashtag1","hashtag2"]},{"1399610583":["hashtag1","hashtag2"]},{"1399610585":["hashtag1","hashtag2"]},{"1399610618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399610599, 1399610632, 1399610605, 1399610583, 1399610585, 1399610618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.628031730651855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:43:03.442479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_44_9716.jpg', '/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_54_9746.jpg', '/home/pi/Desktop/images/16122025/08/40/image_16122025_08_41_05_10757.jpg', '/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_15_9731.jpg', '/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_35_10673.jpg', '/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_45_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_44_9716.jpg
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_54_9746.jpg
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_41_05_10757.jpg
/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_15_9731.jpg
/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_35_10673.jpg
/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_45_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.6088719367980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:43:12.847234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:43:22.824912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_44_9716.jpg', '/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_54_9746.jpg', '/home/pi/Desktop/images/16122025/08/40/image_16122025_08_41_05_10757.jpg', '/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_15_9731.jpg', '/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_35_10673.jpg', '/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_45_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_44_9716.jpg
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_40_54_9746.jpg
/home/pi/Desktop/images/16122025/08/40/image_16122025_08_41_05_10757.jpg
/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_15_9731.jpg
/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_35_10673.jpg
/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_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":["1399610698","1399610694","1399610730","1399610696","1399610802","1399610765"],"photo_ids_order":["1399610694","1399610696","1399610698","1399610730","1399610765","1399610802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79e678b10c1925737c80a2b69b30ce73.jpg","text":"TemporaryFile(/tmp/multipartBody3402234238214470410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871063481,"filename":"image_16122025_08_41_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/16/27d960d2434d87007295223f0b5e6ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7576689744536868288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871063481,"filename":"image_16122025_08_40_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/16/6257b2efab429c73e932f2670375cd5e.jpg","text":"TemporaryFile(/tmp/multipartBody8860513215739634607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871063481,"filename":"image_16122025_08_41_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/16/18c6ec8b8cb30a97260fd2306c0d0d13.jpg","text":"TemporaryFile(/tmp/multipartBody3728245271048321907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871063481,"filename":"image_16122025_08_40_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/637c43889a1c67fba3dbbff0dcf2a8da.jpg","text":"TemporaryFile(/tmp/multipartBody5584548016326583887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871063481,"filename":"image_16122025_08_41_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/16/2e8c02e2e6bc0a3d36140809644bc38a.jpg","text":"TemporaryFile(/tmp/multipartBody2316954936248714231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871063481,"filename":"image_16122025_08_41_35_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610698","file1":"1399610696","file0":"1399610694","file4":"1399610765","file5":"1399610802","file3":"1399610730"},"map_files_photo_id_array":[{"photo_id":"1399610802","filename":"file5"},{"photo_id":"1399610698","filename":"file2"},{"photo_id":"1399610765","filename":"file4"},{"photo_id":"1399610696","filename":"file1"},{"photo_id":"1399610694","filename":"file0"},{"photo_id":"1399610730","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399610698":["hashtag1","hashtag2"]},{"1399610694":["hashtag1","hashtag2"]},{"1399610730":["hashtag1","hashtag2"]},{"1399610696":["hashtag1","hashtag2"]},{"1399610802":["hashtag1","hashtag2"]},{"1399610765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399610698, 1399610694, 1399610730, 1399610696, 1399610802, 1399610765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.974609375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:44:02.703412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_54_9678.jpg', '/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_15_9678.jpg', '/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_24_9769.jpg', '/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_35_10726.jpg', '/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_45_9755.jpg', '/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_55_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/41/image_16122025_08_41_54_9678.jpg
/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_15_9678.jpg
/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_24_9769.jpg
/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_35_10726.jpg
/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_45_9755.jpg
/home/pi/Desktop/images/16122025/08/42/image_16122025_08_42_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":["1399610941","1399610959","1399610902","1399610961","1399610910","1399610963"],"photo_ids_order":["1399610902","1399610910","1399610941","1399610959","1399610961","1399610963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7da27020d1b32578df94b4601a37640f.jpg","text":"TemporaryFile(/tmp/multipartBody3998097550468274391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871103430,"filename":"image_16122025_08_42_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf9be38bca99ffe5067f764469b66e94.jpg","text":"TemporaryFile(/tmp/multipartBody8366854400734415200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871103430,"filename":"image_16122025_08_42_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/16/02052ceb4e92834cf4b441970cac52d5.jpg","text":"TemporaryFile(/tmp/multipartBody5618184028095770091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871103430,"filename":"image_16122025_08_41_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e686e5ed76ac553a37541d9a7a1969c3.jpg","text":"TemporaryFile(/tmp/multipartBody5057053041701514774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871103430,"filename":"image_16122025_08_42_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d08aec8ff67e16cb39919abf66a32fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4273910618280132517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871103430,"filename":"image_16122025_08_42_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd463355a2f25390bfa44ff9c26431db.jpg","text":"TemporaryFile(/tmp/multipartBody5944855574085681846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871103430,"filename":"image_16122025_08_42_55_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399610941","file1":"1399610910","file0":"1399610902","file4":"1399610961","file5":"1399610963","file3":"1399610959"},"map_files_photo_id_array":[{"photo_id":"1399610963","filename":"file5"},{"photo_id":"1399610941","filename":"file2"},{"photo_id":"1399610961","filename":"file4"},{"photo_id":"1399610910","filename":"file1"},{"photo_id":"1399610902","filename":"file0"},{"photo_id":"1399610959","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399610941":["hashtag1","hashtag2"]},{"1399610959":["hashtag1","hashtag2"]},{"1399610902":["hashtag1","hashtag2"]},{"1399610961":["hashtag1","hashtag2"]},{"1399610910":["hashtag1","hashtag2"]},{"1399610963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399610941, 1399610959, 1399610902, 1399610961, 1399610910, 1399610963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47827076911926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:44:42.015054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_09_1586.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_11_1722.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_12_1663.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_14_1682.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_16_1616.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_17_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_09_1586.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_11_1722.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_12_1663.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_14_1682.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_16_1616.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_17_1655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.606433629989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:45:03.093336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/42/image_16122025_08_43_04_9757.jpg', '/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_15_10756.jpg', '/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_25_9643.jpg', '/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_34_9699.jpg', '/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_45_10711.jpg', '/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/42/image_16122025_08_43_04_9757.jpg
/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_15_10756.jpg
/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_25_9643.jpg
/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_34_9699.jpg
/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_45_10711.jpg
/home/pi/Desktop/images/16122025/08/43/image_16122025_08_43_55_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":["1399611081","1399611078","1399611080","1399611083","1399611079","1399611076"],"photo_ids_order":["1399611076","1399611078","1399611079","1399611080","1399611081","1399611083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79c4db369a1760a0a7516a11334d984b.jpg","text":"TemporaryFile(/tmp/multipartBody7121747087235207959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871163841,"filename":"image_16122025_08_43_45_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/064e75b2f8f15fca6eb21756d0f05d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6441802981816682698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871163841,"filename":"image_16122025_08_43_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6eb8121b75e540c445931170da8579b.jpg","text":"TemporaryFile(/tmp/multipartBody8937071967190033103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871163841,"filename":"image_16122025_08_43_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/16/f33b31bbc70cbb032c4096c9d79a95fd.jpg","text":"TemporaryFile(/tmp/multipartBody1921456874590365140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871163841,"filename":"image_16122025_08_43_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/16/4b4a85a1b5c9fa06bda8a57221a66fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1902503647508817866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871163841,"filename":"image_16122025_08_43_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/16/0a57f4d1b4a692bd36447cac65eec941.jpg","text":"TemporaryFile(/tmp/multipartBody3068137874240170871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871163841,"filename":"image_16122025_08_43_04_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611079","file1":"1399611078","file0":"1399611076","file4":"1399611081","file5":"1399611083","file3":"1399611080"},"map_files_photo_id_array":[{"photo_id":"1399611083","filename":"file5"},{"photo_id":"1399611079","filename":"file2"},{"photo_id":"1399611081","filename":"file4"},{"photo_id":"1399611078","filename":"file1"},{"photo_id":"1399611076","filename":"file0"},{"photo_id":"1399611080","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611081":["hashtag1","hashtag2"]},{"1399611078":["hashtag1","hashtag2"]},{"1399611080":["hashtag1","hashtag2"]},{"1399611083":["hashtag1","hashtag2"]},{"1399611079":["hashtag1","hashtag2"]},{"1399611076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611081, 1399611078, 1399611080, 1399611083, 1399611079, 1399611076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38671565055847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:45:42.231814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_09_1586.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_11_1722.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_12_1663.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_14_1682.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_16_1616.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_17_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_09_1586.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_11_1722.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_12_1663.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_14_1682.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_16_1616.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_17_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611136","1399611177","1399611090","1399611102","1399611091","1399611088"],"photo_ids_order":["1399611088","1399611090","1399611091","1399611102","1399611136","1399611177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6fa37b8fc1aa7ebd6bb413f0c58ea40b.jpg","text":"TemporaryFile(/tmp/multipartBody1513001540737885106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871202827,"filename":"image_06112025_15_32_16_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/16/2c6b90f80dd056089887335920904ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2365788032047826627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871202827,"filename":"image_06112025_15_32_17_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/16/6d4a2b50701e35b5f0007871f52431b2.jpg","text":"TemporaryFile(/tmp/multipartBody5908690221681942728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871202827,"filename":"image_06112025_15_32_11_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5d243f294e7e49d4890c087fbcc59be.jpg","text":"TemporaryFile(/tmp/multipartBody6988842969646413401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871202827,"filename":"image_06112025_15_32_14_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/16/62f0b7516b28d7171f1e032ca097d26f.jpg","text":"TemporaryFile(/tmp/multipartBody1297899508425358416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871202827,"filename":"image_06112025_15_32_12_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/16/88d76e64a4caa9bb744768191591e15f.jpg","text":"TemporaryFile(/tmp/multipartBody3770688096059216004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871202827,"filename":"image_06112025_15_32_09_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611091","file1":"1399611090","file0":"1399611088","file4":"1399611136","file5":"1399611177","file3":"1399611102"},"map_files_photo_id_array":[{"photo_id":"1399611177","filename":"file5"},{"photo_id":"1399611091","filename":"file2"},{"photo_id":"1399611136","filename":"file4"},{"photo_id":"1399611090","filename":"file1"},{"photo_id":"1399611088","filename":"file0"},{"photo_id":"1399611102","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399611136":["hashtag1","hashtag2"]},{"1399611177":["hashtag1","hashtag2"]},{"1399611090":["hashtag1","hashtag2"]},{"1399611102":["hashtag1","hashtag2"]},{"1399611091":["hashtag1","hashtag2"]},{"1399611088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399611136, 1399611177, 1399611090, 1399611102, 1399611091, 1399611088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55587887763977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:46:22.520074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/43/image_16122025_08_44_05_9899.jpg', '/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_15_9840.jpg', '/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_24_9573.jpg', '/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_35_10805.jpg', '/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_45_9701.jpg', '/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_55_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/43/image_16122025_08_44_05_9899.jpg
/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_15_9840.jpg
/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_24_9573.jpg
/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_35_10805.jpg
/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_45_9701.jpg
/home/pi/Desktop/images/16122025/08/44/image_16122025_08_44_55_9956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611361","1399611319","1399611354","1399611371","1399611356","1399611350"],"photo_ids_order":["1399611319","1399611350","1399611354","1399611356","1399611361","1399611371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2c1a49c716fa9073c1e27a8934ec0e5.jpg","text":"TemporaryFile(/tmp/multipartBody6055842819628762950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871243211,"filename":"image_16122025_08_44_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dac670068e5ad66917b644f7dd902dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4966543185220060315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871243211,"filename":"image_16122025_08_44_05_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91d7da59fc39e46e0c43e499d6da5746.jpg","text":"TemporaryFile(/tmp/multipartBody1657709906496583622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871243211,"filename":"image_16122025_08_44_24_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8934acbab673c4faf523d6ca320a82b.jpg","text":"TemporaryFile(/tmp/multipartBody8308612025476720072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871243211,"filename":"image_16122025_08_44_55_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/16/514bcea12bce71ad2af3082b5dee542d.jpg","text":"TemporaryFile(/tmp/multipartBody5613885079457065133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871243211,"filename":"image_16122025_08_44_35_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/16/e3aa741a4c3bb965071daad40fa45b54.jpg","text":"TemporaryFile(/tmp/multipartBody7997545772775759830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871243211,"filename":"image_16122025_08_44_15_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611354","file1":"1399611350","file0":"1399611319","file4":"1399611361","file5":"1399611371","file3":"1399611356"},"map_files_photo_id_array":[{"photo_id":"1399611371","filename":"file5"},{"photo_id":"1399611354","filename":"file2"},{"photo_id":"1399611361","filename":"file4"},{"photo_id":"1399611350","filename":"file1"},{"photo_id":"1399611319","filename":"file0"},{"photo_id":"1399611356","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611361":["hashtag1","hashtag2"]},{"1399611319":["hashtag1","hashtag2"]},{"1399611354":["hashtag1","hashtag2"]},{"1399611371":["hashtag1","hashtag2"]},{"1399611356":["hashtag1","hashtag2"]},{"1399611350":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611361, 1399611319, 1399611354, 1399611371, 1399611356, 1399611350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2756142616272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:47:03.406655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/44/image_16122025_08_45_04_9672.jpg', '/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_15_10734.jpg', '/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_25_9686.jpg', '/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_34_9731.jpg', '/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_44_9748.jpg', '/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_55_10927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/44/image_16122025_08_45_04_9672.jpg
/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_15_10734.jpg
/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_25_9686.jpg
/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_34_9731.jpg
/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_44_9748.jpg
/home/pi/Desktop/images/16122025/08/45/image_16122025_08_45_55_10927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611441","1399611465","1399611491","1399611455","1399611419","1399611484"],"photo_ids_order":["1399611419","1399611441","1399611455","1399611465","1399611484","1399611491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6cdddcb99c8685feabac3547dfd193c.jpg","text":"TemporaryFile(/tmp/multipartBody7568727274961548364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871284136,"filename":"image_16122025_08_45_15_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b154fdc40e50491f7b0ffbad7762290.jpg","text":"TemporaryFile(/tmp/multipartBody5165761841422020928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871284136,"filename":"image_16122025_08_45_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30c986a0ad705f306e2ace712495f713.jpg","text":"TemporaryFile(/tmp/multipartBody848610261882196067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871284136,"filename":"image_16122025_08_45_55_10927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97067a60c72e98e2ab04b26dc340c8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2496196066033743777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871284136,"filename":"image_16122025_08_45_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/16/64216b3c1eda49c367edf418b05680e7.jpg","text":"TemporaryFile(/tmp/multipartBody8456470197986490880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871284136,"filename":"image_16122025_08_45_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/16/c0c9c033d607ff188950b070c5abd5c3.jpg","text":"TemporaryFile(/tmp/multipartBody4946406480453933319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871284136,"filename":"image_16122025_08_45_44_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611455","file1":"1399611441","file0":"1399611419","file4":"1399611484","file5":"1399611491","file3":"1399611465"},"map_files_photo_id_array":[{"photo_id":"1399611491","filename":"file5"},{"photo_id":"1399611455","filename":"file2"},{"photo_id":"1399611484","filename":"file4"},{"photo_id":"1399611441","filename":"file1"},{"photo_id":"1399611419","filename":"file0"},{"photo_id":"1399611465","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611441":["hashtag1","hashtag2"]},{"1399611465":["hashtag1","hashtag2"]},{"1399611491":["hashtag1","hashtag2"]},{"1399611455":["hashtag1","hashtag2"]},{"1399611419":["hashtag1","hashtag2"]},{"1399611484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611441, 1399611465, 1399611491, 1399611455, 1399611419, 1399611484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.118995904922485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:47:42.773332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_19_1598.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_20_1674.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_22_1534.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_24_1571.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_25_1585.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_27_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_19_1598.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_20_1674.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_22_1534.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_24_1571.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_25_1585.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_27_1652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611511","1399611514","1399611517","1399611513","1399611516","1399611515"],"photo_ids_order":["1399611511","1399611513","1399611514","1399611515","1399611516","1399611517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/723ce654793df7816431d0b9fd962d46.jpg","text":"TemporaryFile(/tmp/multipartBody860849667493549970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871323530,"filename":"image_06112025_15_32_19_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/16/5ee99112e3749a6ef827689520af6bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2448722145102188393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871323530,"filename":"image_06112025_15_32_22_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77f361144e2d8da31771a72168827a57.jpg","text":"TemporaryFile(/tmp/multipartBody8620877075025306738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871323530,"filename":"image_06112025_15_32_27_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/16/f61019d7b943cf4a3a687c623e5a2447.jpg","text":"TemporaryFile(/tmp/multipartBody2049588187158086671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871323530,"filename":"image_06112025_15_32_20_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/16/2b9bb69c46dbb37ffa32b41a11106e05.jpg","text":"TemporaryFile(/tmp/multipartBody8744243748721626041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871323530,"filename":"image_06112025_15_32_25_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/16/5df67df20a3354aa2a2d6b5f65c3c00e.jpg","text":"TemporaryFile(/tmp/multipartBody8452250221686115109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871323530,"filename":"image_06112025_15_32_24_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611514","file1":"1399611513","file0":"1399611511","file4":"1399611516","file5":"1399611517","file3":"1399611515"},"map_files_photo_id_array":[{"photo_id":"1399611517","filename":"file5"},{"photo_id":"1399611514","filename":"file2"},{"photo_id":"1399611516","filename":"file4"},{"photo_id":"1399611513","filename":"file1"},{"photo_id":"1399611511","filename":"file0"},{"photo_id":"1399611515","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399611511":["hashtag1","hashtag2"]},{"1399611514":["hashtag1","hashtag2"]},{"1399611517":["hashtag1","hashtag2"]},{"1399611513":["hashtag1","hashtag2"]},{"1399611516":["hashtag1","hashtag2"]},{"1399611515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399611511, 1399611514, 1399611517, 1399611513, 1399611516, 1399611515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08784246444702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:48:22.033510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_15_9688.jpg', '/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_25_9719.jpg', '/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_34_9683.jpg', '/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_45_10744.jpg', '/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_55_9728.jpg', '/home/pi/Desktop/images/16122025/08/46/image_16122025_08_47_05_10301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_15_9688.jpg
/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_25_9719.jpg
/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_34_9683.jpg
/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_45_10744.jpg
/home/pi/Desktop/images/16122025/08/46/image_16122025_08_46_55_9728.jpg
/home/pi/Desktop/images/16122025/08/46/image_16122025_08_47_05_10301.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611532","1399611529","1399611525","1399611527","1399611521","1399611524"],"photo_ids_order":["1399611521","1399611524","1399611525","1399611527","1399611529","1399611532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1155e2836b7efc6fa1ca9b3932e6de2e.jpg","text":"TemporaryFile(/tmp/multipartBody5103005940886230108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871362681,"filename":"image_16122025_08_47_05_10301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8246760c40ef566080ca382b44589b9f.jpg","text":"TemporaryFile(/tmp/multipartBody3070050581196238868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871362681,"filename":"image_16122025_08_46_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f0a9d1d1a09af2279b9d5813e24ccf3.jpg","text":"TemporaryFile(/tmp/multipartBody5148507547594951097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871362681,"filename":"image_16122025_08_46_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/16/0a4958efeea43de743c91a4c0ed62c17.jpg","text":"TemporaryFile(/tmp/multipartBody6480550220756305436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871362681,"filename":"image_16122025_08_46_45_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e486725ca42fafa2fb04b99021eaa9fc.jpg","text":"TemporaryFile(/tmp/multipartBody8959891214604938832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871362681,"filename":"image_16122025_08_46_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e89b2d03f9f050a3aa52d5352f7da7ea.jpg","text":"TemporaryFile(/tmp/multipartBody7017020357536457450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871362681,"filename":"image_16122025_08_46_25_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611525","file1":"1399611524","file0":"1399611521","file4":"1399611529","file5":"1399611532","file3":"1399611527"},"map_files_photo_id_array":[{"photo_id":"1399611532","filename":"file5"},{"photo_id":"1399611525","filename":"file2"},{"photo_id":"1399611529","filename":"file4"},{"photo_id":"1399611524","filename":"file1"},{"photo_id":"1399611521","filename":"file0"},{"photo_id":"1399611527","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611532":["hashtag1","hashtag2"]},{"1399611529":["hashtag1","hashtag2"]},{"1399611525":["hashtag1","hashtag2"]},{"1399611527":["hashtag1","hashtag2"]},{"1399611521":["hashtag1","hashtag2"]},{"1399611524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611532, 1399611529, 1399611525, 1399611527, 1399611521, 1399611524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.215173959732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:49:03.280684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_15_9686.jpg', '/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_24_9676.jpg', '/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_34_10001.jpg', '/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_45_10689.jpg', '/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_55_9698.jpg', '/home/pi/Desktop/images/16122025/08/47/image_16122025_08_48_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_15_9686.jpg
/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_24_9676.jpg
/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_34_10001.jpg
/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_45_10689.jpg
/home/pi/Desktop/images/16122025/08/47/image_16122025_08_47_55_9698.jpg
/home/pi/Desktop/images/16122025/08/47/image_16122025_08_48_04_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611541","1399611535","1399611543","1399611537","1399611546","1399611539"],"photo_ids_order":["1399611535","1399611537","1399611539","1399611541","1399611543","1399611546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f5d2d5131fb631703c25a614e758f93d.jpg","text":"TemporaryFile(/tmp/multipartBody4958862297715542489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871404113,"filename":"image_16122025_08_47_45_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bcc5ca2b5e76c171e962dcce76b493d9.jpg","text":"TemporaryFile(/tmp/multipartBody6852483496608577789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871404113,"filename":"image_16122025_08_47_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3bd856731244ecad26c49c9859743c16.jpg","text":"TemporaryFile(/tmp/multipartBody7141433132937619697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871404113,"filename":"image_16122025_08_47_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad39ee702e61e84ad9f7813c5f4a5dd6.jpg","text":"TemporaryFile(/tmp/multipartBody9040660097705783410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871404113,"filename":"image_16122025_08_47_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/16/d04369bbcaebc3b9cac89b70f70de6ac.jpg","text":"TemporaryFile(/tmp/multipartBody1644837347710877263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871404113,"filename":"image_16122025_08_48_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/16/29b688597f6f1536c3fb65f7abbf3664.jpg","text":"TemporaryFile(/tmp/multipartBody1816529838560427450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871404113,"filename":"image_16122025_08_47_34_10001.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611539","file1":"1399611537","file0":"1399611535","file4":"1399611543","file5":"1399611546","file3":"1399611541"},"map_files_photo_id_array":[{"photo_id":"1399611546","filename":"file5"},{"photo_id":"1399611539","filename":"file2"},{"photo_id":"1399611543","filename":"file4"},{"photo_id":"1399611537","filename":"file1"},{"photo_id":"1399611535","filename":"file0"},{"photo_id":"1399611541","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611541":["hashtag1","hashtag2"]},{"1399611535":["hashtag1","hashtag2"]},{"1399611543":["hashtag1","hashtag2"]},{"1399611537":["hashtag1","hashtag2"]},{"1399611546":["hashtag1","hashtag2"]},{"1399611539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611541, 1399611535, 1399611543, 1399611537, 1399611546, 1399611539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64876580238342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:49:42.221717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_30_1620.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_32_1536.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_34_2772.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_38_3654.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_41_2579.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_43_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_30_1620.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_32_1536.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_34_2772.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_38_3654.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_41_2579.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_43_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611553","1399611555","1399611558","1399611551","1399611557","1399611556"],"photo_ids_order":["1399611551","1399611553","1399611555","1399611556","1399611557","1399611558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5913e64a25b6d52982e33569242865ec.jpg","text":"TemporaryFile(/tmp/multipartBody7420568932605274919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871442942,"filename":"image_06112025_15_32_32_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fd85a38c86560288a66567724a387c3.jpg","text":"TemporaryFile(/tmp/multipartBody8530423096073856548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871442942,"filename":"image_06112025_15_32_34_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/16/d93c41324c2589ee6247187624579946.jpg","text":"TemporaryFile(/tmp/multipartBody7148479444160651060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871442942,"filename":"image_06112025_15_32_43_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8baf2798a3916f59496ad6b287f2043b.jpg","text":"TemporaryFile(/tmp/multipartBody7186041291865800718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871442942,"filename":"image_06112025_15_32_30_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/16/b6f27f596a22204be2a2085637cc1107.jpg","text":"TemporaryFile(/tmp/multipartBody6397128697599243409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871442942,"filename":"image_06112025_15_32_41_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/16/9e7fa52f2f3804c08c3e2d15790021e7.jpg","text":"TemporaryFile(/tmp/multipartBody1712798220491537654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871442942,"filename":"image_06112025_15_32_38_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611555","file1":"1399611553","file0":"1399611551","file4":"1399611557","file5":"1399611558","file3":"1399611556"},"map_files_photo_id_array":[{"photo_id":"1399611558","filename":"file5"},{"photo_id":"1399611555","filename":"file2"},{"photo_id":"1399611557","filename":"file4"},{"photo_id":"1399611553","filename":"file1"},{"photo_id":"1399611551","filename":"file0"},{"photo_id":"1399611556","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399611553":["hashtag1","hashtag2"]},{"1399611555":["hashtag1","hashtag2"]},{"1399611558":["hashtag1","hashtag2"]},{"1399611551":["hashtag1","hashtag2"]},{"1399611557":["hashtag1","hashtag2"]},{"1399611556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399611553, 1399611555, 1399611558, 1399611551, 1399611557, 1399611556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.294880628585815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:50:22.450054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_14_9759.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_25_10705.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_35_9920.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_44_9622.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_54_9704.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_49_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_14_9759.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_25_10705.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_35_9920.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_44_9622.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_54_9704.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_49_05_10701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5403168201446533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:50:32.474904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:50:42.428507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_47_3217.jpg', '/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_57_10734.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_01_3537.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_03_1695.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_04_1631.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_06_1782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_47_3217.jpg
/home/pi/Desktop/images/06112025/15/32/image_06112025_15_32_57_10734.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_01_3537.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_03_1695.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_04_1631.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_06_1782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611585","1399611579","1399611576","1399611581","1399611583","1399611586"],"photo_ids_order":["1399611576","1399611579","1399611581","1399611583","1399611585","1399611586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b14a23b1f675f97b3b1448a287d655d.jpg","text":"TemporaryFile(/tmp/multipartBody6214480596019871594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871503198,"filename":"image_06112025_15_33_04_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc1baab04c876f9fcdcb45db872a40fb.jpg","text":"TemporaryFile(/tmp/multipartBody6961265382302402577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871503198,"filename":"image_06112025_15_32_57_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/16/554399dbc5a558a3f9e6e00546b58d84.jpg","text":"TemporaryFile(/tmp/multipartBody1818897148803749044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871503198,"filename":"image_06112025_15_32_47_3217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f094fb40b35b8bb2f2d64617f9036e2.jpg","text":"TemporaryFile(/tmp/multipartBody1883491262815369919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871503198,"filename":"image_06112025_15_33_01_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/16/93abc9bb22308d0ea20b98a01bb1fae2.jpg","text":"TemporaryFile(/tmp/multipartBody2445862577586770752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871503198,"filename":"image_06112025_15_33_03_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f5d5c6c26cd3ea0fcb0bbe5332452774.jpg","text":"TemporaryFile(/tmp/multipartBody6095961381130613971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871503198,"filename":"image_06112025_15_33_06_1782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611581","file1":"1399611579","file0":"1399611576","file4":"1399611585","file5":"1399611586","file3":"1399611583"},"map_files_photo_id_array":[{"photo_id":"1399611586","filename":"file5"},{"photo_id":"1399611581","filename":"file2"},{"photo_id":"1399611585","filename":"file4"},{"photo_id":"1399611579","filename":"file1"},{"photo_id":"1399611576","filename":"file0"},{"photo_id":"1399611583","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399611585":["hashtag1","hashtag2"]},{"1399611579":["hashtag1","hashtag2"]},{"1399611576":["hashtag1","hashtag2"]},{"1399611581":["hashtag1","hashtag2"]},{"1399611583":["hashtag1","hashtag2"]},{"1399611586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399611585, 1399611579, 1399611576, 1399611581, 1399611583, 1399611586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27674651145935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:51:22.745234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_14_9759.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_25_10705.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_35_9920.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_44_9622.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_54_9704.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_49_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_14_9759.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_25_10705.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_35_9920.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_44_9622.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_54_9704.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_49_05_10701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5429556369781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 08:51:32.707565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:51:42.621672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_08_1808.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_10_1738.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_11_1674.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_14_2572.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_17_2806.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_19_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_08_1808.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_10_1738.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_11_1674.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_14_2572.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_17_2806.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_19_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":["1399611634","1399611628","1399611616","1399611633","1399611614","1399611611"],"photo_ids_order":["1399611611","1399611614","1399611616","1399611628","1399611633","1399611634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c3b2c5eeb6c9a0ae0254216b66341f5.jpg","text":"TemporaryFile(/tmp/multipartBody2202909804298229833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871563404,"filename":"image_06112025_15_33_19_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/16/b4f8a3aa47211d48d7b723fa5c467cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4423543268586705070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871563404,"filename":"image_06112025_15_33_14_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/16/df439ec757a12520011355219907005c.jpg","text":"TemporaryFile(/tmp/multipartBody1379708814017422686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871563404,"filename":"image_06112025_15_33_11_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/16/071eb1ff361d4e775bd71e2a97ab3bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1010674841834145399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871563404,"filename":"image_06112025_15_33_17_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/16/6346f542d9a90247bd13201e27b62701.jpg","text":"TemporaryFile(/tmp/multipartBody945830785673154946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871563404,"filename":"image_06112025_15_33_10_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/67601439285fbdb5bf2614971963b846.jpg","text":"TemporaryFile(/tmp/multipartBody962531233045779585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871563404,"filename":"image_06112025_15_33_08_1808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611616","file1":"1399611614","file0":"1399611611","file4":"1399611633","file5":"1399611634","file3":"1399611628"},"map_files_photo_id_array":[{"photo_id":"1399611634","filename":"file5"},{"photo_id":"1399611616","filename":"file2"},{"photo_id":"1399611633","filename":"file4"},{"photo_id":"1399611614","filename":"file1"},{"photo_id":"1399611611","filename":"file0"},{"photo_id":"1399611628","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399611634":["hashtag1","hashtag2"]},{"1399611628":["hashtag1","hashtag2"]},{"1399611616":["hashtag1","hashtag2"]},{"1399611633":["hashtag1","hashtag2"]},{"1399611614":["hashtag1","hashtag2"]},{"1399611611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399611634, 1399611628, 1399611616, 1399611633, 1399611614, 1399611611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94802761077881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:52:21.977419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_14_9759.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_25_10705.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_35_9920.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_44_9622.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_54_9704.jpg', '/home/pi/Desktop/images/16122025/08/48/image_16122025_08_49_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_14_9759.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_25_10705.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_35_9920.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_44_9622.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_48_54_9704.jpg
/home/pi/Desktop/images/16122025/08/48/image_16122025_08_49_05_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611672","1399611669","1399611657","1399611665","1399611659","1399611667"],"photo_ids_order":["1399611657","1399611659","1399611665","1399611667","1399611669","1399611672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c87d213b18444164287acfcfcbb04197.jpg","text":"TemporaryFile(/tmp/multipartBody4607228027667486359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871602619,"filename":"image_16122025_08_49_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/16/acdb86b1eec4a425c9ae3a1cb640741f.jpg","text":"TemporaryFile(/tmp/multipartBody7264828650455065659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871602619,"filename":"image_16122025_08_48_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/16/088225073830f9c0261b1ce659d5a929.jpg","text":"TemporaryFile(/tmp/multipartBody4633081260207592616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871602619,"filename":"image_16122025_08_48_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/16/eb0d58c95767ccae951134839d1afa4e.jpg","text":"TemporaryFile(/tmp/multipartBody1707192525009623255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871602619,"filename":"image_16122025_08_48_35_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/16/306d50f944e96a9d06f3366902624b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1382299504993004181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871602619,"filename":"image_16122025_08_48_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cab465f835befe8d3df6966926390d4a.jpg","text":"TemporaryFile(/tmp/multipartBody9047447713848007157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871602619,"filename":"image_16122025_08_48_44_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611665","file1":"1399611659","file0":"1399611657","file4":"1399611669","file5":"1399611672","file3":"1399611667"},"map_files_photo_id_array":[{"photo_id":"1399611672","filename":"file5"},{"photo_id":"1399611665","filename":"file2"},{"photo_id":"1399611669","filename":"file4"},{"photo_id":"1399611659","filename":"file1"},{"photo_id":"1399611657","filename":"file0"},{"photo_id":"1399611667","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611672":["hashtag1","hashtag2"]},{"1399611669":["hashtag1","hashtag2"]},{"1399611657":["hashtag1","hashtag2"]},{"1399611665":["hashtag1","hashtag2"]},{"1399611659":["hashtag1","hashtag2"]},{"1399611667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611672, 1399611669, 1399611657, 1399611665, 1399611659, 1399611667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71175289154053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:53:02.947424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_15_9757.jpg', '/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_24_9835.jpg', '/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_45_10664.jpg', '/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_55_9860.jpg', '/home/pi/Desktop/images/16122025/08/49/image_16122025_08_50_04_9620.jpg', '/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_15_10584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_15_9757.jpg
/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_24_9835.jpg
/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_45_10664.jpg
/home/pi/Desktop/images/16122025/08/49/image_16122025_08_49_55_9860.jpg
/home/pi/Desktop/images/16122025/08/49/image_16122025_08_50_04_9620.jpg
/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_15_10584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611690","1399611684","1399611693","1399611686","1399611688","1399611682"],"photo_ids_order":["1399611682","1399611684","1399611686","1399611688","1399611690","1399611693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d380429dd3c82dd793da2f74cb63865.jpg","text":"TemporaryFile(/tmp/multipartBody1471052184099591010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871643641,"filename":"image_16122025_08_50_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/16/1524f26f4022ffff5d2802a94b33726f.jpg","text":"TemporaryFile(/tmp/multipartBody3836578320925869192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871643641,"filename":"image_16122025_08_49_24_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f9fbf940793da75f35f4ed97f9e7fc2.jpg","text":"TemporaryFile(/tmp/multipartBody752189852659089142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871643641,"filename":"image_16122025_08_50_15_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/16/11dec615e587efc2846fdb2b862c9c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1097203753458787556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871643641,"filename":"image_16122025_08_49_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca51749e50169044d41b98234888f7ab.jpg","text":"TemporaryFile(/tmp/multipartBody3512162701518742976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871643641,"filename":"image_16122025_08_49_55_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc85d299e11f59f8e0e26cbc870f5393.jpg","text":"TemporaryFile(/tmp/multipartBody5588197595501265837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871643641,"filename":"image_16122025_08_49_15_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611686","file1":"1399611684","file0":"1399611682","file4":"1399611690","file5":"1399611693","file3":"1399611688"},"map_files_photo_id_array":[{"photo_id":"1399611693","filename":"file5"},{"photo_id":"1399611686","filename":"file2"},{"photo_id":"1399611690","filename":"file4"},{"photo_id":"1399611684","filename":"file1"},{"photo_id":"1399611682","filename":"file0"},{"photo_id":"1399611688","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611690":["hashtag1","hashtag2"]},{"1399611684":["hashtag1","hashtag2"]},{"1399611693":["hashtag1","hashtag2"]},{"1399611686":["hashtag1","hashtag2"]},{"1399611688":["hashtag1","hashtag2"]},{"1399611682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611690, 1399611684, 1399611693, 1399611686, 1399611688, 1399611682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57833528518677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:53:42.155658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_23_3585.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_25_2707.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_28_2649.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_32_3622.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_34_2685.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_37_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_23_3585.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_25_2707.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_28_2649.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_32_3622.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_34_2685.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_37_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611703","1399611702","1399611705","1399611698","1399611701","1399611704"],"photo_ids_order":["1399611698","1399611701","1399611702","1399611703","1399611704","1399611705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/536f213848870e579b856c21ffd8906b.jpg","text":"TemporaryFile(/tmp/multipartBody4467040353959314143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871682876,"filename":"image_06112025_15_33_32_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/16/967a6bd36f69718047aa1a255d3e6e01.jpg","text":"TemporaryFile(/tmp/multipartBody8887034621840438771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871682876,"filename":"image_06112025_15_33_28_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52a758c332b7f0c8ed14000499fe2bda.jpg","text":"TemporaryFile(/tmp/multipartBody5370912041501437346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871682876,"filename":"image_06112025_15_33_37_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/16/6ffee65145a9a9ac36b481f2519615e4.jpg","text":"TemporaryFile(/tmp/multipartBody6855978505605304728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871682876,"filename":"image_06112025_15_33_23_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/16/bc192ac7ec0d9f3b72aa911a68e59c13.jpg","text":"TemporaryFile(/tmp/multipartBody6605634315734059711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871682876,"filename":"image_06112025_15_33_25_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/16/a28f2aeff12b5dc552d0494a0484e00f.jpg","text":"TemporaryFile(/tmp/multipartBody4560663825032448225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871682876,"filename":"image_06112025_15_33_34_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611702","file1":"1399611701","file0":"1399611698","file4":"1399611704","file5":"1399611705","file3":"1399611703"},"map_files_photo_id_array":[{"photo_id":"1399611705","filename":"file5"},{"photo_id":"1399611702","filename":"file2"},{"photo_id":"1399611704","filename":"file4"},{"photo_id":"1399611701","filename":"file1"},{"photo_id":"1399611698","filename":"file0"},{"photo_id":"1399611703","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399611703":["hashtag1","hashtag2"]},{"1399611702":["hashtag1","hashtag2"]},{"1399611705":["hashtag1","hashtag2"]},{"1399611698":["hashtag1","hashtag2"]},{"1399611701":["hashtag1","hashtag2"]},{"1399611704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399611703, 1399611702, 1399611705, 1399611698, 1399611701, 1399611704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90470266342163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 08:54:22.630533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_25_9700.jpg', '/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_34_9596.jpg', '/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_45_10390.jpg', '/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_54_9655.jpg', '/home/pi/Desktop/images/16122025/08/50/image_16122025_08_51_05_10646.jpg', '/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_15_10155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_25_9700.jpg
/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_34_9596.jpg
/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_45_10390.jpg
/home/pi/Desktop/images/16122025/08/50/image_16122025_08_50_54_9655.jpg
/home/pi/Desktop/images/16122025/08/50/image_16122025_08_51_05_10646.jpg
/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_15_10155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611730","1399611733","1399611728","1399611713","1399611722","1399611716"],"photo_ids_order":["1399611713","1399611716","1399611722","1399611728","1399611730","1399611733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7066ae98eb7b52cd04d7003ae0309a96.jpg","text":"TemporaryFile(/tmp/multipartBody4286615998492911932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871723282,"filename":"image_16122025_08_51_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/16/3ba699b61aa7eee79eb8e87d3ab3b6ca.jpg","text":"TemporaryFile(/tmp/multipartBody8228986203374233546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871723282,"filename":"image_16122025_08_51_15_10155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a1e9864f5e64dad1189985a3ec17e06.jpg","text":"TemporaryFile(/tmp/multipartBody6566054254099490565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871723282,"filename":"image_16122025_08_50_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f81cf0b105be2cb8931cc88309adbd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4600390287208154793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871723282,"filename":"image_16122025_08_50_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/16/64ce553c43699a801f15277374138e97.jpg","text":"TemporaryFile(/tmp/multipartBody6682291339061971454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871723282,"filename":"image_16122025_08_50_45_10390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0dd4a3792c32c5fdc92e77e24c7e6d43.jpg","text":"TemporaryFile(/tmp/multipartBody3001049390612219392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871723282,"filename":"image_16122025_08_50_34_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611722","file1":"1399611716","file0":"1399611713","file4":"1399611730","file5":"1399611733","file3":"1399611728"},"map_files_photo_id_array":[{"photo_id":"1399611733","filename":"file5"},{"photo_id":"1399611722","filename":"file2"},{"photo_id":"1399611730","filename":"file4"},{"photo_id":"1399611716","filename":"file1"},{"photo_id":"1399611713","filename":"file0"},{"photo_id":"1399611728","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611730":["hashtag1","hashtag2"]},{"1399611733":["hashtag1","hashtag2"]},{"1399611728":["hashtag1","hashtag2"]},{"1399611713":["hashtag1","hashtag2"]},{"1399611722":["hashtag1","hashtag2"]},{"1399611716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611730, 1399611733, 1399611728, 1399611713, 1399611722, 1399611716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15669083595276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:55:03.219556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_25_9652.jpg', '/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_34_9604.jpg', '/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_44_9862.jpg', '/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_55_10735.jpg', '/home/pi/Desktop/images/16122025/08/51/image_16122025_08_52_05_9687.jpg', '/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_14_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_25_9652.jpg
/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_34_9604.jpg
/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_44_9862.jpg
/home/pi/Desktop/images/16122025/08/51/image_16122025_08_51_55_10735.jpg
/home/pi/Desktop/images/16122025/08/51/image_16122025_08_52_05_9687.jpg
/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_14_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611751","1399611745","1399611753","1399611755","1399611749","1399611760"],"photo_ids_order":["1399611745","1399611749","1399611751","1399611753","1399611755","1399611760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49cfd32ad764983ee4ef315d821fdcca.jpg","text":"TemporaryFile(/tmp/multipartBody9037776320380849326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871763963,"filename":"image_16122025_08_51_44_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/16/9c1d30dddf46d49bf2a64f683e175dee.jpg","text":"TemporaryFile(/tmp/multipartBody5849125162247608264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871763963,"filename":"image_16122025_08_51_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3dd2aa4d447c6a4fb7cc2989e2d8bdb8.jpg","text":"TemporaryFile(/tmp/multipartBody179835384163384517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871763963,"filename":"image_16122025_08_51_55_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c6d6f392b6ed714d5ee7d8cb2d82d25.jpg","text":"TemporaryFile(/tmp/multipartBody2933649585907774836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871763963,"filename":"image_16122025_08_52_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/16/057a6ccd8ca13f063cc06a08547cf1bc.jpg","text":"TemporaryFile(/tmp/multipartBody5164282322430524004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871763963,"filename":"image_16122025_08_51_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25c942da31e023bcb0f39d0ea21469ae.jpg","text":"TemporaryFile(/tmp/multipartBody505232782746099234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871763963,"filename":"image_16122025_08_52_14_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611751","file1":"1399611749","file0":"1399611745","file4":"1399611755","file5":"1399611760","file3":"1399611753"},"map_files_photo_id_array":[{"photo_id":"1399611760","filename":"file5"},{"photo_id":"1399611751","filename":"file2"},{"photo_id":"1399611755","filename":"file4"},{"photo_id":"1399611749","filename":"file1"},{"photo_id":"1399611745","filename":"file0"},{"photo_id":"1399611753","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611751":["hashtag1","hashtag2"]},{"1399611745":["hashtag1","hashtag2"]},{"1399611753":["hashtag1","hashtag2"]},{"1399611755":["hashtag1","hashtag2"]},{"1399611749":["hashtag1","hashtag2"]},{"1399611760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611751, 1399611745, 1399611753, 1399611755, 1399611749, 1399611760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.76333498954773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:56:02.344280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_25_10792.jpg', '/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_35_9646.jpg', '/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_45_9843.jpg', '/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_55_9887.jpg', '/home/pi/Desktop/images/16122025/08/52/image_16122025_08_53_04_9683.jpg', '/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_15_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_25_10792.jpg
/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_35_9646.jpg
/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_45_9843.jpg
/home/pi/Desktop/images/16122025/08/52/image_16122025_08_52_55_9887.jpg
/home/pi/Desktop/images/16122025/08/52/image_16122025_08_53_04_9683.jpg
/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_15_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611765","1399611768","1399611770","1399611772","1399611766","1399611769"],"photo_ids_order":["1399611765","1399611766","1399611768","1399611769","1399611770","1399611772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5fe463189688581fd2e1cdabfe8ce8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2714676878513497113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871823108,"filename":"image_16122025_08_52_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/16/7cee25cdd6b1b305729dfb9d76fb5ccc.jpg","text":"TemporaryFile(/tmp/multipartBody301107764120168577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871823108,"filename":"image_16122025_08_52_45_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b988a99eec15c363255b781e8cb4592c.jpg","text":"TemporaryFile(/tmp/multipartBody7634616388486274028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871823108,"filename":"image_16122025_08_53_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2880f0879469683c02b0139d5c7d44d9.jpg","text":"TemporaryFile(/tmp/multipartBody268238928275266105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871823108,"filename":"image_16122025_08_53_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/82c106b419cd6e008fc9f67c0616122b.jpg","text":"TemporaryFile(/tmp/multipartBody392910659379437747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871823108,"filename":"image_16122025_08_52_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7dccde4167711cf7dc7232704282f1c5.jpg","text":"TemporaryFile(/tmp/multipartBody5015892592315406416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871823108,"filename":"image_16122025_08_52_55_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611768","file1":"1399611766","file0":"1399611765","file4":"1399611770","file5":"1399611772","file3":"1399611769"},"map_files_photo_id_array":[{"photo_id":"1399611772","filename":"file5"},{"photo_id":"1399611768","filename":"file2"},{"photo_id":"1399611770","filename":"file4"},{"photo_id":"1399611766","filename":"file1"},{"photo_id":"1399611765","filename":"file0"},{"photo_id":"1399611769","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611765":["hashtag1","hashtag2"]},{"1399611768":["hashtag1","hashtag2"]},{"1399611770":["hashtag1","hashtag2"]},{"1399611772":["hashtag1","hashtag2"]},{"1399611766":["hashtag1","hashtag2"]},{"1399611769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611765, 1399611768, 1399611770, 1399611772, 1399611766, 1399611769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.671138525009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:56:41.894778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_40_2976.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_44_3701.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_53_9653.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_55_1894.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_03_7546.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_05_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_40_2976.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_44_3701.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_53_9653.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_55_1894.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_03_7546.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_05_1687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6366386413574219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:57:02.731116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_25_9737.jpg', '/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_34_9701.jpg', '/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_44_10003.jpg', '/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_54_9979.jpg', '/home/pi/Desktop/images/16122025/08/53/image_16122025_08_54_05_10732.jpg', '/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_15_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_25_9737.jpg
/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_34_9701.jpg
/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_44_10003.jpg
/home/pi/Desktop/images/16122025/08/53/image_16122025_08_53_54_9979.jpg
/home/pi/Desktop/images/16122025/08/53/image_16122025_08_54_05_10732.jpg
/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_15_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611805","1399611795","1399611802","1399611794","1399611797","1399611799"],"photo_ids_order":["1399611794","1399611795","1399611797","1399611799","1399611802","1399611805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b37a868580e703e4278059de1819a222.jpg","text":"TemporaryFile(/tmp/multipartBody2714856129871846794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871883480,"filename":"image_16122025_08_54_15_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/16/829b23f5cfebd8ffd10ea6518f7efba6.jpg","text":"TemporaryFile(/tmp/multipartBody1832495923920254057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871883480,"filename":"image_16122025_08_53_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/16/a4b20ef2a0c347d24f1b23fd9215891a.jpg","text":"TemporaryFile(/tmp/multipartBody5327274646846030106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871883480,"filename":"image_16122025_08_54_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06339adb2b11bde7151131c2e5092646.jpg","text":"TemporaryFile(/tmp/multipartBody3463955337234373238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871883480,"filename":"image_16122025_08_53_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cba5aa5335f2d80f8cb12d334cbe10b5.jpg","text":"TemporaryFile(/tmp/multipartBody7025605596210421957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871883480,"filename":"image_16122025_08_53_44_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da42a43350510f46a4dfae5f8e4f9fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1447117826764880158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871883480,"filename":"image_16122025_08_53_54_9979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611797","file1":"1399611795","file0":"1399611794","file4":"1399611802","file5":"1399611805","file3":"1399611799"},"map_files_photo_id_array":[{"photo_id":"1399611805","filename":"file5"},{"photo_id":"1399611797","filename":"file2"},{"photo_id":"1399611802","filename":"file4"},{"photo_id":"1399611795","filename":"file1"},{"photo_id":"1399611794","filename":"file0"},{"photo_id":"1399611799","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611805":["hashtag1","hashtag2"]},{"1399611795":["hashtag1","hashtag2"]},{"1399611802":["hashtag1","hashtag2"]},{"1399611794":["hashtag1","hashtag2"]},{"1399611797":["hashtag1","hashtag2"]},{"1399611799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611805, 1399611795, 1399611802, 1399611794, 1399611797, 1399611799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64417314529419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 08:57:42.069206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_40_2976.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_44_3701.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_53_9653.jpg', '/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_55_1894.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_03_7546.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_05_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_40_2976.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_44_3701.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_53_9653.jpg
/home/pi/Desktop/images/06112025/15/33/image_06112025_15_33_55_1894.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_03_7546.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_05_1687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611811","1399611814","1399611813","1399611810","1399611812","1399611815"],"photo_ids_order":["1399611810","1399611811","1399611812","1399611813","1399611814","1399611815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/328991fae0c8f9423c35c48fecc7c576.jpg","text":"TemporaryFile(/tmp/multipartBody9148820218240024938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871922668,"filename":"image_06112025_15_33_44_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/16/5440d9fd333b65d7eddcfcb08570eaab.jpg","text":"TemporaryFile(/tmp/multipartBody873971033170459314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871922668,"filename":"image_06112025_15_34_03_7546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f299727e56cb606eeea30aa29053e530.jpg","text":"TemporaryFile(/tmp/multipartBody6229196248628092368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871922668,"filename":"image_06112025_15_33_55_1894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cac800b9ddc35b3a40653fb3d3e0c342.jpg","text":"TemporaryFile(/tmp/multipartBody6938388146238193576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871922668,"filename":"image_06112025_15_33_40_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/16/becb9da4ecb2d7054516e7885a7ffe8e.jpg","text":"TemporaryFile(/tmp/multipartBody2229419263781782844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871922668,"filename":"image_06112025_15_33_53_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/16/8278bab24eab7e36d84c32a2d1ea3810.jpg","text":"TemporaryFile(/tmp/multipartBody7157649676350035472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765871922668,"filename":"image_06112025_15_34_05_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611812","file1":"1399611811","file0":"1399611810","file4":"1399611814","file5":"1399611815","file3":"1399611813"},"map_files_photo_id_array":[{"photo_id":"1399611815","filename":"file5"},{"photo_id":"1399611812","filename":"file2"},{"photo_id":"1399611814","filename":"file4"},{"photo_id":"1399611811","filename":"file1"},{"photo_id":"1399611810","filename":"file0"},{"photo_id":"1399611813","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399611811":["hashtag1","hashtag2"]},{"1399611814":["hashtag1","hashtag2"]},{"1399611813":["hashtag1","hashtag2"]},{"1399611810":["hashtag1","hashtag2"]},{"1399611812":["hashtag1","hashtag2"]},{"1399611815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399611811, 1399611814, 1399611813, 1399611810, 1399611812, 1399611815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94478368759155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 08:59:03.551494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_25_10051.jpg', '/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_35_9669.jpg', '/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_44_9704.jpg', '/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_55_10711.jpg', '/home/pi/Desktop/images/16122025/08/54/image_16122025_08_55_05_9728.jpg', '/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_14_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_25_10051.jpg
/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_35_9669.jpg
/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_44_9704.jpg
/home/pi/Desktop/images/16122025/08/54/image_16122025_08_54_55_10711.jpg
/home/pi/Desktop/images/16122025/08/54/image_16122025_08_55_05_9728.jpg
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_14_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611850","1399611870","1399611864","1399611866","1399611868","1399611862"],"photo_ids_order":["1399611850","1399611862","1399611864","1399611866","1399611868","1399611870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c529f752496047cfd039b0b93f5718b6.jpg","text":"TemporaryFile(/tmp/multipartBody488370839816859181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872004373,"filename":"image_16122025_08_54_25_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/16/da62ed0fda3979db04c8fe0b6e30f5bf.jpg","text":"TemporaryFile(/tmp/multipartBody6394282595583780613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872004373,"filename":"image_16122025_08_55_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83fc6d4a6b384ac1305f1377f17b1d33.jpg","text":"TemporaryFile(/tmp/multipartBody8025789169524135008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872004373,"filename":"image_16122025_08_54_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a0ce2de6beff24cf46f4b1a9d48602c.jpg","text":"TemporaryFile(/tmp/multipartBody4158497836497951500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872004373,"filename":"image_16122025_08_54_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a912ae98c301d32c8d7f07aed9b65f2.jpg","text":"TemporaryFile(/tmp/multipartBody3488851562396266914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872004373,"filename":"image_16122025_08_55_05_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/16/4d8f88d860fb856b118301946312ff50.jpg","text":"TemporaryFile(/tmp/multipartBody6786598041480963962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872004373,"filename":"image_16122025_08_54_35_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611864","file1":"1399611862","file0":"1399611850","file4":"1399611868","file5":"1399611870","file3":"1399611866"},"map_files_photo_id_array":[{"photo_id":"1399611870","filename":"file5"},{"photo_id":"1399611864","filename":"file2"},{"photo_id":"1399611868","filename":"file4"},{"photo_id":"1399611862","filename":"file1"},{"photo_id":"1399611850","filename":"file0"},{"photo_id":"1399611866","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611850":["hashtag1","hashtag2"]},{"1399611870":["hashtag1","hashtag2"]},{"1399611864":["hashtag1","hashtag2"]},{"1399611866":["hashtag1","hashtag2"]},{"1399611868":["hashtag1","hashtag2"]},{"1399611862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611850, 1399611870, 1399611864, 1399611866, 1399611868, 1399611862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.487608671188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:00:03.187075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_24_9911.jpg', '/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_34_9809.jpg', '/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_45_10667.jpg', '/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_55_9764.jpg', '/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_15_10612.jpg', '/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_25_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_24_9911.jpg
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_34_9809.jpg
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_45_10667.jpg
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_55_9764.jpg
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_15_10612.jpg
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_25_9739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5491094589233398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:00:12.705981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:00:22.790720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_24_9911.jpg', '/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_34_9809.jpg', '/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_45_10667.jpg', '/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_55_9764.jpg', '/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_15_10612.jpg', '/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_25_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_24_9911.jpg
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_34_9809.jpg
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_45_10667.jpg
/home/pi/Desktop/images/16122025/08/55/image_16122025_08_55_55_9764.jpg
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_15_10612.jpg
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_25_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399611888","1399611881","1399611890","1399611884","1399611883","1399611886"],"photo_ids_order":["1399611881","1399611883","1399611884","1399611886","1399611888","1399611890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a639ddbc30120b306668537b8ed80593.jpg","text":"TemporaryFile(/tmp/multipartBody285675333254826637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872083477,"filename":"image_16122025_08_56_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/16/6ae3f278ad9ad71a184ff1bdca248b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1972804739976721172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872083477,"filename":"image_16122025_08_55_24_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f1e8343bb1c58f240e5b668ca9c15ad.jpg","text":"TemporaryFile(/tmp/multipartBody3542188808020301460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872083477,"filename":"image_16122025_08_56_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50641c0493bbf8fffe2bc38d49942735.jpg","text":"TemporaryFile(/tmp/multipartBody9122605998750189416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872083477,"filename":"image_16122025_08_55_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a7440ebbf46912f4a70dfcff2d8ff61.jpg","text":"TemporaryFile(/tmp/multipartBody1427809119631843110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872083477,"filename":"image_16122025_08_55_34_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f65ce7670880ff99ac84255f3ad807ed.jpg","text":"TemporaryFile(/tmp/multipartBody5128713248045660299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872083477,"filename":"image_16122025_08_55_55_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611884","file1":"1399611883","file0":"1399611881","file4":"1399611888","file5":"1399611890","file3":"1399611886"},"map_files_photo_id_array":[{"photo_id":"1399611890","filename":"file5"},{"photo_id":"1399611884","filename":"file2"},{"photo_id":"1399611888","filename":"file4"},{"photo_id":"1399611883","filename":"file1"},{"photo_id":"1399611881","filename":"file0"},{"photo_id":"1399611886","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399611888":["hashtag1","hashtag2"]},{"1399611881":["hashtag1","hashtag2"]},{"1399611890":["hashtag1","hashtag2"]},{"1399611884":["hashtag1","hashtag2"]},{"1399611883":["hashtag1","hashtag2"]},{"1399611886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399611888, 1399611881, 1399611890, 1399611884, 1399611883, 1399611886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99678611755371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:01:02.520006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_34_9629.jpg', '/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_45_10836.jpg', '/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_55_9599.jpg', '/home/pi/Desktop/images/16122025/08/56/image_16122025_08_57_05_9748.jpg', '/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_14_9772.jpg', '/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_34_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_34_9629.jpg
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_45_10836.jpg
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_56_55_9599.jpg
/home/pi/Desktop/images/16122025/08/56/image_16122025_08_57_05_9748.jpg
/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_14_9772.jpg
/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_34_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612011","1399611951","1399612023","1399611982","1399611988","1399612030"],"photo_ids_order":["1399611951","1399611982","1399611988","1399612011","1399612023","1399612030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90b091bee57d2c7db3125204f5812e70.jpg","text":"TemporaryFile(/tmp/multipartBody4254066976872584041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872123201,"filename":"image_16122025_08_57_05_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a7e9ec28eea978dadb878116c74b219.jpg","text":"TemporaryFile(/tmp/multipartBody9025332823312242336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872123201,"filename":"image_16122025_08_56_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a043e3730119a7b9dd03600e61331d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3007238963158437817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872123201,"filename":"image_16122025_08_57_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/16/5e16915de329d481dbd9ae0420756e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7204756401923192464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872123201,"filename":"image_16122025_08_56_45_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/16/f13421fafd2352809199beb85893926a.jpg","text":"TemporaryFile(/tmp/multipartBody8640692348720076953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872123201,"filename":"image_16122025_08_56_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f366a2621496e5919fa2608a8367d087.jpg","text":"TemporaryFile(/tmp/multipartBody3702503240344485889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872123201,"filename":"image_16122025_08_57_34_9523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399611988","file1":"1399611982","file0":"1399611951","file4":"1399612023","file5":"1399612030","file3":"1399612011"},"map_files_photo_id_array":[{"photo_id":"1399612030","filename":"file5"},{"photo_id":"1399611988","filename":"file2"},{"photo_id":"1399612023","filename":"file4"},{"photo_id":"1399611982","filename":"file1"},{"photo_id":"1399611951","filename":"file0"},{"photo_id":"1399612011","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612011":["hashtag1","hashtag2"]},{"1399611951":["hashtag1","hashtag2"]},{"1399612023":["hashtag1","hashtag2"]},{"1399611982":["hashtag1","hashtag2"]},{"1399611988":["hashtag1","hashtag2"]},{"1399612030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612011, 1399611951, 1399612023, 1399611982, 1399611988, 1399612030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94249224662781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:01:41.929269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_06_1631.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_08_1723.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_09_1507.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_11_1588.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_13_1715.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_14_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_06_1631.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_08_1723.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_09_1507.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_11_1588.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_13_1715.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_14_1534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612059","1399612061","1399612055","1399612058","1399612063","1399612060"],"photo_ids_order":["1399612055","1399612058","1399612059","1399612060","1399612061","1399612063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b4a2629e66a8fa881514b2be790c298.jpg","text":"TemporaryFile(/tmp/multipartBody2647323201353718956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872162684,"filename":"image_06112025_15_34_09_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a07d12d88a703429ec5abd412e71a605.jpg","text":"TemporaryFile(/tmp/multipartBody2665048475011856249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872162684,"filename":"image_06112025_15_34_13_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/16/1832a90d39cba7cba15bd2b74281ea21.jpg","text":"TemporaryFile(/tmp/multipartBody8226802825257578187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872162684,"filename":"image_06112025_15_34_06_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/944ccc67ed3de1cc923eda614f54c04f.jpg","text":"TemporaryFile(/tmp/multipartBody9008296394307839093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872162684,"filename":"image_06112025_15_34_08_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58987b89c3f220b20a98cb07c78813f2.jpg","text":"TemporaryFile(/tmp/multipartBody1350187613892461385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872162684,"filename":"image_06112025_15_34_14_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/774e07a33e167d16ee728c7b1ba6f234.jpg","text":"TemporaryFile(/tmp/multipartBody1025421978537681006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872162684,"filename":"image_06112025_15_34_11_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612059","file1":"1399612058","file0":"1399612055","file4":"1399612061","file5":"1399612063","file3":"1399612060"},"map_files_photo_id_array":[{"photo_id":"1399612063","filename":"file5"},{"photo_id":"1399612059","filename":"file2"},{"photo_id":"1399612061","filename":"file4"},{"photo_id":"1399612058","filename":"file1"},{"photo_id":"1399612055","filename":"file0"},{"photo_id":"1399612060","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612059":["hashtag1","hashtag2"]},{"1399612061":["hashtag1","hashtag2"]},{"1399612055":["hashtag1","hashtag2"]},{"1399612058":["hashtag1","hashtag2"]},{"1399612063":["hashtag1","hashtag2"]},{"1399612060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612059, 1399612061, 1399612055, 1399612058, 1399612063, 1399612060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28008413314819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:02:22.220600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_45_10616.jpg', '/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_55_9669.jpg', '/home/pi/Desktop/images/16122025/08/57/image_16122025_08_58_04_9691.jpg', '/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_14_9834.jpg', '/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_25_10625.jpg', '/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_35_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_45_10616.jpg
/home/pi/Desktop/images/16122025/08/57/image_16122025_08_57_55_9669.jpg
/home/pi/Desktop/images/16122025/08/57/image_16122025_08_58_04_9691.jpg
/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_14_9834.jpg
/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_25_10625.jpg
/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_35_10052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612071","1399612068","1399612073","1399612070","1399612072","1399612075"],"photo_ids_order":["1399612068","1399612070","1399612071","1399612072","1399612073","1399612075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d18d3cdb39e053e3aedba074aa1f4365.jpg","text":"TemporaryFile(/tmp/multipartBody6906188829111873903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872202884,"filename":"image_16122025_08_58_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/16/ca06534c3aa06a7161e5e4baf547fee3.jpg","text":"TemporaryFile(/tmp/multipartBody5736375735412496202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872202884,"filename":"image_16122025_08_57_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/16/5fd066107d846b58af14286dd5648217.jpg","text":"TemporaryFile(/tmp/multipartBody4258796382335439504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872202884,"filename":"image_16122025_08_58_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0adf462260b54fda35d24de32779bac0.jpg","text":"TemporaryFile(/tmp/multipartBody8907175565133481645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872202884,"filename":"image_16122025_08_57_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44bbdeba54c86831a4e9fe9f6debfcfb.jpg","text":"TemporaryFile(/tmp/multipartBody2390253681455338691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872202884,"filename":"image_16122025_08_58_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/149d642c3acee4ede74b66857e28aa15.jpg","text":"TemporaryFile(/tmp/multipartBody4537437836650387722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872202884,"filename":"image_16122025_08_58_35_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612071","file1":"1399612070","file0":"1399612068","file4":"1399612073","file5":"1399612075","file3":"1399612072"},"map_files_photo_id_array":[{"photo_id":"1399612075","filename":"file5"},{"photo_id":"1399612071","filename":"file2"},{"photo_id":"1399612073","filename":"file4"},{"photo_id":"1399612070","filename":"file1"},{"photo_id":"1399612068","filename":"file0"},{"photo_id":"1399612072","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612071":["hashtag1","hashtag2"]},{"1399612068":["hashtag1","hashtag2"]},{"1399612073":["hashtag1","hashtag2"]},{"1399612070":["hashtag1","hashtag2"]},{"1399612072":["hashtag1","hashtag2"]},{"1399612075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612071, 1399612068, 1399612073, 1399612070, 1399612072, 1399612075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.679863929748535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:03:03.172617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_45_9712.jpg', '/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_55_9963.jpg', '/home/pi/Desktop/images/16122025/08/58/image_16122025_08_59_05_10006.jpg', '/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_14_9856.jpg', '/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_24_9843.jpg', '/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_35_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_45_9712.jpg
/home/pi/Desktop/images/16122025/08/58/image_16122025_08_58_55_9963.jpg
/home/pi/Desktop/images/16122025/08/58/image_16122025_08_59_05_10006.jpg
/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_14_9856.jpg
/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_24_9843.jpg
/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_35_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612095","1399612091","1399612090","1399612093","1399612087","1399612092"],"photo_ids_order":["1399612087","1399612090","1399612091","1399612092","1399612093","1399612095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f76c3ae1fecf401ed3167798edcd2ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3350743320368979010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872243855,"filename":"image_16122025_08_59_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bedd192686d9ed3617e8d8ace7b80c43.jpg","text":"TemporaryFile(/tmp/multipartBody1143760127261620093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872243855,"filename":"image_16122025_08_59_05_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/16/e15cb2c902c83f5a44c2d2ab9dbb0f47.jpg","text":"TemporaryFile(/tmp/multipartBody4700899666570554144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872243855,"filename":"image_16122025_08_58_55_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/16/9237f9e953e0cd1c11ff040e36e3113b.jpg","text":"TemporaryFile(/tmp/multipartBody3307065722243036529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872243855,"filename":"image_16122025_08_59_24_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/984b517845627c9b912f05054d1001b8.jpg","text":"TemporaryFile(/tmp/multipartBody4007750756233395925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872243855,"filename":"image_16122025_08_58_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c422f0e26f7e3fd67d9892366431d350.jpg","text":"TemporaryFile(/tmp/multipartBody5917871126085716782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872243855,"filename":"image_16122025_08_59_14_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612091","file1":"1399612090","file0":"1399612087","file4":"1399612093","file5":"1399612095","file3":"1399612092"},"map_files_photo_id_array":[{"photo_id":"1399612095","filename":"file5"},{"photo_id":"1399612091","filename":"file2"},{"photo_id":"1399612093","filename":"file4"},{"photo_id":"1399612090","filename":"file1"},{"photo_id":"1399612087","filename":"file0"},{"photo_id":"1399612092","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612095":["hashtag1","hashtag2"]},{"1399612091":["hashtag1","hashtag2"]},{"1399612090":["hashtag1","hashtag2"]},{"1399612093":["hashtag1","hashtag2"]},{"1399612087":["hashtag1","hashtag2"]},{"1399612092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612095, 1399612091, 1399612090, 1399612093, 1399612087, 1399612092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.506030321121216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:03:42.468129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_16_1703.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_20_3765.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_22_2662.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_25_2726.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_29_3593.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_34_5186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_16_1703.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_20_3765.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_22_2662.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_25_2726.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_29_3593.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_34_5186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612128","1399612113","1399612122","1399612130","1399612127","1399612126"],"photo_ids_order":["1399612113","1399612122","1399612126","1399612127","1399612128","1399612130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72893f166c71b722f2dff59697940376.jpg","text":"TemporaryFile(/tmp/multipartBody6787713141552229383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872283186,"filename":"image_06112025_15_34_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/16/ae2ba8f73b5e5ccdc3f78f49189fde46.jpg","text":"TemporaryFile(/tmp/multipartBody557567962097560197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872283186,"filename":"image_06112025_15_34_16_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/915d9da7e0954c24a91c2ed11a8bd3ef.jpg","text":"TemporaryFile(/tmp/multipartBody2268422689385315590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872283186,"filename":"image_06112025_15_34_20_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/16/a8926e12450f43cce6aecf0fd48ee061.jpg","text":"TemporaryFile(/tmp/multipartBody6372865609560856303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872283186,"filename":"image_06112025_15_34_34_5186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/984e26a67e997aae015499d1bf4e55b0.jpg","text":"TemporaryFile(/tmp/multipartBody1651291269328947821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872283186,"filename":"image_06112025_15_34_25_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/16/d1cb97c26273f7edb0f32d35243008d9.jpg","text":"TemporaryFile(/tmp/multipartBody5631474355998402352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872283186,"filename":"image_06112025_15_34_22_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612126","file1":"1399612122","file0":"1399612113","file4":"1399612128","file5":"1399612130","file3":"1399612127"},"map_files_photo_id_array":[{"photo_id":"1399612130","filename":"file5"},{"photo_id":"1399612126","filename":"file2"},{"photo_id":"1399612128","filename":"file4"},{"photo_id":"1399612122","filename":"file1"},{"photo_id":"1399612113","filename":"file0"},{"photo_id":"1399612127","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612128":["hashtag1","hashtag2"]},{"1399612113":["hashtag1","hashtag2"]},{"1399612122":["hashtag1","hashtag2"]},{"1399612130":["hashtag1","hashtag2"]},{"1399612127":["hashtag1","hashtag2"]},{"1399612126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612128, 1399612113, 1399612122, 1399612130, 1399612127, 1399612126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03575921058655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:04:22.754484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_45_9767.jpg', '/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_54_9639.jpg', '/home/pi/Desktop/images/16122025/09/00/image_16122025_09_00_15_10057.jpg', '/home/pi/Desktop/images/16122025/09/00/image_16122025_09_00_35_9699.jpg', '/home/pi/Desktop/images/16122025/09/00/image_16122025_09_00_45_10096.jpg', '/home/pi/Desktop/images/16122025/09/01/image_16122025_09_01_35_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_45_9767.jpg
/home/pi/Desktop/images/16122025/08/59/image_16122025_08_59_54_9639.jpg
/home/pi/Desktop/images/16122025/09/00/image_16122025_09_00_15_10057.jpg
/home/pi/Desktop/images/16122025/09/00/image_16122025_09_00_35_9699.jpg
/home/pi/Desktop/images/16122025/09/00/image_16122025_09_00_45_10096.jpg
/home/pi/Desktop/images/16122025/09/01/image_16122025_09_01_35_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":["1399612151","1399612133","1399612136","1399612153","1399612141","1399612135"],"photo_ids_order":["1399612133","1399612135","1399612136","1399612141","1399612151","1399612153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa4df8ea679880371b8c3154a740b11d.jpg","text":"TemporaryFile(/tmp/multipartBody6658956439677799691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872323386,"filename":"image_16122025_09_00_45_10096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4415d14de27e8bab1fb89e3b0785b1df.jpg","text":"TemporaryFile(/tmp/multipartBody128651508131542769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872323386,"filename":"image_16122025_08_59_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/16/78bb6a4def72dc4685c69d0935f89208.jpg","text":"TemporaryFile(/tmp/multipartBody3531140327388213549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872323386,"filename":"image_16122025_09_00_15_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de042c5126ab73f76f2a731921ab01f4.jpg","text":"TemporaryFile(/tmp/multipartBody3226220366175496920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872323386,"filename":"image_16122025_09_01_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f702738d921c341e6637433e036a533f.jpg","text":"TemporaryFile(/tmp/multipartBody7513048409991609116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872323386,"filename":"image_16122025_09_00_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/16/84acbb94d76cd63da9fd4265bfd18eed.jpg","text":"TemporaryFile(/tmp/multipartBody4303180781951092227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872323386,"filename":"image_16122025_08_59_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612136","file1":"1399612135","file0":"1399612133","file4":"1399612151","file5":"1399612153","file3":"1399612141"},"map_files_photo_id_array":[{"photo_id":"1399612153","filename":"file5"},{"photo_id":"1399612136","filename":"file2"},{"photo_id":"1399612151","filename":"file4"},{"photo_id":"1399612135","filename":"file1"},{"photo_id":"1399612133","filename":"file0"},{"photo_id":"1399612141","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612151":["hashtag1","hashtag2"]},{"1399612133":["hashtag1","hashtag2"]},{"1399612136":["hashtag1","hashtag2"]},{"1399612153":["hashtag1","hashtag2"]},{"1399612141":["hashtag1","hashtag2"]},{"1399612135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612151, 1399612133, 1399612136, 1399612153, 1399612141, 1399612135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.715102672576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:05:02.541643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/01/image_16122025_09_01_45_9707.jpg', '/home/pi/Desktop/images/16122025/09/01/image_16122025_09_01_55_10583.jpg', '/home/pi/Desktop/images/16122025/09/01/image_16122025_09_02_05_9718.jpg', '/home/pi/Desktop/images/16122025/09/02/image_16122025_09_02_25_9834.jpg', '/home/pi/Desktop/images/16122025/09/02/image_16122025_09_02_45_9807.jpg', '/home/pi/Desktop/images/16122025/09/02/image_16122025_09_02_56_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/01/image_16122025_09_01_45_9707.jpg
/home/pi/Desktop/images/16122025/09/01/image_16122025_09_01_55_10583.jpg
/home/pi/Desktop/images/16122025/09/01/image_16122025_09_02_05_9718.jpg
/home/pi/Desktop/images/16122025/09/02/image_16122025_09_02_25_9834.jpg
/home/pi/Desktop/images/16122025/09/02/image_16122025_09_02_45_9807.jpg
/home/pi/Desktop/images/16122025/09/02/image_16122025_09_02_56_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612173","1399612170","1399612166","1399612175","1399612177","1399612171"],"photo_ids_order":["1399612166","1399612170","1399612171","1399612173","1399612175","1399612177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3be1fbba9a6133e159358a54b875aedd.jpg","text":"TemporaryFile(/tmp/multipartBody8344157319765700951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872363156,"filename":"image_16122025_09_02_25_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3548144aa5d1e518b9108d8f25498293.jpg","text":"TemporaryFile(/tmp/multipartBody5061646130267240180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872363156,"filename":"image_16122025_09_01_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/16/aa065fc50de807d9296909f591521b36.jpg","text":"TemporaryFile(/tmp/multipartBody7618522036550082038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872363156,"filename":"image_16122025_09_01_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/16/fdbb03a3bb7156dd9ce9117c8253900d.jpg","text":"TemporaryFile(/tmp/multipartBody1651119093022310258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872363156,"filename":"image_16122025_09_02_45_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd05a0e297cfc8a62cbe6068fde3fc0e.jpg","text":"TemporaryFile(/tmp/multipartBody4475790677464424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872363156,"filename":"image_16122025_09_02_56_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/16/1b85be53e6500bbf5a40972faca23366.jpg","text":"TemporaryFile(/tmp/multipartBody990358658448847844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872363156,"filename":"image_16122025_09_02_05_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612171","file1":"1399612170","file0":"1399612166","file4":"1399612175","file5":"1399612177","file3":"1399612173"},"map_files_photo_id_array":[{"photo_id":"1399612177","filename":"file5"},{"photo_id":"1399612171","filename":"file2"},{"photo_id":"1399612175","filename":"file4"},{"photo_id":"1399612170","filename":"file1"},{"photo_id":"1399612166","filename":"file0"},{"photo_id":"1399612173","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612173":["hashtag1","hashtag2"]},{"1399612170":["hashtag1","hashtag2"]},{"1399612166":["hashtag1","hashtag2"]},{"1399612175":["hashtag1","hashtag2"]},{"1399612177":["hashtag1","hashtag2"]},{"1399612171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612173, 1399612170, 1399612166, 1399612175, 1399612177, 1399612171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58745813369751 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-16 09:06:02.466974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_26_10738.jpg', '/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_35_9756.jpg', '/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_45_9642.jpg', '/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_55_9791.jpg', '/home/pi/Desktop/images/16122025/09/03/image_16122025_09_04_06_10662.jpg', '/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_15_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_26_10738.jpg
/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_35_9756.jpg
/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_45_9642.jpg
/home/pi/Desktop/images/16122025/09/03/image_16122025_09_03_55_9791.jpg
/home/pi/Desktop/images/16122025/09/03/image_16122025_09_04_06_10662.jpg
/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_15_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":["1399612188","1399612190","1399612187","1399612189","1399612186","1399612191"],"photo_ids_order":["1399612186","1399612187","1399612188","1399612189","1399612190","1399612191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71daba8bf5132d7c39a6234a0e010d7b.jpg","text":"TemporaryFile(/tmp/multipartBody3125091552702285841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872423043,"filename":"image_16122025_09_03_45_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/16/bd45a4d48dbde6d53ec823950961e458.jpg","text":"TemporaryFile(/tmp/multipartBody6196758077034207831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872423043,"filename":"image_16122025_09_04_06_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/16/52f7ade014967393d349cf7763ae509d.jpg","text":"TemporaryFile(/tmp/multipartBody6234548015972847278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872423043,"filename":"image_16122025_09_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/16/2de90d9bac0210f9979e61dfcd9084bf.jpg","text":"TemporaryFile(/tmp/multipartBody2703254211980898315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872423043,"filename":"image_16122025_09_03_55_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/16/122a57a31e22c4799d5c94f7d60dc08b.jpg","text":"TemporaryFile(/tmp/multipartBody689266922584593868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872423043,"filename":"image_16122025_09_03_26_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/16/f17a1e338f76439c9a592c2e85c53a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5380118604201045363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872423043,"filename":"image_16122025_09_04_15_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612188","file1":"1399612187","file0":"1399612186","file4":"1399612190","file5":"1399612191","file3":"1399612189"},"map_files_photo_id_array":[{"photo_id":"1399612191","filename":"file5"},{"photo_id":"1399612188","filename":"file2"},{"photo_id":"1399612190","filename":"file4"},{"photo_id":"1399612187","filename":"file1"},{"photo_id":"1399612186","filename":"file0"},{"photo_id":"1399612189","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612188":["hashtag1","hashtag2"]},{"1399612190":["hashtag1","hashtag2"]},{"1399612187":["hashtag1","hashtag2"]},{"1399612189":["hashtag1","hashtag2"]},{"1399612186":["hashtag1","hashtag2"]},{"1399612191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612188, 1399612190, 1399612187, 1399612189, 1399612186, 1399612191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88463115692139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:06:42.045660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_36_1637.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_37_1539.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_56_15439.jpg', '/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_58_1633.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_06_7800.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_08_2037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_36_1637.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_37_1539.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_56_15439.jpg
/home/pi/Desktop/images/06112025/15/34/image_06112025_15_34_58_1633.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_06_7800.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_08_2037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612210","1399612212","1399612206","1399612200","1399612203","1399612208"],"photo_ids_order":["1399612200","1399612203","1399612206","1399612208","1399612210","1399612212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a31440ad89db26097a05fc7920eb4424.jpg","text":"TemporaryFile(/tmp/multipartBody2237630592505897843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872462764,"filename":"image_06112025_15_35_06_7800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d776c2e03bb732738d572fc6aa249765.jpg","text":"TemporaryFile(/tmp/multipartBody6823469281950342973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872462764,"filename":"image_06112025_15_35_08_2037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cf8c49c95b91aa8c9128902d330ea9a.jpg","text":"TemporaryFile(/tmp/multipartBody6740091790363468175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872462764,"filename":"image_06112025_15_34_56_15439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43bc9c69ef97547a9c59e86429359408.jpg","text":"TemporaryFile(/tmp/multipartBody7982294313937796972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872462764,"filename":"image_06112025_15_34_36_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/16/624e76f332a69f7ab060d45ed846d095.jpg","text":"TemporaryFile(/tmp/multipartBody5496233668924676495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872462764,"filename":"image_06112025_15_34_37_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/16/871abd47728f23e6457e43dff605aaed.jpg","text":"TemporaryFile(/tmp/multipartBody6438121814267723631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872462764,"filename":"image_06112025_15_34_58_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612206","file1":"1399612203","file0":"1399612200","file4":"1399612210","file5":"1399612212","file3":"1399612208"},"map_files_photo_id_array":[{"photo_id":"1399612212","filename":"file5"},{"photo_id":"1399612206","filename":"file2"},{"photo_id":"1399612210","filename":"file4"},{"photo_id":"1399612203","filename":"file1"},{"photo_id":"1399612200","filename":"file0"},{"photo_id":"1399612208","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612210":["hashtag1","hashtag2"]},{"1399612212":["hashtag1","hashtag2"]},{"1399612206":["hashtag1","hashtag2"]},{"1399612200":["hashtag1","hashtag2"]},{"1399612203":["hashtag1","hashtag2"]},{"1399612208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612210, 1399612212, 1399612206, 1399612200, 1399612203, 1399612208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75214982032776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:07:22.320600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_25_9557.jpg', '/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_35_10573.jpg', '/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_45_9544.jpg', '/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_56_10616.jpg', '/home/pi/Desktop/images/16122025/09/04/image_16122025_09_05_05_9612.jpg', '/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_15_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_25_9557.jpg
/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_35_10573.jpg
/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_45_9544.jpg
/home/pi/Desktop/images/16122025/09/04/image_16122025_09_04_56_10616.jpg
/home/pi/Desktop/images/16122025/09/04/image_16122025_09_05_05_9612.jpg
/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_15_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":["1399612218","1399612220","1399612214","1399612225","1399612222","1399612216"],"photo_ids_order":["1399612214","1399612216","1399612218","1399612220","1399612222","1399612225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/597ba36ded20b7a8211974d9704894f3.jpg","text":"TemporaryFile(/tmp/multipartBody4751467743198604917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872502886,"filename":"image_16122025_09_04_45_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64f80008298a74168f67c35bf4940db8.jpg","text":"TemporaryFile(/tmp/multipartBody7937537438205975745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872502886,"filename":"image_16122025_09_04_56_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/16/8c7a95854a2473cbe2e338fd43c17f38.jpg","text":"TemporaryFile(/tmp/multipartBody6852386806209296497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872502886,"filename":"image_16122025_09_04_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/16/e658bd80506fe0d03331a9b1da2c4990.jpg","text":"TemporaryFile(/tmp/multipartBody4936456208064617543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872502886,"filename":"image_16122025_09_05_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/16/6700b9fffa0718325c327ac2e787d146.jpg","text":"TemporaryFile(/tmp/multipartBody7453103396131065402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872502886,"filename":"image_16122025_09_05_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/16/2be951e9aab58d41401a33b4c9218672.jpg","text":"TemporaryFile(/tmp/multipartBody2625867371126296499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872502886,"filename":"image_16122025_09_04_35_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612218","file1":"1399612216","file0":"1399612214","file4":"1399612222","file5":"1399612225","file3":"1399612220"},"map_files_photo_id_array":[{"photo_id":"1399612225","filename":"file5"},{"photo_id":"1399612218","filename":"file2"},{"photo_id":"1399612222","filename":"file4"},{"photo_id":"1399612216","filename":"file1"},{"photo_id":"1399612214","filename":"file0"},{"photo_id":"1399612220","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612218":["hashtag1","hashtag2"]},{"1399612220":["hashtag1","hashtag2"]},{"1399612214":["hashtag1","hashtag2"]},{"1399612225":["hashtag1","hashtag2"]},{"1399612222":["hashtag1","hashtag2"]},{"1399612216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612218, 1399612220, 1399612214, 1399612225, 1399612222, 1399612216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.831106185913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:08:03.031390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_25_10254.jpg', '/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_36_10669.jpg', '/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_45_9612.jpg', '/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_55_9782.jpg', '/home/pi/Desktop/images/16122025/09/05/image_16122025_09_06_05_9693.jpg', '/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_15_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_25_10254.jpg
/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_36_10669.jpg
/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_45_9612.jpg
/home/pi/Desktop/images/16122025/09/05/image_16122025_09_05_55_9782.jpg
/home/pi/Desktop/images/16122025/09/05/image_16122025_09_06_05_9693.jpg
/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_15_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":["1399612230","1399612232","1399612229","1399612231","1399612234","1399612228"],"photo_ids_order":["1399612228","1399612229","1399612230","1399612231","1399612232","1399612234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d01d06afe0c6b7f0f0f4410f6c47cbae.jpg","text":"TemporaryFile(/tmp/multipartBody4693948755213117630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872543632,"filename":"image_16122025_09_05_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/16/535b3f3463c1e904ec6c097e22683810.jpg","text":"TemporaryFile(/tmp/multipartBody2962032315426719846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872543632,"filename":"image_16122025_09_06_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d9cca0825e1c25b6c4492696bef99d2.jpg","text":"TemporaryFile(/tmp/multipartBody5831954402770249652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872543632,"filename":"image_16122025_09_05_36_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/16/f2cffcaa733b13d9f3a4605b760b3542.jpg","text":"TemporaryFile(/tmp/multipartBody8675157031606715177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872543632,"filename":"image_16122025_09_05_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bcac77dca54f3068df23442b1730824.jpg","text":"TemporaryFile(/tmp/multipartBody4483548712434522409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872543632,"filename":"image_16122025_09_06_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab112e06d40e68ccd052f8a6b23bf39a.jpg","text":"TemporaryFile(/tmp/multipartBody862712954289773654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872543632,"filename":"image_16122025_09_05_25_10254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612230","file1":"1399612229","file0":"1399612228","file4":"1399612232","file5":"1399612234","file3":"1399612231"},"map_files_photo_id_array":[{"photo_id":"1399612234","filename":"file5"},{"photo_id":"1399612230","filename":"file2"},{"photo_id":"1399612232","filename":"file4"},{"photo_id":"1399612229","filename":"file1"},{"photo_id":"1399612228","filename":"file0"},{"photo_id":"1399612231","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612230":["hashtag1","hashtag2"]},{"1399612232":["hashtag1","hashtag2"]},{"1399612229":["hashtag1","hashtag2"]},{"1399612231":["hashtag1","hashtag2"]},{"1399612234":["hashtag1","hashtag2"]},{"1399612228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612230, 1399612232, 1399612229, 1399612231, 1399612234, 1399612228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.424505949020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:08:42.482791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_09_1815.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_11_1553.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_13_1871.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_14_1621.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_16_1539.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_18_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_09_1815.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_11_1553.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_13_1871.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_14_1621.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_16_1539.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_18_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612251","1399612241","1399612244","1399612252","1399612255","1399612249"],"photo_ids_order":["1399612241","1399612244","1399612249","1399612251","1399612252","1399612255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3aa0f8d2944d60992b295e9a6db59356.jpg","text":"TemporaryFile(/tmp/multipartBody5128419725257395060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872583193,"filename":"image_06112025_15_35_14_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5f4ebd007d9bd20783e9712525ac6a79.jpg","text":"TemporaryFile(/tmp/multipartBody7020506347593075968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872583193,"filename":"image_06112025_15_35_09_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/16/296f0f9588b79fce4e9032b7eba26c37.jpg","text":"TemporaryFile(/tmp/multipartBody6142102981014693099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872583193,"filename":"image_06112025_15_35_11_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/16/cf1e70882d4411ce4963ae5425adf705.jpg","text":"TemporaryFile(/tmp/multipartBody9054146395050116628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872583193,"filename":"image_06112025_15_35_16_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/16/19c3652919d749485a582a3e697df08d.jpg","text":"TemporaryFile(/tmp/multipartBody1864972152117953512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872583193,"filename":"image_06112025_15_35_18_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/16/841a9571a6f175f5577660fd635e37c8.jpg","text":"TemporaryFile(/tmp/multipartBody5153411127497373552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872583193,"filename":"image_06112025_15_35_13_1871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612249","file1":"1399612244","file0":"1399612241","file4":"1399612252","file5":"1399612255","file3":"1399612251"},"map_files_photo_id_array":[{"photo_id":"1399612255","filename":"file5"},{"photo_id":"1399612249","filename":"file2"},{"photo_id":"1399612252","filename":"file4"},{"photo_id":"1399612244","filename":"file1"},{"photo_id":"1399612241","filename":"file0"},{"photo_id":"1399612251","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612251":["hashtag1","hashtag2"]},{"1399612241":["hashtag1","hashtag2"]},{"1399612244":["hashtag1","hashtag2"]},{"1399612252":["hashtag1","hashtag2"]},{"1399612255":["hashtag1","hashtag2"]},{"1399612249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612251, 1399612241, 1399612244, 1399612252, 1399612255, 1399612249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.075206995010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:09:22.737625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_25_9566.jpg', '/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_36_10626.jpg', '/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_45_9691.jpg', '/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_55_9699.jpg', '/home/pi/Desktop/images/16122025/09/06/image_16122025_09_07_05_9751.jpg', '/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_16_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_25_9566.jpg
/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_36_10626.jpg
/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_45_9691.jpg
/home/pi/Desktop/images/16122025/09/06/image_16122025_09_06_55_9699.jpg
/home/pi/Desktop/images/16122025/09/06/image_16122025_09_07_05_9751.jpg
/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_16_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612269","1399612260","1399612271","1399612265","1399612258","1399612267"],"photo_ids_order":["1399612258","1399612260","1399612265","1399612267","1399612269","1399612271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f2a77ee527950aaf991bae5aa883534.jpg","text":"TemporaryFile(/tmp/multipartBody4653373192704099258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872623368,"filename":"image_16122025_09_07_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b1f3e9aeebc2f530993ffa7d53c3461.jpg","text":"TemporaryFile(/tmp/multipartBody2337603374345527702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872623368,"filename":"image_16122025_09_06_36_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/16/7295bff06ecb89cefa6d0a6f6f3cefe8.jpg","text":"TemporaryFile(/tmp/multipartBody2449207159377460677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872623368,"filename":"image_16122025_09_07_16_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/16/3f84ca4cb526011918c70db1580a7df9.jpg","text":"TemporaryFile(/tmp/multipartBody3024708075339583352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872623368,"filename":"image_16122025_09_06_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/16/d6a5ee9df30cae252d0fb61c070054c1.jpg","text":"TemporaryFile(/tmp/multipartBody5005380372955371925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872623368,"filename":"image_16122025_09_06_25_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/16/a534a6321a5c83ae2c68032b0abfedfb.jpg","text":"TemporaryFile(/tmp/multipartBody4176482427933712683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872623368,"filename":"image_16122025_09_06_55_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612265","file1":"1399612260","file0":"1399612258","file4":"1399612269","file5":"1399612271","file3":"1399612267"},"map_files_photo_id_array":[{"photo_id":"1399612271","filename":"file5"},{"photo_id":"1399612265","filename":"file2"},{"photo_id":"1399612269","filename":"file4"},{"photo_id":"1399612260","filename":"file1"},{"photo_id":"1399612258","filename":"file0"},{"photo_id":"1399612267","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612269":["hashtag1","hashtag2"]},{"1399612260":["hashtag1","hashtag2"]},{"1399612271":["hashtag1","hashtag2"]},{"1399612265":["hashtag1","hashtag2"]},{"1399612258":["hashtag1","hashtag2"]},{"1399612267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612269, 1399612260, 1399612271, 1399612265, 1399612258, 1399612267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.2785439491272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:11:02.854068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_25_9669.jpg', '/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_35_9683.jpg', '/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_46_10710.jpg', '/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_55_9632.jpg', '/home/pi/Desktop/images/16122025/09/07/image_16122025_09_08_05_9811.jpg', '/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_16_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_25_9669.jpg
/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_35_9683.jpg
/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_46_10710.jpg
/home/pi/Desktop/images/16122025/09/07/image_16122025_09_07_55_9632.jpg
/home/pi/Desktop/images/16122025/09/07/image_16122025_09_08_05_9811.jpg
/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_16_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":["1399612302","1399612301","1399612304","1399612297","1399612300","1399612299"],"photo_ids_order":["1399612297","1399612299","1399612300","1399612301","1399612302","1399612304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6025fbc5318cababbe58b0973842dc14.jpg","text":"TemporaryFile(/tmp/multipartBody7632070491159181781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872723593,"filename":"image_16122025_09_08_05_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d96417d4d160aa3df7a2fd404293efa.jpg","text":"TemporaryFile(/tmp/multipartBody9115210465251616286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872723593,"filename":"image_16122025_09_07_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/16/c364133b76a46ac7d89521b94bda7448.jpg","text":"TemporaryFile(/tmp/multipartBody1706618407668977724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872723593,"filename":"image_16122025_09_08_16_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aec91c42a8112b61a39e72527fb2a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4442512362605420793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872723593,"filename":"image_16122025_09_07_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08f443c9e549b650b7cba848c5356206.jpg","text":"TemporaryFile(/tmp/multipartBody4391501492153836520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872723593,"filename":"image_16122025_09_07_46_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/16/db6c8bd8cd6ec8491135f39da231e7f9.jpg","text":"TemporaryFile(/tmp/multipartBody5359683146184612949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872723593,"filename":"image_16122025_09_07_35_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612300","file1":"1399612299","file0":"1399612297","file4":"1399612302","file5":"1399612304","file3":"1399612301"},"map_files_photo_id_array":[{"photo_id":"1399612304","filename":"file5"},{"photo_id":"1399612300","filename":"file2"},{"photo_id":"1399612302","filename":"file4"},{"photo_id":"1399612299","filename":"file1"},{"photo_id":"1399612297","filename":"file0"},{"photo_id":"1399612301","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612302":["hashtag1","hashtag2"]},{"1399612301":["hashtag1","hashtag2"]},{"1399612304":["hashtag1","hashtag2"]},{"1399612297":["hashtag1","hashtag2"]},{"1399612300":["hashtag1","hashtag2"]},{"1399612299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612302, 1399612301, 1399612304, 1399612297, 1399612300, 1399612299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53913927078247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:11:42.271091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_19_1680.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_21_1847.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_23_1645.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_24_1639.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_26_1657.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_28_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_19_1680.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_21_1847.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_23_1645.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_24_1639.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_26_1657.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_28_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: 0.6094570159912109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:12:03.018288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_25_9708.jpg', '/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_35_9888.jpg', '/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_45_9548.jpg', '/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_56_10715.jpg', '/home/pi/Desktop/images/16122025/09/08/image_16122025_09_09_05_9621.jpg', '/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_15_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_25_9708.jpg
/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_35_9888.jpg
/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_45_9548.jpg
/home/pi/Desktop/images/16122025/09/08/image_16122025_09_08_56_10715.jpg
/home/pi/Desktop/images/16122025/09/08/image_16122025_09_09_05_9621.jpg
/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_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":["1399612344","1399612323","1399612349","1399612322","1399612342","1399612336"],"photo_ids_order":["1399612322","1399612323","1399612336","1399612342","1399612344","1399612349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/24c43db574677e6e80aac94e7b8e226d.jpg","text":"TemporaryFile(/tmp/multipartBody3582261414724942826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872783713,"filename":"image_16122025_09_09_05_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6468a71b499b28e631c9410ec0c325ef.jpg","text":"TemporaryFile(/tmp/multipartBody3038791697018439947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872783713,"filename":"image_16122025_09_08_35_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/16/3effd0de6a40791004df3491fa05c0b0.jpg","text":"TemporaryFile(/tmp/multipartBody7993126527986644712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872783713,"filename":"image_16122025_09_09_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/16/8c5c77e3bccf215f532cea7737135651.jpg","text":"TemporaryFile(/tmp/multipartBody8210547316100671812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872783713,"filename":"image_16122025_09_08_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/16/806c4ee25c6c370ae7d01288698cf1c5.jpg","text":"TemporaryFile(/tmp/multipartBody845883156217345080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872783713,"filename":"image_16122025_09_08_56_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/16/b9b5ee2a9698b9e25eab69a7d44ee0a0.jpg","text":"TemporaryFile(/tmp/multipartBody7380929142547720689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872783713,"filename":"image_16122025_09_08_45_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612336","file1":"1399612323","file0":"1399612322","file4":"1399612344","file5":"1399612349","file3":"1399612342"},"map_files_photo_id_array":[{"photo_id":"1399612349","filename":"file5"},{"photo_id":"1399612336","filename":"file2"},{"photo_id":"1399612344","filename":"file4"},{"photo_id":"1399612323","filename":"file1"},{"photo_id":"1399612322","filename":"file0"},{"photo_id":"1399612342","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612344":["hashtag1","hashtag2"]},{"1399612323":["hashtag1","hashtag2"]},{"1399612349":["hashtag1","hashtag2"]},{"1399612322":["hashtag1","hashtag2"]},{"1399612342":["hashtag1","hashtag2"]},{"1399612336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612344, 1399612323, 1399612349, 1399612322, 1399612342, 1399612336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54545712471008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:12:42.593387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_19_1680.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_21_1847.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_23_1645.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_24_1639.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_26_1657.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_28_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_19_1680.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_21_1847.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_23_1645.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_24_1639.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_26_1657.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_28_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":["1399612359","1399612358","1399612361","1399612360","1399612363","1399612357"],"photo_ids_order":["1399612357","1399612358","1399612359","1399612360","1399612361","1399612363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6d899b78493a375495f39b89d7c083f.jpg","text":"TemporaryFile(/tmp/multipartBody4585172481652242733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872823191,"filename":"image_06112025_15_35_23_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2cfb89678581acfce5b19d91745c9bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8061700441287140215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872823191,"filename":"image_06112025_15_35_21_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/16/3552bf72d80b7b57b2089d65ff178a69.jpg","text":"TemporaryFile(/tmp/multipartBody2277993936582967222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872823191,"filename":"image_06112025_15_35_26_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c2c4e38994faf437b181b6b07edde01.jpg","text":"TemporaryFile(/tmp/multipartBody2658988650054796716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872823191,"filename":"image_06112025_15_35_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/16/64f690125dd1c6626d40a1f43017a9c4.jpg","text":"TemporaryFile(/tmp/multipartBody187078192566739964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872823191,"filename":"image_06112025_15_35_28_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/16/260fc512166b485897481c9225ad869e.jpg","text":"TemporaryFile(/tmp/multipartBody9097581536603459078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872823191,"filename":"image_06112025_15_35_19_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612359","file1":"1399612358","file0":"1399612357","file4":"1399612361","file5":"1399612363","file3":"1399612360"},"map_files_photo_id_array":[{"photo_id":"1399612363","filename":"file5"},{"photo_id":"1399612359","filename":"file2"},{"photo_id":"1399612361","filename":"file4"},{"photo_id":"1399612358","filename":"file1"},{"photo_id":"1399612357","filename":"file0"},{"photo_id":"1399612360","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612359":["hashtag1","hashtag2"]},{"1399612358":["hashtag1","hashtag2"]},{"1399612361":["hashtag1","hashtag2"]},{"1399612360":["hashtag1","hashtag2"]},{"1399612363":["hashtag1","hashtag2"]},{"1399612357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612359, 1399612358, 1399612361, 1399612360, 1399612363, 1399612357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71476173400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:13:21.835567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_25_10671.jpg', '/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_35_9590.jpg', '/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_45_9709.jpg', '/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_56_10813.jpg', '/home/pi/Desktop/images/16122025/09/09/image_16122025_09_10_05_9900.jpg', '/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_15_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_25_10671.jpg
/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_35_9590.jpg
/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_45_9709.jpg
/home/pi/Desktop/images/16122025/09/09/image_16122025_09_09_56_10813.jpg
/home/pi/Desktop/images/16122025/09/09/image_16122025_09_10_05_9900.jpg
/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_15_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":["1399612368","1399612376","1399612370","1399612364","1399612372","1399612366"],"photo_ids_order":["1399612364","1399612366","1399612368","1399612370","1399612372","1399612376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2c6091e9b6aab62737ce7e92bb5092b.jpg","text":"TemporaryFile(/tmp/multipartBody1367549172556738031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872862439,"filename":"image_16122025_09_09_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/16/617e700929657b1b02d0924bac7818e1.jpg","text":"TemporaryFile(/tmp/multipartBody6240938202157769109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872862439,"filename":"image_16122025_09_10_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d58bae325932bbec1759da64c9896dc.jpg","text":"TemporaryFile(/tmp/multipartBody8294382030519876650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872862439,"filename":"image_16122025_09_09_56_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/16/007834d78431b8421fa46bc158a40479.jpg","text":"TemporaryFile(/tmp/multipartBody7807623831993426007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872862439,"filename":"image_16122025_09_09_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/16/39cdcb1c91fb57ef403ff8bf58bcf1ee.jpg","text":"TemporaryFile(/tmp/multipartBody8028610975048545377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872862439,"filename":"image_16122025_09_10_05_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/16/36a9f579cd1fab3ae9f83bd6750e9d27.jpg","text":"TemporaryFile(/tmp/multipartBody1122707017764868481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872862439,"filename":"image_16122025_09_09_35_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612368","file1":"1399612366","file0":"1399612364","file4":"1399612372","file5":"1399612376","file3":"1399612370"},"map_files_photo_id_array":[{"photo_id":"1399612376","filename":"file5"},{"photo_id":"1399612368","filename":"file2"},{"photo_id":"1399612372","filename":"file4"},{"photo_id":"1399612366","filename":"file1"},{"photo_id":"1399612364","filename":"file0"},{"photo_id":"1399612370","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612368":["hashtag1","hashtag2"]},{"1399612376":["hashtag1","hashtag2"]},{"1399612370":["hashtag1","hashtag2"]},{"1399612364":["hashtag1","hashtag2"]},{"1399612372":["hashtag1","hashtag2"]},{"1399612366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612368, 1399612376, 1399612370, 1399612364, 1399612372, 1399612366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.175320863723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:14:02.927639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_25_9683.jpg', '/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_36_10689.jpg', '/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_45_9635.jpg', '/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_55_9894.jpg', '/home/pi/Desktop/images/16122025/09/10/image_16122025_09_11_05_9705.jpg', '/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_15_9988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_25_9683.jpg
/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_36_10689.jpg
/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_45_9635.jpg
/home/pi/Desktop/images/16122025/09/10/image_16122025_09_10_55_9894.jpg
/home/pi/Desktop/images/16122025/09/10/image_16122025_09_11_05_9705.jpg
/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_15_9988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612380","1399612382","1399612385","1399612381","1399612378","1399612383"],"photo_ids_order":["1399612378","1399612380","1399612381","1399612382","1399612383","1399612385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6164b0c5ced4505632543468447a3c8a.jpg","text":"TemporaryFile(/tmp/multipartBody4752097849078129228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872903635,"filename":"image_16122025_09_10_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/16/f5edf79bdf37b40f5c33f1a933578d56.jpg","text":"TemporaryFile(/tmp/multipartBody5187623891923555174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872903635,"filename":"image_16122025_09_10_55_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d2d9e785f00ebada8593340e34cc4f8.jpg","text":"TemporaryFile(/tmp/multipartBody8583311804983687250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872903635,"filename":"image_16122025_09_11_15_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/16/51063d81cb1d9e09780454ea1f09783b.jpg","text":"TemporaryFile(/tmp/multipartBody3514119443952255152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872903635,"filename":"image_16122025_09_10_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6ec231b8691866c9e0126f6e7cc07ce.jpg","text":"TemporaryFile(/tmp/multipartBody4246215264714777515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872903635,"filename":"image_16122025_09_10_25_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8db8bfdb0cac27d61b4a338c021b9dff.jpg","text":"TemporaryFile(/tmp/multipartBody7948607653868372884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872903635,"filename":"image_16122025_09_11_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612381","file1":"1399612380","file0":"1399612378","file4":"1399612383","file5":"1399612385","file3":"1399612382"},"map_files_photo_id_array":[{"photo_id":"1399612385","filename":"file5"},{"photo_id":"1399612381","filename":"file2"},{"photo_id":"1399612383","filename":"file4"},{"photo_id":"1399612380","filename":"file1"},{"photo_id":"1399612378","filename":"file0"},{"photo_id":"1399612382","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612380":["hashtag1","hashtag2"]},{"1399612382":["hashtag1","hashtag2"]},{"1399612385":["hashtag1","hashtag2"]},{"1399612381":["hashtag1","hashtag2"]},{"1399612378":["hashtag1","hashtag2"]},{"1399612383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612380, 1399612382, 1399612385, 1399612381, 1399612378, 1399612383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29422473907471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:14:42.151648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_31_3586.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_35_3159.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_37_2818.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_42_4376.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_43_1577.jpg', '/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_48_4251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_31_3586.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_35_3159.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_37_2818.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_42_4376.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_43_1577.jpg
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_48_4251.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612392","1399612395","1399612394","1399612397","1399612396","1399612398"],"photo_ids_order":["1399612392","1399612394","1399612395","1399612396","1399612397","1399612398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8439ed21ab410affa3b7c2d174f57047.jpg","text":"TemporaryFile(/tmp/multipartBody382409878079258186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872942937,"filename":"image_06112025_15_35_31_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/16/1f5e02ece117408f5c38311e68a4f658.jpg","text":"TemporaryFile(/tmp/multipartBody8865580654487003733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872942937,"filename":"image_06112025_15_35_37_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/16/a7cd8450ca7029ff2546c808f3c9334c.jpg","text":"TemporaryFile(/tmp/multipartBody2437631335538318984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872942937,"filename":"image_06112025_15_35_35_3159.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7c76b63cfb45f6f3a9203cfaec33922.jpg","text":"TemporaryFile(/tmp/multipartBody4896879297738989469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872942937,"filename":"image_06112025_15_35_43_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/16/c75808bfd4efd7c8bf064d301952d33f.jpg","text":"TemporaryFile(/tmp/multipartBody3252280590601577644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872942937,"filename":"image_06112025_15_35_42_4376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e444e5aa56c63bfdf98f6bd1cb00bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2040511541378365345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872942937,"filename":"image_06112025_15_35_48_4251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612395","file1":"1399612394","file0":"1399612392","file4":"1399612397","file5":"1399612398","file3":"1399612396"},"map_files_photo_id_array":[{"photo_id":"1399612398","filename":"file5"},{"photo_id":"1399612395","filename":"file2"},{"photo_id":"1399612397","filename":"file4"},{"photo_id":"1399612394","filename":"file1"},{"photo_id":"1399612392","filename":"file0"},{"photo_id":"1399612396","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612392":["hashtag1","hashtag2"]},{"1399612395":["hashtag1","hashtag2"]},{"1399612394":["hashtag1","hashtag2"]},{"1399612397":["hashtag1","hashtag2"]},{"1399612396":["hashtag1","hashtag2"]},{"1399612398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612392, 1399612395, 1399612394, 1399612397, 1399612396, 1399612398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55179810523987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:15:22.387050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_25_10537.jpg', '/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_35_9599.jpg', '/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_45_9855.jpg', '/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_56_10879.jpg', '/home/pi/Desktop/images/16122025/09/11/image_16122025_09_12_05_9563.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_15_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_25_10537.jpg
/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_35_9599.jpg
/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_45_9855.jpg
/home/pi/Desktop/images/16122025/09/11/image_16122025_09_11_56_10879.jpg
/home/pi/Desktop/images/16122025/09/11/image_16122025_09_12_05_9563.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_15_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":["1399612401","1399612410","1399612407","1399612400","1399612403","1399612405"],"photo_ids_order":["1399612400","1399612401","1399612403","1399612405","1399612407","1399612410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6dec651e1b12e959095024d5566db4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1034366452578216113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872982955,"filename":"image_16122025_09_11_35_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e33342068c8b1cdd266fc16edad4a82b.jpg","text":"TemporaryFile(/tmp/multipartBody8949983688524518796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872982955,"filename":"image_16122025_09_12_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/585b5082266f90dfff9878e60ec33982.jpg","text":"TemporaryFile(/tmp/multipartBody7283314414778290818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872982955,"filename":"image_16122025_09_12_05_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/16/dbc7fb0fd3fabd4e974359dcd45612e5.jpg","text":"TemporaryFile(/tmp/multipartBody1887978572768620361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872982955,"filename":"image_16122025_09_11_25_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/16/e3e9f8fb10edfb49bdcd490c5928c567.jpg","text":"TemporaryFile(/tmp/multipartBody5698774911770023127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872982955,"filename":"image_16122025_09_11_45_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17dc3849e7c79cb75f89d706dfc932f1.jpg","text":"TemporaryFile(/tmp/multipartBody8708914299809886590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765872982955,"filename":"image_16122025_09_11_56_10879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612403","file1":"1399612401","file0":"1399612400","file4":"1399612407","file5":"1399612410","file3":"1399612405"},"map_files_photo_id_array":[{"photo_id":"1399612410","filename":"file5"},{"photo_id":"1399612403","filename":"file2"},{"photo_id":"1399612407","filename":"file4"},{"photo_id":"1399612401","filename":"file1"},{"photo_id":"1399612400","filename":"file0"},{"photo_id":"1399612405","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612401":["hashtag1","hashtag2"]},{"1399612410":["hashtag1","hashtag2"]},{"1399612407":["hashtag1","hashtag2"]},{"1399612400":["hashtag1","hashtag2"]},{"1399612403":["hashtag1","hashtag2"]},{"1399612405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612401, 1399612410, 1399612407, 1399612400, 1399612403, 1399612405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60967779159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:16:03.173242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_25_10557.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_35_9659.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_46_10624.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_56_9850.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_13_05_9649.jpg', '/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_25_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_25_10557.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_35_9659.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_46_10624.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_56_9850.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_13_05_9649.jpg
/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_25_9789.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4756898880004883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:16:12.776843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:16:22.808706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_25_10557.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_35_9659.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_46_10624.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_56_9850.jpg', '/home/pi/Desktop/images/16122025/09/12/image_16122025_09_13_05_9649.jpg', '/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_25_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_25_10557.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_35_9659.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_46_10624.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_12_56_9850.jpg
/home/pi/Desktop/images/16122025/09/12/image_16122025_09_13_05_9649.jpg
/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_25_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612428","1399612422","1399612430","1399612433","1399612424","1399612426"],"photo_ids_order":["1399612422","1399612424","1399612426","1399612428","1399612430","1399612433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b32c874f5a7f47ca9371caf679597b03.jpg","text":"TemporaryFile(/tmp/multipartBody5983936741796733517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873043397,"filename":"image_16122025_09_12_56_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c77f7f3eb8d405fb5a24b6924a6fd914.jpg","text":"TemporaryFile(/tmp/multipartBody1755298509988620096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873043397,"filename":"image_16122025_09_12_25_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a18dc0e3ab89f33bf662bf80a296f797.jpg","text":"TemporaryFile(/tmp/multipartBody1718277498614290250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873043397,"filename":"image_16122025_09_13_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/16/b8872fcb72321bdc46a4e8579e96ec1b.jpg","text":"TemporaryFile(/tmp/multipartBody390927771155220402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873043397,"filename":"image_16122025_09_13_25_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7278d23a2832aa25030734ff5de28400.jpg","text":"TemporaryFile(/tmp/multipartBody2730522737601964367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873043397,"filename":"image_16122025_09_12_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6423694a139cce27246a0d97c6faf8c.jpg","text":"TemporaryFile(/tmp/multipartBody8141359428901764682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873043397,"filename":"image_16122025_09_12_46_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612426","file1":"1399612424","file0":"1399612422","file4":"1399612430","file5":"1399612433","file3":"1399612428"},"map_files_photo_id_array":[{"photo_id":"1399612433","filename":"file5"},{"photo_id":"1399612426","filename":"file2"},{"photo_id":"1399612430","filename":"file4"},{"photo_id":"1399612424","filename":"file1"},{"photo_id":"1399612422","filename":"file0"},{"photo_id":"1399612428","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612428":["hashtag1","hashtag2"]},{"1399612422":["hashtag1","hashtag2"]},{"1399612430":["hashtag1","hashtag2"]},{"1399612433":["hashtag1","hashtag2"]},{"1399612424":["hashtag1","hashtag2"]},{"1399612426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612428, 1399612422, 1399612430, 1399612433, 1399612424, 1399612426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63137626647949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:17:02.730263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_35_10509.jpg', '/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_45_9556.jpg', '/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_56_10656.jpg', '/home/pi/Desktop/images/16122025/09/13/image_16122025_09_14_05_9804.jpg', '/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_15_9564.jpg', '/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_26_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_35_10509.jpg
/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_45_9556.jpg
/home/pi/Desktop/images/16122025/09/13/image_16122025_09_13_56_10656.jpg
/home/pi/Desktop/images/16122025/09/13/image_16122025_09_14_05_9804.jpg
/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_15_9564.jpg
/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_26_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612440","1399612434","1399612437","1399612436","1399612435","1399612438"],"photo_ids_order":["1399612434","1399612435","1399612436","1399612437","1399612438","1399612440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f52708a0cfe893cd1ff977e3fc7fc94.jpg","text":"TemporaryFile(/tmp/multipartBody8210151931326721589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873083363,"filename":"image_16122025_09_14_26_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/16/36abc8f1d9b6f188bdf4feb9d24d640f.jpg","text":"TemporaryFile(/tmp/multipartBody6837956375526831881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873083363,"filename":"image_16122025_09_13_35_10509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4c659400b907f401256ea579b2342b7.jpg","text":"TemporaryFile(/tmp/multipartBody5727428846189309568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873083363,"filename":"image_16122025_09_14_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/16/efdfa8afee5e8e64842a9b5be6dce2be.jpg","text":"TemporaryFile(/tmp/multipartBody142805816172863803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873083363,"filename":"image_16122025_09_13_56_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/16/eaed9b14607c27139fd4c2520e7414cb.jpg","text":"TemporaryFile(/tmp/multipartBody9090041854345726506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873083363,"filename":"image_16122025_09_13_45_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1baa97b736c2058854435f5735a21178.jpg","text":"TemporaryFile(/tmp/multipartBody4237391049728151750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873083363,"filename":"image_16122025_09_14_15_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612436","file1":"1399612435","file0":"1399612434","file4":"1399612438","file5":"1399612440","file3":"1399612437"},"map_files_photo_id_array":[{"photo_id":"1399612440","filename":"file5"},{"photo_id":"1399612436","filename":"file2"},{"photo_id":"1399612438","filename":"file4"},{"photo_id":"1399612435","filename":"file1"},{"photo_id":"1399612434","filename":"file0"},{"photo_id":"1399612437","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612440":["hashtag1","hashtag2"]},{"1399612434":["hashtag1","hashtag2"]},{"1399612437":["hashtag1","hashtag2"]},{"1399612436":["hashtag1","hashtag2"]},{"1399612435":["hashtag1","hashtag2"]},{"1399612438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612440, 1399612434, 1399612437, 1399612436, 1399612435, 1399612438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55827617645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:17:41.974764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_49_1596.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_03_13355.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_04_1619.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_06_1684.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_07_1635.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_09_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/35/image_06112025_15_35_49_1596.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_03_13355.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_04_1619.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_06_1684.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_07_1635.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_09_1563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612452","1399612455","1399612445","1399612454","1399612453","1399612450"],"photo_ids_order":["1399612445","1399612450","1399612452","1399612453","1399612454","1399612455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d99888887d1821da382ee97da80442d.jpg","text":"TemporaryFile(/tmp/multipartBody8908593187101051225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873122689,"filename":"image_06112025_15_36_04_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/16/67caf87820b641a4b19a90e6a5adec3e.jpg","text":"TemporaryFile(/tmp/multipartBody8750764396309500099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873122689,"filename":"image_06112025_15_36_09_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/16/a765fd00f77194f03b4bad2ff385c1c3.jpg","text":"TemporaryFile(/tmp/multipartBody5266042903834005981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873122689,"filename":"image_06112025_15_35_49_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/16/16664bdb291af5a3c9e22be43d8dd33a.jpg","text":"TemporaryFile(/tmp/multipartBody1646395849547839336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873122689,"filename":"image_06112025_15_36_07_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/640e3f78ee482420e74798d1de8193e9.jpg","text":"TemporaryFile(/tmp/multipartBody8584075643937773572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873122689,"filename":"image_06112025_15_36_06_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c400522da020dbe9b3e2244599cec85.jpg","text":"TemporaryFile(/tmp/multipartBody4804499212930496645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873122689,"filename":"image_06112025_15_36_03_13355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612452","file1":"1399612450","file0":"1399612445","file4":"1399612454","file5":"1399612455","file3":"1399612453"},"map_files_photo_id_array":[{"photo_id":"1399612455","filename":"file5"},{"photo_id":"1399612452","filename":"file2"},{"photo_id":"1399612454","filename":"file4"},{"photo_id":"1399612450","filename":"file1"},{"photo_id":"1399612445","filename":"file0"},{"photo_id":"1399612453","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612452":["hashtag1","hashtag2"]},{"1399612455":["hashtag1","hashtag2"]},{"1399612445":["hashtag1","hashtag2"]},{"1399612454":["hashtag1","hashtag2"]},{"1399612453":["hashtag1","hashtag2"]},{"1399612450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612452, 1399612455, 1399612445, 1399612454, 1399612453, 1399612450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.639689445495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:18:22.281426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_45_9885.jpg', '/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_56_10554.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_15_9759.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_45_9673.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_56_10644.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_16_05_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_45_9885.jpg
/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_56_10554.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_15_9759.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_45_9673.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_56_10644.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_16_05_9699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46048879623413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:18:32.253453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:18:42.263832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_11_1647.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_12_1679.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_17_2816.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_19_2646.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_22_2574.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_26_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_11_1647.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_12_1679.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_17_2816.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_19_2646.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_22_2574.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_26_3637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612479","1399612473","1399612476","1399612475","1399612478","1399612480"],"photo_ids_order":["1399612473","1399612475","1399612476","1399612478","1399612479","1399612480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7036ad0e00349e2a18fb819159964ea.jpg","text":"TemporaryFile(/tmp/multipartBody3603309089328089842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873183014,"filename":"image_06112025_15_36_22_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/16/d45154bc4c010556b48c4b40395cbb4d.jpg","text":"TemporaryFile(/tmp/multipartBody8994175780407881673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873183014,"filename":"image_06112025_15_36_11_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/16/66e1e79dd964da9694bba956982b6705.jpg","text":"TemporaryFile(/tmp/multipartBody6335693593596743974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873183014,"filename":"image_06112025_15_36_17_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93352ebe587bd6029da376e173c2f6b9.jpg","text":"TemporaryFile(/tmp/multipartBody5299510791328944671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873183014,"filename":"image_06112025_15_36_12_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/16/f0a35d59d03d09d2fbcb13949c0b450f.jpg","text":"TemporaryFile(/tmp/multipartBody2144894765589659341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873183014,"filename":"image_06112025_15_36_19_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41c30d32710cf15617b66ef3e3b86cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2176135395937341334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873183014,"filename":"image_06112025_15_36_26_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612476","file1":"1399612475","file0":"1399612473","file4":"1399612479","file5":"1399612480","file3":"1399612478"},"map_files_photo_id_array":[{"photo_id":"1399612480","filename":"file5"},{"photo_id":"1399612476","filename":"file2"},{"photo_id":"1399612479","filename":"file4"},{"photo_id":"1399612475","filename":"file1"},{"photo_id":"1399612473","filename":"file0"},{"photo_id":"1399612478","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612479":["hashtag1","hashtag2"]},{"1399612473":["hashtag1","hashtag2"]},{"1399612476":["hashtag1","hashtag2"]},{"1399612475":["hashtag1","hashtag2"]},{"1399612478":["hashtag1","hashtag2"]},{"1399612480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612479, 1399612473, 1399612476, 1399612475, 1399612478, 1399612480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.257954835891724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:19:22.558460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_45_9885.jpg', '/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_56_10554.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_15_9759.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_45_9673.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_56_10644.jpg', '/home/pi/Desktop/images/16122025/09/15/image_16122025_09_16_05_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_45_9885.jpg
/home/pi/Desktop/images/16122025/09/14/image_16122025_09_14_56_10554.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_15_9759.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_45_9673.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_15_56_10644.jpg
/home/pi/Desktop/images/16122025/09/15/image_16122025_09_16_05_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":["1399612485","1399612493","1399612487","1399612489","1399612483","1399612482"],"photo_ids_order":["1399612482","1399612483","1399612485","1399612487","1399612489","1399612493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/440da0d0694b02d1ffc6abbe2736317a.jpg","text":"TemporaryFile(/tmp/multipartBody7735779786695311916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873223126,"filename":"image_16122025_09_15_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4196bac49cc9399d3fb4637af6c08df.jpg","text":"TemporaryFile(/tmp/multipartBody1328099977462994997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873223126,"filename":"image_16122025_09_16_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/075a786fc711c181654c69743034b800.jpg","text":"TemporaryFile(/tmp/multipartBody472155336104326631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873223126,"filename":"image_16122025_09_15_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/16/2f16b7181b4230fcc9c25675c356a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4093450188427875264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873223126,"filename":"image_16122025_09_15_56_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/16/ec439503209fa12db92fe6c2013a9bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4465800961150860089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873223126,"filename":"image_16122025_09_14_56_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/16/8a3005af537d387c1eb014b724c2820e.jpg","text":"TemporaryFile(/tmp/multipartBody322472588397737231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873223126,"filename":"image_16122025_09_14_45_9885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612485","file1":"1399612483","file0":"1399612482","file4":"1399612489","file5":"1399612493","file3":"1399612487"},"map_files_photo_id_array":[{"photo_id":"1399612493","filename":"file5"},{"photo_id":"1399612485","filename":"file2"},{"photo_id":"1399612489","filename":"file4"},{"photo_id":"1399612483","filename":"file1"},{"photo_id":"1399612482","filename":"file0"},{"photo_id":"1399612487","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612485":["hashtag1","hashtag2"]},{"1399612493":["hashtag1","hashtag2"]},{"1399612487":["hashtag1","hashtag2"]},{"1399612489":["hashtag1","hashtag2"]},{"1399612483":["hashtag1","hashtag2"]},{"1399612482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612485, 1399612493, 1399612487, 1399612489, 1399612483, 1399612482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.732645750045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:20:03.245804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/16/image_16122025_09_16_15_9609.jpg', '/home/pi/Desktop/images/16122025/09/16/image_16122025_09_16_25_10590.jpg', '/home/pi/Desktop/images/16122025/09/16/image_16122025_09_16_55_9864.jpg', '/home/pi/Desktop/images/16122025/09/16/image_16122025_09_17_05_9621.jpg', '/home/pi/Desktop/images/16122025/09/17/image_16122025_09_17_25_9740.jpg', '/home/pi/Desktop/images/16122025/09/17/image_16122025_09_17_46_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/16/image_16122025_09_16_15_9609.jpg
/home/pi/Desktop/images/16122025/09/16/image_16122025_09_16_25_10590.jpg
/home/pi/Desktop/images/16122025/09/16/image_16122025_09_16_55_9864.jpg
/home/pi/Desktop/images/16122025/09/16/image_16122025_09_17_05_9621.jpg
/home/pi/Desktop/images/16122025/09/17/image_16122025_09_17_25_9740.jpg
/home/pi/Desktop/images/16122025/09/17/image_16122025_09_17_46_10550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612500","1399612503","1399612508","1399612502","1399612505","1399612504"],"photo_ids_order":["1399612500","1399612502","1399612503","1399612504","1399612505","1399612508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/709663cccb282d994beac1e4cedb9f31.jpg","text":"TemporaryFile(/tmp/multipartBody2767469845678589079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873263879,"filename":"image_16122025_09_16_15_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/16/3ecee9cf19ab48a139b2fc9d8faa560a.jpg","text":"TemporaryFile(/tmp/multipartBody1401353585271819781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873263879,"filename":"image_16122025_09_16_55_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f38f5b80cea645c489607edfb535f4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1180786416729130135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873263879,"filename":"image_16122025_09_17_46_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31350dc4e0488800032415a4b8072da4.jpg","text":"TemporaryFile(/tmp/multipartBody5604118856915069391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873263879,"filename":"image_16122025_09_16_25_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f9f991d04ae6543fcde842687933913.jpg","text":"TemporaryFile(/tmp/multipartBody132391833721688396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873263879,"filename":"image_16122025_09_17_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5454f578728341f519f573675a45611e.jpg","text":"TemporaryFile(/tmp/multipartBody6072985914413645800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873263879,"filename":"image_16122025_09_17_05_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612503","file1":"1399612502","file0":"1399612500","file4":"1399612505","file5":"1399612508","file3":"1399612504"},"map_files_photo_id_array":[{"photo_id":"1399612508","filename":"file5"},{"photo_id":"1399612503","filename":"file2"},{"photo_id":"1399612505","filename":"file4"},{"photo_id":"1399612502","filename":"file1"},{"photo_id":"1399612500","filename":"file0"},{"photo_id":"1399612504","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612500":["hashtag1","hashtag2"]},{"1399612503":["hashtag1","hashtag2"]},{"1399612508":["hashtag1","hashtag2"]},{"1399612502":["hashtag1","hashtag2"]},{"1399612505":["hashtag1","hashtag2"]},{"1399612504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612500, 1399612503, 1399612508, 1399612502, 1399612505, 1399612504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99234080314636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:20:42.741259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_35_3792.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_37_2762.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_40_2775.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_43_2949.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_47_3595.jpg', '/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_08_1503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_35_3792.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_37_2762.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_40_2775.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_43_2949.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_47_3595.jpg
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_08_1503.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6030991077423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:21:02.729239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/17/image_16122025_09_17_55_9626.jpg', '/home/pi/Desktop/images/16122025/09/17/image_16122025_09_18_05_9631.jpg', '/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_15_10570.jpg', '/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_25_9629.jpg', '/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_36_10652.jpg', '/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_45_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/17/image_16122025_09_17_55_9626.jpg
/home/pi/Desktop/images/16122025/09/17/image_16122025_09_18_05_9631.jpg
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_15_10570.jpg
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_25_9629.jpg
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_36_10652.jpg
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_45_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":["1399612533","1399612532","1399612535","1399612534","1399612537","1399612531"],"photo_ids_order":["1399612531","1399612532","1399612533","1399612534","1399612535","1399612537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/331065cd21790522a07985cfb381855f.jpg","text":"TemporaryFile(/tmp/multipartBody8790721795268600087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873323326,"filename":"image_16122025_09_18_15_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84f5a3a7b3845a7b538c2be00ce0e629.jpg","text":"TemporaryFile(/tmp/multipartBody6010064394408016466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873323326,"filename":"image_16122025_09_18_05_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/16/965902bc7d9e9607f8d700b8ad4dfa75.jpg","text":"TemporaryFile(/tmp/multipartBody1318657848274477084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873323326,"filename":"image_16122025_09_18_36_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/16/272e59470eb8d5e95842a01e00f55325.jpg","text":"TemporaryFile(/tmp/multipartBody6807771196996224551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873323326,"filename":"image_16122025_09_18_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/16/c2a9872085c5e3c90858213281bb0af8.jpg","text":"TemporaryFile(/tmp/multipartBody8765188414182442822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873323326,"filename":"image_16122025_09_18_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/16/114a9f1a27000256d4524a3d77b932f2.jpg","text":"TemporaryFile(/tmp/multipartBody3118023504090403926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873323326,"filename":"image_16122025_09_17_55_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612533","file1":"1399612532","file0":"1399612531","file4":"1399612535","file5":"1399612537","file3":"1399612534"},"map_files_photo_id_array":[{"photo_id":"1399612537","filename":"file5"},{"photo_id":"1399612533","filename":"file2"},{"photo_id":"1399612535","filename":"file4"},{"photo_id":"1399612532","filename":"file1"},{"photo_id":"1399612531","filename":"file0"},{"photo_id":"1399612534","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399612533":["hashtag1","hashtag2"]},{"1399612532":["hashtag1","hashtag2"]},{"1399612535":["hashtag1","hashtag2"]},{"1399612534":["hashtag1","hashtag2"]},{"1399612537":["hashtag1","hashtag2"]},{"1399612531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399612533, 1399612532, 1399612535, 1399612534, 1399612537, 1399612531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.104737997055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:21:42.004460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_35_3792.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_37_2762.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_40_2775.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_43_2949.jpg', '/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_47_3595.jpg', '/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_08_1503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_35_3792.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_37_2762.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_40_2775.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_43_2949.jpg
/home/pi/Desktop/images/06112025/15/36/image_06112025_15_36_47_3595.jpg
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_08_1503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612548","1399612542","1399612550","1399612547","1399612549","1399612546"],"photo_ids_order":["1399612542","1399612546","1399612547","1399612548","1399612549","1399612550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f0d31dee22ec6cac75652f07b726e92.jpg","text":"TemporaryFile(/tmp/multipartBody8840442246361196066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873362599,"filename":"image_06112025_15_36_43_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/16/bdb7fc2e45044dea328ca3d89d4bb20c.jpg","text":"TemporaryFile(/tmp/multipartBody6560027094243988116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873362599,"filename":"image_06112025_15_36_35_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b2f40796bd32f7a4242dc67d6d8d183.jpg","text":"TemporaryFile(/tmp/multipartBody1083552960738036913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873362599,"filename":"image_06112025_15_37_08_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/16/de1d24cc587ba14d735a24fd53170495.jpg","text":"TemporaryFile(/tmp/multipartBody5802265030022599458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873362599,"filename":"image_06112025_15_36_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/16/bcd9a65624ae04d760a782fc543c4916.jpg","text":"TemporaryFile(/tmp/multipartBody6725337979403913726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873362599,"filename":"image_06112025_15_36_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/16/0f3e47c5084a2416226d74397ca322fb.jpg","text":"TemporaryFile(/tmp/multipartBody8295747373043701682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873362599,"filename":"image_06112025_15_36_37_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612547","file1":"1399612546","file0":"1399612542","file4":"1399612549","file5":"1399612550","file3":"1399612548"},"map_files_photo_id_array":[{"photo_id":"1399612550","filename":"file5"},{"photo_id":"1399612547","filename":"file2"},{"photo_id":"1399612549","filename":"file4"},{"photo_id":"1399612546","filename":"file1"},{"photo_id":"1399612542","filename":"file0"},{"photo_id":"1399612548","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612548":["hashtag1","hashtag2"]},{"1399612542":["hashtag1","hashtag2"]},{"1399612550":["hashtag1","hashtag2"]},{"1399612547":["hashtag1","hashtag2"]},{"1399612549":["hashtag1","hashtag2"]},{"1399612546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612548, 1399612542, 1399612550, 1399612547, 1399612549, 1399612546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94377374649048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:22:22.317859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_55_9570.jpg', '/home/pi/Desktop/images/16122025/09/18/image_16122025_09_19_06_10638.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_15_9637.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_25_10126.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_35_9583.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_46_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_55_9570.jpg
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_19_06_10638.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_15_9637.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_25_10126.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_35_9583.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_46_10851.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.483461856842041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:22:32.292313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:22:42.289536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_10_1782.jpg', '/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_11_1664.jpg', '/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_14_1579.jpg', '/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_16_1554.jpg', '/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_40_3492.jpg', '/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_49_3881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_10_1782.jpg
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_11_1664.jpg
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_14_1579.jpg
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_16_1554.jpg
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_40_3492.jpg
/home/pi/Desktop/images/06112025/15/37/image_06112025_15_37_49_3881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399612944","1399612868","1399612754","1399612795","1399612831","1399612909"],"photo_ids_order":["1399612754","1399612795","1399612831","1399612868","1399612909","1399612944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95d692f78f89496e3def0310f9c24c6c.jpg","text":"TemporaryFile(/tmp/multipartBody697456368538361540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873423043,"filename":"image_06112025_15_37_49_3881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/767fdf89f257961cd5145c901fc120f8.jpg","text":"TemporaryFile(/tmp/multipartBody6146233058644879326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873423043,"filename":"image_06112025_15_37_16_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/16/b504dd5dab69aa5579b1d502431a5324.jpg","text":"TemporaryFile(/tmp/multipartBody6192881778196307097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873423043,"filename":"image_06112025_15_37_10_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b06d96032ee69c935292e547b0fd031d.jpg","text":"TemporaryFile(/tmp/multipartBody2781807183555915712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873423043,"filename":"image_06112025_15_37_11_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/16/cbdcc8181bf10963f8bef423f975b8b0.jpg","text":"TemporaryFile(/tmp/multipartBody9042198753187758621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873423043,"filename":"image_06112025_15_37_14_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/16/547ec4eda09580922766af2372837a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1538040850112787166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873423043,"filename":"image_06112025_15_37_40_3492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399612831","file1":"1399612795","file0":"1399612754","file4":"1399612909","file5":"1399612944","file3":"1399612868"},"map_files_photo_id_array":[{"photo_id":"1399612944","filename":"file5"},{"photo_id":"1399612831","filename":"file2"},{"photo_id":"1399612909","filename":"file4"},{"photo_id":"1399612795","filename":"file1"},{"photo_id":"1399612754","filename":"file0"},{"photo_id":"1399612868","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399612944":["hashtag1","hashtag2"]},{"1399612868":["hashtag1","hashtag2"]},{"1399612754":["hashtag1","hashtag2"]},{"1399612795":["hashtag1","hashtag2"]},{"1399612831":["hashtag1","hashtag2"]},{"1399612909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399612944, 1399612868, 1399612754, 1399612795, 1399612831, 1399612909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5070378780365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:23:22.524633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_55_9570.jpg', '/home/pi/Desktop/images/16122025/09/18/image_16122025_09_19_06_10638.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_15_9637.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_25_10126.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_35_9583.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_46_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_18_55_9570.jpg
/home/pi/Desktop/images/16122025/09/18/image_16122025_09_19_06_10638.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_15_9637.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_25_10126.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_35_9583.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_46_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":["1399613262","1399613183","1399613222","1399613105","1399613146","1399613070"],"photo_ids_order":["1399613070","1399613105","1399613146","1399613183","1399613222","1399613262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ad12b7cbec86c42dbf30322e5c13c1a.jpg","text":"TemporaryFile(/tmp/multipartBody6295185120553975838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873463113,"filename":"image_16122025_09_19_46_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/16/00eeaeee4b7624a91793ca04a52dbed3.jpg","text":"TemporaryFile(/tmp/multipartBody8649996249055967665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873463113,"filename":"image_16122025_09_19_25_10126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87095c75b0b8a5fd2f193b5dfe6b632d.jpg","text":"TemporaryFile(/tmp/multipartBody3441140545136133915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873463113,"filename":"image_16122025_09_19_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/16/ba8e2e07ed417ebe0871bb6b2b0686a8.jpg","text":"TemporaryFile(/tmp/multipartBody7203849898200856282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873463113,"filename":"image_16122025_09_19_06_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/16/6eb561d69ea7ddb48e7f5b9040172b4c.jpg","text":"TemporaryFile(/tmp/multipartBody3039696235006515729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873463113,"filename":"image_16122025_09_19_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1ef90194915f21b4a3d8ca0ebbb241a.jpg","text":"TemporaryFile(/tmp/multipartBody9214671646071877051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873463113,"filename":"image_16122025_09_18_55_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613146","file1":"1399613105","file0":"1399613070","file4":"1399613222","file5":"1399613262","file3":"1399613183"},"map_files_photo_id_array":[{"photo_id":"1399613262","filename":"file5"},{"photo_id":"1399613146","filename":"file2"},{"photo_id":"1399613222","filename":"file4"},{"photo_id":"1399613105","filename":"file1"},{"photo_id":"1399613070","filename":"file0"},{"photo_id":"1399613183","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613262":["hashtag1","hashtag2"]},{"1399613183":["hashtag1","hashtag2"]},{"1399613222":["hashtag1","hashtag2"]},{"1399613105":["hashtag1","hashtag2"]},{"1399613146":["hashtag1","hashtag2"]},{"1399613070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613262, 1399613183, 1399613222, 1399613105, 1399613146, 1399613070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0469696521759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:24:03.480685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_55_9677.jpg', '/home/pi/Desktop/images/16122025/09/19/image_16122025_09_20_05_9562.jpg', '/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_16_10702.jpg', '/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_25_9648.jpg', '/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_35_9737.jpg', '/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_45_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_19_55_9677.jpg
/home/pi/Desktop/images/16122025/09/19/image_16122025_09_20_05_9562.jpg
/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_16_10702.jpg
/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_25_9648.jpg
/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_35_9737.jpg
/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_45_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":["1399613471","1399613474","1399613406","1399613441","1399613470","1399613472"],"photo_ids_order":["1399613406","1399613441","1399613470","1399613471","1399613472","1399613474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/992fc9412229c24341186c2890c33b86.jpg","text":"TemporaryFile(/tmp/multipartBody9190805374598361071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873504102,"filename":"image_16122025_09_20_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/16/b8c93d84ff68887fb763b05ed3f0f65c.jpg","text":"TemporaryFile(/tmp/multipartBody1069241784372465503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873504102,"filename":"image_16122025_09_20_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e034e222d207100117cda0c05d40528f.jpg","text":"TemporaryFile(/tmp/multipartBody2986201453549658056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873504102,"filename":"image_16122025_09_19_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36f3a37ca53ae6873b8fd502d0a9f933.jpg","text":"TemporaryFile(/tmp/multipartBody5682571687507819639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873504102,"filename":"image_16122025_09_20_05_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac99eda786b00a0e8e8a5db2e96aee24.jpg","text":"TemporaryFile(/tmp/multipartBody2007333106998707849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873504102,"filename":"image_16122025_09_20_16_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/16/a3910eb28c8faa8f2099a5aa5c4eaf6e.jpg","text":"TemporaryFile(/tmp/multipartBody189388823898236630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873504102,"filename":"image_16122025_09_20_35_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613470","file1":"1399613441","file0":"1399613406","file4":"1399613472","file5":"1399613474","file3":"1399613471"},"map_files_photo_id_array":[{"photo_id":"1399613474","filename":"file5"},{"photo_id":"1399613470","filename":"file2"},{"photo_id":"1399613472","filename":"file4"},{"photo_id":"1399613441","filename":"file1"},{"photo_id":"1399613406","filename":"file0"},{"photo_id":"1399613471","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613471":["hashtag1","hashtag2"]},{"1399613474":["hashtag1","hashtag2"]},{"1399613406":["hashtag1","hashtag2"]},{"1399613441":["hashtag1","hashtag2"]},{"1399613470":["hashtag1","hashtag2"]},{"1399613472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613471, 1399613474, 1399613406, 1399613441, 1399613470, 1399613472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07744526863098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:24:42.780026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_01_1764.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_03_1691.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_20_17079.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_23_3271.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_25_1696.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_26_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_01_1764.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_03_1691.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_20_17079.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_23_3271.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_25_1696.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_26_1805.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6488361358642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:25:02.751061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_55_10610.jpg', '/home/pi/Desktop/images/16122025/09/20/image_16122025_09_21_05_9683.jpg', '/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_16_10609.jpg', '/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_25_9840.jpg', '/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_35_9737.jpg', '/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/20/image_16122025_09_20_55_10610.jpg
/home/pi/Desktop/images/16122025/09/20/image_16122025_09_21_05_9683.jpg
/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_16_10609.jpg
/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_25_9840.jpg
/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_35_9737.jpg
/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_45_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613699","1399613555","1399613627","1399613662","1399613592","1399613518"],"photo_ids_order":["1399613518","1399613555","1399613592","1399613627","1399613662","1399613699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5764305c0a9da823ac75df373ab9c5f7.jpg","text":"TemporaryFile(/tmp/multipartBody1759333324135971293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873563326,"filename":"image_16122025_09_21_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/16/5dcd7b5fb0695a4007e069b41bbd96ba.jpg","text":"TemporaryFile(/tmp/multipartBody106329904111066478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873563326,"filename":"image_16122025_09_21_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/16/4a37fec85d425f8010fbb75760c4fb99.jpg","text":"TemporaryFile(/tmp/multipartBody1503416314366420073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873563326,"filename":"image_16122025_09_21_25_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd1d3d1671f963fcaac2d9cad2a5c22e.jpg","text":"TemporaryFile(/tmp/multipartBody35772094385885671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873563326,"filename":"image_16122025_09_21_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd510254685c1a56c1520e83e206e570.jpg","text":"TemporaryFile(/tmp/multipartBody5559919208740773595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873563326,"filename":"image_16122025_09_21_16_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/053aa4755e2f04073954e0cd17598113.jpg","text":"TemporaryFile(/tmp/multipartBody5101646946154833962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873563326,"filename":"image_16122025_09_20_55_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613592","file1":"1399613555","file0":"1399613518","file4":"1399613662","file5":"1399613699","file3":"1399613627"},"map_files_photo_id_array":[{"photo_id":"1399613699","filename":"file5"},{"photo_id":"1399613592","filename":"file2"},{"photo_id":"1399613662","filename":"file4"},{"photo_id":"1399613555","filename":"file1"},{"photo_id":"1399613518","filename":"file0"},{"photo_id":"1399613627","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613699":["hashtag1","hashtag2"]},{"1399613555":["hashtag1","hashtag2"]},{"1399613627":["hashtag1","hashtag2"]},{"1399613662":["hashtag1","hashtag2"]},{"1399613592":["hashtag1","hashtag2"]},{"1399613518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613699, 1399613555, 1399613627, 1399613662, 1399613592, 1399613518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65161657333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:25:42.075999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_01_1764.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_03_1691.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_20_17079.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_23_3271.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_25_1696.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_26_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_01_1764.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_03_1691.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_20_17079.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_23_3271.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_25_1696.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_26_1805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613730","1399613825","1399613794","1399613793","1399613766","1399613835"],"photo_ids_order":["1399613730","1399613766","1399613793","1399613794","1399613825","1399613835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81050e19f59e202657aec8e22a04ccf7.jpg","text":"TemporaryFile(/tmp/multipartBody1766776501671662317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873602666,"filename":"image_06112025_15_38_01_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/16/226f08918649ba5b91f1b1f58076c425.jpg","text":"TemporaryFile(/tmp/multipartBody8545038548141652354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873602666,"filename":"image_06112025_15_38_25_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/16/49cb00a3c10067ffda54779b215aa8de.jpg","text":"TemporaryFile(/tmp/multipartBody3116258847512152722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873602666,"filename":"image_06112025_15_38_23_3271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de120439ef0554dfae3501bfe53f6435.jpg","text":"TemporaryFile(/tmp/multipartBody1842813845317823144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873602666,"filename":"image_06112025_15_38_20_17079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54eb7b5a67d13996688e4bd278584ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4341870311971854151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873602666,"filename":"image_06112025_15_38_03_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ff02577c7f5fd1c367e0821009cf657.jpg","text":"TemporaryFile(/tmp/multipartBody7012128570243854488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873602666,"filename":"image_06112025_15_38_26_1805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613793","file1":"1399613766","file0":"1399613730","file4":"1399613825","file5":"1399613835","file3":"1399613794"},"map_files_photo_id_array":[{"photo_id":"1399613835","filename":"file5"},{"photo_id":"1399613793","filename":"file2"},{"photo_id":"1399613825","filename":"file4"},{"photo_id":"1399613766","filename":"file1"},{"photo_id":"1399613730","filename":"file0"},{"photo_id":"1399613794","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399613730":["hashtag1","hashtag2"]},{"1399613825":["hashtag1","hashtag2"]},{"1399613794":["hashtag1","hashtag2"]},{"1399613793":["hashtag1","hashtag2"]},{"1399613766":["hashtag1","hashtag2"]},{"1399613835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399613730, 1399613825, 1399613794, 1399613793, 1399613766, 1399613835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25529408454895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:26:22.367146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_56_10785.jpg', '/home/pi/Desktop/images/16122025/09/21/image_16122025_09_22_05_9561.jpg', '/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_15_9617.jpg', '/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_26_10819.jpg', '/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_35_9682.jpg', '/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_45_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/21/image_16122025_09_21_56_10785.jpg
/home/pi/Desktop/images/16122025/09/21/image_16122025_09_22_05_9561.jpg
/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_15_9617.jpg
/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_26_10819.jpg
/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_35_9682.jpg
/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_45_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":["1399613859","1399613850","1399613844","1399613846","1399613843","1399613848"],"photo_ids_order":["1399613843","1399613844","1399613846","1399613848","1399613850","1399613859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a02c328e26f426b1f06033761d88e6a1.jpg","text":"TemporaryFile(/tmp/multipartBody2418461316680735047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873642962,"filename":"image_16122025_09_22_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4253a56b4ed9b9e6a208d9deacb4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2785043936516535346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873642962,"filename":"image_16122025_09_22_35_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/16/ec27eabae8c79bc51d6b304b3fa9e815.jpg","text":"TemporaryFile(/tmp/multipartBody4139332558664230799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873642962,"filename":"image_16122025_09_22_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/16/a2f26b0420223016934f204129648667.jpg","text":"TemporaryFile(/tmp/multipartBody8856290928691361873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873642962,"filename":"image_16122025_09_22_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cdb66526af689b3aa0be05c749dfcff.jpg","text":"TemporaryFile(/tmp/multipartBody7467948063222469424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873642962,"filename":"image_16122025_09_21_56_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/becc7fce168bb81ea137a3a264e728b6.jpg","text":"TemporaryFile(/tmp/multipartBody1796848376336741301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873642962,"filename":"image_16122025_09_22_26_10819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613846","file1":"1399613844","file0":"1399613843","file4":"1399613850","file5":"1399613859","file3":"1399613848"},"map_files_photo_id_array":[{"photo_id":"1399613859","filename":"file5"},{"photo_id":"1399613846","filename":"file2"},{"photo_id":"1399613850","filename":"file4"},{"photo_id":"1399613844","filename":"file1"},{"photo_id":"1399613843","filename":"file0"},{"photo_id":"1399613848","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613859":["hashtag1","hashtag2"]},{"1399613850":["hashtag1","hashtag2"]},{"1399613844":["hashtag1","hashtag2"]},{"1399613846":["hashtag1","hashtag2"]},{"1399613843":["hashtag1","hashtag2"]},{"1399613848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613859, 1399613850, 1399613844, 1399613846, 1399613843, 1399613848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.707013845443726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:27:03.118984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_55_9888.jpg', '/home/pi/Desktop/images/16122025/09/22/image_16122025_09_23_06_10671.jpg', '/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_15_9737.jpg', '/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_25_9746.jpg', '/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_35_9636.jpg', '/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/22/image_16122025_09_22_55_9888.jpg
/home/pi/Desktop/images/16122025/09/22/image_16122025_09_23_06_10671.jpg
/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_15_9737.jpg
/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_25_9746.jpg
/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_35_9636.jpg
/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_45_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613876","1399613879","1399613872","1399613875","1399613874","1399613877"],"photo_ids_order":["1399613872","1399613874","1399613875","1399613876","1399613877","1399613879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edfdc2ae277e9c3ece6c6b254bbc7bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3495282258378380299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873683776,"filename":"image_16122025_09_23_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5833f9032909608787eb0e151b6c46c2.jpg","text":"TemporaryFile(/tmp/multipartBody1188365265230229950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873683776,"filename":"image_16122025_09_23_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/16/7232ea6a9a4bbeb77893bea357194809.jpg","text":"TemporaryFile(/tmp/multipartBody4343369222135273898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873683776,"filename":"image_16122025_09_22_55_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31db24d0fb499b5607791bb3b56bb217.jpg","text":"TemporaryFile(/tmp/multipartBody4632176977606630735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873683776,"filename":"image_16122025_09_23_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/16/1df1fe0b7662a5d90ab11734919342ca.jpg","text":"TemporaryFile(/tmp/multipartBody5036872639656731438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873683776,"filename":"image_16122025_09_23_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/16/a3553e3e08744542780656720c1c0707.jpg","text":"TemporaryFile(/tmp/multipartBody4780104593443958498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873683776,"filename":"image_16122025_09_23_35_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613875","file1":"1399613874","file0":"1399613872","file4":"1399613877","file5":"1399613879","file3":"1399613876"},"map_files_photo_id_array":[{"photo_id":"1399613879","filename":"file5"},{"photo_id":"1399613875","filename":"file2"},{"photo_id":"1399613877","filename":"file4"},{"photo_id":"1399613874","filename":"file1"},{"photo_id":"1399613872","filename":"file0"},{"photo_id":"1399613876","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613876":["hashtag1","hashtag2"]},{"1399613879":["hashtag1","hashtag2"]},{"1399613872":["hashtag1","hashtag2"]},{"1399613875":["hashtag1","hashtag2"]},{"1399613874":["hashtag1","hashtag2"]},{"1399613877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613876, 1399613879, 1399613872, 1399613875, 1399613874, 1399613877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55387783050537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:27:42.532664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_30_1643.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_31_1624.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_33_1644.jpg', '/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_56_1663.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_16_11954.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_20_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_30_1643.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_31_1624.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_33_1644.jpg
/home/pi/Desktop/images/06112025/15/38/image_06112025_15_38_56_1663.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_16_11954.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_20_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613888","1399613890","1399613893","1399613884","1399613886","1399613889"],"photo_ids_order":["1399613884","1399613886","1399613888","1399613889","1399613890","1399613893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3ba507baf2ca2470d3f2790919ceced.jpg","text":"TemporaryFile(/tmp/multipartBody3095602296764271889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873723241,"filename":"image_06112025_15_38_33_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d9ab2c561d293e4fe74321b07a2387b.jpg","text":"TemporaryFile(/tmp/multipartBody7778664209789949412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873723241,"filename":"image_06112025_15_40_16_11954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8b84eaed97254bb7a0fd64086425cae.jpg","text":"TemporaryFile(/tmp/multipartBody8123821080258454504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873723241,"filename":"image_06112025_15_40_20_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/16/a69dc353c7799d0d2a07b859a2f3ffdd.jpg","text":"TemporaryFile(/tmp/multipartBody350762474154745388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873723241,"filename":"image_06112025_15_38_30_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/16/eddeaf6cc9e512f2c92c4ab2bfc6ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody6626668219360407621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873723241,"filename":"image_06112025_15_38_31_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/16/7af113623320c67ce570a5e6f4afd2df.jpg","text":"TemporaryFile(/tmp/multipartBody3401554770727428876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873723241,"filename":"image_06112025_15_38_56_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613888","file1":"1399613886","file0":"1399613884","file4":"1399613890","file5":"1399613893","file3":"1399613889"},"map_files_photo_id_array":[{"photo_id":"1399613893","filename":"file5"},{"photo_id":"1399613888","filename":"file2"},{"photo_id":"1399613890","filename":"file4"},{"photo_id":"1399613886","filename":"file1"},{"photo_id":"1399613884","filename":"file0"},{"photo_id":"1399613889","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399613888":["hashtag1","hashtag2"]},{"1399613890":["hashtag1","hashtag2"]},{"1399613893":["hashtag1","hashtag2"]},{"1399613884":["hashtag1","hashtag2"]},{"1399613886":["hashtag1","hashtag2"]},{"1399613889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399613888, 1399613890, 1399613893, 1399613884, 1399613886, 1399613889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.452003717422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:28:22.777881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_55_9773.jpg', '/home/pi/Desktop/images/16122025/09/23/image_16122025_09_24_05_9614.jpg', '/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_16_10703.jpg', '/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_25_9867.jpg', '/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_35_9757.jpg', '/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_45_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/23/image_16122025_09_23_55_9773.jpg
/home/pi/Desktop/images/16122025/09/23/image_16122025_09_24_05_9614.jpg
/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_16_10703.jpg
/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_25_9867.jpg
/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_35_9757.jpg
/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_45_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":["1399613904","1399613906","1399613900","1399613896","1399613898","1399613902"],"photo_ids_order":["1399613896","1399613898","1399613900","1399613902","1399613904","1399613906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22564849df641df0bec887f7e88afa07.jpg","text":"TemporaryFile(/tmp/multipartBody9078312514449716031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873763355,"filename":"image_16122025_09_24_35_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/16/dc8482685943fe8dd809dbc75cd94987.jpg","text":"TemporaryFile(/tmp/multipartBody4449055024133731787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873763355,"filename":"image_16122025_09_24_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/16/8749a36c30896c35ba00a97e03083f68.jpg","text":"TemporaryFile(/tmp/multipartBody6211015149956743685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873763355,"filename":"image_16122025_09_24_16_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9fcf8bcec77644c1166b15702823ec0.jpg","text":"TemporaryFile(/tmp/multipartBody5843009614081370530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873763355,"filename":"image_16122025_09_23_55_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ea26ff2fc1726e71cac71ae3740df21.jpg","text":"TemporaryFile(/tmp/multipartBody3446480095573638506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873763355,"filename":"image_16122025_09_24_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/16/4c916d57b81399daf32e397dc476e382.jpg","text":"TemporaryFile(/tmp/multipartBody3436627528346609443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873763355,"filename":"image_16122025_09_24_25_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613900","file1":"1399613898","file0":"1399613896","file4":"1399613904","file5":"1399613906","file3":"1399613902"},"map_files_photo_id_array":[{"photo_id":"1399613906","filename":"file5"},{"photo_id":"1399613900","filename":"file2"},{"photo_id":"1399613904","filename":"file4"},{"photo_id":"1399613898","filename":"file1"},{"photo_id":"1399613896","filename":"file0"},{"photo_id":"1399613902","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613904":["hashtag1","hashtag2"]},{"1399613906":["hashtag1","hashtag2"]},{"1399613900":["hashtag1","hashtag2"]},{"1399613896":["hashtag1","hashtag2"]},{"1399613898":["hashtag1","hashtag2"]},{"1399613902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613904, 1399613906, 1399613900, 1399613896, 1399613898, 1399613902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61115002632141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:29:03.137402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_56_10891.jpg', '/home/pi/Desktop/images/16122025/09/24/image_16122025_09_25_05_9561.jpg', '/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_15_9767.jpg', '/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_26_10629.jpg', '/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_35_9627.jpg', '/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_45_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/24/image_16122025_09_24_56_10891.jpg
/home/pi/Desktop/images/16122025/09/24/image_16122025_09_25_05_9561.jpg
/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_15_9767.jpg
/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_26_10629.jpg
/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_35_9627.jpg
/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_45_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613919","1399613913","1399613921","1399613915","1399613917","1399613911"],"photo_ids_order":["1399613911","1399613913","1399613915","1399613917","1399613919","1399613921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cabd287a49aa1a46e4c54ac110cd808e.jpg","text":"TemporaryFile(/tmp/multipartBody8491583961934568494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873803817,"filename":"image_16122025_09_25_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92b75205ac82d76a637693140fbac1ce.jpg","text":"TemporaryFile(/tmp/multipartBody4393188808200142006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873803817,"filename":"image_16122025_09_25_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/16/c3c531b4acaf09bcafb755e3832a0337.jpg","text":"TemporaryFile(/tmp/multipartBody1520073516505291365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873803817,"filename":"image_16122025_09_25_45_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76c7349d0112131b6e2055e325a7438d.jpg","text":"TemporaryFile(/tmp/multipartBody2142003603930524500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873803817,"filename":"image_16122025_09_25_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce052bf056c7407662d6cf3fad24decd.jpg","text":"TemporaryFile(/tmp/multipartBody6165228301204590457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873803817,"filename":"image_16122025_09_25_26_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1767c76be27710f36b0eff438db4f141.jpg","text":"TemporaryFile(/tmp/multipartBody5733800403573985942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873803817,"filename":"image_16122025_09_24_56_10891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613915","file1":"1399613913","file0":"1399613911","file4":"1399613919","file5":"1399613921","file3":"1399613917"},"map_files_photo_id_array":[{"photo_id":"1399613921","filename":"file5"},{"photo_id":"1399613915","filename":"file2"},{"photo_id":"1399613919","filename":"file4"},{"photo_id":"1399613913","filename":"file1"},{"photo_id":"1399613911","filename":"file0"},{"photo_id":"1399613917","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613919":["hashtag1","hashtag2"]},{"1399613913":["hashtag1","hashtag2"]},{"1399613921":["hashtag1","hashtag2"]},{"1399613915":["hashtag1","hashtag2"]},{"1399613917":["hashtag1","hashtag2"]},{"1399613911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613919, 1399613913, 1399613921, 1399613915, 1399613917, 1399613911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66002440452576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:29:42.167323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_23_1624.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_27_4315.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_29_1567.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_31_1663.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_32_1727.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_35_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_23_1624.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_27_4315.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_29_1567.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_31_1663.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_32_1727.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_35_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":["1399613937","1399613939","1399613935","1399613938","1399613929","1399613940"],"photo_ids_order":["1399613929","1399613935","1399613937","1399613938","1399613939","1399613940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f650cd710b9b099d0738031fa894f9fd.jpg","text":"TemporaryFile(/tmp/multipartBody4114922199314987656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873842878,"filename":"image_06112025_15_40_29_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/16/16652d18da6f66200080866fa608bbfe.jpg","text":"TemporaryFile(/tmp/multipartBody4024101788097008387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873842878,"filename":"image_06112025_15_40_32_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e43a41d8c5b34f51a22265f093fdb989.jpg","text":"TemporaryFile(/tmp/multipartBody4855769799402017601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873842878,"filename":"image_06112025_15_40_27_4315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18d0b357946c92abb8b2e79804fa15a6.jpg","text":"TemporaryFile(/tmp/multipartBody2615227616173638600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873842878,"filename":"image_06112025_15_40_31_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/16/950330085b58a9cec74faf29b2062025.jpg","text":"TemporaryFile(/tmp/multipartBody8820110689227558292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873842878,"filename":"image_06112025_15_40_23_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/16/fee64bfe924946f4b4ec47a94eb9de41.jpg","text":"TemporaryFile(/tmp/multipartBody4633553946353976699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873842878,"filename":"image_06112025_15_40_35_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613937","file1":"1399613935","file0":"1399613929","file4":"1399613939","file5":"1399613940","file3":"1399613938"},"map_files_photo_id_array":[{"photo_id":"1399613940","filename":"file5"},{"photo_id":"1399613937","filename":"file2"},{"photo_id":"1399613939","filename":"file4"},{"photo_id":"1399613935","filename":"file1"},{"photo_id":"1399613929","filename":"file0"},{"photo_id":"1399613938","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399613937":["hashtag1","hashtag2"]},{"1399613939":["hashtag1","hashtag2"]},{"1399613935":["hashtag1","hashtag2"]},{"1399613938":["hashtag1","hashtag2"]},{"1399613929":["hashtag1","hashtag2"]},{"1399613940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399613937, 1399613939, 1399613935, 1399613938, 1399613929, 1399613940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.706865549087524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:30:22.390614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_55_9752.jpg', '/home/pi/Desktop/images/16122025/09/25/image_16122025_09_26_06_10786.jpg', '/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_15_9692.jpg', '/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_25_9699.jpg', '/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_36_10628.jpg', '/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_45_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/25/image_16122025_09_25_55_9752.jpg
/home/pi/Desktop/images/16122025/09/25/image_16122025_09_26_06_10786.jpg
/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_15_9692.jpg
/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_25_9699.jpg
/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_36_10628.jpg
/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_45_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613943","1399613945","1399613941","1399613950","1399613947","1399613952"],"photo_ids_order":["1399613941","1399613943","1399613945","1399613947","1399613950","1399613952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c605c83e73124d669d53011f106cb997.jpg","text":"TemporaryFile(/tmp/multipartBody1445140316809697727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873882979,"filename":"image_16122025_09_26_06_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/16/0b2c5606768e96146597fd136a2ff47e.jpg","text":"TemporaryFile(/tmp/multipartBody1215399420082183140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873882979,"filename":"image_16122025_09_26_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/16/2c2b8464a3a07cbb3946f236ac4f8010.jpg","text":"TemporaryFile(/tmp/multipartBody576219829455824154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873882979,"filename":"image_16122025_09_25_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/16/9e221b481f5faaa9288b0a92f6fdca50.jpg","text":"TemporaryFile(/tmp/multipartBody7981396643220307522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873882979,"filename":"image_16122025_09_26_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/16/c4bd14caf627db0b09dd5afc390e3d53.jpg","text":"TemporaryFile(/tmp/multipartBody902230469977121959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873882979,"filename":"image_16122025_09_26_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77561398dcc82802063762646472ea60.jpg","text":"TemporaryFile(/tmp/multipartBody7847755641393166793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873882979,"filename":"image_16122025_09_26_45_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613945","file1":"1399613943","file0":"1399613941","file4":"1399613950","file5":"1399613952","file3":"1399613947"},"map_files_photo_id_array":[{"photo_id":"1399613952","filename":"file5"},{"photo_id":"1399613945","filename":"file2"},{"photo_id":"1399613950","filename":"file4"},{"photo_id":"1399613943","filename":"file1"},{"photo_id":"1399613941","filename":"file0"},{"photo_id":"1399613947","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613943":["hashtag1","hashtag2"]},{"1399613945":["hashtag1","hashtag2"]},{"1399613941":["hashtag1","hashtag2"]},{"1399613950":["hashtag1","hashtag2"]},{"1399613947":["hashtag1","hashtag2"]},{"1399613952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613943, 1399613945, 1399613941, 1399613950, 1399613947, 1399613952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4487361907959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:31:03.226152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_55_9701.jpg', '/home/pi/Desktop/images/16122025/09/26/image_16122025_09_27_06_10788.jpg', '/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_15_9579.jpg', '/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_25_9691.jpg', '/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_36_10550.jpg', '/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_45_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/26/image_16122025_09_26_55_9701.jpg
/home/pi/Desktop/images/16122025/09/26/image_16122025_09_27_06_10788.jpg
/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_15_9579.jpg
/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_25_9691.jpg
/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_36_10550.jpg
/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_45_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":["1399613957","1399613954","1399613956","1399613959","1399613958","1399613955"],"photo_ids_order":["1399613954","1399613955","1399613956","1399613957","1399613958","1399613959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd6b7f2ac9a2c82637459d6ce16f3558.jpg","text":"TemporaryFile(/tmp/multipartBody2528571313445729815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873923878,"filename":"image_16122025_09_27_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/16/db8ea58c44ee1439a50f3ad75806ab95.jpg","text":"TemporaryFile(/tmp/multipartBody5268215352179821732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873923878,"filename":"image_16122025_09_26_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08719b373fbb131bede1ef3960b1d01f.jpg","text":"TemporaryFile(/tmp/multipartBody6020337193677355935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873923878,"filename":"image_16122025_09_27_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f32fd13b71b4eb526990d7ac65bc67b2.jpg","text":"TemporaryFile(/tmp/multipartBody6918189856046399936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873923878,"filename":"image_16122025_09_27_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/16/b35e82f8fdc4f18a7269b58412d80bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6093567924073490879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873923878,"filename":"image_16122025_09_27_36_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4652b0fcd836867a78c52fb02f7c9d92.jpg","text":"TemporaryFile(/tmp/multipartBody2573107880707815905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873923878,"filename":"image_16122025_09_27_06_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613956","file1":"1399613955","file0":"1399613954","file4":"1399613958","file5":"1399613959","file3":"1399613957"},"map_files_photo_id_array":[{"photo_id":"1399613959","filename":"file5"},{"photo_id":"1399613956","filename":"file2"},{"photo_id":"1399613958","filename":"file4"},{"photo_id":"1399613955","filename":"file1"},{"photo_id":"1399613954","filename":"file0"},{"photo_id":"1399613957","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613957":["hashtag1","hashtag2"]},{"1399613954":["hashtag1","hashtag2"]},{"1399613956":["hashtag1","hashtag2"]},{"1399613959":["hashtag1","hashtag2"]},{"1399613958":["hashtag1","hashtag2"]},{"1399613955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613957, 1399613954, 1399613956, 1399613959, 1399613958, 1399613955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1585431098938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:31:42.703220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_38_2576.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_46_8537.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_48_1525.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_49_1641.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_51_1667.jpg', '/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_53_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_38_2576.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_46_8537.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_48_1525.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_49_1641.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_51_1667.jpg
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_53_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613969","1399613978","1399613971","1399613974","1399613965","1399613976"],"photo_ids_order":["1399613965","1399613969","1399613971","1399613974","1399613976","1399613978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76b9bdb666228b70a2a73213732165d0.jpg","text":"TemporaryFile(/tmp/multipartBody5675864387678663081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873963486,"filename":"image_06112025_15_40_46_8537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a15df6bb34b60eb20ccd18df709f89db.jpg","text":"TemporaryFile(/tmp/multipartBody3612294362831819232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873963486,"filename":"image_06112025_15_40_53_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/16/963ee3b41d5110f6a30470819dc24caa.jpg","text":"TemporaryFile(/tmp/multipartBody8462413710106367533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873963486,"filename":"image_06112025_15_40_48_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/16/2a34bbcef4593f7d48be6fd94cb27fe9.jpg","text":"TemporaryFile(/tmp/multipartBody8045299898210001699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873963486,"filename":"image_06112025_15_40_49_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/16/68fe6c8626278bf641212640a03239f0.jpg","text":"TemporaryFile(/tmp/multipartBody1981696612238878856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873963486,"filename":"image_06112025_15_40_38_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/16/79e5d01f1dca2b1c5b1b2bb90385b895.jpg","text":"TemporaryFile(/tmp/multipartBody200187190001987071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765873963486,"filename":"image_06112025_15_40_51_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613971","file1":"1399613969","file0":"1399613965","file4":"1399613976","file5":"1399613978","file3":"1399613974"},"map_files_photo_id_array":[{"photo_id":"1399613978","filename":"file5"},{"photo_id":"1399613971","filename":"file2"},{"photo_id":"1399613976","filename":"file4"},{"photo_id":"1399613969","filename":"file1"},{"photo_id":"1399613965","filename":"file0"},{"photo_id":"1399613974","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399613969":["hashtag1","hashtag2"]},{"1399613978":["hashtag1","hashtag2"]},{"1399613971":["hashtag1","hashtag2"]},{"1399613974":["hashtag1","hashtag2"]},{"1399613965":["hashtag1","hashtag2"]},{"1399613976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399613969, 1399613978, 1399613971, 1399613974, 1399613965, 1399613976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90353584289551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:32:21.949735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_55_9609.jpg', '/home/pi/Desktop/images/16122025/09/27/image_16122025_09_28_06_10683.jpg', '/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_15_9611.jpg', '/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_26_10562.jpg', '/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_35_9517.jpg', '/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_45_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/27/image_16122025_09_27_55_9609.jpg
/home/pi/Desktop/images/16122025/09/27/image_16122025_09_28_06_10683.jpg
/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_15_9611.jpg
/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_26_10562.jpg
/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_35_9517.jpg
/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_45_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399613987","1399613996","1399613981","1399613983","1399613985","1399613979"],"photo_ids_order":["1399613979","1399613981","1399613983","1399613985","1399613987","1399613996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccdf356d676b9d34e8e14e8c8dd0ef86.jpg","text":"TemporaryFile(/tmp/multipartBody6161444957285700115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874002567,"filename":"image_16122025_09_28_35_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b23f8d7298fd7fce9674c63e9d8f203.jpg","text":"TemporaryFile(/tmp/multipartBody3385801334263240820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874002567,"filename":"image_16122025_09_28_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/16/d886504e4c2c3799813a888066ee39b2.jpg","text":"TemporaryFile(/tmp/multipartBody4517083554953500395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874002567,"filename":"image_16122025_09_28_06_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbf40be78dbc7c3f103bcaf18eef165b.jpg","text":"TemporaryFile(/tmp/multipartBody7596400370364460021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874002567,"filename":"image_16122025_09_28_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/227d1641936ac81b814ebf14801531a6.jpg","text":"TemporaryFile(/tmp/multipartBody6176819906971931901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874002567,"filename":"image_16122025_09_28_26_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/16/26ec550be4afb29acd962907e3146c46.jpg","text":"TemporaryFile(/tmp/multipartBody5841487856648937843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874002567,"filename":"image_16122025_09_27_55_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399613983","file1":"1399613981","file0":"1399613979","file4":"1399613987","file5":"1399613996","file3":"1399613985"},"map_files_photo_id_array":[{"photo_id":"1399613996","filename":"file5"},{"photo_id":"1399613983","filename":"file2"},{"photo_id":"1399613987","filename":"file4"},{"photo_id":"1399613981","filename":"file1"},{"photo_id":"1399613979","filename":"file0"},{"photo_id":"1399613985","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399613987":["hashtag1","hashtag2"]},{"1399613996":["hashtag1","hashtag2"]},{"1399613981":["hashtag1","hashtag2"]},{"1399613983":["hashtag1","hashtag2"]},{"1399613985":["hashtag1","hashtag2"]},{"1399613979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399613987, 1399613996, 1399613981, 1399613983, 1399613985, 1399613979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7107937335968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:33:02.879016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_55_9736.jpg', '/home/pi/Desktop/images/16122025/09/28/image_16122025_09_29_05_10633.jpg', '/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_15_9746.jpg', '/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_25_9705.jpg', '/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_35_10625.jpg', '/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_45_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/28/image_16122025_09_28_55_9736.jpg
/home/pi/Desktop/images/16122025/09/28/image_16122025_09_29_05_10633.jpg
/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_15_9746.jpg
/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_25_9705.jpg
/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_35_10625.jpg
/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_45_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399614161","1399614221","1399614125","1399614196","1399614220","1399614231"],"photo_ids_order":["1399614125","1399614161","1399614196","1399614220","1399614221","1399614231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0d9c095362e1d3b697aab7fbf0dce34.jpg","text":"TemporaryFile(/tmp/multipartBody1613472782026199451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874043530,"filename":"image_16122025_09_29_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09e96b81a559c5a1808b02bb0bb93119.jpg","text":"TemporaryFile(/tmp/multipartBody1960012410692298382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874043530,"filename":"image_16122025_09_29_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/16/ab19da3b4860d4213d5dacd99b8a2635.jpg","text":"TemporaryFile(/tmp/multipartBody3620036073472252104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874043530,"filename":"image_16122025_09_28_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70166f502235753ce05fcaf6e325859e.jpg","text":"TemporaryFile(/tmp/multipartBody2130075902180869759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874043530,"filename":"image_16122025_09_29_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fdf9a539444b64bef73d8f2d930b6d87.jpg","text":"TemporaryFile(/tmp/multipartBody7837575429530078719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874043530,"filename":"image_16122025_09_29_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f117195a05be8f3527eb0f745673804d.jpg","text":"TemporaryFile(/tmp/multipartBody933050877997760536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874043530,"filename":"image_16122025_09_29_45_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399614196","file1":"1399614161","file0":"1399614125","file4":"1399614221","file5":"1399614231","file3":"1399614220"},"map_files_photo_id_array":[{"photo_id":"1399614231","filename":"file5"},{"photo_id":"1399614196","filename":"file2"},{"photo_id":"1399614221","filename":"file4"},{"photo_id":"1399614161","filename":"file1"},{"photo_id":"1399614125","filename":"file0"},{"photo_id":"1399614220","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399614161":["hashtag1","hashtag2"]},{"1399614221":["hashtag1","hashtag2"]},{"1399614125":["hashtag1","hashtag2"]},{"1399614196":["hashtag1","hashtag2"]},{"1399614220":["hashtag1","hashtag2"]},{"1399614231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399614161, 1399614221, 1399614125, 1399614196, 1399614220, 1399614231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.312856912612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:33:42.168307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_59_3764.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_02_2590.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_04_2812.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_07_2727.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_21_13343.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_22_1816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/40/image_06112025_15_40_59_3764.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_02_2590.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_04_2812.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_07_2727.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_21_13343.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_22_1816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399614362","1399614334","1399614310","1399614273","1399614453","1399614333"],"photo_ids_order":["1399614273","1399614310","1399614333","1399614334","1399614362","1399614453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3bcd8ad4ae1ad83a9d6677f2db5d4415.jpg","text":"TemporaryFile(/tmp/multipartBody1538955376984426206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874082881,"filename":"image_06112025_15_41_21_13343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f174393be697a34e6b08fac1f3416e75.jpg","text":"TemporaryFile(/tmp/multipartBody4330207926338756042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874082881,"filename":"image_06112025_15_41_07_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/16/f55d5d85655932e01b7e894d0678f0c0.jpg","text":"TemporaryFile(/tmp/multipartBody63632827548450357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874082881,"filename":"image_06112025_15_41_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/16/b3f57ddebb619b1a2c6953ce38f6043a.jpg","text":"TemporaryFile(/tmp/multipartBody997587259216074749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874082881,"filename":"image_06112025_15_40_59_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/16/bdadd03962e7d495d8f01b0af7570b48.jpg","text":"TemporaryFile(/tmp/multipartBody7741050250422391377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874082881,"filename":"image_06112025_15_41_22_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f615d2f288e0f265d055f08ae16c96d.jpg","text":"TemporaryFile(/tmp/multipartBody6935668146921965549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874082881,"filename":"image_06112025_15_41_04_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399614333","file1":"1399614310","file0":"1399614273","file4":"1399614362","file5":"1399614453","file3":"1399614334"},"map_files_photo_id_array":[{"photo_id":"1399614453","filename":"file5"},{"photo_id":"1399614333","filename":"file2"},{"photo_id":"1399614362","filename":"file4"},{"photo_id":"1399614310","filename":"file1"},{"photo_id":"1399614273","filename":"file0"},{"photo_id":"1399614334","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399614362":["hashtag1","hashtag2"]},{"1399614334":["hashtag1","hashtag2"]},{"1399614310":["hashtag1","hashtag2"]},{"1399614273":["hashtag1","hashtag2"]},{"1399614453":["hashtag1","hashtag2"]},{"1399614333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399614362, 1399614334, 1399614310, 1399614273, 1399614453, 1399614333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.322245836257935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:34:22.396092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_55_9718.jpg', '/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_14_10054.jpg', '/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_25_10673.jpg', '/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_35_9668.jpg', '/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_44_9651.jpg', '/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_55_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/29/image_16122025_09_29_55_9718.jpg
/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_14_10054.jpg
/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_25_10673.jpg
/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_35_9668.jpg
/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_44_9651.jpg
/home/pi/Desktop/images/16122025/09/30/image_16122025_09_30_55_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":["1399614824","1399614835","1399614798","1399614732","1399614822","1399614692"],"photo_ids_order":["1399614692","1399614732","1399614798","1399614822","1399614824","1399614835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a767c7ce63cc6e5e866798b960ede82.jpg","text":"TemporaryFile(/tmp/multipartBody8257762214678686551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874122981,"filename":"image_16122025_09_30_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/16/ae515f56b2fe7d295a068b04b71c2283.jpg","text":"TemporaryFile(/tmp/multipartBody5770553757780064899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874122981,"filename":"image_16122025_09_30_55_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce480e8739b5b802729dc630879aa27a.jpg","text":"TemporaryFile(/tmp/multipartBody4084821848210599232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874122981,"filename":"image_16122025_09_30_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/16/756fc06ad140c6528f83771efd1d9760.jpg","text":"TemporaryFile(/tmp/multipartBody2461791873789451979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874122981,"filename":"image_16122025_09_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/16/592ac50a43016698c85769b41fb20347.jpg","text":"TemporaryFile(/tmp/multipartBody3400928704272584190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874122981,"filename":"image_16122025_09_30_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/16/5ac3ace52bd63405546257c3493f0dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7803079459127217130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874122981,"filename":"image_16122025_09_29_55_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399614798","file1":"1399614732","file0":"1399614692","file4":"1399614824","file5":"1399614835","file3":"1399614822"},"map_files_photo_id_array":[{"photo_id":"1399614835","filename":"file5"},{"photo_id":"1399614798","filename":"file2"},{"photo_id":"1399614824","filename":"file4"},{"photo_id":"1399614732","filename":"file1"},{"photo_id":"1399614692","filename":"file0"},{"photo_id":"1399614822","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399614824":["hashtag1","hashtag2"]},{"1399614835":["hashtag1","hashtag2"]},{"1399614798":["hashtag1","hashtag2"]},{"1399614732":["hashtag1","hashtag2"]},{"1399614822":["hashtag1","hashtag2"]},{"1399614692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399614824, 1399614835, 1399614798, 1399614732, 1399614822, 1399614692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33486819267273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:35:03.357457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/30/image_16122025_09_31_05_9682.jpg', '/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_15_9864.jpg', '/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_25_10649.jpg', '/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_35_9741.jpg', '/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_45_9988.jpg', '/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/30/image_16122025_09_31_05_9682.jpg
/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_15_9864.jpg
/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_25_10649.jpg
/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_35_9741.jpg
/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_45_9988.jpg
/home/pi/Desktop/images/16122025/09/31/image_16122025_09_31_55_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399614953","1399614875","1399614950","1399614929","1399614892","1399614951"],"photo_ids_order":["1399614875","1399614892","1399614929","1399614950","1399614951","1399614953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5f8a09bdc10a0441542e12d7b7c8e039.jpg","text":"TemporaryFile(/tmp/multipartBody8387257330070371775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874164073,"filename":"image_16122025_09_31_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1d482bb3fb2407a36c9c30dcbc91c53.jpg","text":"TemporaryFile(/tmp/multipartBody7296728431043544102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874164073,"filename":"image_16122025_09_31_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dad70aeb1460ccf7db6557de75af8dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8409751020578930139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874164073,"filename":"image_16122025_09_31_35_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90df1de8790d6337cbbab7edc8b990bd.jpg","text":"TemporaryFile(/tmp/multipartBody7084598216813882812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874164073,"filename":"image_16122025_09_31_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11b72499c02c681974e761dc16aef404.jpg","text":"TemporaryFile(/tmp/multipartBody2765530444359124868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874164073,"filename":"image_16122025_09_31_15_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/16/4898661d7627b8905af15766ecf9c696.jpg","text":"TemporaryFile(/tmp/multipartBody5977894690960659003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874164073,"filename":"image_16122025_09_31_45_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399614929","file1":"1399614892","file0":"1399614875","file4":"1399614951","file5":"1399614953","file3":"1399614950"},"map_files_photo_id_array":[{"photo_id":"1399614953","filename":"file5"},{"photo_id":"1399614929","filename":"file2"},{"photo_id":"1399614951","filename":"file4"},{"photo_id":"1399614892","filename":"file1"},{"photo_id":"1399614875","filename":"file0"},{"photo_id":"1399614950","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399614953":["hashtag1","hashtag2"]},{"1399614875":["hashtag1","hashtag2"]},{"1399614950":["hashtag1","hashtag2"]},{"1399614929":["hashtag1","hashtag2"]},{"1399614892":["hashtag1","hashtag2"]},{"1399614951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399614953, 1399614875, 1399614950, 1399614929, 1399614892, 1399614951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96701121330261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:35:42.586976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_24_1638.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_38_14003.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_47_9178.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_49_1665.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_51_1884.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_52_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_24_1638.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_38_14003.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_47_9178.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_49_1665.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_51_1884.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_52_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399615064","1399615060","1399615048","1399615062","1399615065","1399615044"],"photo_ids_order":["1399615044","1399615048","1399615060","1399615062","1399615064","1399615065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62dbd63bcffa5bf788ddf90fba4f1d25.jpg","text":"TemporaryFile(/tmp/multipartBody7957488029457902379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874203308,"filename":"image_06112025_15_41_51_1884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e837f3c0e8ad3b10007f05f92e64b922.jpg","text":"TemporaryFile(/tmp/multipartBody941499510345757862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874203308,"filename":"image_06112025_15_41_47_9178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9de1188d5ec5632aeb093c071281a58.jpg","text":"TemporaryFile(/tmp/multipartBody4860169375176560275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874203308,"filename":"image_06112025_15_41_38_14003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98ffa5d3851b44383982a28efc8f53ee.jpg","text":"TemporaryFile(/tmp/multipartBody5730324962728596788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874203308,"filename":"image_06112025_15_41_49_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9f7af6706df4e92b8a8c5e2ddf49881.jpg","text":"TemporaryFile(/tmp/multipartBody3748174274302006858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874203308,"filename":"image_06112025_15_41_52_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/16/339c9e6b94d9ceeea66747a3b2191af6.jpg","text":"TemporaryFile(/tmp/multipartBody7069031141237862295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874203308,"filename":"image_06112025_15_41_24_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615060","file1":"1399615048","file0":"1399615044","file4":"1399615064","file5":"1399615065","file3":"1399615062"},"map_files_photo_id_array":[{"photo_id":"1399615065","filename":"file5"},{"photo_id":"1399615060","filename":"file2"},{"photo_id":"1399615064","filename":"file4"},{"photo_id":"1399615048","filename":"file1"},{"photo_id":"1399615044","filename":"file0"},{"photo_id":"1399615062","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399615064":["hashtag1","hashtag2"]},{"1399615060":["hashtag1","hashtag2"]},{"1399615048":["hashtag1","hashtag2"]},{"1399615062":["hashtag1","hashtag2"]},{"1399615065":["hashtag1","hashtag2"]},{"1399615044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399615064, 1399615060, 1399615048, 1399615062, 1399615065, 1399615044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.335835695266724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:36:21.872998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/31/image_16122025_09_32_04_9933.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_14_9754.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_25_10834.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_35_9611.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_44_9667.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_55_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/31/image_16122025_09_32_04_9933.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_14_9754.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_25_10834.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_35_9611.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_44_9667.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_55_10729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49043989181518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:36:31.831975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:36:41.831514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_54_1770.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_56_1917.jpg', '/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_58_1657.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_03_5243.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_07_2466.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_12_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_54_1770.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_56_1917.jpg
/home/pi/Desktop/images/06112025/15/41/image_06112025_15_41_58_1657.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_03_5243.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_07_2466.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_12_1550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399615115","1399615099","1399615084","1399615086","1399615098","1399615091"],"photo_ids_order":["1399615084","1399615086","1399615091","1399615098","1399615099","1399615115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3307c956b9d19f9223a1a1b9bf29167c.jpg","text":"TemporaryFile(/tmp/multipartBody7434061819498728865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874262551,"filename":"image_06112025_15_42_12_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/16/61ff451f1e2e18e24d15766bb909f4dd.jpg","text":"TemporaryFile(/tmp/multipartBody5352874564521303370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874262551,"filename":"image_06112025_15_42_07_2466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83fa1a89fd8c4f0d2b1aa4179e754b91.jpg","text":"TemporaryFile(/tmp/multipartBody7138971795588063646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874262551,"filename":"image_06112025_15_41_54_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/16/b4076c32052f048df12feb36105b76d7.jpg","text":"TemporaryFile(/tmp/multipartBody6531253159308911141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874262551,"filename":"image_06112025_15_41_56_1917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62cc60d27f253bd02dc9bc69ea0c549c.jpg","text":"TemporaryFile(/tmp/multipartBody5644650951061686247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874262551,"filename":"image_06112025_15_42_03_5243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cae91df1a1f9b2c847f623694ea8e321.jpg","text":"TemporaryFile(/tmp/multipartBody8792239213256557965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874262551,"filename":"image_06112025_15_41_58_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615091","file1":"1399615086","file0":"1399615084","file4":"1399615099","file5":"1399615115","file3":"1399615098"},"map_files_photo_id_array":[{"photo_id":"1399615115","filename":"file5"},{"photo_id":"1399615091","filename":"file2"},{"photo_id":"1399615099","filename":"file4"},{"photo_id":"1399615086","filename":"file1"},{"photo_id":"1399615084","filename":"file0"},{"photo_id":"1399615098","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399615115":["hashtag1","hashtag2"]},{"1399615099":["hashtag1","hashtag2"]},{"1399615084":["hashtag1","hashtag2"]},{"1399615086":["hashtag1","hashtag2"]},{"1399615098":["hashtag1","hashtag2"]},{"1399615091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399615115, 1399615099, 1399615084, 1399615086, 1399615098, 1399615091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72084856033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:37:22.102033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/31/image_16122025_09_32_04_9933.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_14_9754.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_25_10834.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_35_9611.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_44_9667.jpg', '/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_55_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/31/image_16122025_09_32_04_9933.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_14_9754.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_25_10834.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_35_9611.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_44_9667.jpg
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_32_55_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399615118","1399615147","1399615135","1399615120","1399615117","1399615125"],"photo_ids_order":["1399615117","1399615118","1399615120","1399615125","1399615135","1399615147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/768e8082ae0f3eacae4faabb6e3c4f11.jpg","text":"TemporaryFile(/tmp/multipartBody6822009332111044347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874302738,"filename":"image_16122025_09_32_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c87cb99513aba4296e6e5409aaa4bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4656496889619937586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874302738,"filename":"image_16122025_09_32_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3aeb37335b9212e3c70c48ab8898301.jpg","text":"TemporaryFile(/tmp/multipartBody564937185807203183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874302738,"filename":"image_16122025_09_32_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e3d1f287320dde7b72ca137153f09d2.jpg","text":"TemporaryFile(/tmp/multipartBody6899819520428534122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874302738,"filename":"image_16122025_09_32_25_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0726f1a2a268a532b318500d4bcf7391.jpg","text":"TemporaryFile(/tmp/multipartBody1362867867572899942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874302738,"filename":"image_16122025_09_32_04_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/16/52b349b5c5d4bd94b4a995d45903dda0.jpg","text":"TemporaryFile(/tmp/multipartBody9140393496302109200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874302738,"filename":"image_16122025_09_32_35_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615120","file1":"1399615118","file0":"1399615117","file4":"1399615135","file5":"1399615147","file3":"1399615125"},"map_files_photo_id_array":[{"photo_id":"1399615147","filename":"file5"},{"photo_id":"1399615120","filename":"file2"},{"photo_id":"1399615135","filename":"file4"},{"photo_id":"1399615118","filename":"file1"},{"photo_id":"1399615117","filename":"file0"},{"photo_id":"1399615125","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399615118":["hashtag1","hashtag2"]},{"1399615147":["hashtag1","hashtag2"]},{"1399615135":["hashtag1","hashtag2"]},{"1399615120":["hashtag1","hashtag2"]},{"1399615117":["hashtag1","hashtag2"]},{"1399615125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399615118, 1399615147, 1399615135, 1399615120, 1399615117, 1399615125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60338258743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:38:02.770160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/32/image_16122025_09_33_05_9884.jpg', '/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_15_9709.jpg', '/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_24_9767.jpg', '/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_35_10641.jpg', '/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_45_9566.jpg', '/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_54_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/32/image_16122025_09_33_05_9884.jpg
/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_15_9709.jpg
/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_24_9767.jpg
/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_35_10641.jpg
/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_45_9566.jpg
/home/pi/Desktop/images/16122025/09/33/image_16122025_09_33_54_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":["1399615229","1399615171","1399615219","1399615182","1399615227","1399615226"],"photo_ids_order":["1399615171","1399615182","1399615219","1399615226","1399615227","1399615229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/587ef539447c57fecdf6c2e737e1b8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2544546842285446187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874343470,"filename":"image_16122025_09_33_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/16/f5fa12fe3646c9767c8c32537ff68836.jpg","text":"TemporaryFile(/tmp/multipartBody2599550972783893811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874343470,"filename":"image_16122025_09_33_05_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edc6afb274da5e750c4a7aaf7d2e968b.jpg","text":"TemporaryFile(/tmp/multipartBody3669844913212120340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874343470,"filename":"image_16122025_09_33_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2317e0adddb101fd7328fc2c8898b3b7.jpg","text":"TemporaryFile(/tmp/multipartBody1466870670576958403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874343470,"filename":"image_16122025_09_33_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/16/e460f7bd0231eafdb0fdca0dd9099052.jpg","text":"TemporaryFile(/tmp/multipartBody8325156830051988295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874343470,"filename":"image_16122025_09_33_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/632af94a5d40ebd8667978507016e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody4913370598828146839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874343470,"filename":"image_16122025_09_33_35_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615219","file1":"1399615182","file0":"1399615171","file4":"1399615227","file5":"1399615229","file3":"1399615226"},"map_files_photo_id_array":[{"photo_id":"1399615229","filename":"file5"},{"photo_id":"1399615219","filename":"file2"},{"photo_id":"1399615227","filename":"file4"},{"photo_id":"1399615182","filename":"file1"},{"photo_id":"1399615171","filename":"file0"},{"photo_id":"1399615226","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399615229":["hashtag1","hashtag2"]},{"1399615171":["hashtag1","hashtag2"]},{"1399615219":["hashtag1","hashtag2"]},{"1399615182":["hashtag1","hashtag2"]},{"1399615227":["hashtag1","hashtag2"]},{"1399615226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399615229, 1399615171, 1399615219, 1399615182, 1399615227, 1399615226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56431198120117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:38:42.246549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_13_1643.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_15_1525.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_17_1763.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_18_1643.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_20_2061.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_22_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_13_1643.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_15_1525.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_17_1763.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_18_1643.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_20_2061.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_22_1587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5999693870544434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:39:03.390426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/33/image_16122025_09_34_05_10756.jpg', '/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_15_9596.jpg', '/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_24_9684.jpg', '/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_34_9873.jpg', '/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_45_10691.jpg', '/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_54_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/33/image_16122025_09_34_05_10756.jpg
/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_15_9596.jpg
/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_24_9684.jpg
/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_34_9873.jpg
/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_45_10691.jpg
/home/pi/Desktop/images/16122025/09/34/image_16122025_09_34_54_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":["1399615390","1399615387","1399615392","1399615386","1399615389","1399615388"],"photo_ids_order":["1399615386","1399615387","1399615388","1399615389","1399615390","1399615392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e50f5132657b1bbdfa1006aefc758bea.jpg","text":"TemporaryFile(/tmp/multipartBody6554028451709236394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874404095,"filename":"image_16122025_09_34_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb0756963cbec7dc891f1527e1bf590f.jpg","text":"TemporaryFile(/tmp/multipartBody6713163325809818466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874404095,"filename":"image_16122025_09_34_15_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8acc186fd690147d7bffffe820e9c6ea.jpg","text":"TemporaryFile(/tmp/multipartBody6558011994130521824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874404095,"filename":"image_16122025_09_34_54_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5cf60196f6decc04adca3dfe9d4816ec.jpg","text":"TemporaryFile(/tmp/multipartBody1755216144502815361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874404095,"filename":"image_16122025_09_34_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/16/802d8b08b48883b82495a77b75c10f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6708432677748287995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874404095,"filename":"image_16122025_09_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/16/08ac2b1fa317756f5234eab73df3a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody957950761558663290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874404095,"filename":"image_16122025_09_34_24_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615388","file1":"1399615387","file0":"1399615386","file4":"1399615390","file5":"1399615392","file3":"1399615389"},"map_files_photo_id_array":[{"photo_id":"1399615392","filename":"file5"},{"photo_id":"1399615388","filename":"file2"},{"photo_id":"1399615390","filename":"file4"},{"photo_id":"1399615387","filename":"file1"},{"photo_id":"1399615386","filename":"file0"},{"photo_id":"1399615389","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399615390":["hashtag1","hashtag2"]},{"1399615387":["hashtag1","hashtag2"]},{"1399615392":["hashtag1","hashtag2"]},{"1399615386":["hashtag1","hashtag2"]},{"1399615389":["hashtag1","hashtag2"]},{"1399615388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399615390, 1399615387, 1399615392, 1399615386, 1399615389, 1399615388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21559524536133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:39:42.632152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_13_1643.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_15_1525.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_17_1763.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_18_1643.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_20_2061.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_22_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_13_1643.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_15_1525.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_17_1763.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_18_1643.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_20_2061.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_22_1587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399615415","1399615432","1399615414","1399615440","1399615431","1399615404"],"photo_ids_order":["1399615404","1399615414","1399615415","1399615431","1399615432","1399615440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e3e27bf1c8b3d7f6002725cd1c3f797.jpg","text":"TemporaryFile(/tmp/multipartBody4350121513241230750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874443226,"filename":"image_06112025_15_42_17_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c543d1773973e1d7bebf5afcbad4e879.jpg","text":"TemporaryFile(/tmp/multipartBody1549604605487636952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874443226,"filename":"image_06112025_15_42_20_2061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f4e58767d6f62c9a2fdcc7633c582f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1736286662004457958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874443226,"filename":"image_06112025_15_42_15_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/16/71873744a00a585bffaf717027ea46a1.jpg","text":"TemporaryFile(/tmp/multipartBody627253706657317479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874443226,"filename":"image_06112025_15_42_22_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/16/d45f4df0a0791f7e4b00d9db79498aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6282721207637770862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874443226,"filename":"image_06112025_15_42_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/16/6c4dd69b899d671dfda1a0cdd3d967e4.jpg","text":"TemporaryFile(/tmp/multipartBody852110368556517684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874443226,"filename":"image_06112025_15_42_13_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615415","file1":"1399615414","file0":"1399615404","file4":"1399615432","file5":"1399615440","file3":"1399615431"},"map_files_photo_id_array":[{"photo_id":"1399615440","filename":"file5"},{"photo_id":"1399615415","filename":"file2"},{"photo_id":"1399615432","filename":"file4"},{"photo_id":"1399615414","filename":"file1"},{"photo_id":"1399615404","filename":"file0"},{"photo_id":"1399615431","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399615415":["hashtag1","hashtag2"]},{"1399615432":["hashtag1","hashtag2"]},{"1399615414":["hashtag1","hashtag2"]},{"1399615440":["hashtag1","hashtag2"]},{"1399615431":["hashtag1","hashtag2"]},{"1399615404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399615415, 1399615432, 1399615414, 1399615440, 1399615431, 1399615404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.508015394210815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:40:21.954294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/34/image_16122025_09_35_04_9794.jpg', '/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_15_10599.jpg', '/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_25_9945.jpg', '/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_35_9713.jpg', '/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_44_9698.jpg', '/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_55_10821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/34/image_16122025_09_35_04_9794.jpg
/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_15_10599.jpg
/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_25_9945.jpg
/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_35_9713.jpg
/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_44_9698.jpg
/home/pi/Desktop/images/16122025/09/35/image_16122025_09_35_55_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":["1399615454","1399615462","1399615456","1399615465","1399615458","1399615460"],"photo_ids_order":["1399615454","1399615456","1399615458","1399615460","1399615462","1399615465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74012585b84686d1599be4086716c340.jpg","text":"TemporaryFile(/tmp/multipartBody1378746661987563610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874482553,"filename":"image_16122025_09_35_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/16/41d3017dd0093d7ef5a41d8fb88bfe3c.jpg","text":"TemporaryFile(/tmp/multipartBody8172090117850190078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874482553,"filename":"image_16122025_09_35_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/16/02904c07359a694a09e085b5897aa305.jpg","text":"TemporaryFile(/tmp/multipartBody7816582454909860865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874482553,"filename":"image_16122025_09_35_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d83efe175a0d402aae205644b39b780f.jpg","text":"TemporaryFile(/tmp/multipartBody3448315830431325545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874482553,"filename":"image_16122025_09_35_55_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1de695dc246f3d378c49a3d3cf4bb4f1.jpg","text":"TemporaryFile(/tmp/multipartBody4852540788009517689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874482553,"filename":"image_16122025_09_35_25_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/16/e269f1b0d7d0c849308eff13dd1faeb5.jpg","text":"TemporaryFile(/tmp/multipartBody1257090738332815869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874482553,"filename":"image_16122025_09_35_35_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615458","file1":"1399615456","file0":"1399615454","file4":"1399615462","file5":"1399615465","file3":"1399615460"},"map_files_photo_id_array":[{"photo_id":"1399615465","filename":"file5"},{"photo_id":"1399615458","filename":"file2"},{"photo_id":"1399615462","filename":"file4"},{"photo_id":"1399615456","filename":"file1"},{"photo_id":"1399615454","filename":"file0"},{"photo_id":"1399615460","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399615454":["hashtag1","hashtag2"]},{"1399615462":["hashtag1","hashtag2"]},{"1399615456":["hashtag1","hashtag2"]},{"1399615465":["hashtag1","hashtag2"]},{"1399615458":["hashtag1","hashtag2"]},{"1399615460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399615454, 1399615462, 1399615456, 1399615465, 1399615458, 1399615460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05844497680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:41:02.824583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/35/image_16122025_09_36_05_9780.jpg', '/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_14_9592.jpg', '/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_25_10580.jpg', '/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_35_9669.jpg', '/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_44_9773.jpg', '/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_55_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/35/image_16122025_09_36_05_9780.jpg
/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_14_9592.jpg
/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_25_10580.jpg
/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_35_9669.jpg
/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_44_9773.jpg
/home/pi/Desktop/images/16122025/09/36/image_16122025_09_36_55_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":["1399615591","1399615642","1399615644","1399615554","1399615641","1399615640"],"photo_ids_order":["1399615554","1399615591","1399615640","1399615641","1399615642","1399615644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d29f5d85636fb1cfcf80569bd517999f.jpg","text":"TemporaryFile(/tmp/multipartBody6065498520944120204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874523476,"filename":"image_16122025_09_36_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/16/89052e345bbb490de8648348938e1e61.jpg","text":"TemporaryFile(/tmp/multipartBody6109766547021103375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874523476,"filename":"image_16122025_09_36_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/16/5834c8f56a5b79b124621178bfbdd320.jpg","text":"TemporaryFile(/tmp/multipartBody6029498770225904618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874523476,"filename":"image_16122025_09_36_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/16/9e2df15cdbf2d898feecd52c812c11e8.jpg","text":"TemporaryFile(/tmp/multipartBody4701365947270335724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874523476,"filename":"image_16122025_09_36_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/16/bf1b26dacbb6eea8fc10aa28000a6740.jpg","text":"TemporaryFile(/tmp/multipartBody7502885664152874788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874523476,"filename":"image_16122025_09_36_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6383d602c958548dec2f6eb3956c4c68.jpg","text":"TemporaryFile(/tmp/multipartBody6833638925614101402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874523476,"filename":"image_16122025_09_36_25_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615640","file1":"1399615591","file0":"1399615554","file4":"1399615642","file5":"1399615644","file3":"1399615641"},"map_files_photo_id_array":[{"photo_id":"1399615644","filename":"file5"},{"photo_id":"1399615640","filename":"file2"},{"photo_id":"1399615642","filename":"file4"},{"photo_id":"1399615591","filename":"file1"},{"photo_id":"1399615554","filename":"file0"},{"photo_id":"1399615641","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399615591":["hashtag1","hashtag2"]},{"1399615642":["hashtag1","hashtag2"]},{"1399615644":["hashtag1","hashtag2"]},{"1399615554":["hashtag1","hashtag2"]},{"1399615641":["hashtag1","hashtag2"]},{"1399615640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399615591, 1399615642, 1399615644, 1399615554, 1399615641, 1399615640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38148093223572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:41:42.188950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_25_1955.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_27_1677.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_29_1577.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_31_2704.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_34_2580.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_38_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_25_1955.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_27_1677.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_29_1577.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_31_2704.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_34_2580.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_38_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":["1399615663","1399615720","1399615662","1399615686","1399615661","1399615649"],"photo_ids_order":["1399615649","1399615661","1399615662","1399615663","1399615686","1399615720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/acbb82d976f9b2246b45208b222511ea.jpg","text":"TemporaryFile(/tmp/multipartBody4518332974797830420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874562913,"filename":"image_06112025_15_42_31_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0234d8f02350e7db89acfbc934bbde7.jpg","text":"TemporaryFile(/tmp/multipartBody3208747673344124619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874562913,"filename":"image_06112025_15_42_38_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/16/6dc6f1fb8262c9ca1ccedf0cf591ed5c.jpg","text":"TemporaryFile(/tmp/multipartBody7300314799057014808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874562913,"filename":"image_06112025_15_42_29_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/16/41423047bb4940e124c8a6e2aee6c649.jpg","text":"TemporaryFile(/tmp/multipartBody8521614904301791212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874562913,"filename":"image_06112025_15_42_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/16/dfd6051fceb443eab983821a9197779e.jpg","text":"TemporaryFile(/tmp/multipartBody1650854778344532055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874562913,"filename":"image_06112025_15_42_27_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/16/d19d33ada2d3cf552eabe8075b08322a.jpg","text":"TemporaryFile(/tmp/multipartBody14012975242534897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874562913,"filename":"image_06112025_15_42_25_1955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615662","file1":"1399615661","file0":"1399615649","file4":"1399615686","file5":"1399615720","file3":"1399615663"},"map_files_photo_id_array":[{"photo_id":"1399615720","filename":"file5"},{"photo_id":"1399615662","filename":"file2"},{"photo_id":"1399615686","filename":"file4"},{"photo_id":"1399615661","filename":"file1"},{"photo_id":"1399615649","filename":"file0"},{"photo_id":"1399615663","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399615663":["hashtag1","hashtag2"]},{"1399615720":["hashtag1","hashtag2"]},{"1399615662":["hashtag1","hashtag2"]},{"1399615686":["hashtag1","hashtag2"]},{"1399615661":["hashtag1","hashtag2"]},{"1399615649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399615663, 1399615720, 1399615662, 1399615686, 1399615661, 1399615649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51349759101868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:42:22.548291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/36/image_16122025_09_37_05_9691.jpg', '/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_15_9687.jpg', '/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_24_9699.jpg', '/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_35_10653.jpg', '/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_45_9848.jpg', '/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_55_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/36/image_16122025_09_37_05_9691.jpg
/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_15_9687.jpg
/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_24_9699.jpg
/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_35_10653.jpg
/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_45_9848.jpg
/home/pi/Desktop/images/16122025/09/37/image_16122025_09_37_55_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":["1399615823","1399615826","1399615819","1399615886","1399615859","1399615820"],"photo_ids_order":["1399615819","1399615820","1399615823","1399615826","1399615859","1399615886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7d02bc092b2acbe7ad1c628736192e0.jpg","text":"TemporaryFile(/tmp/multipartBody3338212223815505696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874603186,"filename":"image_16122025_09_37_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/16/bf102ab3c89e5103dd7affebf49000d6.jpg","text":"TemporaryFile(/tmp/multipartBody3824910931190586488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874603186,"filename":"image_16122025_09_37_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/63b91498051dcf9003bdc6958bd6126e.jpg","text":"TemporaryFile(/tmp/multipartBody8588259539261451016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874603186,"filename":"image_16122025_09_37_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09011cabf22603b280ec68477e26781b.jpg","text":"TemporaryFile(/tmp/multipartBody216245441683255887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874603186,"filename":"image_16122025_09_37_55_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afe9efc1dcd8cdf6df60e9cd1169a4c9.jpg","text":"TemporaryFile(/tmp/multipartBody691863138039812254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874603186,"filename":"image_16122025_09_37_45_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a38989acf362ca0e91e9e9497350d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4018788695528390956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874603186,"filename":"image_16122025_09_37_15_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615823","file1":"1399615820","file0":"1399615819","file4":"1399615859","file5":"1399615886","file3":"1399615826"},"map_files_photo_id_array":[{"photo_id":"1399615886","filename":"file5"},{"photo_id":"1399615823","filename":"file2"},{"photo_id":"1399615859","filename":"file4"},{"photo_id":"1399615820","filename":"file1"},{"photo_id":"1399615819","filename":"file0"},{"photo_id":"1399615826","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399615823":["hashtag1","hashtag2"]},{"1399615826":["hashtag1","hashtag2"]},{"1399615819":["hashtag1","hashtag2"]},{"1399615886":["hashtag1","hashtag2"]},{"1399615859":["hashtag1","hashtag2"]},{"1399615820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399615823, 1399615826, 1399615819, 1399615886, 1399615859, 1399615820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85790514945984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:43:03.306118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/37/image_16122025_09_38_04_9699.jpg', '/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_15_10710.jpg', '/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_25_9638.jpg', '/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_34_9747.jpg', '/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_45_10746.jpg', '/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_55_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/37/image_16122025_09_38_04_9699.jpg
/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_15_10710.jpg
/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_25_9638.jpg
/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_34_9747.jpg
/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_45_10746.jpg
/home/pi/Desktop/images/16122025/09/38/image_16122025_09_38_55_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399615910","1399615907","1399615972","1399615909","1399615965","1399615928"],"photo_ids_order":["1399615907","1399615909","1399615910","1399615928","1399615965","1399615972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/554f69905239140a71a2c47df7e6068c.jpg","text":"TemporaryFile(/tmp/multipartBody5917593715956767956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874643972,"filename":"image_16122025_09_38_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/16/81ac8e96e61f0b4e53ef5d14c3d44800.jpg","text":"TemporaryFile(/tmp/multipartBody6627611844180311318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874643972,"filename":"image_16122025_09_38_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/16/162c5e31d710ff80338b81ae3e771cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8217432656903667840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874643972,"filename":"image_16122025_09_38_55_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/16/4a77351335544c6c7866f5b5f9505252.jpg","text":"TemporaryFile(/tmp/multipartBody4471735879200540989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874643972,"filename":"image_16122025_09_38_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9901dc692f3cb26d153cbf020ad819ae.jpg","text":"TemporaryFile(/tmp/multipartBody1493038461468159627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874643972,"filename":"image_16122025_09_38_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fecf1356abc7761c6f424d3151eb5847.jpg","text":"TemporaryFile(/tmp/multipartBody6992856531720002612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874643972,"filename":"image_16122025_09_38_34_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399615910","file1":"1399615909","file0":"1399615907","file4":"1399615965","file5":"1399615972","file3":"1399615928"},"map_files_photo_id_array":[{"photo_id":"1399615972","filename":"file5"},{"photo_id":"1399615910","filename":"file2"},{"photo_id":"1399615965","filename":"file4"},{"photo_id":"1399615909","filename":"file1"},{"photo_id":"1399615907","filename":"file0"},{"photo_id":"1399615928","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399615910":["hashtag1","hashtag2"]},{"1399615907":["hashtag1","hashtag2"]},{"1399615972":["hashtag1","hashtag2"]},{"1399615909":["hashtag1","hashtag2"]},{"1399615965":["hashtag1","hashtag2"]},{"1399615928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399615910, 1399615907, 1399615972, 1399615909, 1399615965, 1399615928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.280417919158936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:43:42.752305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_40_2577.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_43_2755.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_47_3686.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_49_2611.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_54_4987.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_06_11879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_40_2577.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_43_2755.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_47_3686.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_49_2611.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_54_4987.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_06_11879.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6075754165649414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:44:02.680497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/38/image_16122025_09_39_05_9749.jpg', '/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_14_9615.jpg', '/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_24_10143.jpg', '/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_35_10668.jpg', '/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_45_9873.jpg', '/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/38/image_16122025_09_39_05_9749.jpg
/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_14_9615.jpg
/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_24_10143.jpg
/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_35_10668.jpg
/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_45_9873.jpg
/home/pi/Desktop/images/16122025/09/39/image_16122025_09_39_55_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616005","1399616002","1399616004","1399616007","1399616001","1399615985"],"photo_ids_order":["1399615985","1399616001","1399616002","1399616004","1399616005","1399616007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/698d03dc121cfc963ca96fe288f530e9.jpg","text":"TemporaryFile(/tmp/multipartBody3574538538389849273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874703360,"filename":"image_16122025_09_39_45_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bc8fa7567cd72408d6cce805a200414.jpg","text":"TemporaryFile(/tmp/multipartBody5332284579836457460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874703360,"filename":"image_16122025_09_39_24_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/16/9947428bdf1a13614695d19c9696aead.jpg","text":"TemporaryFile(/tmp/multipartBody3157019525975184212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874703360,"filename":"image_16122025_09_39_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/16/5050b65cfbec281db75743b4b0039b18.jpg","text":"TemporaryFile(/tmp/multipartBody6112788216230933641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874703360,"filename":"image_16122025_09_39_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/16/55905d7c49bc0c07011dd05aff51b896.jpg","text":"TemporaryFile(/tmp/multipartBody1378454573258031005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874703360,"filename":"image_16122025_09_39_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f3de8a77e0e465ac3f5ed62c28a0e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1363949767995332094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874703360,"filename":"image_16122025_09_39_05_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616002","file1":"1399616001","file0":"1399615985","file4":"1399616005","file5":"1399616007","file3":"1399616004"},"map_files_photo_id_array":[{"photo_id":"1399616007","filename":"file5"},{"photo_id":"1399616002","filename":"file2"},{"photo_id":"1399616005","filename":"file4"},{"photo_id":"1399616001","filename":"file1"},{"photo_id":"1399615985","filename":"file0"},{"photo_id":"1399616004","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616005":["hashtag1","hashtag2"]},{"1399616002":["hashtag1","hashtag2"]},{"1399616004":["hashtag1","hashtag2"]},{"1399616007":["hashtag1","hashtag2"]},{"1399616001":["hashtag1","hashtag2"]},{"1399615985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616005, 1399616002, 1399616004, 1399616007, 1399616001, 1399615985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15715408325195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:44:41.931885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_40_2577.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_43_2755.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_47_3686.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_49_2611.jpg', '/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_54_4987.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_06_11879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_40_2577.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_43_2755.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_47_3686.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_49_2611.jpg
/home/pi/Desktop/images/06112025/15/42/image_06112025_15_42_54_4987.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_06_11879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616026","1399616040","1399616034","1399616022","1399616013","1399616027"],"photo_ids_order":["1399616013","1399616022","1399616026","1399616027","1399616034","1399616040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/13e395df40a3874c7db04960c6950186.jpg","text":"TemporaryFile(/tmp/multipartBody6223787583251274314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874742589,"filename":"image_06112025_15_42_47_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/16/473bbb32a6bae498e4b73f30a1466a78.jpg","text":"TemporaryFile(/tmp/multipartBody4445344702845039662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874742589,"filename":"image_06112025_15_43_06_11879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7a8f4dc44e11eb92b4d20e42d56baf3.jpg","text":"TemporaryFile(/tmp/multipartBody5747493665472953632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874742589,"filename":"image_06112025_15_42_54_4987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb7214ca409a0ce3eec8545e71e9735b.jpg","text":"TemporaryFile(/tmp/multipartBody3775486026202014459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874742589,"filename":"image_06112025_15_42_43_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fc40bed99100b5726e92b169acd51f4.jpg","text":"TemporaryFile(/tmp/multipartBody2230394970862985332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874742589,"filename":"image_06112025_15_42_40_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/16/30971a28c4f475ec313186ce15ab6883.jpg","text":"TemporaryFile(/tmp/multipartBody2139778393807523885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874742589,"filename":"image_06112025_15_42_49_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616026","file1":"1399616022","file0":"1399616013","file4":"1399616034","file5":"1399616040","file3":"1399616027"},"map_files_photo_id_array":[{"photo_id":"1399616040","filename":"file5"},{"photo_id":"1399616026","filename":"file2"},{"photo_id":"1399616034","filename":"file4"},{"photo_id":"1399616022","filename":"file1"},{"photo_id":"1399616013","filename":"file0"},{"photo_id":"1399616027","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616026":["hashtag1","hashtag2"]},{"1399616040":["hashtag1","hashtag2"]},{"1399616034":["hashtag1","hashtag2"]},{"1399616022":["hashtag1","hashtag2"]},{"1399616013":["hashtag1","hashtag2"]},{"1399616027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616026, 1399616040, 1399616034, 1399616022, 1399616013, 1399616027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34384036064148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:45:22.234911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/39/image_16122025_09_40_04_9786.jpg', '/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_14_9971.jpg', '/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_24_9958.jpg', '/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_35_10716.jpg', '/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_45_9834.jpg', '/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_55_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/39/image_16122025_09_40_04_9786.jpg
/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_14_9971.jpg
/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_24_9958.jpg
/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_35_10716.jpg
/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_45_9834.jpg
/home/pi/Desktop/images/16122025/09/40/image_16122025_09_40_55_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":["1399616041","1399616047","1399616049","1399616043","1399616051","1399616045"],"photo_ids_order":["1399616041","1399616043","1399616045","1399616047","1399616049","1399616051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9ef394473778522f51a36f83ee1da19.jpg","text":"TemporaryFile(/tmp/multipartBody2077070203922625849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874782857,"filename":"image_16122025_09_40_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/16/23568273a907f4f4093e0c3853793a55.jpg","text":"TemporaryFile(/tmp/multipartBody290685220133123336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874782857,"filename":"image_16122025_09_40_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d1aad69d57384ad3d2be29267952608.jpg","text":"TemporaryFile(/tmp/multipartBody3138096334646897951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874782857,"filename":"image_16122025_09_40_45_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/16/18d817e4c966fd418fbadec2e19749cb.jpg","text":"TemporaryFile(/tmp/multipartBody746355526224678694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874782857,"filename":"image_16122025_09_40_14_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dda0d4026a488926497f7ef5dc66c88c.jpg","text":"TemporaryFile(/tmp/multipartBody3219494916092631670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874782857,"filename":"image_16122025_09_40_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07f7dd91017e07cd606cc5746622a710.jpg","text":"TemporaryFile(/tmp/multipartBody6151984958240580230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874782857,"filename":"image_16122025_09_40_24_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616045","file1":"1399616043","file0":"1399616041","file4":"1399616049","file5":"1399616051","file3":"1399616047"},"map_files_photo_id_array":[{"photo_id":"1399616051","filename":"file5"},{"photo_id":"1399616045","filename":"file2"},{"photo_id":"1399616049","filename":"file4"},{"photo_id":"1399616043","filename":"file1"},{"photo_id":"1399616041","filename":"file0"},{"photo_id":"1399616047","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616041":["hashtag1","hashtag2"]},{"1399616047":["hashtag1","hashtag2"]},{"1399616049":["hashtag1","hashtag2"]},{"1399616043":["hashtag1","hashtag2"]},{"1399616051":["hashtag1","hashtag2"]},{"1399616045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616041, 1399616047, 1399616049, 1399616043, 1399616051, 1399616045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49644112586975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:46:02.959476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/40/image_16122025_09_41_04_9627.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_15_10566.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_24_9593.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_35_10696.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_45_9851.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_55_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/40/image_16122025_09_41_04_9627.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_15_10566.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_24_9593.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_35_10696.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_45_9851.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_55_9584.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5699787139892578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:46:12.492172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:46:22.521316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/40/image_16122025_09_41_04_9627.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_15_10566.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_24_9593.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_35_10696.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_45_9851.jpg', '/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_55_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/40/image_16122025_09_41_04_9627.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_15_10566.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_24_9593.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_35_10696.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_45_9851.jpg
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_41_55_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616074","1399616083","1399616070","1399616076","1399616072","1399616120"],"photo_ids_order":["1399616070","1399616072","1399616074","1399616076","1399616083","1399616120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3264a84ddc74c5f30efb081030f401b.jpg","text":"TemporaryFile(/tmp/multipartBody5123413080308446037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874843132,"filename":"image_16122025_09_41_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d81196af048ab3e2c230ddfbf4d1d07.jpg","text":"TemporaryFile(/tmp/multipartBody4531709713585203928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874843132,"filename":"image_16122025_09_41_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/16/783afe003d92643daa36b6b24c53476f.jpg","text":"TemporaryFile(/tmp/multipartBody3087687728477607309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874843132,"filename":"image_16122025_09_41_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/297e4095e4ca2ada92a18b6668cb367c.jpg","text":"TemporaryFile(/tmp/multipartBody1025952585102890132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874843132,"filename":"image_16122025_09_41_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/16/23ffd0253a4df105c02a85a56ab44727.jpg","text":"TemporaryFile(/tmp/multipartBody6256172687083014065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874843132,"filename":"image_16122025_09_41_15_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/16/f7a599b54732047e36a09587833db6b0.jpg","text":"TemporaryFile(/tmp/multipartBody8044095469647442246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874843132,"filename":"image_16122025_09_41_55_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616074","file1":"1399616072","file0":"1399616070","file4":"1399616083","file5":"1399616120","file3":"1399616076"},"map_files_photo_id_array":[{"photo_id":"1399616120","filename":"file5"},{"photo_id":"1399616074","filename":"file2"},{"photo_id":"1399616083","filename":"file4"},{"photo_id":"1399616072","filename":"file1"},{"photo_id":"1399616070","filename":"file0"},{"photo_id":"1399616076","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616074":["hashtag1","hashtag2"]},{"1399616083":["hashtag1","hashtag2"]},{"1399616070":["hashtag1","hashtag2"]},{"1399616076":["hashtag1","hashtag2"]},{"1399616072":["hashtag1","hashtag2"]},{"1399616120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616074, 1399616083, 1399616070, 1399616076, 1399616072, 1399616120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20145392417908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:47:03.526149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/41/image_16122025_09_42_05_10670.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_15_9697.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_25_9649.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_35_10620.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_45_9678.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_55_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_42_05_10670.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_15_9697.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_25_9649.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_35_10620.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_45_9678.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_55_9756.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5601973533630371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:47:12.710831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:47:22.795527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/41/image_16122025_09_42_05_10670.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_15_9697.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_25_9649.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_35_10620.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_45_9678.jpg', '/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_55_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/41/image_16122025_09_42_05_10670.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_15_9697.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_25_9649.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_35_10620.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_45_9678.jpg
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_42_55_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":["1399616199","1399616193","1399616195","1399616207","1399616197","1399616191"],"photo_ids_order":["1399616191","1399616193","1399616195","1399616197","1399616199","1399616207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc9ae84ab40bb832fb03fe101a2509d0.jpg","text":"TemporaryFile(/tmp/multipartBody3836318299311390570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874903444,"filename":"image_16122025_09_42_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9c920e1e4d41054c8b5659062840c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7589907908917581938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874903444,"filename":"image_16122025_09_42_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b01296a863d68f964a3305837d0e9655.jpg","text":"TemporaryFile(/tmp/multipartBody8915821455792121960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874903444,"filename":"image_16122025_09_42_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac5c9ca3772638225ffed2daf9e75024.jpg","text":"TemporaryFile(/tmp/multipartBody8676572691480336043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874903444,"filename":"image_16122025_09_42_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36f8beb30c32edbee6e792eb42198f97.jpg","text":"TemporaryFile(/tmp/multipartBody1029556510561472563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874903444,"filename":"image_16122025_09_42_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/392c23dd366ebe2cf1d74b15c74b3aa0.jpg","text":"TemporaryFile(/tmp/multipartBody1341653704043027512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874903444,"filename":"image_16122025_09_42_05_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616195","file1":"1399616193","file0":"1399616191","file4":"1399616199","file5":"1399616207","file3":"1399616197"},"map_files_photo_id_array":[{"photo_id":"1399616207","filename":"file5"},{"photo_id":"1399616195","filename":"file2"},{"photo_id":"1399616199","filename":"file4"},{"photo_id":"1399616193","filename":"file1"},{"photo_id":"1399616191","filename":"file0"},{"photo_id":"1399616197","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616199":["hashtag1","hashtag2"]},{"1399616193":["hashtag1","hashtag2"]},{"1399616195":["hashtag1","hashtag2"]},{"1399616207":["hashtag1","hashtag2"]},{"1399616197":["hashtag1","hashtag2"]},{"1399616191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616199, 1399616193, 1399616195, 1399616207, 1399616197, 1399616191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.143880128860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:48:02.561499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/42/image_16122025_09_43_04_9604.jpg', '/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_15_10682.jpg', '/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_25_9666.jpg', '/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_34_9874.jpg', '/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_45_10588.jpg', '/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/42/image_16122025_09_43_04_9604.jpg
/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_15_10682.jpg
/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_25_9666.jpg
/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_34_9874.jpg
/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_45_10588.jpg
/home/pi/Desktop/images/16122025/09/43/image_16122025_09_43_55_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":["1399616332","1399616262","1399616215","1399616370","1399616228","1399616299"],"photo_ids_order":["1399616215","1399616228","1399616262","1399616299","1399616332","1399616370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/959cabf9c23b7a8b8ed31bb601dbbea5.jpg","text":"TemporaryFile(/tmp/multipartBody3212505713668584890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874943178,"filename":"image_16122025_09_43_45_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/16/cd4f69a10ec7800be54a4a5c812e97b2.jpg","text":"TemporaryFile(/tmp/multipartBody3719159604959275827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874943178,"filename":"image_16122025_09_43_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/16/1ba5a7fcd5f4b113ea783a71d8352ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2792738742264011571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874943178,"filename":"image_16122025_09_43_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/16/e204c7f539976b367d15202ae9b3bdf7.jpg","text":"TemporaryFile(/tmp/multipartBody6122231175514948093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874943178,"filename":"image_16122025_09_43_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0c2092a1ded6130caf5cc8303b433f7.jpg","text":"TemporaryFile(/tmp/multipartBody4587682543079967858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874943178,"filename":"image_16122025_09_43_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12844dcc597de72b7f02d43cd869d148.jpg","text":"TemporaryFile(/tmp/multipartBody5118506872986313134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765874943178,"filename":"image_16122025_09_43_34_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616262","file1":"1399616228","file0":"1399616215","file4":"1399616332","file5":"1399616370","file3":"1399616299"},"map_files_photo_id_array":[{"photo_id":"1399616370","filename":"file5"},{"photo_id":"1399616262","filename":"file2"},{"photo_id":"1399616332","filename":"file4"},{"photo_id":"1399616228","filename":"file1"},{"photo_id":"1399616215","filename":"file0"},{"photo_id":"1399616299","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616332":["hashtag1","hashtag2"]},{"1399616262":["hashtag1","hashtag2"]},{"1399616215":["hashtag1","hashtag2"]},{"1399616370":["hashtag1","hashtag2"]},{"1399616228":["hashtag1","hashtag2"]},{"1399616299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616332, 1399616262, 1399616215, 1399616370, 1399616228, 1399616299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50341176986694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:48:42.004772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_09_3244.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_11_1666.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_13_1653.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_14_1599.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_16_1638.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_18_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_09_3244.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_11_1666.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_13_1653.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_14_1599.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_16_1638.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_18_1717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6022162437438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:49:02.934717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/43/image_16122025_09_44_04_9633.jpg', '/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_14_9895.jpg', '/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_25_10552.jpg', '/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_34_9690.jpg', '/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_44_9806.jpg', '/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/43/image_16122025_09_44_04_9633.jpg
/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_14_9895.jpg
/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_25_10552.jpg
/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_34_9690.jpg
/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_44_9806.jpg
/home/pi/Desktop/images/16122025/09/44/image_16122025_09_44_55_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":["1399616485","1399616487","1399616490","1399616483","1399616492","1399616482"],"photo_ids_order":["1399616482","1399616483","1399616485","1399616487","1399616490","1399616492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0348bc48f4d860cedd09b7f318843122.jpg","text":"TemporaryFile(/tmp/multipartBody7448027001940532534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875003811,"filename":"image_16122025_09_44_25_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02573c74cb230ce73ff4570924c34b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3373924964735314110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875003811,"filename":"image_16122025_09_44_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/16/17dafa32f6d08b247665715390ab79fb.jpg","text":"TemporaryFile(/tmp/multipartBody1731920112968602142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875003811,"filename":"image_16122025_09_44_44_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/16/60e845f2e51b76e44b8dae5dc2d7f0f7.jpg","text":"TemporaryFile(/tmp/multipartBody6658872475203288775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875003811,"filename":"image_16122025_09_44_14_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9cdf12eca885ba7bda6ef532149369a.jpg","text":"TemporaryFile(/tmp/multipartBody8813675641524433292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875003811,"filename":"image_16122025_09_44_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/16/fc595bd798a334e7fd9685d34537096c.jpg","text":"TemporaryFile(/tmp/multipartBody6772761160091174321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875003811,"filename":"image_16122025_09_44_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616485","file1":"1399616483","file0":"1399616482","file4":"1399616490","file5":"1399616492","file3":"1399616487"},"map_files_photo_id_array":[{"photo_id":"1399616492","filename":"file5"},{"photo_id":"1399616485","filename":"file2"},{"photo_id":"1399616490","filename":"file4"},{"photo_id":"1399616483","filename":"file1"},{"photo_id":"1399616482","filename":"file0"},{"photo_id":"1399616487","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616485":["hashtag1","hashtag2"]},{"1399616487":["hashtag1","hashtag2"]},{"1399616490":["hashtag1","hashtag2"]},{"1399616483":["hashtag1","hashtag2"]},{"1399616492":["hashtag1","hashtag2"]},{"1399616482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616485, 1399616487, 1399616490, 1399616483, 1399616492, 1399616482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89851927757263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:50:02.902281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/44/image_16122025_09_45_05_9713.jpg', '/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_14_9631.jpg', '/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_25_10797.jpg', '/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_35_9532.jpg', '/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_44_9738.jpg', '/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/44/image_16122025_09_45_05_9713.jpg
/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_14_9631.jpg
/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_25_10797.jpg
/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_35_9532.jpg
/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_44_9738.jpg
/home/pi/Desktop/images/16122025/09/45/image_16122025_09_45_55_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616501","1399616500","1399616499","1399616503","1399616505","1399616502"],"photo_ids_order":["1399616499","1399616500","1399616501","1399616502","1399616503","1399616505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df2e23241b0812b2e60af0ee2b9a45cb.jpg","text":"TemporaryFile(/tmp/multipartBody6216753478926174319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875063547,"filename":"image_16122025_09_45_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/16/0b7690405acabe64f2e4922447862680.jpg","text":"TemporaryFile(/tmp/multipartBody2380984340066134231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875063547,"filename":"image_16122025_09_45_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7494f1b02db6f3856c4322b2739c6534.jpg","text":"TemporaryFile(/tmp/multipartBody7731135139300545518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875063547,"filename":"image_16122025_09_45_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac830a78feaf59f6598f4cf0ecec8123.jpg","text":"TemporaryFile(/tmp/multipartBody8597831100035988032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875063547,"filename":"image_16122025_09_45_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/16/447c960346b9a2b4fbd11ca9cc5a572e.jpg","text":"TemporaryFile(/tmp/multipartBody8074665901716503458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875063547,"filename":"image_16122025_09_45_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/16/a47dd30ab4e91def9fb5dd28a5c5f79e.jpg","text":"TemporaryFile(/tmp/multipartBody8975696077204518223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875063547,"filename":"image_16122025_09_45_35_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616501","file1":"1399616500","file0":"1399616499","file4":"1399616503","file5":"1399616505","file3":"1399616502"},"map_files_photo_id_array":[{"photo_id":"1399616505","filename":"file5"},{"photo_id":"1399616501","filename":"file2"},{"photo_id":"1399616503","filename":"file4"},{"photo_id":"1399616500","filename":"file1"},{"photo_id":"1399616499","filename":"file0"},{"photo_id":"1399616502","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616501":["hashtag1","hashtag2"]},{"1399616500":["hashtag1","hashtag2"]},{"1399616499":["hashtag1","hashtag2"]},{"1399616503":["hashtag1","hashtag2"]},{"1399616505":["hashtag1","hashtag2"]},{"1399616502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616501, 1399616500, 1399616499, 1399616503, 1399616505, 1399616502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.827927350997925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:50:42.505583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_09_3244.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_11_1666.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_13_1653.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_14_1599.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_16_1638.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_18_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_09_3244.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_11_1666.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_13_1653.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_14_1599.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_16_1638.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_18_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616527","1399616524","1399616523","1399616526","1399616511","1399616525"],"photo_ids_order":["1399616511","1399616523","1399616524","1399616525","1399616526","1399616527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b46c88e63142c9076b737d2306094f66.jpg","text":"TemporaryFile(/tmp/multipartBody741433805828723050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875103100,"filename":"image_06112025_15_43_18_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/16/c22d2840e337f9b59aca09772b8759ff.jpg","text":"TemporaryFile(/tmp/multipartBody7469515624485492562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875103100,"filename":"image_06112025_15_43_13_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/408516ffdb2956815bd45b4c9da8db75.jpg","text":"TemporaryFile(/tmp/multipartBody5786039427755366735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875103100,"filename":"image_06112025_15_43_11_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ee38db6489eb472c1830af0a19cada4.jpg","text":"TemporaryFile(/tmp/multipartBody1587757429717920323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875103100,"filename":"image_06112025_15_43_16_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae25b443356c7000b1ccb613897228be.jpg","text":"TemporaryFile(/tmp/multipartBody1270336227575024075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875103100,"filename":"image_06112025_15_43_09_3244.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/feee5d54bf794b2a8f701d13325e023a.jpg","text":"TemporaryFile(/tmp/multipartBody2618348627530591144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875103100,"filename":"image_06112025_15_43_14_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616524","file1":"1399616523","file0":"1399616511","file4":"1399616526","file5":"1399616527","file3":"1399616525"},"map_files_photo_id_array":[{"photo_id":"1399616527","filename":"file5"},{"photo_id":"1399616524","filename":"file2"},{"photo_id":"1399616526","filename":"file4"},{"photo_id":"1399616523","filename":"file1"},{"photo_id":"1399616511","filename":"file0"},{"photo_id":"1399616525","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616527":["hashtag1","hashtag2"]},{"1399616524":["hashtag1","hashtag2"]},{"1399616523":["hashtag1","hashtag2"]},{"1399616526":["hashtag1","hashtag2"]},{"1399616511":["hashtag1","hashtag2"]},{"1399616525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616527, 1399616524, 1399616523, 1399616526, 1399616511, 1399616525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66247797012329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:51:22.777969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/45/image_16122025_09_46_05_9727.jpg', '/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_14_9722.jpg', '/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_25_10593.jpg', '/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_35_9866.jpg', '/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_45_9616.jpg', '/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_54_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/45/image_16122025_09_46_05_9727.jpg
/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_14_9722.jpg
/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_25_10593.jpg
/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_35_9866.jpg
/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_45_9616.jpg
/home/pi/Desktop/images/16122025/09/46/image_16122025_09_46_54_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616533","1399616535","1399616529","1399616540","1399616537","1399616531"],"photo_ids_order":["1399616529","1399616531","1399616533","1399616535","1399616537","1399616540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f88c7d6845d2f1ac0235f1019d9a6bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2235373392710928524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875143429,"filename":"image_16122025_09_46_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02348782a49a5be77642dbacfb1ba6c5.jpg","text":"TemporaryFile(/tmp/multipartBody6442622149338639425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875143429,"filename":"image_16122025_09_46_35_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/16/e8f0bbe5a909f2054d1bd1a3041f2dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5447789244121435552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875143429,"filename":"image_16122025_09_46_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/16/ab8fe426f6e1963b469c45b1403dda21.jpg","text":"TemporaryFile(/tmp/multipartBody790917506537506370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875143429,"filename":"image_16122025_09_46_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0a2c5b3b2b1028fb9b6e7f6be046ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8101168487897679878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875143429,"filename":"image_16122025_09_46_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4b67737e8d8df1e43b8b02170b0ecb9.jpg","text":"TemporaryFile(/tmp/multipartBody8370394978407114118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875143429,"filename":"image_16122025_09_46_14_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616533","file1":"1399616531","file0":"1399616529","file4":"1399616537","file5":"1399616540","file3":"1399616535"},"map_files_photo_id_array":[{"photo_id":"1399616540","filename":"file5"},{"photo_id":"1399616533","filename":"file2"},{"photo_id":"1399616537","filename":"file4"},{"photo_id":"1399616531","filename":"file1"},{"photo_id":"1399616529","filename":"file0"},{"photo_id":"1399616535","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616533":["hashtag1","hashtag2"]},{"1399616535":["hashtag1","hashtag2"]},{"1399616529":["hashtag1","hashtag2"]},{"1399616540":["hashtag1","hashtag2"]},{"1399616537":["hashtag1","hashtag2"]},{"1399616531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616533, 1399616535, 1399616529, 1399616540, 1399616537, 1399616531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77850866317749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:52:12.013915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:52:21.970505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/46/image_16122025_09_47_05_10813.jpg', '/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_15_9616.jpg', '/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_24_9724.jpg', '/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_35_10719.jpg', '/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_45_9651.jpg', '/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_55_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/46/image_16122025_09_47_05_10813.jpg
/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_15_9616.jpg
/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_24_9724.jpg
/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_35_10719.jpg
/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_45_9651.jpg
/home/pi/Desktop/images/16122025/09/47/image_16122025_09_47_55_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616545","1399616541","1399616544","1399616547","1399616552","1399616549"],"photo_ids_order":["1399616541","1399616544","1399616545","1399616547","1399616549","1399616552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b5b28e83034f988e1573b1032771fec.jpg","text":"TemporaryFile(/tmp/multipartBody7907656105123653674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875202585,"filename":"image_16122025_09_47_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e9a65d4af6de53147162a292bfd465e.jpg","text":"TemporaryFile(/tmp/multipartBody4029023045966554706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875202585,"filename":"image_16122025_09_47_05_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73aba2d854edfed608073dca9ac947e0.jpg","text":"TemporaryFile(/tmp/multipartBody3755743188924633380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875202585,"filename":"image_16122025_09_47_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cff0d934349cdd7d2e5e33cf6552e584.jpg","text":"TemporaryFile(/tmp/multipartBody1411609202875760473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875202585,"filename":"image_16122025_09_47_35_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85b9fb3a286c73787a4d5b46fa830d47.jpg","text":"TemporaryFile(/tmp/multipartBody1824852987682336072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875202585,"filename":"image_16122025_09_47_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/16/f816b9181ab08a47696b5ee447c4a3e1.jpg","text":"TemporaryFile(/tmp/multipartBody1546327923459485289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875202585,"filename":"image_16122025_09_47_45_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616545","file1":"1399616544","file0":"1399616541","file4":"1399616549","file5":"1399616552","file3":"1399616547"},"map_files_photo_id_array":[{"photo_id":"1399616552","filename":"file5"},{"photo_id":"1399616545","filename":"file2"},{"photo_id":"1399616549","filename":"file4"},{"photo_id":"1399616544","filename":"file1"},{"photo_id":"1399616541","filename":"file0"},{"photo_id":"1399616547","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616545":["hashtag1","hashtag2"]},{"1399616541":["hashtag1","hashtag2"]},{"1399616544":["hashtag1","hashtag2"]},{"1399616547":["hashtag1","hashtag2"]},{"1399616552":["hashtag1","hashtag2"]},{"1399616549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616545, 1399616541, 1399616544, 1399616547, 1399616552, 1399616549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09013652801514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:53:02.914496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/47/image_16122025_09_48_04_9648.jpg', '/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_15_10757.jpg', '/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_25_9653.jpg', '/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_35_10564.jpg', '/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_45_9828.jpg', '/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_55_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/47/image_16122025_09_48_04_9648.jpg
/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_15_10757.jpg
/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_25_9653.jpg
/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_35_10564.jpg
/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_45_9828.jpg
/home/pi/Desktop/images/16122025/09/48/image_16122025_09_48_55_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":["1399616557","1399616554","1399616556","1399616559","1399616553","1399616555"],"photo_ids_order":["1399616553","1399616554","1399616555","1399616556","1399616557","1399616559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/335713897a27f4bf972f464768bebfe9.jpg","text":"TemporaryFile(/tmp/multipartBody1127922094664256035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875243580,"filename":"image_16122025_09_48_45_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afb5cc09cfcb3a1a7bbc94f76cb0b66f.jpg","text":"TemporaryFile(/tmp/multipartBody3168829726197411277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875243580,"filename":"image_16122025_09_48_15_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9ec8a7d180976a0f0bf2777e643ac22.jpg","text":"TemporaryFile(/tmp/multipartBody8068066270257647538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875243580,"filename":"image_16122025_09_48_35_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae8d3cc97b07add8062bda91aafc8561.jpg","text":"TemporaryFile(/tmp/multipartBody8144228969378147526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875243580,"filename":"image_16122025_09_48_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7924f4619d636d73902b10364e8473bc.jpg","text":"TemporaryFile(/tmp/multipartBody7670052896562690618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875243580,"filename":"image_16122025_09_48_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96177e5ed91172ca68f7ad62263b73f8.jpg","text":"TemporaryFile(/tmp/multipartBody6784409519463784260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875243580,"filename":"image_16122025_09_48_25_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616555","file1":"1399616554","file0":"1399616553","file4":"1399616557","file5":"1399616559","file3":"1399616556"},"map_files_photo_id_array":[{"photo_id":"1399616559","filename":"file5"},{"photo_id":"1399616555","filename":"file2"},{"photo_id":"1399616557","filename":"file4"},{"photo_id":"1399616554","filename":"file1"},{"photo_id":"1399616553","filename":"file0"},{"photo_id":"1399616556","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616557":["hashtag1","hashtag2"]},{"1399616554":["hashtag1","hashtag2"]},{"1399616556":["hashtag1","hashtag2"]},{"1399616559":["hashtag1","hashtag2"]},{"1399616553":["hashtag1","hashtag2"]},{"1399616555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616557, 1399616554, 1399616556, 1399616559, 1399616553, 1399616555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33635997772217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:53:42.252251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_19_1606.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_21_1684.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_24_3230.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_26_1613.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_29_2718.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_31_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_19_1606.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_21_1684.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_24_3230.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_26_1613.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_29_2718.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_31_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616578","1399616580","1399616565","1399616582","1399616579","1399616581"],"photo_ids_order":["1399616565","1399616578","1399616579","1399616580","1399616581","1399616582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0836e56161a60138dce2a7abd94cf35.jpg","text":"TemporaryFile(/tmp/multipartBody7230636687718772283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875282962,"filename":"image_06112025_15_43_21_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f4354581a4b8f59baef78ad8bcc79b9.jpg","text":"TemporaryFile(/tmp/multipartBody8673725575752108767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875282962,"filename":"image_06112025_15_43_26_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4491b1081ed3fcadba1fa085256fd40c.jpg","text":"TemporaryFile(/tmp/multipartBody2925772415583661720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875282962,"filename":"image_06112025_15_43_19_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b30d21231099efa923b84a31194944a.jpg","text":"TemporaryFile(/tmp/multipartBody822415570491669318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875282962,"filename":"image_06112025_15_43_31_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/16/26429bf75932f0c34ae2202a7e2de5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1160379285270225096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875282962,"filename":"image_06112025_15_43_24_3230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e98aa5461f62daea87c58a927c1a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody9032075687530345842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875282962,"filename":"image_06112025_15_43_29_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616579","file1":"1399616578","file0":"1399616565","file4":"1399616581","file5":"1399616582","file3":"1399616580"},"map_files_photo_id_array":[{"photo_id":"1399616582","filename":"file5"},{"photo_id":"1399616579","filename":"file2"},{"photo_id":"1399616581","filename":"file4"},{"photo_id":"1399616578","filename":"file1"},{"photo_id":"1399616565","filename":"file0"},{"photo_id":"1399616580","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616578":["hashtag1","hashtag2"]},{"1399616580":["hashtag1","hashtag2"]},{"1399616565":["hashtag1","hashtag2"]},{"1399616582":["hashtag1","hashtag2"]},{"1399616579":["hashtag1","hashtag2"]},{"1399616581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616578, 1399616580, 1399616565, 1399616582, 1399616579, 1399616581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6032931804657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:54:22.548212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/48/image_16122025_09_49_05_9766.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_15_10592.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_25_9549.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_34_9634.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_45_10765.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_55_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/48/image_16122025_09_49_05_9766.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_15_10592.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_25_9549.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_34_9634.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_45_10765.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_55_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.49336814880371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 09:54:32.517325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:54:42.516009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_34_2697.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_38_3692.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_41_2920.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_43_2658.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_48_4267.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_49_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_34_2697.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_38_3692.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_41_2920.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_43_2658.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_48_4267.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_49_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616599","1399616598","1399616597","1399616601","1399616594","1399616596"],"photo_ids_order":["1399616594","1399616596","1399616597","1399616598","1399616599","1399616601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/28a9ae944637a57ad0ca3acf34c25a82.jpg","text":"TemporaryFile(/tmp/multipartBody6269074911493053726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875343229,"filename":"image_06112025_15_43_48_4267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57fcb764d30f8080db00d309fd869969.jpg","text":"TemporaryFile(/tmp/multipartBody4373486203524796710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875343229,"filename":"image_06112025_15_43_43_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae46177dd39f1813f786b8011e08fffc.jpg","text":"TemporaryFile(/tmp/multipartBody2503124247331453945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875343229,"filename":"image_06112025_15_43_41_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b08002d29e8fbf0b28735a82654b99a.jpg","text":"TemporaryFile(/tmp/multipartBody222674679656364220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875343229,"filename":"image_06112025_15_43_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/16/28dbed48a68dcaf7b135e5a1c9dc1789.jpg","text":"TemporaryFile(/tmp/multipartBody5639773366988761463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875343229,"filename":"image_06112025_15_43_34_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/16/eacabe83c61b228c7c6b3b565523f818.jpg","text":"TemporaryFile(/tmp/multipartBody651456033787246877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875343229,"filename":"image_06112025_15_43_38_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616597","file1":"1399616596","file0":"1399616594","file4":"1399616599","file5":"1399616601","file3":"1399616598"},"map_files_photo_id_array":[{"photo_id":"1399616601","filename":"file5"},{"photo_id":"1399616597","filename":"file2"},{"photo_id":"1399616599","filename":"file4"},{"photo_id":"1399616596","filename":"file1"},{"photo_id":"1399616594","filename":"file0"},{"photo_id":"1399616598","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616599":["hashtag1","hashtag2"]},{"1399616598":["hashtag1","hashtag2"]},{"1399616597":["hashtag1","hashtag2"]},{"1399616601":["hashtag1","hashtag2"]},{"1399616594":["hashtag1","hashtag2"]},{"1399616596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616599, 1399616598, 1399616597, 1399616601, 1399616594, 1399616596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74308252334595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:55:22.754514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/48/image_16122025_09_49_05_9766.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_15_10592.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_25_9549.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_34_9634.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_45_10765.jpg', '/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_55_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/48/image_16122025_09_49_05_9766.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_15_10592.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_25_9549.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_34_9634.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_45_10765.jpg
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_49_55_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616605","1399616616","1399616609","1399616603","1399616612","1399616606"],"photo_ids_order":["1399616603","1399616605","1399616606","1399616609","1399616612","1399616616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1f03e6a8e91ec761209e702cda1bd95.jpg","text":"TemporaryFile(/tmp/multipartBody1452090805579548313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875383356,"filename":"image_16122025_09_49_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e2295bd36da42aef43a14870a5765007.jpg","text":"TemporaryFile(/tmp/multipartBody7030904174216510986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875383356,"filename":"image_16122025_09_49_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f144bf1047f3c3c608d1706152268ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2184915366762345983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875383356,"filename":"image_16122025_09_49_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/16/5b8b888e22f212e48da8fff3d9567d04.jpg","text":"TemporaryFile(/tmp/multipartBody8689513192192258365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875383356,"filename":"image_16122025_09_49_05_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f5fa3c7156cda2ec5dd2187cc9c85ef.jpg","text":"TemporaryFile(/tmp/multipartBody1772821076824731411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875383356,"filename":"image_16122025_09_49_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a25b45d2f22da3a75b1393c9d21216f.jpg","text":"TemporaryFile(/tmp/multipartBody2515901052301747546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875383356,"filename":"image_16122025_09_49_25_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616606","file1":"1399616605","file0":"1399616603","file4":"1399616612","file5":"1399616616","file3":"1399616609"},"map_files_photo_id_array":[{"photo_id":"1399616616","filename":"file5"},{"photo_id":"1399616606","filename":"file2"},{"photo_id":"1399616612","filename":"file4"},{"photo_id":"1399616605","filename":"file1"},{"photo_id":"1399616603","filename":"file0"},{"photo_id":"1399616609","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616605":["hashtag1","hashtag2"]},{"1399616616":["hashtag1","hashtag2"]},{"1399616609":["hashtag1","hashtag2"]},{"1399616603":["hashtag1","hashtag2"]},{"1399616612":["hashtag1","hashtag2"]},{"1399616606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616605, 1399616616, 1399616609, 1399616603, 1399616612, 1399616606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71812200546265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:56:02.531596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/49/image_16122025_09_50_04_9654.jpg', '/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_15_10640.jpg', '/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_25_9567.jpg', '/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_35_9906.jpg', '/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_44_9866.jpg', '/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_55_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/49/image_16122025_09_50_04_9654.jpg
/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_15_10640.jpg
/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_25_9567.jpg
/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_35_9906.jpg
/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_44_9866.jpg
/home/pi/Desktop/images/16122025/09/50/image_16122025_09_50_55_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616626","1399616620","1399616623","1399616622","1399616621","1399616624"],"photo_ids_order":["1399616620","1399616621","1399616622","1399616623","1399616624","1399616626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dc713890413bf83e607d710fb6d0055.jpg","text":"TemporaryFile(/tmp/multipartBody1964744306469275051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875423173,"filename":"image_16122025_09_50_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/16/a2d5a0c3da4cb06ef80fa11bca11c408.jpg","text":"TemporaryFile(/tmp/multipartBody4599865285916068571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875423173,"filename":"image_16122025_09_50_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90dd5f2e577b4c8ce30de1f3868ca998.jpg","text":"TemporaryFile(/tmp/multipartBody3331913434452712802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875423173,"filename":"image_16122025_09_50_35_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ff69fecf327f7e3ae265e5bb8743188.jpg","text":"TemporaryFile(/tmp/multipartBody1992708254292429262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875423173,"filename":"image_16122025_09_50_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ca994bf4619957ea0169b5e933e3a25.jpg","text":"TemporaryFile(/tmp/multipartBody4249319856559156467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875423173,"filename":"image_16122025_09_50_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d13d705d34c6aa4ba9986ff11f4a788.jpg","text":"TemporaryFile(/tmp/multipartBody304761227881919583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875423173,"filename":"image_16122025_09_50_44_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616622","file1":"1399616621","file0":"1399616620","file4":"1399616624","file5":"1399616626","file3":"1399616623"},"map_files_photo_id_array":[{"photo_id":"1399616626","filename":"file5"},{"photo_id":"1399616622","filename":"file2"},{"photo_id":"1399616624","filename":"file4"},{"photo_id":"1399616621","filename":"file1"},{"photo_id":"1399616620","filename":"file0"},{"photo_id":"1399616623","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616626":["hashtag1","hashtag2"]},{"1399616620":["hashtag1","hashtag2"]},{"1399616623":["hashtag1","hashtag2"]},{"1399616622":["hashtag1","hashtag2"]},{"1399616621":["hashtag1","hashtag2"]},{"1399616624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616626, 1399616620, 1399616623, 1399616622, 1399616621, 1399616624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75248312950134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 09:56:42.067757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_53_3634.jpg', '/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_58_5688.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_04_6004.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_07_2824.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_09_1626.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_10_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_53_3634.jpg
/home/pi/Desktop/images/06112025/15/43/image_06112025_15_43_58_5688.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_04_6004.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_07_2824.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_09_1626.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_10_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":["1399616644","1399616646","1399616631","1399616645","1399616648","1399616633"],"photo_ids_order":["1399616631","1399616633","1399616644","1399616645","1399616646","1399616648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/972c705944f5ea07d89043e2e1acf3ea.jpg","text":"TemporaryFile(/tmp/multipartBody6744989627677945778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875462785,"filename":"image_06112025_15_44_04_6004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f7027c0ddff3c9b22b4eb29caf8a64e.jpg","text":"TemporaryFile(/tmp/multipartBody6795741882252184337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875462785,"filename":"image_06112025_15_44_09_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/16/bd1b002acbfc76857cba6b730a9f555c.jpg","text":"TemporaryFile(/tmp/multipartBody8780676194644344505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875462785,"filename":"image_06112025_15_43_53_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/16/49f3970a0504e4b55cd584dc610144ca.jpg","text":"TemporaryFile(/tmp/multipartBody568549958238963477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875462785,"filename":"image_06112025_15_44_07_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee0da364d98c8ea2c6a66283911f747c.jpg","text":"TemporaryFile(/tmp/multipartBody8810217381529508626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875462785,"filename":"image_06112025_15_44_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/16/1723f83be6b3d4fc943ec5bd033a43f5.jpg","text":"TemporaryFile(/tmp/multipartBody6971073086591542567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875462785,"filename":"image_06112025_15_43_58_5688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616644","file1":"1399616633","file0":"1399616631","file4":"1399616646","file5":"1399616648","file3":"1399616645"},"map_files_photo_id_array":[{"photo_id":"1399616648","filename":"file5"},{"photo_id":"1399616644","filename":"file2"},{"photo_id":"1399616646","filename":"file4"},{"photo_id":"1399616633","filename":"file1"},{"photo_id":"1399616631","filename":"file0"},{"photo_id":"1399616645","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616644":["hashtag1","hashtag2"]},{"1399616646":["hashtag1","hashtag2"]},{"1399616631":["hashtag1","hashtag2"]},{"1399616645":["hashtag1","hashtag2"]},{"1399616648":["hashtag1","hashtag2"]},{"1399616633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616644, 1399616646, 1399616631, 1399616645, 1399616648, 1399616633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24194955825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 09:57:22.380383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/50/image_16122025_09_51_05_9619.jpg', '/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_14_9592.jpg', '/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_25_10745.jpg', '/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_35_9629.jpg', '/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_45_10230.jpg', '/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_55_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/50/image_16122025_09_51_05_9619.jpg
/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_14_9592.jpg
/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_25_10745.jpg
/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_35_9629.jpg
/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_45_10230.jpg
/home/pi/Desktop/images/16122025/09/51/image_16122025_09_51_55_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616653","1399616655","1399616649","1399616651","1399616660","1399616657"],"photo_ids_order":["1399616649","1399616651","1399616653","1399616655","1399616657","1399616660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59ba63ea854b829bd4f048ad1c70b887.jpg","text":"TemporaryFile(/tmp/multipartBody117726909286048548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875502968,"filename":"image_16122025_09_51_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c7fe0418c70b3547b7cffa33c38432e.jpg","text":"TemporaryFile(/tmp/multipartBody1912154301091361030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875502968,"filename":"image_16122025_09_51_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/16/86ebdcbdc2df35faa722b4b62f5fade4.jpg","text":"TemporaryFile(/tmp/multipartBody3510236509460698828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875502968,"filename":"image_16122025_09_51_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/986758f309069e7825922d5bef5a7031.jpg","text":"TemporaryFile(/tmp/multipartBody4312657314500375583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875502968,"filename":"image_16122025_09_51_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/16/b1afd716138014b42d9a477408086c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6749850640805790801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875502968,"filename":"image_16122025_09_51_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/16/552165874bbfe73f2600dd77ae3a5907.jpg","text":"TemporaryFile(/tmp/multipartBody499549137356439767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875502968,"filename":"image_16122025_09_51_45_10230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616653","file1":"1399616651","file0":"1399616649","file4":"1399616657","file5":"1399616660","file3":"1399616655"},"map_files_photo_id_array":[{"photo_id":"1399616660","filename":"file5"},{"photo_id":"1399616653","filename":"file2"},{"photo_id":"1399616657","filename":"file4"},{"photo_id":"1399616651","filename":"file1"},{"photo_id":"1399616649","filename":"file0"},{"photo_id":"1399616655","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616653":["hashtag1","hashtag2"]},{"1399616655":["hashtag1","hashtag2"]},{"1399616649":["hashtag1","hashtag2"]},{"1399616651":["hashtag1","hashtag2"]},{"1399616660":["hashtag1","hashtag2"]},{"1399616657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616653, 1399616655, 1399616649, 1399616651, 1399616660, 1399616657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.200523853302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 09:59:03.547912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/51/image_16122025_09_52_04_9748.jpg', '/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_15_10702.jpg', '/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_25_9659.jpg', '/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_34_9669.jpg', '/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_45_10820.jpg', '/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_55_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/51/image_16122025_09_52_04_9748.jpg
/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_15_10702.jpg
/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_25_9659.jpg
/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_34_9669.jpg
/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_45_10820.jpg
/home/pi/Desktop/images/16122025/09/52/image_16122025_09_52_55_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616679","1399616670","1399616673","1399616676","1399616666","1399616674"],"photo_ids_order":["1399616666","1399616670","1399616673","1399616674","1399616676","1399616679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33f5cc594df4f02360e24546b3eed8f0.jpg","text":"TemporaryFile(/tmp/multipartBody1830073484431009955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875604322,"filename":"image_16122025_09_52_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/16/f2ef80d0783e68361477292d87fb7019.jpg","text":"TemporaryFile(/tmp/multipartBody4190325020546258410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875604322,"filename":"image_16122025_09_52_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d226d9f003e90e44150a7a6f16794b85.jpg","text":"TemporaryFile(/tmp/multipartBody8736900928493609813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875604322,"filename":"image_16122025_09_52_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/16/52b269cba661f36d2279186e5ac3c339.jpg","text":"TemporaryFile(/tmp/multipartBody6005175490381223038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875604322,"filename":"image_16122025_09_52_45_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/16/e2a993c3f4bea6a5019dba72e44eada3.jpg","text":"TemporaryFile(/tmp/multipartBody6786319946488813864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875604322,"filename":"image_16122025_09_52_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/16/49e021541ebd8f87c8421ad570d22c09.jpg","text":"TemporaryFile(/tmp/multipartBody6473719164300527535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875604322,"filename":"image_16122025_09_52_34_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616673","file1":"1399616670","file0":"1399616666","file4":"1399616676","file5":"1399616679","file3":"1399616674"},"map_files_photo_id_array":[{"photo_id":"1399616679","filename":"file5"},{"photo_id":"1399616673","filename":"file2"},{"photo_id":"1399616676","filename":"file4"},{"photo_id":"1399616670","filename":"file1"},{"photo_id":"1399616666","filename":"file0"},{"photo_id":"1399616674","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616679":["hashtag1","hashtag2"]},{"1399616670":["hashtag1","hashtag2"]},{"1399616673":["hashtag1","hashtag2"]},{"1399616676":["hashtag1","hashtag2"]},{"1399616666":["hashtag1","hashtag2"]},{"1399616674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616679, 1399616670, 1399616673, 1399616676, 1399616666, 1399616674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.1674427986145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:00:02.978628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/52/image_16122025_09_53_05_9748.jpg', '/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_14_9709.jpg', '/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_25_10701.jpg', '/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_35_9754.jpg', '/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_44_9751.jpg', '/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_55_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/52/image_16122025_09_53_05_9748.jpg
/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_14_9709.jpg
/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_25_10701.jpg
/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_35_9754.jpg
/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_44_9751.jpg
/home/pi/Desktop/images/16122025/09/53/image_16122025_09_53_55_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616697","1399616701","1399616704","1399616694","1399616699","1399616695"],"photo_ids_order":["1399616694","1399616695","1399616697","1399616699","1399616701","1399616704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78455f3e7e2bc25b48b19c8c46328fcf.jpg","text":"TemporaryFile(/tmp/multipartBody470681255786513058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875663610,"filename":"image_16122025_09_53_25_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ba9508ce27639efb64d162439733ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7492402054355115147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875663610,"filename":"image_16122025_09_53_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/16/eff2e0fc29dab17bd4fa5f0e1fa932a3.jpg","text":"TemporaryFile(/tmp/multipartBody5710035944787568414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875663610,"filename":"image_16122025_09_53_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/16/d0cd843f7d63f8c93ec56402eea775ea.jpg","text":"TemporaryFile(/tmp/multipartBody4991579269161464304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875663610,"filename":"image_16122025_09_53_05_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98c381eb28b5c89a409a9491ee505523.jpg","text":"TemporaryFile(/tmp/multipartBody8211897538378291005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875663610,"filename":"image_16122025_09_53_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bf4803350d30714654d3c7e84eb451a.jpg","text":"TemporaryFile(/tmp/multipartBody1726370786363261473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875663610,"filename":"image_16122025_09_53_14_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616697","file1":"1399616695","file0":"1399616694","file4":"1399616701","file5":"1399616704","file3":"1399616699"},"map_files_photo_id_array":[{"photo_id":"1399616704","filename":"file5"},{"photo_id":"1399616697","filename":"file2"},{"photo_id":"1399616701","filename":"file4"},{"photo_id":"1399616695","filename":"file1"},{"photo_id":"1399616694","filename":"file0"},{"photo_id":"1399616699","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616697":["hashtag1","hashtag2"]},{"1399616701":["hashtag1","hashtag2"]},{"1399616704":["hashtag1","hashtag2"]},{"1399616694":["hashtag1","hashtag2"]},{"1399616699":["hashtag1","hashtag2"]},{"1399616695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616697, 1399616701, 1399616704, 1399616694, 1399616699, 1399616695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.851919412612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:00:42.483152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_12_1642.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_15_3188.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_17_1686.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_24_6835.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_26_1901.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_49_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_12_1642.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_15_3188.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_17_1686.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_24_6835.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_26_1901.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_49_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616713","1399616716","1399616712","1399616714","1399616708","1399616711"],"photo_ids_order":["1399616708","1399616711","1399616712","1399616713","1399616714","1399616716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1389072a71a54ace6182e9c4f459dbc7.jpg","text":"TemporaryFile(/tmp/multipartBody3172871213655538715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875703203,"filename":"image_06112025_15_44_24_6835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a73484978b162a7a850daafdf3c40d63.jpg","text":"TemporaryFile(/tmp/multipartBody1847877318535829927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875703203,"filename":"image_06112025_15_44_49_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f60c298ff4e3547af0fd95ee872f724.jpg","text":"TemporaryFile(/tmp/multipartBody2284856403441202921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875703203,"filename":"image_06112025_15_44_17_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/16/c46f8d805cb450e9d8eb8988bea17a29.jpg","text":"TemporaryFile(/tmp/multipartBody4098674036877182337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875703203,"filename":"image_06112025_15_44_26_1901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5be699c8f6de15b4b0808c5dff0cdb3b.jpg","text":"TemporaryFile(/tmp/multipartBody3345493885930710628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875703203,"filename":"image_06112025_15_44_12_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/16/402e80a4d548b537b2ac207278763086.jpg","text":"TemporaryFile(/tmp/multipartBody1092047384343467926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875703203,"filename":"image_06112025_15_44_15_3188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616712","file1":"1399616711","file0":"1399616708","file4":"1399616714","file5":"1399616716","file3":"1399616713"},"map_files_photo_id_array":[{"photo_id":"1399616716","filename":"file5"},{"photo_id":"1399616712","filename":"file2"},{"photo_id":"1399616714","filename":"file4"},{"photo_id":"1399616711","filename":"file1"},{"photo_id":"1399616708","filename":"file0"},{"photo_id":"1399616713","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616713":["hashtag1","hashtag2"]},{"1399616716":["hashtag1","hashtag2"]},{"1399616712":["hashtag1","hashtag2"]},{"1399616714":["hashtag1","hashtag2"]},{"1399616708":["hashtag1","hashtag2"]},{"1399616711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616713, 1399616716, 1399616712, 1399616714, 1399616708, 1399616711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.428988218307495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:01:22.721559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/53/image_16122025_09_54_05_9589.jpg', '/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_15_10126.jpg', '/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_25_9765.jpg', '/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_34_9694.jpg', '/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_45_10815.jpg', '/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_55_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/53/image_16122025_09_54_05_9589.jpg
/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_15_10126.jpg
/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_25_9765.jpg
/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_34_9694.jpg
/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_45_10815.jpg
/home/pi/Desktop/images/16122025/09/54/image_16122025_09_54_55_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":["1399616725","1399616728","1399616722","1399616721","1399616724","1399616723"],"photo_ids_order":["1399616721","1399616722","1399616723","1399616724","1399616725","1399616728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/368a5a378c09fd5ecbb618be24143e90.jpg","text":"TemporaryFile(/tmp/multipartBody7476444374104256318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875743339,"filename":"image_16122025_09_54_45_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/083a6ae970c3b06eed86598f21053a15.jpg","text":"TemporaryFile(/tmp/multipartBody2954179948117311149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875743339,"filename":"image_16122025_09_54_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/16/a0425efb2a5c79491c6dd47c80bdaf41.jpg","text":"TemporaryFile(/tmp/multipartBody252820728541489976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875743339,"filename":"image_16122025_09_54_15_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/16/e2707051ba1c509ee5ea4cce3e6060e6.jpg","text":"TemporaryFile(/tmp/multipartBody7030381963850141067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875743339,"filename":"image_16122025_09_54_05_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5628cd7e79bb6cb0f9a704223e97f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7678982175120399898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875743339,"filename":"image_16122025_09_54_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8944aa0195c9fba98ec91d20410edb6d.jpg","text":"TemporaryFile(/tmp/multipartBody3831501520300240971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875743339,"filename":"image_16122025_09_54_25_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616723","file1":"1399616722","file0":"1399616721","file4":"1399616725","file5":"1399616728","file3":"1399616724"},"map_files_photo_id_array":[{"photo_id":"1399616728","filename":"file5"},{"photo_id":"1399616723","filename":"file2"},{"photo_id":"1399616725","filename":"file4"},{"photo_id":"1399616722","filename":"file1"},{"photo_id":"1399616721","filename":"file0"},{"photo_id":"1399616724","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616725":["hashtag1","hashtag2"]},{"1399616728":["hashtag1","hashtag2"]},{"1399616722":["hashtag1","hashtag2"]},{"1399616721":["hashtag1","hashtag2"]},{"1399616724":["hashtag1","hashtag2"]},{"1399616723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616725, 1399616728, 1399616722, 1399616721, 1399616724, 1399616723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.994911432266235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:02:02.550917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/54/image_16122025_09_55_05_9815.jpg', '/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_14_9652.jpg', '/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_25_10723.jpg', '/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_35_9583.jpg', '/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_44_9670.jpg', '/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_55_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/54/image_16122025_09_55_05_9815.jpg
/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_14_9652.jpg
/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_25_10723.jpg
/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_35_9583.jpg
/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_44_9670.jpg
/home/pi/Desktop/images/16122025/09/55/image_16122025_09_55_55_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616737","1399616740","1399616733","1399616736","1399616735","1399616738"],"photo_ids_order":["1399616733","1399616735","1399616736","1399616737","1399616738","1399616740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2057a8ca1b28efe042afcf58a4c14818.jpg","text":"TemporaryFile(/tmp/multipartBody5885860231034017314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875783193,"filename":"image_16122025_09_55_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/16/5f4c288e840d15c310ba668389e162b2.jpg","text":"TemporaryFile(/tmp/multipartBody2390227957870681461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875783193,"filename":"image_16122025_09_55_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc6e4d9c7d5cdde75e576d4a14b167a2.jpg","text":"TemporaryFile(/tmp/multipartBody2633994384133402231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875783193,"filename":"image_16122025_09_55_05_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c2d2184c640bc41b2f31d389b36c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1159474901341110809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875783193,"filename":"image_16122025_09_55_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/16/dbb58a43e6c1b1b8e4b469262c595f0d.jpg","text":"TemporaryFile(/tmp/multipartBody3531501709861400905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875783193,"filename":"image_16122025_09_55_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/16/acac180e9d68d37d1e05292e42f32c47.jpg","text":"TemporaryFile(/tmp/multipartBody8852844301673263891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875783193,"filename":"image_16122025_09_55_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616736","file1":"1399616735","file0":"1399616733","file4":"1399616738","file5":"1399616740","file3":"1399616737"},"map_files_photo_id_array":[{"photo_id":"1399616740","filename":"file5"},{"photo_id":"1399616736","filename":"file2"},{"photo_id":"1399616738","filename":"file4"},{"photo_id":"1399616735","filename":"file1"},{"photo_id":"1399616733","filename":"file0"},{"photo_id":"1399616737","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616737":["hashtag1","hashtag2"]},{"1399616740":["hashtag1","hashtag2"]},{"1399616733":["hashtag1","hashtag2"]},{"1399616736":["hashtag1","hashtag2"]},{"1399616735":["hashtag1","hashtag2"]},{"1399616738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616737, 1399616740, 1399616733, 1399616736, 1399616735, 1399616738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13797736167908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:02:42.072599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_50_1629.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_52_1547.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_55_1661.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_57_1633.jpg', '/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_58_1658.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_50_1629.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_52_1547.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_55_1661.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_57_1633.jpg
/home/pi/Desktop/images/06112025/15/44/image_06112025_15_44_58_1658.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616761","1399616758","1399616760","1399616745","1399616762","1399616759"],"photo_ids_order":["1399616745","1399616758","1399616759","1399616760","1399616761","1399616762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eef73854ede8c88aeb0f8f43fd93e2ec.jpg","text":"TemporaryFile(/tmp/multipartBody6011735124188524128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875822801,"filename":"image_06112025_15_44_58_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/16/dd19205217d5272fc507aaec5e9195d7.jpg","text":"TemporaryFile(/tmp/multipartBody4408384217593478631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875822801,"filename":"image_06112025_15_44_52_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90479e76f672b19f9c1c8cf305a0d2f1.jpg","text":"TemporaryFile(/tmp/multipartBody6802692693815580682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875822801,"filename":"image_06112025_15_44_57_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/16/83ba13730ae7a03396887311cae30697.jpg","text":"TemporaryFile(/tmp/multipartBody3252154078980754759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875822801,"filename":"image_06112025_15_44_50_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0e1cfc280c873e1412be04af31c624d.jpg","text":"TemporaryFile(/tmp/multipartBody1624984791392898889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875822801,"filename":"image_06112025_15_46_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/16/3a9870c1486a430519764d8cf7788225.jpg","text":"TemporaryFile(/tmp/multipartBody4053991763084619031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875822801,"filename":"image_06112025_15_44_55_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616759","file1":"1399616758","file0":"1399616745","file4":"1399616761","file5":"1399616762","file3":"1399616760"},"map_files_photo_id_array":[{"photo_id":"1399616762","filename":"file5"},{"photo_id":"1399616759","filename":"file2"},{"photo_id":"1399616761","filename":"file4"},{"photo_id":"1399616758","filename":"file1"},{"photo_id":"1399616745","filename":"file0"},{"photo_id":"1399616760","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616761":["hashtag1","hashtag2"]},{"1399616758":["hashtag1","hashtag2"]},{"1399616760":["hashtag1","hashtag2"]},{"1399616745":["hashtag1","hashtag2"]},{"1399616762":["hashtag1","hashtag2"]},{"1399616759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616761, 1399616758, 1399616760, 1399616745, 1399616762, 1399616759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99377369880676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:03:22.403432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/55/image_16122025_09_56_05_9759.jpg', '/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_14_9688.jpg', '/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_25_10657.jpg', '/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_35_9753.jpg', '/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_45_9701.jpg', '/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_54_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/55/image_16122025_09_56_05_9759.jpg
/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_14_9688.jpg
/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_25_10657.jpg
/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_35_9753.jpg
/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_45_9701.jpg
/home/pi/Desktop/images/16122025/09/56/image_16122025_09_56_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":["1399616914","1399616908","1399616889","1399616910","1399616864","1399616867"],"photo_ids_order":["1399616864","1399616867","1399616889","1399616908","1399616910","1399616914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d6f6891216b68eeaed0d49ae6cc9308.jpg","text":"TemporaryFile(/tmp/multipartBody4597116058634220194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875863023,"filename":"image_16122025_09_56_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/16/7a1af9b3b94b9c9da06ae1ea478013e5.jpg","text":"TemporaryFile(/tmp/multipartBody7963583440768861908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875863023,"filename":"image_16122025_09_56_35_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a17120badee3c952aeeb4716639cee03.jpg","text":"TemporaryFile(/tmp/multipartBody2545791916602960386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875863023,"filename":"image_16122025_09_56_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/16/2164151fb6091fd44ef502719014c5c5.jpg","text":"TemporaryFile(/tmp/multipartBody3064629450560302056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875863023,"filename":"image_16122025_09_56_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/619627dfeee202a6f768e72278cdece5.jpg","text":"TemporaryFile(/tmp/multipartBody264343821411644433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875863023,"filename":"image_16122025_09_56_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c021daaa2ead872bc4da03410c12786.jpg","text":"TemporaryFile(/tmp/multipartBody429383260313723751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875863023,"filename":"image_16122025_09_56_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616889","file1":"1399616867","file0":"1399616864","file4":"1399616910","file5":"1399616914","file3":"1399616908"},"map_files_photo_id_array":[{"photo_id":"1399616914","filename":"file5"},{"photo_id":"1399616889","filename":"file2"},{"photo_id":"1399616910","filename":"file4"},{"photo_id":"1399616867","filename":"file1"},{"photo_id":"1399616864","filename":"file0"},{"photo_id":"1399616908","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616914":["hashtag1","hashtag2"]},{"1399616908":["hashtag1","hashtag2"]},{"1399616889":["hashtag1","hashtag2"]},{"1399616910":["hashtag1","hashtag2"]},{"1399616864":["hashtag1","hashtag2"]},{"1399616867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616914, 1399616908, 1399616889, 1399616910, 1399616864, 1399616867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63053512573242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:04:03.246102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/56/image_16122025_09_57_05_10565.jpg', '/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_15_9715.jpg', '/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_24_9650.jpg', '/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_35_10781.jpg', '/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_45_9583.jpg', '/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_54_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/56/image_16122025_09_57_05_10565.jpg
/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_15_9715.jpg
/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_24_9650.jpg
/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_35_10781.jpg
/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_45_9583.jpg
/home/pi/Desktop/images/16122025/09/57/image_16122025_09_57_54_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":["1399616917","1399616916","1399616919","1399616921","1399616915","1399616918"],"photo_ids_order":["1399616915","1399616916","1399616917","1399616918","1399616919","1399616921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2c259eed10876745a5066984a1bf47b.jpg","text":"TemporaryFile(/tmp/multipartBody813480477562915809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875903913,"filename":"image_16122025_09_57_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/379595d3af93ce3bfab74023e1fd16b6.jpg","text":"TemporaryFile(/tmp/multipartBody4451752318854773502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875903913,"filename":"image_16122025_09_57_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/16/4092f274907859d04e008df3123be4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8380996813431567286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875903913,"filename":"image_16122025_09_57_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/16/2468e02142b22a04fe0121d9eda9df0b.jpg","text":"TemporaryFile(/tmp/multipartBody6579057707568308431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875903913,"filename":"image_16122025_09_57_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edf364778efaa2be50b8e80157bea1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6102006139945752809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875903913,"filename":"image_16122025_09_57_05_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11ddc8b8a4f6d5cc468d9b0c75bbe6d1.jpg","text":"TemporaryFile(/tmp/multipartBody7959000155588042941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875903913,"filename":"image_16122025_09_57_35_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616917","file1":"1399616916","file0":"1399616915","file4":"1399616919","file5":"1399616921","file3":"1399616918"},"map_files_photo_id_array":[{"photo_id":"1399616921","filename":"file5"},{"photo_id":"1399616917","filename":"file2"},{"photo_id":"1399616919","filename":"file4"},{"photo_id":"1399616916","filename":"file1"},{"photo_id":"1399616915","filename":"file0"},{"photo_id":"1399616918","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616917":["hashtag1","hashtag2"]},{"1399616916":["hashtag1","hashtag2"]},{"1399616919":["hashtag1","hashtag2"]},{"1399616921":["hashtag1","hashtag2"]},{"1399616915":["hashtag1","hashtag2"]},{"1399616918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616917, 1399616916, 1399616919, 1399616921, 1399616915, 1399616918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.669665575027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:04:42.620452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_11_3530.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_13_2702.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_16_2890.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_36_19837.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_38_1626.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_39_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_11_3530.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_13_2702.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_16_2890.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_36_19837.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_38_1626.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_39_1612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6113536357879639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:05:02.519446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/57/image_16122025_09_58_05_10652.jpg', '/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_15_9753.jpg', '/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_24_9641.jpg', '/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_35_10563.jpg', '/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_44_9612.jpg', '/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_54_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/57/image_16122025_09_58_05_10652.jpg
/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_15_9753.jpg
/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_24_9641.jpg
/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_35_10563.jpg
/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_44_9612.jpg
/home/pi/Desktop/images/16122025/09/58/image_16122025_09_58_54_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":["1399616941","1399616935","1399616943","1399616937","1399616945","1399616939"],"photo_ids_order":["1399616935","1399616937","1399616939","1399616941","1399616943","1399616945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5048ca52abbf44c826d19ea7403a6cc0.jpg","text":"TemporaryFile(/tmp/multipartBody7080646240076820815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875963196,"filename":"image_16122025_09_58_35_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1e1362abf9ce2aaf425368bf1f5908a.jpg","text":"TemporaryFile(/tmp/multipartBody3959979157330826512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875963196,"filename":"image_16122025_09_58_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75bf1becf45330f77621ba6fb66dd7f4.jpg","text":"TemporaryFile(/tmp/multipartBody719305539880356375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875963196,"filename":"image_16122025_09_58_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/24e655f7c2f2ebc69d4d334fb1f315da.jpg","text":"TemporaryFile(/tmp/multipartBody2198870926424264280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875963196,"filename":"image_16122025_09_58_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/708b3a0e5e4eb85d4120ef4c46e8382d.jpg","text":"TemporaryFile(/tmp/multipartBody6928814987284514241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875963196,"filename":"image_16122025_09_58_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/16/6d51602e465c5524b45d519341b5b60c.jpg","text":"TemporaryFile(/tmp/multipartBody5208458104813775104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765875963196,"filename":"image_16122025_09_58_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399616939","file1":"1399616937","file0":"1399616935","file4":"1399616943","file5":"1399616945","file3":"1399616941"},"map_files_photo_id_array":[{"photo_id":"1399616945","filename":"file5"},{"photo_id":"1399616939","filename":"file2"},{"photo_id":"1399616943","filename":"file4"},{"photo_id":"1399616937","filename":"file1"},{"photo_id":"1399616935","filename":"file0"},{"photo_id":"1399616941","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399616941":["hashtag1","hashtag2"]},{"1399616935":["hashtag1","hashtag2"]},{"1399616943":["hashtag1","hashtag2"]},{"1399616937":["hashtag1","hashtag2"]},{"1399616945":["hashtag1","hashtag2"]},{"1399616939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399616941, 1399616935, 1399616943, 1399616937, 1399616945, 1399616939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33089756965637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:05:41.783006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_11_3530.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_13_2702.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_16_2890.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_36_19837.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_38_1626.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_39_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_11_3530.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_13_2702.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_16_2890.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_36_19837.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_38_1626.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_39_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399616989","1399617036","1399617074","1399617110","1399617181","1399617145"],"photo_ids_order":["1399616989","1399617036","1399617074","1399617110","1399617145","1399617181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc3955e0ec4be48be183522bdadd35ba.jpg","text":"TemporaryFile(/tmp/multipartBody7503084621928929900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876002389,"filename":"image_06112025_15_46_11_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/16/a2d973971ae5b70f7c90ecb46195274f.jpg","text":"TemporaryFile(/tmp/multipartBody3463988558641401645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876002389,"filename":"image_06112025_15_46_13_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/16/4bd6aaafb021559557a2843fc7414391.jpg","text":"TemporaryFile(/tmp/multipartBody7953293047292283048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876002389,"filename":"image_06112025_15_46_16_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/16/d6d3c607bfec4c680e4d27a9f48cca6d.jpg","text":"TemporaryFile(/tmp/multipartBody7598955765069869744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876002389,"filename":"image_06112025_15_46_36_19837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14f2a9d6cee50df8d8452311c06495d7.jpg","text":"TemporaryFile(/tmp/multipartBody1166736053021882656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876002389,"filename":"image_06112025_15_46_39_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/16/faf1ee69c23f559ba2d41c5b0e7db5a5.jpg","text":"TemporaryFile(/tmp/multipartBody9008989373465422362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876002389,"filename":"image_06112025_15_46_38_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399617074","file1":"1399617036","file0":"1399616989","file4":"1399617145","file5":"1399617181","file3":"1399617110"},"map_files_photo_id_array":[{"photo_id":"1399617181","filename":"file5"},{"photo_id":"1399617074","filename":"file2"},{"photo_id":"1399617145","filename":"file4"},{"photo_id":"1399617036","filename":"file1"},{"photo_id":"1399616989","filename":"file0"},{"photo_id":"1399617110","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399616989":["hashtag1","hashtag2"]},{"1399617036":["hashtag1","hashtag2"]},{"1399617074":["hashtag1","hashtag2"]},{"1399617110":["hashtag1","hashtag2"]},{"1399617181":["hashtag1","hashtag2"]},{"1399617145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399616989, 1399617036, 1399617074, 1399617110, 1399617181, 1399617145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14880156517029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:06:22.026125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/09/58/image_16122025_09_59_05_10805.jpg', '/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_15_9683.jpg', '/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_24_9707.jpg', '/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_35_10509.jpg', '/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_45_9695.jpg', '/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_54_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/09/58/image_16122025_09_59_05_10805.jpg
/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_15_9683.jpg
/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_24_9707.jpg
/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_35_10509.jpg
/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_45_9695.jpg
/home/pi/Desktop/images/16122025/09/59/image_16122025_09_59_54_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399617384","1399617383","1399617386","1399617356","1399617422","1399617317"],"photo_ids_order":["1399617317","1399617356","1399617383","1399617384","1399617386","1399617422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fd3cb7914de43ea8f987e33258736cd.jpg","text":"TemporaryFile(/tmp/multipartBody5946716142780227098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876042679,"filename":"image_16122025_09_59_35_10509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44a37d381f6d86260f407d275846ec9d.jpg","text":"TemporaryFile(/tmp/multipartBody7843066903242649832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876042679,"filename":"image_16122025_09_59_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/370b67df481ddfcf34cd38a4e6990212.jpg","text":"TemporaryFile(/tmp/multipartBody2216267450705941780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876042679,"filename":"image_16122025_09_59_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/16/05673cc8d3d287a13b46c8901307ce9c.jpg","text":"TemporaryFile(/tmp/multipartBody3739444945342609438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876042679,"filename":"image_16122025_09_59_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/16/6d17a3c1edda1577fff3f3987eccdf4e.jpg","text":"TemporaryFile(/tmp/multipartBody345013730847575404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876042679,"filename":"image_16122025_09_59_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/16/0865228f02508103936c7d432bcbf37d.jpg","text":"TemporaryFile(/tmp/multipartBody4588253269414747557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876042679,"filename":"image_16122025_09_59_05_10805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399617383","file1":"1399617356","file0":"1399617317","file4":"1399617386","file5":"1399617422","file3":"1399617384"},"map_files_photo_id_array":[{"photo_id":"1399617422","filename":"file5"},{"photo_id":"1399617383","filename":"file2"},{"photo_id":"1399617386","filename":"file4"},{"photo_id":"1399617356","filename":"file1"},{"photo_id":"1399617317","filename":"file0"},{"photo_id":"1399617384","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399617384":["hashtag1","hashtag2"]},{"1399617383":["hashtag1","hashtag2"]},{"1399617386":["hashtag1","hashtag2"]},{"1399617356":["hashtag1","hashtag2"]},{"1399617422":["hashtag1","hashtag2"]},{"1399617317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399617384, 1399617383, 1399617386, 1399617356, 1399617422, 1399617317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78742480278015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:07:02.990869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_15_10055.jpg', '/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_25_10676.jpg', '/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_35_9856.jpg', '/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_45_9678.jpg', '/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_55_9746.jpg', '/home/pi/Desktop/images/16122025/10/00/image_16122025_10_01_05_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_15_10055.jpg
/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_25_10676.jpg
/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_35_9856.jpg
/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_45_9678.jpg
/home/pi/Desktop/images/16122025/10/00/image_16122025_10_00_55_9746.jpg
/home/pi/Desktop/images/16122025/10/00/image_16122025_10_01_05_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399617678","1399617633","1399617534","1399617592","1399617496","1399617538"],"photo_ids_order":["1399617496","1399617534","1399617538","1399617592","1399617633","1399617678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d43c6d62dded9de3949d49c8d113c09.jpg","text":"TemporaryFile(/tmp/multipartBody8225206927213053534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876083679,"filename":"image_16122025_10_01_05_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef24d93491ace0714fc12df536b42f10.jpg","text":"TemporaryFile(/tmp/multipartBody9054265502692657264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876083679,"filename":"image_16122025_10_00_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/16/20c2ab30502c576b21ba4c6871f69339.jpg","text":"TemporaryFile(/tmp/multipartBody8483229283034249801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876083679,"filename":"image_16122025_10_00_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a8b410c54b4cf5fc18f587cf1328961.jpg","text":"TemporaryFile(/tmp/multipartBody3786402663341572785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876083679,"filename":"image_16122025_10_00_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe5d75f6a0d085cf62fea0a268f22063.jpg","text":"TemporaryFile(/tmp/multipartBody5641923231316565625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876083679,"filename":"image_16122025_10_00_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3252348035061beb7ce312dc51d9732c.jpg","text":"TemporaryFile(/tmp/multipartBody6076332425739581061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876083679,"filename":"image_16122025_10_00_35_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399617538","file1":"1399617534","file0":"1399617496","file4":"1399617633","file5":"1399617678","file3":"1399617592"},"map_files_photo_id_array":[{"photo_id":"1399617678","filename":"file5"},{"photo_id":"1399617538","filename":"file2"},{"photo_id":"1399617633","filename":"file4"},{"photo_id":"1399617534","filename":"file1"},{"photo_id":"1399617496","filename":"file0"},{"photo_id":"1399617592","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399617678":["hashtag1","hashtag2"]},{"1399617633":["hashtag1","hashtag2"]},{"1399617534":["hashtag1","hashtag2"]},{"1399617592":["hashtag1","hashtag2"]},{"1399617496":["hashtag1","hashtag2"]},{"1399617538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399617678, 1399617633, 1399617534, 1399617592, 1399617496, 1399617538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.198107957839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:07:42.366523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_44_1772.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_49_1691.jpg', '/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_51_1602.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_07_3011.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_13_2611.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_17_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_44_1772.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_49_1691.jpg
/home/pi/Desktop/images/06112025/15/46/image_06112025_15_46_51_1602.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_07_3011.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_13_2611.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_17_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":["1399617811","1399617816","1399617702","1399617788","1399617752","1399617716"],"photo_ids_order":["1399617702","1399617716","1399617752","1399617788","1399617811","1399617816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64618c4fe8ab6b22e8154b22424c8bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3531054794766105104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876123086,"filename":"image_06112025_15_49_13_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/16/62b200832087e6cee83fcecb4908b898.jpg","text":"TemporaryFile(/tmp/multipartBody7375391285298779796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876123086,"filename":"image_06112025_15_49_17_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2c2d4516b5a9af0bd75f57ae5d20ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8329677461792153286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876123086,"filename":"image_06112025_15_46_44_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/16/43a8cf2cc2edb868779f1c7731756a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3338796818063445370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876123086,"filename":"image_06112025_15_49_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/076d3a38eb4ad15546197b4bcea972fb.jpg","text":"TemporaryFile(/tmp/multipartBody4526339192267627774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876123086,"filename":"image_06112025_15_46_51_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/16/6d7a63137c73206e51d1f40ea9389902.jpg","text":"TemporaryFile(/tmp/multipartBody8139309344955136182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876123086,"filename":"image_06112025_15_46_49_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399617752","file1":"1399617716","file0":"1399617702","file4":"1399617811","file5":"1399617816","file3":"1399617788"},"map_files_photo_id_array":[{"photo_id":"1399617816","filename":"file5"},{"photo_id":"1399617752","filename":"file2"},{"photo_id":"1399617811","filename":"file4"},{"photo_id":"1399617716","filename":"file1"},{"photo_id":"1399617702","filename":"file0"},{"photo_id":"1399617788","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399617811":["hashtag1","hashtag2"]},{"1399617816":["hashtag1","hashtag2"]},{"1399617702":["hashtag1","hashtag2"]},{"1399617788":["hashtag1","hashtag2"]},{"1399617752":["hashtag1","hashtag2"]},{"1399617716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399617811, 1399617816, 1399617702, 1399617788, 1399617752, 1399617716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47003722190857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:08:22.737469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_15_10071.jpg', '/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_25_9717.jpg', '/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_35_9620.jpg', '/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_45_10758.jpg', '/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_55_9774.jpg', '/home/pi/Desktop/images/16122025/10/01/image_16122025_10_02_05_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_15_10071.jpg
/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_25_9717.jpg
/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_35_9620.jpg
/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_45_10758.jpg
/home/pi/Desktop/images/16122025/10/01/image_16122025_10_01_55_9774.jpg
/home/pi/Desktop/images/16122025/10/01/image_16122025_10_02_05_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399617885","1399617879","1399617858","1399617831","1399617881","1399617850"],"photo_ids_order":["1399617831","1399617850","1399617858","1399617879","1399617881","1399617885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4564cde0797c6f49d173388b03d0cb3d.jpg","text":"TemporaryFile(/tmp/multipartBody3147948357582248886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876163354,"filename":"image_16122025_10_02_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e64a267c85b8afbf8e54d52d923a22b4.jpg","text":"TemporaryFile(/tmp/multipartBody1307021852104297433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876163354,"filename":"image_16122025_10_01_45_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97bd2037592d0b17d614794eea58d471.jpg","text":"TemporaryFile(/tmp/multipartBody1918069303875961113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876163354,"filename":"image_16122025_10_01_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/880b7f053f4a8975dadd02ad01dbfe62.jpg","text":"TemporaryFile(/tmp/multipartBody8251335612532961554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876163354,"filename":"image_16122025_10_01_15_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6adab8f0e053ed494fab15d2319eed71.jpg","text":"TemporaryFile(/tmp/multipartBody6585246173288698579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876163354,"filename":"image_16122025_10_01_55_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/16/6e54693fa68e7c918bd6ba71ab93d753.jpg","text":"TemporaryFile(/tmp/multipartBody1985855645639383744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876163354,"filename":"image_16122025_10_01_25_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399617858","file1":"1399617850","file0":"1399617831","file4":"1399617881","file5":"1399617885","file3":"1399617879"},"map_files_photo_id_array":[{"photo_id":"1399617885","filename":"file5"},{"photo_id":"1399617858","filename":"file2"},{"photo_id":"1399617881","filename":"file4"},{"photo_id":"1399617850","filename":"file1"},{"photo_id":"1399617831","filename":"file0"},{"photo_id":"1399617879","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399617885":["hashtag1","hashtag2"]},{"1399617879":["hashtag1","hashtag2"]},{"1399617858":["hashtag1","hashtag2"]},{"1399617831":["hashtag1","hashtag2"]},{"1399617881":["hashtag1","hashtag2"]},{"1399617850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399617885, 1399617879, 1399617858, 1399617831, 1399617881, 1399617850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10124635696411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:09:02.898906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_15_10636.jpg', '/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_25_9248.jpg', '/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_35_10723.jpg', '/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_45_9612.jpg', '/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_55_9626.jpg', '/home/pi/Desktop/images/16122025/10/02/image_16122025_10_03_05_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_15_10636.jpg
/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_25_9248.jpg
/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_35_10723.jpg
/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_45_9612.jpg
/home/pi/Desktop/images/16122025/10/02/image_16122025_10_02_55_9626.jpg
/home/pi/Desktop/images/16122025/10/02/image_16122025_10_03_05_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399617900","1399617935","1399617920","1399617923","1399617908","1399617934"],"photo_ids_order":["1399617900","1399617908","1399617920","1399617923","1399617934","1399617935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/139870a7eb1185fe16a0b473af49c32d.jpg","text":"TemporaryFile(/tmp/multipartBody815285183105346802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876203596,"filename":"image_16122025_10_02_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/16/19c6fa2629daa04176b325453a3af1bd.jpg","text":"TemporaryFile(/tmp/multipartBody5310844362036689110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876203596,"filename":"image_16122025_10_03_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca17e988bbff5d12c36d6073568c50a4.jpg","text":"TemporaryFile(/tmp/multipartBody4829987812266778253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876203596,"filename":"image_16122025_10_02_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/16/7895c1f33b7b24e0bc96055899ec5843.jpg","text":"TemporaryFile(/tmp/multipartBody7817186031910209488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876203596,"filename":"image_16122025_10_02_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/16/e0058dec99e13388efbc8ad57b2464eb.jpg","text":"TemporaryFile(/tmp/multipartBody4058739642493220146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876203596,"filename":"image_16122025_10_02_25_9248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04b359f265dfe0eab4bce129bd2316d0.jpg","text":"TemporaryFile(/tmp/multipartBody5306724703860068054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876203596,"filename":"image_16122025_10_02_55_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399617920","file1":"1399617908","file0":"1399617900","file4":"1399617934","file5":"1399617935","file3":"1399617923"},"map_files_photo_id_array":[{"photo_id":"1399617935","filename":"file5"},{"photo_id":"1399617920","filename":"file2"},{"photo_id":"1399617934","filename":"file4"},{"photo_id":"1399617908","filename":"file1"},{"photo_id":"1399617900","filename":"file0"},{"photo_id":"1399617923","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399617900":["hashtag1","hashtag2"]},{"1399617935":["hashtag1","hashtag2"]},{"1399617920":["hashtag1","hashtag2"]},{"1399617923":["hashtag1","hashtag2"]},{"1399617908":["hashtag1","hashtag2"]},{"1399617934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399617900, 1399617935, 1399617920, 1399617923, 1399617908, 1399617934)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.50388550758362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:10:02.562785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_15_9664.jpg', '/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_25_9688.jpg', '/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_35_10611.jpg', '/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_45_9720.jpg', '/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_55_9662.jpg', '/home/pi/Desktop/images/16122025/10/03/image_16122025_10_04_05_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_15_9664.jpg
/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_25_9688.jpg
/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_35_10611.jpg
/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_45_9720.jpg
/home/pi/Desktop/images/16122025/10/03/image_16122025_10_03_55_9662.jpg
/home/pi/Desktop/images/16122025/10/03/image_16122025_10_04_05_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399618041","1399618044","1399618047","1399618049","1399618043","1399618045"],"photo_ids_order":["1399618041","1399618043","1399618044","1399618045","1399618047","1399618049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a5729ea6e5ed8afb54a666630b11d5e.jpg","text":"TemporaryFile(/tmp/multipartBody118120482396576440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876265981,"filename":"image_16122025_10_03_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/16/9af0b52d61ac0b1f804c3115fdb5f97e.jpg","text":"TemporaryFile(/tmp/multipartBody2044893448406685480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876265981,"filename":"image_16122025_10_03_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9d252f9f465941b5818c316afa5451b.jpg","text":"TemporaryFile(/tmp/multipartBody2720191256296077435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876265981,"filename":"image_16122025_10_03_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/16/7da534f866bcbf44a066448d5131d552.jpg","text":"TemporaryFile(/tmp/multipartBody8630576335471015683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876265981,"filename":"image_16122025_10_04_05_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/052e18b70cf50ebd6f57f04ba562d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6640587960710677396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876265981,"filename":"image_16122025_10_03_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5412a8e649f60d2eff629e6427f46a00.jpg","text":"TemporaryFile(/tmp/multipartBody1213707356067138459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876265981,"filename":"image_16122025_10_03_45_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399618044","file1":"1399618043","file0":"1399618041","file4":"1399618047","file5":"1399618049","file3":"1399618045"},"map_files_photo_id_array":[{"photo_id":"1399618049","filename":"file5"},{"photo_id":"1399618044","filename":"file2"},{"photo_id":"1399618047","filename":"file4"},{"photo_id":"1399618043","filename":"file1"},{"photo_id":"1399618041","filename":"file0"},{"photo_id":"1399618045","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399618041":["hashtag1","hashtag2"]},{"1399618044":["hashtag1","hashtag2"]},{"1399618047":["hashtag1","hashtag2"]},{"1399618049":["hashtag1","hashtag2"]},{"1399618043":["hashtag1","hashtag2"]},{"1399618045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399618041, 1399618044, 1399618047, 1399618049, 1399618043, 1399618045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24652552604675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:11:03.128065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_15_10705.jpg', '/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_25_9559.jpg', '/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_35_10676.jpg', '/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_45_9686.jpg', '/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_55_9558.jpg', '/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_15_10705.jpg
/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_25_9559.jpg
/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_35_10676.jpg
/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_45_9686.jpg
/home/pi/Desktop/images/16122025/10/04/image_16122025_10_04_55_9558.jpg
/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_14_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399618056","1399618059","1399618058","1399618063","1399618060","1399618054"],"photo_ids_order":["1399618054","1399618056","1399618058","1399618059","1399618060","1399618063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba7c3a462d52f78f7605c97067e5997d.jpg","text":"TemporaryFile(/tmp/multipartBody1333619394785048300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876323792,"filename":"image_16122025_10_04_25_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/321f73388b891a03afe148d74a074260.jpg","text":"TemporaryFile(/tmp/multipartBody2587541832086561331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876323792,"filename":"image_16122025_10_04_45_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57470bb22b3c04a62e7e664b17994535.jpg","text":"TemporaryFile(/tmp/multipartBody3646900273424289762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876323792,"filename":"image_16122025_10_04_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1d938312b2e702b6a8e97e36b348756.jpg","text":"TemporaryFile(/tmp/multipartBody7674870909609643355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876323792,"filename":"image_16122025_10_05_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c150e193250e223047d9630b39c48d50.jpg","text":"TemporaryFile(/tmp/multipartBody8862527034387387636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876323792,"filename":"image_16122025_10_04_55_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/16/a3d9a03326442592c4f68eb7872a7d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4890972787624173968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876323792,"filename":"image_16122025_10_04_15_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399618058","file1":"1399618056","file0":"1399618054","file4":"1399618060","file5":"1399618063","file3":"1399618059"},"map_files_photo_id_array":[{"photo_id":"1399618063","filename":"file5"},{"photo_id":"1399618058","filename":"file2"},{"photo_id":"1399618060","filename":"file4"},{"photo_id":"1399618056","filename":"file1"},{"photo_id":"1399618054","filename":"file0"},{"photo_id":"1399618059","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399618056":["hashtag1","hashtag2"]},{"1399618059":["hashtag1","hashtag2"]},{"1399618058":["hashtag1","hashtag2"]},{"1399618063":["hashtag1","hashtag2"]},{"1399618060":["hashtag1","hashtag2"]},{"1399618054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399618056, 1399618059, 1399618058, 1399618063, 1399618060, 1399618054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.366119623184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:11:42.403930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_26_9144.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_28_1703.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_29_1700.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_31_1599.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_32_1611.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_34_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_26_9144.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_28_1703.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_29_1700.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_31_1599.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_32_1611.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_34_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399618275","1399618260","1399618176","1399618276","1399618299","1399618216"],"photo_ids_order":["1399618176","1399618216","1399618260","1399618275","1399618276","1399618299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4733c13c903021696f4767bf08224857.jpg","text":"TemporaryFile(/tmp/multipartBody5390536014931726598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876363124,"filename":"image_06112025_15_49_31_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/16/cb2487fee0a84a1bda0038123f67123a.jpg","text":"TemporaryFile(/tmp/multipartBody1469788006506830893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876363124,"filename":"image_06112025_15_49_29_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3844780fb9a9843652c1eb727f5052ef.jpg","text":"TemporaryFile(/tmp/multipartBody1811496774360162108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876363124,"filename":"image_06112025_15_49_26_9144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58516c94d7803d25eeae37f31c85a256.jpg","text":"TemporaryFile(/tmp/multipartBody5372273111204495214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876363124,"filename":"image_06112025_15_49_32_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a56f950c34e1c8db5e2ddb9de39e3495.jpg","text":"TemporaryFile(/tmp/multipartBody7316740808184143747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876363124,"filename":"image_06112025_15_49_34_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/16/a7124dfd3f259ddeabd4fece2f92d7fb.jpg","text":"TemporaryFile(/tmp/multipartBody8090203717576176858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876363124,"filename":"image_06112025_15_49_28_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399618260","file1":"1399618216","file0":"1399618176","file4":"1399618276","file5":"1399618299","file3":"1399618275"},"map_files_photo_id_array":[{"photo_id":"1399618299","filename":"file5"},{"photo_id":"1399618260","filename":"file2"},{"photo_id":"1399618276","filename":"file4"},{"photo_id":"1399618216","filename":"file1"},{"photo_id":"1399618176","filename":"file0"},{"photo_id":"1399618275","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399618275":["hashtag1","hashtag2"]},{"1399618260":["hashtag1","hashtag2"]},{"1399618176":["hashtag1","hashtag2"]},{"1399618276":["hashtag1","hashtag2"]},{"1399618299":["hashtag1","hashtag2"]},{"1399618216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399618275, 1399618260, 1399618176, 1399618276, 1399618299, 1399618216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.806052446365356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:12:22.658367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_25_10596.jpg', '/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_35_9696.jpg', '/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_44_9652.jpg', '/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_55_10675.jpg', '/home/pi/Desktop/images/16122025/10/05/image_16122025_10_06_05_9573.jpg', '/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_15_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_25_10596.jpg
/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_35_9696.jpg
/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_44_9652.jpg
/home/pi/Desktop/images/16122025/10/05/image_16122025_10_05_55_10675.jpg
/home/pi/Desktop/images/16122025/10/05/image_16122025_10_06_05_9573.jpg
/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_15_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399618737","1399618638","1399618545","1399618437","1399618814","1399618477"],"photo_ids_order":["1399618437","1399618477","1399618545","1399618638","1399618737","1399618814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6d295d4d68deb7ffba93ad420743431.jpg","text":"TemporaryFile(/tmp/multipartBody5983799023144314625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876403359,"filename":"image_16122025_10_06_05_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/16/30b571d2735cb64503a39b1ab54acedd.jpg","text":"TemporaryFile(/tmp/multipartBody3979872271755552732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876403359,"filename":"image_16122025_10_05_55_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/abb5a04416ebde8aa7bbbb16a0495c81.jpg","text":"TemporaryFile(/tmp/multipartBody7221038517545000924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876403359,"filename":"image_16122025_10_05_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf5dba675b06a23c7a3224e860fcac7c.jpg","text":"TemporaryFile(/tmp/multipartBody2343879333566229244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876403359,"filename":"image_16122025_10_05_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/598c9d19c87f69a702d203ca6b3f1564.jpg","text":"TemporaryFile(/tmp/multipartBody4767833704378495106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876403359,"filename":"image_16122025_10_06_15_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb5c33befb0b1a115e6b990d23ad75d1.jpg","text":"TemporaryFile(/tmp/multipartBody2268692841435124948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876403359,"filename":"image_16122025_10_05_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399618545","file1":"1399618477","file0":"1399618437","file4":"1399618737","file5":"1399618814","file3":"1399618638"},"map_files_photo_id_array":[{"photo_id":"1399618814","filename":"file5"},{"photo_id":"1399618545","filename":"file2"},{"photo_id":"1399618737","filename":"file4"},{"photo_id":"1399618477","filename":"file1"},{"photo_id":"1399618437","filename":"file0"},{"photo_id":"1399618638","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399618737":["hashtag1","hashtag2"]},{"1399618638":["hashtag1","hashtag2"]},{"1399618545":["hashtag1","hashtag2"]},{"1399618437":["hashtag1","hashtag2"]},{"1399618814":["hashtag1","hashtag2"]},{"1399618477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399618737, 1399618638, 1399618545, 1399618437, 1399618814, 1399618477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.274388551712036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:13:03.424160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_25_9581.jpg', '/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_34_9681.jpg', '/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_45_10611.jpg', '/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_55_9685.jpg', '/home/pi/Desktop/images/16122025/10/06/image_16122025_10_07_04_9626.jpg', '/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_15_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_25_9581.jpg
/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_34_9681.jpg
/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_45_10611.jpg
/home/pi/Desktop/images/16122025/10/06/image_16122025_10_06_55_9685.jpg
/home/pi/Desktop/images/16122025/10/06/image_16122025_10_07_04_9626.jpg
/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_15_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399618977","1399619078","1399619167","1399619014","1399619139","1399619169"],"photo_ids_order":["1399618977","1399619014","1399619078","1399619139","1399619167","1399619169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0db4e2aa9f27b0139fd7abd38acef3aa.jpg","text":"TemporaryFile(/tmp/multipartBody4795415962615428256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876444085,"filename":"image_16122025_10_06_25_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/16/85c7872526c911827df6a2f4c8cb34e8.jpg","text":"TemporaryFile(/tmp/multipartBody8150311938475794531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876444085,"filename":"image_16122025_10_06_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/16/363bb579970fca585ecadc17ae483b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2294486596231576482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876444085,"filename":"image_16122025_10_07_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26f68478ebe33c7c4a9a4c511013cfb9.jpg","text":"TemporaryFile(/tmp/multipartBody2872820408968069274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876444085,"filename":"image_16122025_10_06_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/16/2a4d2107c385dfc8944ea3fe1652ba5e.jpg","text":"TemporaryFile(/tmp/multipartBody6078122519258721641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876444085,"filename":"image_16122025_10_06_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f845163114c644b597843eb03df9eb2.jpg","text":"TemporaryFile(/tmp/multipartBody4713491301435408675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876444085,"filename":"image_16122025_10_07_15_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399619078","file1":"1399619014","file0":"1399618977","file4":"1399619167","file5":"1399619169","file3":"1399619139"},"map_files_photo_id_array":[{"photo_id":"1399619169","filename":"file5"},{"photo_id":"1399619078","filename":"file2"},{"photo_id":"1399619167","filename":"file4"},{"photo_id":"1399619014","filename":"file1"},{"photo_id":"1399618977","filename":"file0"},{"photo_id":"1399619139","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399618977":["hashtag1","hashtag2"]},{"1399619078":["hashtag1","hashtag2"]},{"1399619167":["hashtag1","hashtag2"]},{"1399619014":["hashtag1","hashtag2"]},{"1399619139":["hashtag1","hashtag2"]},{"1399619169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399618977, 1399619078, 1399619167, 1399619014, 1399619139, 1399619169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86736273765564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:13:42.708322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_37_2636.jpg', '/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_40_3671.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_19_38342.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_20_1515.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_22_1554.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_23_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_37_2636.jpg
/home/pi/Desktop/images/06112025/15/49/image_06112025_15_49_40_3671.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_19_38342.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_20_1515.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_22_1554.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_23_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399619360","1399619354","1399619312","1399619221","1399619361","1399619259"],"photo_ids_order":["1399619221","1399619259","1399619312","1399619354","1399619360","1399619361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/571ff58edcc6b25caaa62826d44e3988.jpg","text":"TemporaryFile(/tmp/multipartBody2698690664397454097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876483419,"filename":"image_06112025_15_50_22_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/16/abc6ca63f7096caa185f0719b5c1ba77.jpg","text":"TemporaryFile(/tmp/multipartBody7194922492315931134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876483419,"filename":"image_06112025_15_50_20_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe22dd86e2584290d2f33528a1c5488f.jpg","text":"TemporaryFile(/tmp/multipartBody5148148408649322302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876483419,"filename":"image_06112025_15_50_19_38342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4726e4e9ba30cadb555a6b981088f15b.jpg","text":"TemporaryFile(/tmp/multipartBody6765700150310723521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876483419,"filename":"image_06112025_15_49_37_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1913adf4eddaf6b0210c44a49a8573bb.jpg","text":"TemporaryFile(/tmp/multipartBody2973526478314206361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876483419,"filename":"image_06112025_15_50_23_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/16/55825dc0b48c32afe07f05d2b36f6de0.jpg","text":"TemporaryFile(/tmp/multipartBody3983949756414520725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876483419,"filename":"image_06112025_15_49_40_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399619312","file1":"1399619259","file0":"1399619221","file4":"1399619360","file5":"1399619361","file3":"1399619354"},"map_files_photo_id_array":[{"photo_id":"1399619361","filename":"file5"},{"photo_id":"1399619312","filename":"file2"},{"photo_id":"1399619360","filename":"file4"},{"photo_id":"1399619259","filename":"file1"},{"photo_id":"1399619221","filename":"file0"},{"photo_id":"1399619354","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399619360":["hashtag1","hashtag2"]},{"1399619354":["hashtag1","hashtag2"]},{"1399619312":["hashtag1","hashtag2"]},{"1399619221":["hashtag1","hashtag2"]},{"1399619361":["hashtag1","hashtag2"]},{"1399619259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399619360, 1399619354, 1399619312, 1399619221, 1399619361, 1399619259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94156455993652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:14:21.923669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_25_9726.jpg', '/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_34_9594.jpg', '/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_45_10699.jpg', '/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_55_9788.jpg', '/home/pi/Desktop/images/16122025/10/07/image_16122025_10_08_05_9838.jpg', '/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_14_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_25_9726.jpg
/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_34_9594.jpg
/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_45_10699.jpg
/home/pi/Desktop/images/16122025/10/07/image_16122025_10_07_55_9788.jpg
/home/pi/Desktop/images/16122025/10/07/image_16122025_10_08_05_9838.jpg
/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_14_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399619579","1399619570","1399619519","1399619461","1399619380","1399619407"],"photo_ids_order":["1399619380","1399619407","1399619461","1399619519","1399619570","1399619579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a5ee57d892c52d731290f35ef77cbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5848517266226684208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876522512,"filename":"image_16122025_10_08_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/16/c9779d8732e4abd9c29ab8f000596495.jpg","text":"TemporaryFile(/tmp/multipartBody8139042113429511638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876522512,"filename":"image_16122025_10_08_05_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b899831e4969cd0539175c1b0aaa00f9.jpg","text":"TemporaryFile(/tmp/multipartBody1409468607169948079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876522512,"filename":"image_16122025_10_07_55_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/616048cce39d3497a3261c3eae37abf4.jpg","text":"TemporaryFile(/tmp/multipartBody5109883768593146517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876522512,"filename":"image_16122025_10_07_45_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c04f2ad1ae2affa65b4827ff15aa5c13.jpg","text":"TemporaryFile(/tmp/multipartBody2648506787916899719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876522512,"filename":"image_16122025_10_07_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/86592cc0d97c04b6c116ae57aceae4ce.jpg","text":"TemporaryFile(/tmp/multipartBody1913452332866084852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876522512,"filename":"image_16122025_10_07_34_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399619461","file1":"1399619407","file0":"1399619380","file4":"1399619570","file5":"1399619579","file3":"1399619519"},"map_files_photo_id_array":[{"photo_id":"1399619579","filename":"file5"},{"photo_id":"1399619461","filename":"file2"},{"photo_id":"1399619570","filename":"file4"},{"photo_id":"1399619407","filename":"file1"},{"photo_id":"1399619380","filename":"file0"},{"photo_id":"1399619519","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399619579":["hashtag1","hashtag2"]},{"1399619570":["hashtag1","hashtag2"]},{"1399619519":["hashtag1","hashtag2"]},{"1399619461":["hashtag1","hashtag2"]},{"1399619380":["hashtag1","hashtag2"]},{"1399619407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399619579, 1399619570, 1399619519, 1399619461, 1399619380, 1399619407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13224458694458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:15:02.995897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_25_10577.jpg', '/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_35_9719.jpg', '/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_44_9708.jpg', '/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_55_10684.jpg', '/home/pi/Desktop/images/16122025/10/08/image_16122025_10_09_05_9630.jpg', '/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_14_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_25_10577.jpg
/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_35_9719.jpg
/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_44_9708.jpg
/home/pi/Desktop/images/16122025/10/08/image_16122025_10_08_55_10684.jpg
/home/pi/Desktop/images/16122025/10/08/image_16122025_10_09_05_9630.jpg
/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_14_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399619597","1399619798","1399619759","1399619691","1399619617","1399619595"],"photo_ids_order":["1399619595","1399619597","1399619617","1399619691","1399619759","1399619798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8173edafbf3cdcb9eeeae3e76405e67.jpg","text":"TemporaryFile(/tmp/multipartBody4287074755016201742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876563662,"filename":"image_16122025_10_08_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8479ded7e8945b2df059c4ae8a7c57d6.jpg","text":"TemporaryFile(/tmp/multipartBody7479963218993980099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876563662,"filename":"image_16122025_10_09_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/16/f8010e7b55dd46ad4cf5cd0a5e697636.jpg","text":"TemporaryFile(/tmp/multipartBody1843031457215155733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876563662,"filename":"image_16122025_10_09_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b33ad033398e10c897f8b1a4f3f304f8.jpg","text":"TemporaryFile(/tmp/multipartBody3466785499991785350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876563662,"filename":"image_16122025_10_08_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e08632392c69859930cdf6f365f64791.jpg","text":"TemporaryFile(/tmp/multipartBody63371485735639105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876563662,"filename":"image_16122025_10_08_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e019e5f76569b1aabed0b035716855d.jpg","text":"TemporaryFile(/tmp/multipartBody625954367203710063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876563662,"filename":"image_16122025_10_08_25_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399619617","file1":"1399619597","file0":"1399619595","file4":"1399619759","file5":"1399619798","file3":"1399619691"},"map_files_photo_id_array":[{"photo_id":"1399619798","filename":"file5"},{"photo_id":"1399619617","filename":"file2"},{"photo_id":"1399619759","filename":"file4"},{"photo_id":"1399619597","filename":"file1"},{"photo_id":"1399619595","filename":"file0"},{"photo_id":"1399619691","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399619597":["hashtag1","hashtag2"]},{"1399619798":["hashtag1","hashtag2"]},{"1399619759":["hashtag1","hashtag2"]},{"1399619691":["hashtag1","hashtag2"]},{"1399619617":["hashtag1","hashtag2"]},{"1399619595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399619597, 1399619798, 1399619759, 1399619691, 1399619617, 1399619595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.007577419281006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:15:42.238648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_25_1774.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_27_1641.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_29_1638.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_30_1883.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_32_1642.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_34_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_25_1774.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_27_1641.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_29_1638.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_30_1883.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_32_1642.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_34_1741.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5912699699401855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:16:02.936492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_25_10649.jpg', '/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_35_9658.jpg', '/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_45_9763.jpg', '/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_54_9928.jpg', '/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_14_10056.jpg', '/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_25_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_25_10649.jpg
/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_35_9658.jpg
/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_45_9763.jpg
/home/pi/Desktop/images/16122025/10/09/image_16122025_10_09_54_9928.jpg
/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_14_10056.jpg
/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_25_10719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399619870","1399619864","1399619867","1399619866","1399619865","1399619868"],"photo_ids_order":["1399619864","1399619865","1399619866","1399619867","1399619868","1399619870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c88f2a72482342a267391d8dac3b520b.jpg","text":"TemporaryFile(/tmp/multipartBody4641979210387946555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876623635,"filename":"image_16122025_10_10_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9238b65d7d0b60a8317aa8a77be88cd.jpg","text":"TemporaryFile(/tmp/multipartBody6930236342719909289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876623635,"filename":"image_16122025_10_09_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8bff764ccf7d133d1660122e6534867.jpg","text":"TemporaryFile(/tmp/multipartBody6516809364740679358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876623635,"filename":"image_16122025_10_09_54_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/600c888fc1542099e37c279d0b6dca1d.jpg","text":"TemporaryFile(/tmp/multipartBody4569603610301542139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876623635,"filename":"image_16122025_10_09_45_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69faadc64d2b81b332114e0ba9a1cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody5774693292477639089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876623635,"filename":"image_16122025_10_09_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/16/1bd588d3d041c73e879e8d135e4e400e.jpg","text":"TemporaryFile(/tmp/multipartBody1891167002517294848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876623635,"filename":"image_16122025_10_10_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399619866","file1":"1399619865","file0":"1399619864","file4":"1399619868","file5":"1399619870","file3":"1399619867"},"map_files_photo_id_array":[{"photo_id":"1399619870","filename":"file5"},{"photo_id":"1399619866","filename":"file2"},{"photo_id":"1399619868","filename":"file4"},{"photo_id":"1399619865","filename":"file1"},{"photo_id":"1399619864","filename":"file0"},{"photo_id":"1399619867","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399619870":["hashtag1","hashtag2"]},{"1399619864":["hashtag1","hashtag2"]},{"1399619867":["hashtag1","hashtag2"]},{"1399619866":["hashtag1","hashtag2"]},{"1399619865":["hashtag1","hashtag2"]},{"1399619868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399619870, 1399619864, 1399619867, 1399619866, 1399619865, 1399619868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.444276332855225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:16:42.471091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_25_1774.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_27_1641.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_29_1638.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_30_1883.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_32_1642.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_34_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_25_1774.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_27_1641.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_29_1638.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_30_1883.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_32_1642.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_34_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":["1399619882","1399619879","1399619878","1399619875","1399619880","1399619877"],"photo_ids_order":["1399619875","1399619877","1399619878","1399619879","1399619880","1399619882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2be3949f1361e4af1dda76f4820cca4e.jpg","text":"TemporaryFile(/tmp/multipartBody2243712051485374724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876663056,"filename":"image_06112025_15_50_34_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/16/723b65957a6c0ae8a4dde2d02cc7ee24.jpg","text":"TemporaryFile(/tmp/multipartBody8556237187136575581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876663056,"filename":"image_06112025_15_50_30_1883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da4f73381f99fb79e88455332f5b0f90.jpg","text":"TemporaryFile(/tmp/multipartBody6396556296198829220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876663056,"filename":"image_06112025_15_50_29_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e973ee9b8050c6abe30dd98cb47bae2.jpg","text":"TemporaryFile(/tmp/multipartBody5037490386192293733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876663056,"filename":"image_06112025_15_50_25_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d912377cac8587ccb98d8e24463d6781.jpg","text":"TemporaryFile(/tmp/multipartBody4576635394459229213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876663056,"filename":"image_06112025_15_50_32_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/16/5119493c87af86a09ad9f4ea810278c9.jpg","text":"TemporaryFile(/tmp/multipartBody7940346978604119402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876663056,"filename":"image_06112025_15_50_27_1641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399619878","file1":"1399619877","file0":"1399619875","file4":"1399619880","file5":"1399619882","file3":"1399619879"},"map_files_photo_id_array":[{"photo_id":"1399619882","filename":"file5"},{"photo_id":"1399619878","filename":"file2"},{"photo_id":"1399619880","filename":"file4"},{"photo_id":"1399619877","filename":"file1"},{"photo_id":"1399619875","filename":"file0"},{"photo_id":"1399619879","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399619882":["hashtag1","hashtag2"]},{"1399619879":["hashtag1","hashtag2"]},{"1399619878":["hashtag1","hashtag2"]},{"1399619875":["hashtag1","hashtag2"]},{"1399619880":["hashtag1","hashtag2"]},{"1399619877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399619882, 1399619879, 1399619878, 1399619875, 1399619880, 1399619877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24587869644165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:17:22.866737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_34_9768.jpg', '/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_45_10351.jpg', '/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_55_9940.jpg', '/home/pi/Desktop/images/16122025/10/10/image_16122025_10_11_04_9667.jpg', '/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_14_9934.jpg', '/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_25_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_34_9768.jpg
/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_45_10351.jpg
/home/pi/Desktop/images/16122025/10/10/image_16122025_10_10_55_9940.jpg
/home/pi/Desktop/images/16122025/10/10/image_16122025_10_11_04_9667.jpg
/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_14_9934.jpg
/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_25_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620126","1399620009","1399619966","1399620088","1399620160","1399620049"],"photo_ids_order":["1399619966","1399620009","1399620049","1399620088","1399620126","1399620160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8258098bf0673c17f3d00b4cb15d1773.jpg","text":"TemporaryFile(/tmp/multipartBody6547416018187178283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876703483,"filename":"image_16122025_10_11_14_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee2a0cc819c4839c2e12d2ab3195874c.jpg","text":"TemporaryFile(/tmp/multipartBody3899126274674728428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876703483,"filename":"image_16122025_10_10_45_10351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/494125509abc94a81d017fc514a0d0ea.jpg","text":"TemporaryFile(/tmp/multipartBody5483776244352325581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876703483,"filename":"image_16122025_10_10_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/16/eb6b18ea6b989c67f67d9274024c3cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6978650657878130343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876703483,"filename":"image_16122025_10_11_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/16/a0da84f14cf06e0a31a78a24607e8c60.jpg","text":"TemporaryFile(/tmp/multipartBody2546782797354878136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876703483,"filename":"image_16122025_10_11_25_10336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0cde38c0bbeda1cdd3f6f2a60ca4a25e.jpg","text":"TemporaryFile(/tmp/multipartBody675388996870774470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876703483,"filename":"image_16122025_10_10_55_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620049","file1":"1399620009","file0":"1399619966","file4":"1399620126","file5":"1399620160","file3":"1399620088"},"map_files_photo_id_array":[{"photo_id":"1399620160","filename":"file5"},{"photo_id":"1399620049","filename":"file2"},{"photo_id":"1399620126","filename":"file4"},{"photo_id":"1399620009","filename":"file1"},{"photo_id":"1399619966","filename":"file0"},{"photo_id":"1399620088","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620126":["hashtag1","hashtag2"]},{"1399620009":["hashtag1","hashtag2"]},{"1399619966":["hashtag1","hashtag2"]},{"1399620088":["hashtag1","hashtag2"]},{"1399620160":["hashtag1","hashtag2"]},{"1399620049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620126, 1399620009, 1399619966, 1399620088, 1399620160, 1399620049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01953101158142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:18:02.448728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_34_9760.jpg', '/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_44_9662.jpg', '/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_55_10702.jpg', '/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_04_9539.jpg', '/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_14_9603.jpg', '/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_25_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_34_9760.jpg
/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_44_9662.jpg
/home/pi/Desktop/images/16122025/10/11/image_16122025_10_11_55_10702.jpg
/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_04_9539.jpg
/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_14_9603.jpg
/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_25_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620171","1399620173","1399620167","1399620176","1399620175","1399620169"],"photo_ids_order":["1399620167","1399620169","1399620171","1399620173","1399620175","1399620176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f69c8b5335a188d0bde3abdfc472aa50.jpg","text":"TemporaryFile(/tmp/multipartBody3351470676293160851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876743123,"filename":"image_16122025_10_11_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/16/6a6c6936b60fe7d5f313f7d70b7c6fe3.jpg","text":"TemporaryFile(/tmp/multipartBody793091507388598366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876743123,"filename":"image_16122025_10_12_04_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/16/8ee06e16492782527ce1f98044f884ed.jpg","text":"TemporaryFile(/tmp/multipartBody6407274495987480258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876743123,"filename":"image_16122025_10_11_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4523d0a7a2724e774caa82349666544a.jpg","text":"TemporaryFile(/tmp/multipartBody6739844974345963095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876743123,"filename":"image_16122025_10_12_25_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d4c186966af9744d8645c8ddd59ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody5276516054680649955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876743123,"filename":"image_16122025_10_12_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6b6d15c03237921aa17ae49ca750801.jpg","text":"TemporaryFile(/tmp/multipartBody4593936981971607759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876743123,"filename":"image_16122025_10_11_44_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620171","file1":"1399620169","file0":"1399620167","file4":"1399620175","file5":"1399620176","file3":"1399620173"},"map_files_photo_id_array":[{"photo_id":"1399620176","filename":"file5"},{"photo_id":"1399620171","filename":"file2"},{"photo_id":"1399620175","filename":"file4"},{"photo_id":"1399620169","filename":"file1"},{"photo_id":"1399620167","filename":"file0"},{"photo_id":"1399620173","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620171":["hashtag1","hashtag2"]},{"1399620173":["hashtag1","hashtag2"]},{"1399620167":["hashtag1","hashtag2"]},{"1399620176":["hashtag1","hashtag2"]},{"1399620175":["hashtag1","hashtag2"]},{"1399620169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620171, 1399620173, 1399620167, 1399620176, 1399620175, 1399620169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72092819213867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:18:41.893288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_35_1682.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_37_1645.jpg', '/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_39_1717.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_19_3012.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_22_3766.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_25_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_35_1682.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_37_1645.jpg
/home/pi/Desktop/images/06112025/15/50/image_06112025_15_50_39_1717.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_19_3012.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_22_3766.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_25_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":["1399620183","1399620186","1399620185","1399620181","1399620187","1399620189"],"photo_ids_order":["1399620181","1399620183","1399620185","1399620186","1399620187","1399620189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4377604eb7501f7dfeeac91924123e6.jpg","text":"TemporaryFile(/tmp/multipartBody2195830223911546336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876782628,"filename":"image_06112025_15_50_37_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/16/5b22dc602f986567a7bed4dd6387c90d.jpg","text":"TemporaryFile(/tmp/multipartBody1477221210482338191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876782628,"filename":"image_06112025_15_51_19_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/16/702cba603f0b7bdf6b11be1140e3c3aa.jpg","text":"TemporaryFile(/tmp/multipartBody7606143620289384199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876782628,"filename":"image_06112025_15_50_39_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/16/f7c0efb287ed3e7b4f581d86fd07907f.jpg","text":"TemporaryFile(/tmp/multipartBody7579353850723692348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876782628,"filename":"image_06112025_15_50_35_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ab4ed4813dc15af38a84aff39ea9668.jpg","text":"TemporaryFile(/tmp/multipartBody2977502933958786283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876782628,"filename":"image_06112025_15_51_22_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/16/8ac0bbe6a28be71ee49753ac297b920f.jpg","text":"TemporaryFile(/tmp/multipartBody2466485337159836884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876782628,"filename":"image_06112025_15_51_25_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620185","file1":"1399620183","file0":"1399620181","file4":"1399620187","file5":"1399620189","file3":"1399620186"},"map_files_photo_id_array":[{"photo_id":"1399620189","filename":"file5"},{"photo_id":"1399620185","filename":"file2"},{"photo_id":"1399620187","filename":"file4"},{"photo_id":"1399620183","filename":"file1"},{"photo_id":"1399620181","filename":"file0"},{"photo_id":"1399620186","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399620183":["hashtag1","hashtag2"]},{"1399620186":["hashtag1","hashtag2"]},{"1399620185":["hashtag1","hashtag2"]},{"1399620181":["hashtag1","hashtag2"]},{"1399620187":["hashtag1","hashtag2"]},{"1399620189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399620183, 1399620186, 1399620185, 1399620181, 1399620187, 1399620189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26028347015381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:19:22.336673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_34_9727.jpg', '/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_44_9759.jpg', '/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_55_10828.jpg', '/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_05_9937.jpg', '/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_14_9663.jpg', '/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_25_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_34_9727.jpg
/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_44_9759.jpg
/home/pi/Desktop/images/16122025/10/12/image_16122025_10_12_55_10828.jpg
/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_05_9937.jpg
/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_14_9663.jpg
/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_25_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620198","1399620207","1399620191","1399620194","1399620196","1399620200"],"photo_ids_order":["1399620191","1399620194","1399620196","1399620198","1399620200","1399620207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cb279f3fb03c9fc12f35fb51f5c2c12.jpg","text":"TemporaryFile(/tmp/multipartBody3708810743638253165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876822957,"filename":"image_16122025_10_13_05_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f0e3be912002e9c3ca175fd3ead71ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2210886915279389238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876822957,"filename":"image_16122025_10_13_25_10344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b54608b87ba9c6655f476af856fee771.jpg","text":"TemporaryFile(/tmp/multipartBody1627911489739051193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876822957,"filename":"image_16122025_10_12_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/16/d92c4e1ec43fb431aaf3a93370fd0397.jpg","text":"TemporaryFile(/tmp/multipartBody3165859873492825313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876822957,"filename":"image_16122025_10_12_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/16/dcddf1bb1db0ed13441b4e0179387fe0.jpg","text":"TemporaryFile(/tmp/multipartBody6061525428295425145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876822957,"filename":"image_16122025_10_12_55_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/202fa2c8df3e30795ae193a5391b2ca8.jpg","text":"TemporaryFile(/tmp/multipartBody2138851477237088263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876822957,"filename":"image_16122025_10_13_14_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620196","file1":"1399620194","file0":"1399620191","file4":"1399620200","file5":"1399620207","file3":"1399620198"},"map_files_photo_id_array":[{"photo_id":"1399620207","filename":"file5"},{"photo_id":"1399620196","filename":"file2"},{"photo_id":"1399620200","filename":"file4"},{"photo_id":"1399620194","filename":"file1"},{"photo_id":"1399620191","filename":"file0"},{"photo_id":"1399620198","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620198":["hashtag1","hashtag2"]},{"1399620207":["hashtag1","hashtag2"]},{"1399620191":["hashtag1","hashtag2"]},{"1399620194":["hashtag1","hashtag2"]},{"1399620196":["hashtag1","hashtag2"]},{"1399620200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620198, 1399620207, 1399620191, 1399620194, 1399620196, 1399620200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.835360288619995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:20:02.777162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_34_9606.jpg', '/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_44_9704.jpg', '/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_55_10701.jpg', '/home/pi/Desktop/images/16122025/10/13/image_16122025_10_14_05_9744.jpg', '/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_14_9811.jpg', '/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_24_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_34_9606.jpg
/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_44_9704.jpg
/home/pi/Desktop/images/16122025/10/13/image_16122025_10_13_55_10701.jpg
/home/pi/Desktop/images/16122025/10/13/image_16122025_10_14_05_9744.jpg
/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_14_9811.jpg
/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_24_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":["1399620219","1399620213","1399620290","1399620254","1399620214","1399620288"],"photo_ids_order":["1399620213","1399620214","1399620219","1399620254","1399620288","1399620290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a83904e1ea21b66244f9ae1011750716.jpg","text":"TemporaryFile(/tmp/multipartBody1103891178742809041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876863451,"filename":"image_16122025_10_13_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/16/fb74510c7cccc62c5d9b43e0d661ab6c.jpg","text":"TemporaryFile(/tmp/multipartBody133737868650491357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876863451,"filename":"image_16122025_10_13_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/baacf7d69cca8ecbe04b93813916e68b.jpg","text":"TemporaryFile(/tmp/multipartBody8526345576462951604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876863451,"filename":"image_16122025_10_14_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/16/92ce50c905042e51047b7f52ead3a7e3.jpg","text":"TemporaryFile(/tmp/multipartBody90890522089038622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876863451,"filename":"image_16122025_10_14_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7fadf4c62899ebd43a6e59751b3495bc.jpg","text":"TemporaryFile(/tmp/multipartBody3950990200354186160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876863451,"filename":"image_16122025_10_13_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/16/d360655f8ed2914c5e1056f8b17f297e.jpg","text":"TemporaryFile(/tmp/multipartBody2816462175015902608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876863451,"filename":"image_16122025_10_14_14_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620219","file1":"1399620214","file0":"1399620213","file4":"1399620288","file5":"1399620290","file3":"1399620254"},"map_files_photo_id_array":[{"photo_id":"1399620290","filename":"file5"},{"photo_id":"1399620219","filename":"file2"},{"photo_id":"1399620288","filename":"file4"},{"photo_id":"1399620214","filename":"file1"},{"photo_id":"1399620213","filename":"file0"},{"photo_id":"1399620254","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620219":["hashtag1","hashtag2"]},{"1399620213":["hashtag1","hashtag2"]},{"1399620290":["hashtag1","hashtag2"]},{"1399620254":["hashtag1","hashtag2"]},{"1399620214":["hashtag1","hashtag2"]},{"1399620288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620219, 1399620213, 1399620290, 1399620254, 1399620214, 1399620288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28630018234253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:20:42.386671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_28_2665.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_31_3699.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_34_2670.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_37_2618.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_40_3595.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_43_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_28_2665.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_31_3699.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_34_2670.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_37_2618.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_40_3595.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_43_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":["1399620351","1399620386","1399620361","1399620385","1399620367","1399620304"],"photo_ids_order":["1399620304","1399620351","1399620361","1399620367","1399620385","1399620386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b180d1c6022ada976f70855b2708353.jpg","text":"TemporaryFile(/tmp/multipartBody1601346549775977180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876903067,"filename":"image_06112025_15_51_31_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/16/f287cfe9bfc079b73bc9ebf3ba6783ac.jpg","text":"TemporaryFile(/tmp/multipartBody4688411578642214067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876903067,"filename":"image_06112025_15_51_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/16/7aa07f249bc0dbc639fb5a01f229245b.jpg","text":"TemporaryFile(/tmp/multipartBody7263775554779912774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876903067,"filename":"image_06112025_15_51_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/16/4199816d7e6a46d386cb7e858798d215.jpg","text":"TemporaryFile(/tmp/multipartBody725805053252711228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876903067,"filename":"image_06112025_15_51_40_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1cf1277dcdbda6479161262e707ce6e.jpg","text":"TemporaryFile(/tmp/multipartBody1180016674392325595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876903067,"filename":"image_06112025_15_51_37_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/65ddb4e30cb2d28c37e395f095823034.jpg","text":"TemporaryFile(/tmp/multipartBody8845486219733302943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876903067,"filename":"image_06112025_15_51_28_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620361","file1":"1399620351","file0":"1399620304","file4":"1399620385","file5":"1399620386","file3":"1399620367"},"map_files_photo_id_array":[{"photo_id":"1399620386","filename":"file5"},{"photo_id":"1399620361","filename":"file2"},{"photo_id":"1399620385","filename":"file4"},{"photo_id":"1399620351","filename":"file1"},{"photo_id":"1399620304","filename":"file0"},{"photo_id":"1399620367","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399620351":["hashtag1","hashtag2"]},{"1399620386":["hashtag1","hashtag2"]},{"1399620361":["hashtag1","hashtag2"]},{"1399620385":["hashtag1","hashtag2"]},{"1399620367":["hashtag1","hashtag2"]},{"1399620304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399620351, 1399620386, 1399620361, 1399620385, 1399620367, 1399620304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76228976249695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:21:22.684245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_35_10711.jpg', '/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_44_9678.jpg', '/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_54_9846.jpg', '/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_13_10055.jpg', '/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_24_10664.jpg', '/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_35_10711.jpg
/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_44_9678.jpg
/home/pi/Desktop/images/16122025/10/14/image_16122025_10_14_54_9846.jpg
/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_13_10055.jpg
/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_24_10664.jpg
/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_34_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620396","1399620392","1399620394","1399620388","1399620399","1399620390"],"photo_ids_order":["1399620388","1399620390","1399620392","1399620394","1399620396","1399620399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d78bc4533b0bbf48c8d3dfad92fe8849.jpg","text":"TemporaryFile(/tmp/multipartBody9213961231763257178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876943285,"filename":"image_16122025_10_15_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/56af8df37b337bbc3e304a11b8a7b9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7104817171769878083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876943285,"filename":"image_16122025_10_14_54_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b361e2619562b515f39a2a0c9eda324.jpg","text":"TemporaryFile(/tmp/multipartBody999964940226112058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876943285,"filename":"image_16122025_10_15_13_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/16/7df01315f42e5d590f17bbce003f78af.jpg","text":"TemporaryFile(/tmp/multipartBody7050023433539105539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876943285,"filename":"image_16122025_10_14_35_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b91eca862104a49dd36992625c91c56.jpg","text":"TemporaryFile(/tmp/multipartBody2812013398358904712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876943285,"filename":"image_16122025_10_15_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/16/f1c87254223f33e72d177f8310c403fa.jpg","text":"TemporaryFile(/tmp/multipartBody8998948545443154502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876943285,"filename":"image_16122025_10_14_44_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620392","file1":"1399620390","file0":"1399620388","file4":"1399620396","file5":"1399620399","file3":"1399620394"},"map_files_photo_id_array":[{"photo_id":"1399620399","filename":"file5"},{"photo_id":"1399620392","filename":"file2"},{"photo_id":"1399620396","filename":"file4"},{"photo_id":"1399620390","filename":"file1"},{"photo_id":"1399620388","filename":"file0"},{"photo_id":"1399620394","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620396":["hashtag1","hashtag2"]},{"1399620392":["hashtag1","hashtag2"]},{"1399620394":["hashtag1","hashtag2"]},{"1399620388":["hashtag1","hashtag2"]},{"1399620399":["hashtag1","hashtag2"]},{"1399620390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620396, 1399620392, 1399620394, 1399620388, 1399620399, 1399620390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.294198751449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:22:02.436047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_43_9687.jpg', '/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_54_10622.jpg', '/home/pi/Desktop/images/16122025/10/15/image_16122025_10_16_04_9967.jpg', '/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_14_9634.jpg', '/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_24_10604.jpg', '/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_34_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_43_9687.jpg
/home/pi/Desktop/images/16122025/10/15/image_16122025_10_15_54_10622.jpg
/home/pi/Desktop/images/16122025/10/15/image_16122025_10_16_04_9967.jpg
/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_14_9634.jpg
/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_24_10604.jpg
/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_34_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620405","1399620402","1399620401","1399620404","1399620407","1399620403"],"photo_ids_order":["1399620401","1399620402","1399620403","1399620404","1399620405","1399620407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9d2c89e94d43431c81fe1439584cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody899648783129351878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876983050,"filename":"image_16122025_10_16_24_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/45205b15952c4a723017380113dae842.jpg","text":"TemporaryFile(/tmp/multipartBody7830610823800392397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876983050,"filename":"image_16122025_10_15_54_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/16/4b079085028e386d4a55cb86980f1352.jpg","text":"TemporaryFile(/tmp/multipartBody3331976881791764781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876983050,"filename":"image_16122025_10_15_43_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/16/584cd3f2b8c22b45f1acdab090aea8a4.jpg","text":"TemporaryFile(/tmp/multipartBody7611149111597969879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876983050,"filename":"image_16122025_10_16_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f70fa594ac6e4fdb3642883363b4ff41.jpg","text":"TemporaryFile(/tmp/multipartBody4046830715956289513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876983050,"filename":"image_16122025_10_16_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/513b67ed00c9325edd5635e629e62cd3.jpg","text":"TemporaryFile(/tmp/multipartBody2550451865727674134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765876983050,"filename":"image_16122025_10_16_04_9967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620403","file1":"1399620402","file0":"1399620401","file4":"1399620405","file5":"1399620407","file3":"1399620404"},"map_files_photo_id_array":[{"photo_id":"1399620407","filename":"file5"},{"photo_id":"1399620403","filename":"file2"},{"photo_id":"1399620405","filename":"file4"},{"photo_id":"1399620402","filename":"file1"},{"photo_id":"1399620401","filename":"file0"},{"photo_id":"1399620404","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620405":["hashtag1","hashtag2"]},{"1399620402":["hashtag1","hashtag2"]},{"1399620401":["hashtag1","hashtag2"]},{"1399620404":["hashtag1","hashtag2"]},{"1399620407":["hashtag1","hashtag2"]},{"1399620403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620405, 1399620402, 1399620401, 1399620404, 1399620407, 1399620403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29036045074463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:22:41.899247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_45_2615.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_49_3596.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_52_2612.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_55_2809.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_58_3740.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_09_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_45_2615.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_49_3596.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_52_2612.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_55_2809.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_58_3740.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_09_10824.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5783247947692871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:23:02.821886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_44_9769.jpg', '/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_53_9742.jpg', '/home/pi/Desktop/images/16122025/10/16/image_16122025_10_17_04_10815.jpg', '/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_24_9761.jpg', '/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_34_9877.jpg', '/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_43_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_44_9769.jpg
/home/pi/Desktop/images/16122025/10/16/image_16122025_10_16_53_9742.jpg
/home/pi/Desktop/images/16122025/10/16/image_16122025_10_17_04_10815.jpg
/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_24_9761.jpg
/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_34_9877.jpg
/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_43_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":["1399620423","1399620420","1399620422","1399620425","1399620419","1399620421"],"photo_ids_order":["1399620419","1399620420","1399620421","1399620422","1399620423","1399620425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/856e406429211d35b1d9dbdcc19199c8.jpg","text":"TemporaryFile(/tmp/multipartBody5547303638189249435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877043535,"filename":"image_16122025_10_17_34_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/16/153e8ad308cb67f6144bd37e8b6df902.jpg","text":"TemporaryFile(/tmp/multipartBody7677352916188332120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877043535,"filename":"image_16122025_10_16_53_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/16/8df344ac4859711ccad2cf9541f2975b.jpg","text":"TemporaryFile(/tmp/multipartBody5607890543689693107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877043535,"filename":"image_16122025_10_17_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/16/55df5672c07300e1d24e7bb63267b0c1.jpg","text":"TemporaryFile(/tmp/multipartBody7992772260660196567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877043535,"filename":"image_16122025_10_17_43_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/16/8c0ad45cb42cc78b1caaf18fba74ed96.jpg","text":"TemporaryFile(/tmp/multipartBody4058070590663037597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877043535,"filename":"image_16122025_10_16_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/16/290b12bdbd90cd008193363590bb932e.jpg","text":"TemporaryFile(/tmp/multipartBody88542483471588838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877043535,"filename":"image_16122025_10_17_04_10815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620421","file1":"1399620420","file0":"1399620419","file4":"1399620423","file5":"1399620425","file3":"1399620422"},"map_files_photo_id_array":[{"photo_id":"1399620425","filename":"file5"},{"photo_id":"1399620421","filename":"file2"},{"photo_id":"1399620423","filename":"file4"},{"photo_id":"1399620420","filename":"file1"},{"photo_id":"1399620419","filename":"file0"},{"photo_id":"1399620422","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620423":["hashtag1","hashtag2"]},{"1399620420":["hashtag1","hashtag2"]},{"1399620422":["hashtag1","hashtag2"]},{"1399620425":["hashtag1","hashtag2"]},{"1399620419":["hashtag1","hashtag2"]},{"1399620421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620423, 1399620420, 1399620422, 1399620425, 1399620419, 1399620421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69829344749451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:23:42.151546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_45_2615.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_49_3596.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_52_2612.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_55_2809.jpg', '/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_58_3740.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_09_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_45_2615.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_49_3596.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_52_2612.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_55_2809.jpg
/home/pi/Desktop/images/06112025/15/51/image_06112025_15_51_58_3740.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_09_10824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620462","1399620432","1399620464","1399620461","1399620460","1399620430"],"photo_ids_order":["1399620430","1399620432","1399620460","1399620461","1399620462","1399620464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61e004771b81fd2c519ff8a587c68344.jpg","text":"TemporaryFile(/tmp/multipartBody5577238922284348761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877082729,"filename":"image_06112025_15_51_58_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/16/6178cc90b98069c675ab40f30d766e88.jpg","text":"TemporaryFile(/tmp/multipartBody1418345355277401134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877082729,"filename":"image_06112025_15_51_49_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/16/13a6e849be1cbf80fb7c1b857a7f4ff5.jpg","text":"TemporaryFile(/tmp/multipartBody734840951052461030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877082729,"filename":"image_06112025_15_52_09_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/16/57886a45d6aecb8313df0061143d5976.jpg","text":"TemporaryFile(/tmp/multipartBody9048389384486991730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877082729,"filename":"image_06112025_15_51_55_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/16/a2c67cc06f9fb3df01d4764ac39b6a8c.jpg","text":"TemporaryFile(/tmp/multipartBody22218067338382850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877082729,"filename":"image_06112025_15_51_52_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8b9f197cd5d8f79afa870641695ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody3330350562103100343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877082729,"filename":"image_06112025_15_51_45_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620460","file1":"1399620432","file0":"1399620430","file4":"1399620462","file5":"1399620464","file3":"1399620461"},"map_files_photo_id_array":[{"photo_id":"1399620464","filename":"file5"},{"photo_id":"1399620460","filename":"file2"},{"photo_id":"1399620462","filename":"file4"},{"photo_id":"1399620432","filename":"file1"},{"photo_id":"1399620430","filename":"file0"},{"photo_id":"1399620461","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399620462":["hashtag1","hashtag2"]},{"1399620432":["hashtag1","hashtag2"]},{"1399620464":["hashtag1","hashtag2"]},{"1399620461":["hashtag1","hashtag2"]},{"1399620460":["hashtag1","hashtag2"]},{"1399620430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399620462, 1399620432, 1399620464, 1399620461, 1399620460, 1399620430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.878748416900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:24:22.393596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_54_10745.jpg', '/home/pi/Desktop/images/16122025/10/17/image_16122025_10_18_04_9702.jpg', '/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_13_9604.jpg', '/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_24_10787.jpg', '/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_34_9764.jpg', '/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_44_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/17/image_16122025_10_17_54_10745.jpg
/home/pi/Desktop/images/16122025/10/17/image_16122025_10_18_04_9702.jpg
/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_13_9604.jpg
/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_24_10787.jpg
/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_34_9764.jpg
/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_44_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620480","1399620477","1399620467","1399620475","1399620469","1399620472"],"photo_ids_order":["1399620467","1399620469","1399620472","1399620475","1399620477","1399620480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6667766747a62805f1ad5021c1bd5532.jpg","text":"TemporaryFile(/tmp/multipartBody9021478036021147393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877123002,"filename":"image_16122025_10_18_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/16/e22073afb611e483f71ccdd7229da3e6.jpg","text":"TemporaryFile(/tmp/multipartBody270863942357456514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877123002,"filename":"image_16122025_10_18_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/16/1400d99305def73c57280a32638bb823.jpg","text":"TemporaryFile(/tmp/multipartBody7512213386555413176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877123002,"filename":"image_16122025_10_17_54_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f9d9c139ed2162b41076742bda2595d.jpg","text":"TemporaryFile(/tmp/multipartBody7537600362734207206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877123002,"filename":"image_16122025_10_18_24_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/16/c06c76038436f278125c59c3b2a3168b.jpg","text":"TemporaryFile(/tmp/multipartBody8430649895110179918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877123002,"filename":"image_16122025_10_18_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/16/fc8a40ebce2cd944eb319ebd2e004e78.jpg","text":"TemporaryFile(/tmp/multipartBody6185083865292998243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877123002,"filename":"image_16122025_10_18_13_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620472","file1":"1399620469","file0":"1399620467","file4":"1399620477","file5":"1399620480","file3":"1399620475"},"map_files_photo_id_array":[{"photo_id":"1399620480","filename":"file5"},{"photo_id":"1399620472","filename":"file2"},{"photo_id":"1399620477","filename":"file4"},{"photo_id":"1399620469","filename":"file1"},{"photo_id":"1399620467","filename":"file0"},{"photo_id":"1399620475","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620480":["hashtag1","hashtag2"]},{"1399620477":["hashtag1","hashtag2"]},{"1399620467":["hashtag1","hashtag2"]},{"1399620475":["hashtag1","hashtag2"]},{"1399620469":["hashtag1","hashtag2"]},{"1399620472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620480, 1399620477, 1399620467, 1399620475, 1399620469, 1399620472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86827325820923 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-16 10:25:12.645465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:25:22.736068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_54_9752.jpg', '/home/pi/Desktop/images/16122025/10/18/image_16122025_10_19_04_10607.jpg', '/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_14_9806.jpg', '/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_24_9572.jpg', '/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_34_10670.jpg', '/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_44_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/18/image_16122025_10_18_54_9752.jpg
/home/pi/Desktop/images/16122025/10/18/image_16122025_10_19_04_10607.jpg
/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_14_9806.jpg
/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_24_9572.jpg
/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_34_10670.jpg
/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_44_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620495","1399620485","1399620488","1399620487","1399620490","1399620492"],"photo_ids_order":["1399620485","1399620487","1399620488","1399620490","1399620492","1399620495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d60c28356268847bad18f2a71cda85e.jpg","text":"TemporaryFile(/tmp/multipartBody1494637962646494717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877183350,"filename":"image_16122025_10_19_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/16/bd6291560a98f3822c79009e4d605dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4419852074082266819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877183350,"filename":"image_16122025_10_18_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/16/f713a38bc010440c9d2c95bf0156e116.jpg","text":"TemporaryFile(/tmp/multipartBody1472766650601308131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877183350,"filename":"image_16122025_10_19_14_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d50cfeafb5a3cba3e2b7aaef49ae7be.jpg","text":"TemporaryFile(/tmp/multipartBody3047611824546164745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877183350,"filename":"image_16122025_10_19_04_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70486a0ba712e27ef8de187c64dbb2b9.jpg","text":"TemporaryFile(/tmp/multipartBody4194941977166058896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877183350,"filename":"image_16122025_10_19_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/16/c64f5c63091eb87e1e68d801324f6ab3.jpg","text":"TemporaryFile(/tmp/multipartBody6736878233057194213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877183350,"filename":"image_16122025_10_19_34_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620488","file1":"1399620487","file0":"1399620485","file4":"1399620492","file5":"1399620495","file3":"1399620490"},"map_files_photo_id_array":[{"photo_id":"1399620495","filename":"file5"},{"photo_id":"1399620488","filename":"file2"},{"photo_id":"1399620492","filename":"file4"},{"photo_id":"1399620487","filename":"file1"},{"photo_id":"1399620485","filename":"file0"},{"photo_id":"1399620490","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620495":["hashtag1","hashtag2"]},{"1399620485":["hashtag1","hashtag2"]},{"1399620488":["hashtag1","hashtag2"]},{"1399620487":["hashtag1","hashtag2"]},{"1399620490":["hashtag1","hashtag2"]},{"1399620492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620495, 1399620485, 1399620488, 1399620487, 1399620490, 1399620492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23440957069397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:26:02.469274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_54_9823.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_14_10057.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_25_10612.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_35_9956.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_44_9648.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_54_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_54_9823.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_14_10057.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_25_10612.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_35_9956.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_44_9648.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_54_9751.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5187551975250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 10:26:11.880648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:26:21.939476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_54_9823.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_14_10057.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_25_10612.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_35_9956.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_44_9648.jpg', '/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_54_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/19/image_16122025_10_19_54_9823.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_14_10057.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_25_10612.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_35_9956.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_44_9648.jpg
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_20_54_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":["1399620501","1399620507","1399620512","1399620509","1399620503","1399620505"],"photo_ids_order":["1399620501","1399620503","1399620505","1399620507","1399620509","1399620512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37e2fbc283e37e7ac363c55ed2886f8f.jpg","text":"TemporaryFile(/tmp/multipartBody4386837291079124583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877242599,"filename":"image_16122025_10_19_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/16/3c824fb613fa4ea90f6038df0c746c44.jpg","text":"TemporaryFile(/tmp/multipartBody1225272369100251633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877242599,"filename":"image_16122025_10_20_35_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b965bec6a47854b354939353f40943df.jpg","text":"TemporaryFile(/tmp/multipartBody1858559202551359008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877242599,"filename":"image_16122025_10_20_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce132df9306538770ded32b9bfc8c4d8.jpg","text":"TemporaryFile(/tmp/multipartBody1884194468061023532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877242599,"filename":"image_16122025_10_20_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/16/2ab5d9766a17dafafcbba20b8d9c2088.jpg","text":"TemporaryFile(/tmp/multipartBody5697018138861209839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877242599,"filename":"image_16122025_10_20_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/16/d51485f157e1930394777ff6ec3864b5.jpg","text":"TemporaryFile(/tmp/multipartBody8910967619282536359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877242599,"filename":"image_16122025_10_20_25_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620505","file1":"1399620503","file0":"1399620501","file4":"1399620509","file5":"1399620512","file3":"1399620507"},"map_files_photo_id_array":[{"photo_id":"1399620512","filename":"file5"},{"photo_id":"1399620505","filename":"file2"},{"photo_id":"1399620509","filename":"file4"},{"photo_id":"1399620503","filename":"file1"},{"photo_id":"1399620501","filename":"file0"},{"photo_id":"1399620507","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620501":["hashtag1","hashtag2"]},{"1399620507":["hashtag1","hashtag2"]},{"1399620512":["hashtag1","hashtag2"]},{"1399620509":["hashtag1","hashtag2"]},{"1399620503":["hashtag1","hashtag2"]},{"1399620505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620501, 1399620507, 1399620512, 1399620509, 1399620503, 1399620505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.558051109313965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:27:02.675834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/20/image_16122025_10_21_05_10843.jpg', '/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_15_9795.jpg', '/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_24_9579.jpg', '/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_34_9762.jpg', '/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_45_10606.jpg', '/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_54_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/20/image_16122025_10_21_05_10843.jpg
/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_15_9795.jpg
/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_24_9579.jpg
/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_34_9762.jpg
/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_45_10606.jpg
/home/pi/Desktop/images/16122025/10/21/image_16122025_10_21_54_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620534","1399620537","1399620539","1399620533","1399620536","1399620535"],"photo_ids_order":["1399620533","1399620534","1399620535","1399620536","1399620537","1399620539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49fcd88a4b5d957a79d7c3eb5fc0e501.jpg","text":"TemporaryFile(/tmp/multipartBody6741749003460443154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877283342,"filename":"image_16122025_10_21_15_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61eb25e4fa2fc6674cb28b214a13b98b.jpg","text":"TemporaryFile(/tmp/multipartBody3464956440151627863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877283342,"filename":"image_16122025_10_21_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/16/a07ae2c4a32ac232693a4e6c4a8e8300.jpg","text":"TemporaryFile(/tmp/multipartBody413990396954744968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877283342,"filename":"image_16122025_10_21_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/16/d6ea0bb57ca9a565690e7a1550313ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7593998761026944189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877283342,"filename":"image_16122025_10_21_05_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/16/49952f1f43a9151c36306472850be777.jpg","text":"TemporaryFile(/tmp/multipartBody3389861970304896789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877283342,"filename":"image_16122025_10_21_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf88ea0e253e96fd697af6e5e807ef53.jpg","text":"TemporaryFile(/tmp/multipartBody3805704777741105224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877283342,"filename":"image_16122025_10_21_24_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620535","file1":"1399620534","file0":"1399620533","file4":"1399620537","file5":"1399620539","file3":"1399620536"},"map_files_photo_id_array":[{"photo_id":"1399620539","filename":"file5"},{"photo_id":"1399620535","filename":"file2"},{"photo_id":"1399620537","filename":"file4"},{"photo_id":"1399620534","filename":"file1"},{"photo_id":"1399620533","filename":"file0"},{"photo_id":"1399620536","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620534":["hashtag1","hashtag2"]},{"1399620537":["hashtag1","hashtag2"]},{"1399620539":["hashtag1","hashtag2"]},{"1399620533":["hashtag1","hashtag2"]},{"1399620536":["hashtag1","hashtag2"]},{"1399620535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620534, 1399620537, 1399620539, 1399620533, 1399620536, 1399620535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.752854108810425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:27:42.099453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_11_1572.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_12_1596.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_14_1590.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_24_9842.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_25_1711.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_27_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_11_1572.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_12_1596.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_14_1590.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_24_9842.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_25_1711.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_27_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620552","1399620549","1399620551","1399620548","1399620550","1399620544"],"photo_ids_order":["1399620544","1399620548","1399620549","1399620550","1399620551","1399620552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1fd63c7b803082c0ea4896979c7ab5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3933049884082917190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877322812,"filename":"image_06112025_15_52_27_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/16/8451f96cce0d78e14c8ea2ccdc9f77d3.jpg","text":"TemporaryFile(/tmp/multipartBody4534743272337469773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877322812,"filename":"image_06112025_15_52_14_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8741e48be8588bfd48ed96de3dacce04.jpg","text":"TemporaryFile(/tmp/multipartBody7800368789553576875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877322812,"filename":"image_06112025_15_52_25_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e30078276ea36f7762f56463f6f835ad.jpg","text":"TemporaryFile(/tmp/multipartBody8692033515981107584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877322812,"filename":"image_06112025_15_52_12_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/16/24cef7f88cc9f178c6afcb920cb13cfe.jpg","text":"TemporaryFile(/tmp/multipartBody4521447370530817269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877322812,"filename":"image_06112025_15_52_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/16/3c25f27189c6073ecc84c9570f05a086.jpg","text":"TemporaryFile(/tmp/multipartBody8045505309274391719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877322812,"filename":"image_06112025_15_52_11_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620549","file1":"1399620548","file0":"1399620544","file4":"1399620551","file5":"1399620552","file3":"1399620550"},"map_files_photo_id_array":[{"photo_id":"1399620552","filename":"file5"},{"photo_id":"1399620549","filename":"file2"},{"photo_id":"1399620551","filename":"file4"},{"photo_id":"1399620548","filename":"file1"},{"photo_id":"1399620544","filename":"file0"},{"photo_id":"1399620550","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399620552":["hashtag1","hashtag2"]},{"1399620549":["hashtag1","hashtag2"]},{"1399620551":["hashtag1","hashtag2"]},{"1399620548":["hashtag1","hashtag2"]},{"1399620550":["hashtag1","hashtag2"]},{"1399620544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399620552, 1399620549, 1399620551, 1399620548, 1399620550, 1399620544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64349818229675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:28:22.445318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/21/image_16122025_10_22_04_9622.jpg', '/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_14_9982.jpg', '/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_25_10748.jpg', '/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_34_9706.jpg', '/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_44_9770.jpg', '/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_54_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/21/image_16122025_10_22_04_9622.jpg
/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_14_9982.jpg
/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_25_10748.jpg
/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_34_9706.jpg
/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_44_9770.jpg
/home/pi/Desktop/images/16122025/10/22/image_16122025_10_22_54_10032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620558","1399620563","1399620560","1399620554","1399620556","1399620553"],"photo_ids_order":["1399620553","1399620554","1399620556","1399620558","1399620560","1399620563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/86daa25ae8ecc16087b87ce60c097a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8272396373821320546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877363068,"filename":"image_16122025_10_22_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/011986e4d6b76f0bfaf0603ff9ae57ac.jpg","text":"TemporaryFile(/tmp/multipartBody9070898374561421714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877363068,"filename":"image_16122025_10_22_54_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/16/26b46fa2c1af4aa8936e11fe3faa4bb9.jpg","text":"TemporaryFile(/tmp/multipartBody1290255237520455668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877363068,"filename":"image_16122025_10_22_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/16/22cde18e7401d592ed0aaba8d648c527.jpg","text":"TemporaryFile(/tmp/multipartBody1570569425504059717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877363068,"filename":"image_16122025_10_22_14_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/16/e9b05950939fe960dcfba2d849c72ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7873398917028441831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877363068,"filename":"image_16122025_10_22_25_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef5df19820ebc7e533fd057eadb6d56f.jpg","text":"TemporaryFile(/tmp/multipartBody8424991905145695108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877363068,"filename":"image_16122025_10_22_04_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620556","file1":"1399620554","file0":"1399620553","file4":"1399620560","file5":"1399620563","file3":"1399620558"},"map_files_photo_id_array":[{"photo_id":"1399620563","filename":"file5"},{"photo_id":"1399620556","filename":"file2"},{"photo_id":"1399620560","filename":"file4"},{"photo_id":"1399620554","filename":"file1"},{"photo_id":"1399620553","filename":"file0"},{"photo_id":"1399620558","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620558":["hashtag1","hashtag2"]},{"1399620563":["hashtag1","hashtag2"]},{"1399620560":["hashtag1","hashtag2"]},{"1399620554":["hashtag1","hashtag2"]},{"1399620556":["hashtag1","hashtag2"]},{"1399620553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620558, 1399620563, 1399620560, 1399620554, 1399620556, 1399620553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51195979118347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:29:03.564929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/22/image_16122025_10_23_05_10691.jpg', '/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_15_9816.jpg', '/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_24_9684.jpg', '/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_34_9706.jpg', '/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_45_10693.jpg', '/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_55_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/22/image_16122025_10_23_05_10691.jpg
/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_15_9816.jpg
/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_24_9684.jpg
/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_34_9706.jpg
/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_45_10693.jpg
/home/pi/Desktop/images/16122025/10/23/image_16122025_10_23_55_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":["1399620573","1399620576","1399620572","1399620569","1399620574","1399620577"],"photo_ids_order":["1399620569","1399620572","1399620573","1399620574","1399620576","1399620577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f822bb6137916023b7fdbdd403a1aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5258510862176104396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877404359,"filename":"image_16122025_10_23_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/16/3e7c3e11ab7e52877ab8873ce665bb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3915424413456971500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877404359,"filename":"image_16122025_10_23_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/16/5e3ccb3d406293f79042ae015b826c91.jpg","text":"TemporaryFile(/tmp/multipartBody3817319101120121363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877404359,"filename":"image_16122025_10_23_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/16/2d1b012748093e33cc06fcb82a1e0ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5469078863410990657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877404359,"filename":"image_16122025_10_23_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/16/fb793682617c91de060ec025769d994b.jpg","text":"TemporaryFile(/tmp/multipartBody1944156077940406484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877404359,"filename":"image_16122025_10_23_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c5d867a2bb7d8eddee6cae914265d5e.jpg","text":"TemporaryFile(/tmp/multipartBody70297443408571961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877404359,"filename":"image_16122025_10_23_55_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620573","file1":"1399620572","file0":"1399620569","file4":"1399620576","file5":"1399620577","file3":"1399620574"},"map_files_photo_id_array":[{"photo_id":"1399620577","filename":"file5"},{"photo_id":"1399620573","filename":"file2"},{"photo_id":"1399620576","filename":"file4"},{"photo_id":"1399620572","filename":"file1"},{"photo_id":"1399620569","filename":"file0"},{"photo_id":"1399620574","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620573":["hashtag1","hashtag2"]},{"1399620576":["hashtag1","hashtag2"]},{"1399620572":["hashtag1","hashtag2"]},{"1399620569":["hashtag1","hashtag2"]},{"1399620574":["hashtag1","hashtag2"]},{"1399620577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620573, 1399620576, 1399620572, 1399620569, 1399620574, 1399620577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13963270187378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:30:02.297012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/23/image_16122025_10_24_04_9706.jpg', '/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_14_9677.jpg', '/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_25_10627.jpg', '/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_34_9576.jpg', '/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_45_10746.jpg', '/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_55_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/23/image_16122025_10_24_04_9706.jpg
/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_14_9677.jpg
/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_25_10627.jpg
/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_34_9576.jpg
/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_45_10746.jpg
/home/pi/Desktop/images/16122025/10/24/image_16122025_10_24_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":["1399620596","1399620599","1399620598","1399620595","1399620597","1399620601"],"photo_ids_order":["1399620595","1399620596","1399620597","1399620598","1399620599","1399620601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d23edb884f43431deb183482d8ec5fac.jpg","text":"TemporaryFile(/tmp/multipartBody82709299094951660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877462961,"filename":"image_16122025_10_24_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/16/f263358a0567d01c3b03d892a9278e64.jpg","text":"TemporaryFile(/tmp/multipartBody89080055721491180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877462961,"filename":"image_16122025_10_24_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a612129bdf51696831c5a8d37153d3db.jpg","text":"TemporaryFile(/tmp/multipartBody409393580941276457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877462961,"filename":"image_16122025_10_24_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e76b7a44a50aac592e18906b1b265e46.jpg","text":"TemporaryFile(/tmp/multipartBody160945788773308925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877462961,"filename":"image_16122025_10_24_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/16/d1e5aab1ef3f1ffa3746e0f3e25d5a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8192058157388932389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877462961,"filename":"image_16122025_10_24_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/16/825a028449aed2d37477283374e15c91.jpg","text":"TemporaryFile(/tmp/multipartBody8151208403015851207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877462961,"filename":"image_16122025_10_24_55_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620597","file1":"1399620596","file0":"1399620595","file4":"1399620599","file5":"1399620601","file3":"1399620598"},"map_files_photo_id_array":[{"photo_id":"1399620601","filename":"file5"},{"photo_id":"1399620597","filename":"file2"},{"photo_id":"1399620599","filename":"file4"},{"photo_id":"1399620596","filename":"file1"},{"photo_id":"1399620595","filename":"file0"},{"photo_id":"1399620598","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620596":["hashtag1","hashtag2"]},{"1399620599":["hashtag1","hashtag2"]},{"1399620598":["hashtag1","hashtag2"]},{"1399620595":["hashtag1","hashtag2"]},{"1399620597":["hashtag1","hashtag2"]},{"1399620601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620596, 1399620599, 1399620598, 1399620595, 1399620597, 1399620601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17888784408569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:30:41.903563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_29_1516.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_30_1694.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_32_1742.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_34_1552.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_35_1554.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_37_1562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_29_1516.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_30_1694.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_32_1742.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_34_1552.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_35_1554.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_37_1562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620609","1399620612","1399620606","1399620614","1399620616","1399620610"],"photo_ids_order":["1399620606","1399620609","1399620610","1399620612","1399620614","1399620616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/830f4b0d1f435d8232f07e39228911c7.jpg","text":"TemporaryFile(/tmp/multipartBody1277581247661587177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877502591,"filename":"image_06112025_15_52_30_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11c4c0833ce66206cac37d8f113235dd.jpg","text":"TemporaryFile(/tmp/multipartBody5372096981963282129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877502591,"filename":"image_06112025_15_52_34_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2acdd6f5f38d00391ac48ea2d0b47101.jpg","text":"TemporaryFile(/tmp/multipartBody4153736224090862504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877502591,"filename":"image_06112025_15_52_29_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/16/c6e00386d4541a29b242df37c84bdbe7.jpg","text":"TemporaryFile(/tmp/multipartBody8072792246054807480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877502591,"filename":"image_06112025_15_52_35_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/16/54298aeb4dc84604a03223cdb229e9a0.jpg","text":"TemporaryFile(/tmp/multipartBody795643228908863386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877502591,"filename":"image_06112025_15_52_37_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/16/9aae0da81516bc76fa18a4040694bd51.jpg","text":"TemporaryFile(/tmp/multipartBody6371680425288025136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877502591,"filename":"image_06112025_15_52_32_1742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620610","file1":"1399620609","file0":"1399620606","file4":"1399620614","file5":"1399620616","file3":"1399620612"},"map_files_photo_id_array":[{"photo_id":"1399620616","filename":"file5"},{"photo_id":"1399620610","filename":"file2"},{"photo_id":"1399620614","filename":"file4"},{"photo_id":"1399620609","filename":"file1"},{"photo_id":"1399620606","filename":"file0"},{"photo_id":"1399620612","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399620609":["hashtag1","hashtag2"]},{"1399620612":["hashtag1","hashtag2"]},{"1399620606":["hashtag1","hashtag2"]},{"1399620614":["hashtag1","hashtag2"]},{"1399620616":["hashtag1","hashtag2"]},{"1399620610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399620609, 1399620612, 1399620606, 1399620614, 1399620616, 1399620610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70121502876282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:31:22.289650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_14_10056.jpg', '/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_25_10834.jpg', '/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_34_9656.jpg', '/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_44_9689.jpg', '/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_55_10708.jpg', '/home/pi/Desktop/images/16122025/10/25/image_16122025_10_26_04_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_14_10056.jpg
/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_25_10834.jpg
/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_34_9656.jpg
/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_44_9689.jpg
/home/pi/Desktop/images/16122025/10/25/image_16122025_10_25_55_10708.jpg
/home/pi/Desktop/images/16122025/10/25/image_16122025_10_26_04_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620627","1399620632","1399620629","1399620620","1399620622","1399620625"],"photo_ids_order":["1399620620","1399620622","1399620625","1399620627","1399620629","1399620632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2678ee486c587e74aad87c541e93b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody2227050158790178402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877542923,"filename":"image_16122025_10_25_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccf90f7a89d737f7b9825a33e68dd82e.jpg","text":"TemporaryFile(/tmp/multipartBody415811246448147341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877542923,"filename":"image_16122025_10_26_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/16/2c5f676960aed125fb94d4dec8832193.jpg","text":"TemporaryFile(/tmp/multipartBody4418055503832242216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877542923,"filename":"image_16122025_10_25_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fb319694fa7abff9cdc55c37ffe6460.jpg","text":"TemporaryFile(/tmp/multipartBody4897940244098728218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877542923,"filename":"image_16122025_10_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/16/2f23f7bda7d418c69f8571f266535c93.jpg","text":"TemporaryFile(/tmp/multipartBody1951499960255277572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877542923,"filename":"image_16122025_10_25_25_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6d4eb5d62eb9c78dbd5dc396bfd4b27.jpg","text":"TemporaryFile(/tmp/multipartBody3876800932858937446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877542923,"filename":"image_16122025_10_25_34_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620625","file1":"1399620622","file0":"1399620620","file4":"1399620629","file5":"1399620632","file3":"1399620627"},"map_files_photo_id_array":[{"photo_id":"1399620632","filename":"file5"},{"photo_id":"1399620625","filename":"file2"},{"photo_id":"1399620629","filename":"file4"},{"photo_id":"1399620622","filename":"file1"},{"photo_id":"1399620620","filename":"file0"},{"photo_id":"1399620627","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620627":["hashtag1","hashtag2"]},{"1399620632":["hashtag1","hashtag2"]},{"1399620629":["hashtag1","hashtag2"]},{"1399620620":["hashtag1","hashtag2"]},{"1399620622":["hashtag1","hashtag2"]},{"1399620625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620627, 1399620632, 1399620629, 1399620620, 1399620622, 1399620625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.125322103500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:32:02.694009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_14_9752.jpg', '/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_24_9814.jpg', '/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_35_10629.jpg', '/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_44_9544.jpg', '/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_55_10708.jpg', '/home/pi/Desktop/images/16122025/10/26/image_16122025_10_27_04_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_14_9752.jpg
/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_24_9814.jpg
/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_35_10629.jpg
/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_44_9544.jpg
/home/pi/Desktop/images/16122025/10/26/image_16122025_10_26_55_10708.jpg
/home/pi/Desktop/images/16122025/10/26/image_16122025_10_27_04_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":["1399620642","1399620636","1399620639","1399620638","1399620635","1399620637"],"photo_ids_order":["1399620635","1399620636","1399620637","1399620638","1399620639","1399620642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f296d7c2bd7ae23beb4af58e9de922d.jpg","text":"TemporaryFile(/tmp/multipartBody9013967255949977104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877583387,"filename":"image_16122025_10_27_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/16/d31618dd026ac11ae752c150a01c551b.jpg","text":"TemporaryFile(/tmp/multipartBody1135912780360769543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877583387,"filename":"image_16122025_10_26_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/abb85c9254ffa14a1773883a8259b961.jpg","text":"TemporaryFile(/tmp/multipartBody699554226769966238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877583387,"filename":"image_16122025_10_26_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1ccbecdeeff436c32f942ada8a7479f.jpg","text":"TemporaryFile(/tmp/multipartBody4107280771197842275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877583387,"filename":"image_16122025_10_26_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d0fb97525d641abc5fcc978c74e187e.jpg","text":"TemporaryFile(/tmp/multipartBody4775929625564563662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877583387,"filename":"image_16122025_10_26_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/971d8266d8f1f37e1535f22edfc96d56.jpg","text":"TemporaryFile(/tmp/multipartBody1534012788697457265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877583387,"filename":"image_16122025_10_26_35_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620637","file1":"1399620636","file0":"1399620635","file4":"1399620639","file5":"1399620642","file3":"1399620638"},"map_files_photo_id_array":[{"photo_id":"1399620642","filename":"file5"},{"photo_id":"1399620637","filename":"file2"},{"photo_id":"1399620639","filename":"file4"},{"photo_id":"1399620636","filename":"file1"},{"photo_id":"1399620635","filename":"file0"},{"photo_id":"1399620638","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620642":["hashtag1","hashtag2"]},{"1399620636":["hashtag1","hashtag2"]},{"1399620639":["hashtag1","hashtag2"]},{"1399620638":["hashtag1","hashtag2"]},{"1399620635":["hashtag1","hashtag2"]},{"1399620637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620642, 1399620636, 1399620639, 1399620638, 1399620635, 1399620637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.034995794296265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:32:42.326906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_39_2746.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_43_3788.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_46_2602.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_49_2756.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_52_3702.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_55_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_39_2746.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_43_3788.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_46_2602.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_49_2756.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_52_3702.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_55_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620660","1399620662","1399620659","1399620647","1399620661","1399620663"],"photo_ids_order":["1399620647","1399620659","1399620660","1399620661","1399620662","1399620663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23642cf6265baa447d25ac952b5a260f.jpg","text":"TemporaryFile(/tmp/multipartBody7876580166714222253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877623004,"filename":"image_06112025_15_52_46_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/16/b537cbf038ab01c7a9ab0ad4fd349000.jpg","text":"TemporaryFile(/tmp/multipartBody5980215490943246140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877623004,"filename":"image_06112025_15_52_52_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/16/9c6cdfc4c0ddc1e22c30afb133e6ef15.jpg","text":"TemporaryFile(/tmp/multipartBody2188563424653877301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877623004,"filename":"image_06112025_15_52_43_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/16/e6583817945b5294a5de7f9bc3bd15fc.jpg","text":"TemporaryFile(/tmp/multipartBody8463261599075326145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877623004,"filename":"image_06112025_15_52_39_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/16/d4bf59f6a5284a94b1e20e0b55f35f50.jpg","text":"TemporaryFile(/tmp/multipartBody131830786231758937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877623004,"filename":"image_06112025_15_52_49_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/16/13a0a039f259fb60f2349adbe9becab6.jpg","text":"TemporaryFile(/tmp/multipartBody6786413725598125059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877623004,"filename":"image_06112025_15_52_55_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620660","file1":"1399620659","file0":"1399620647","file4":"1399620662","file5":"1399620663","file3":"1399620661"},"map_files_photo_id_array":[{"photo_id":"1399620663","filename":"file5"},{"photo_id":"1399620660","filename":"file2"},{"photo_id":"1399620662","filename":"file4"},{"photo_id":"1399620659","filename":"file1"},{"photo_id":"1399620647","filename":"file0"},{"photo_id":"1399620661","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399620660":["hashtag1","hashtag2"]},{"1399620662":["hashtag1","hashtag2"]},{"1399620659":["hashtag1","hashtag2"]},{"1399620647":["hashtag1","hashtag2"]},{"1399620661":["hashtag1","hashtag2"]},{"1399620663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399620660, 1399620662, 1399620659, 1399620647, 1399620661, 1399620663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48739671707153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:33:22.668494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_14_9708.jpg', '/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_25_10580.jpg', '/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_34_9650.jpg', '/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_44_9703.jpg', '/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_54_9777.jpg', '/home/pi/Desktop/images/16122025/10/27/image_16122025_10_28_05_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_14_9708.jpg
/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_25_10580.jpg
/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_34_9650.jpg
/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_44_9703.jpg
/home/pi/Desktop/images/16122025/10/27/image_16122025_10_27_54_9777.jpg
/home/pi/Desktop/images/16122025/10/27/image_16122025_10_28_05_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":["1399620689","1399620668","1399620671","1399620665","1399620667","1399620676"],"photo_ids_order":["1399620665","1399620667","1399620668","1399620671","1399620676","1399620689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09d9eb5591897173eabd91dcb1b77b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3557255817389653513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877663306,"filename":"image_16122025_10_28_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd5d6504b9af119142b05e6a21832f6d.jpg","text":"TemporaryFile(/tmp/multipartBody5001602739885404449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877663306,"filename":"image_16122025_10_27_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/16/71a5e73e0cd29caff3a745a99d02a483.jpg","text":"TemporaryFile(/tmp/multipartBody6633889487956711415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877663306,"filename":"image_16122025_10_27_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1669493e8652b9b121af7a0f8c866ae2.jpg","text":"TemporaryFile(/tmp/multipartBody4536094030563580240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877663306,"filename":"image_16122025_10_27_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/16/6604dc2048c1415a617ad0992986491d.jpg","text":"TemporaryFile(/tmp/multipartBody93907787696880767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877663306,"filename":"image_16122025_10_27_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/16/338947d041a4ffe78619f277510033e4.jpg","text":"TemporaryFile(/tmp/multipartBody508563324277109413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877663306,"filename":"image_16122025_10_27_54_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620668","file1":"1399620667","file0":"1399620665","file4":"1399620676","file5":"1399620689","file3":"1399620671"},"map_files_photo_id_array":[{"photo_id":"1399620689","filename":"file5"},{"photo_id":"1399620668","filename":"file2"},{"photo_id":"1399620676","filename":"file4"},{"photo_id":"1399620667","filename":"file1"},{"photo_id":"1399620665","filename":"file0"},{"photo_id":"1399620671","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620689":["hashtag1","hashtag2"]},{"1399620668":["hashtag1","hashtag2"]},{"1399620671":["hashtag1","hashtag2"]},{"1399620665":["hashtag1","hashtag2"]},{"1399620667":["hashtag1","hashtag2"]},{"1399620676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620689, 1399620668, 1399620671, 1399620665, 1399620667, 1399620676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.669564723968506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:34:02.876311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_14_9753.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_24_9618.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_35_10604.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_44_9657.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_54_9662.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_29_05_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_14_9753.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_24_9618.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_35_10604.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_44_9657.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_54_9662.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_29_05_10754.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5516533851623535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 10:34:12.283463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:34:22.305831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_14_9753.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_24_9618.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_35_10604.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_44_9657.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_54_9662.jpg', '/home/pi/Desktop/images/16122025/10/28/image_16122025_10_29_05_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_14_9753.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_24_9618.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_35_10604.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_44_9657.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_28_54_9662.jpg
/home/pi/Desktop/images/16122025/10/28/image_16122025_10_29_05_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620732","1399620726","1399620737","1399620734","1399620728","1399620730"],"photo_ids_order":["1399620726","1399620728","1399620730","1399620732","1399620734","1399620737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b6ebd9562e3d667eaa3e4bf9b7b56d1.jpg","text":"TemporaryFile(/tmp/multipartBody3267609318052449071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877723009,"filename":"image_16122025_10_28_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/16/471247b61e36e1abf98c95f65aa81f09.jpg","text":"TemporaryFile(/tmp/multipartBody5413020818531365710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877723009,"filename":"image_16122025_10_28_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/16/f6ae4e1c3a48a70bfab408aa2546cd66.jpg","text":"TemporaryFile(/tmp/multipartBody4214067840930666951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877723009,"filename":"image_16122025_10_29_05_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/129e2bd4227e1aa542885bf0ed4897d2.jpg","text":"TemporaryFile(/tmp/multipartBody7126001259882756017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877723009,"filename":"image_16122025_10_28_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/16/32bf7028d826748355b6ec6bef2fd286.jpg","text":"TemporaryFile(/tmp/multipartBody7607647215180388397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877723009,"filename":"image_16122025_10_28_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c105dfc82b0fcad886d9989752f5e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4351897480327203582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877723009,"filename":"image_16122025_10_28_35_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620730","file1":"1399620728","file0":"1399620726","file4":"1399620734","file5":"1399620737","file3":"1399620732"},"map_files_photo_id_array":[{"photo_id":"1399620737","filename":"file5"},{"photo_id":"1399620730","filename":"file2"},{"photo_id":"1399620734","filename":"file4"},{"photo_id":"1399620728","filename":"file1"},{"photo_id":"1399620726","filename":"file0"},{"photo_id":"1399620732","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620732":["hashtag1","hashtag2"]},{"1399620726":["hashtag1","hashtag2"]},{"1399620737":["hashtag1","hashtag2"]},{"1399620734":["hashtag1","hashtag2"]},{"1399620728":["hashtag1","hashtag2"]},{"1399620730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620732, 1399620726, 1399620737, 1399620734, 1399620728, 1399620730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36586833000183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:35:03.335498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_15_9848.jpg', '/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_24_9587.jpg', '/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_35_10674.jpg', '/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_44_9617.jpg', '/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_54_9699.jpg', '/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_15_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_15_9848.jpg
/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_24_9587.jpg
/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_35_10674.jpg
/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_44_9617.jpg
/home/pi/Desktop/images/16122025/10/29/image_16122025_10_29_54_9699.jpg
/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_15_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620741","1399620743","1399620740","1399620742","1399620745","1399620739"],"photo_ids_order":["1399620739","1399620740","1399620741","1399620742","1399620743","1399620745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fd6bd8a9fbfd6ebf83aaf249751e31b.jpg","text":"TemporaryFile(/tmp/multipartBody5513113261543349760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877764057,"filename":"image_16122025_10_29_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/16/cf8e6a36d5b5e52cfaf5c1ddebdf9ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2474578050147248107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877764057,"filename":"image_16122025_10_29_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/16/4e2375aadde707818e45a23462e5d3ec.jpg","text":"TemporaryFile(/tmp/multipartBody7462621215090787676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877764057,"filename":"image_16122025_10_29_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8a361ebefa6d5ad8322aa4c94bab15a.jpg","text":"TemporaryFile(/tmp/multipartBody2937394466617131473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877764057,"filename":"image_16122025_10_29_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f060e3f1f81c7b589a74be42f063302a.jpg","text":"TemporaryFile(/tmp/multipartBody8282451563274112165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877764057,"filename":"image_16122025_10_30_15_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/449fff86746bfb904dc7f4ef23a08d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6564325954818826724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877764057,"filename":"image_16122025_10_29_15_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620741","file1":"1399620740","file0":"1399620739","file4":"1399620743","file5":"1399620745","file3":"1399620742"},"map_files_photo_id_array":[{"photo_id":"1399620745","filename":"file5"},{"photo_id":"1399620741","filename":"file2"},{"photo_id":"1399620743","filename":"file4"},{"photo_id":"1399620740","filename":"file1"},{"photo_id":"1399620739","filename":"file0"},{"photo_id":"1399620742","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399620741":["hashtag1","hashtag2"]},{"1399620743":["hashtag1","hashtag2"]},{"1399620740":["hashtag1","hashtag2"]},{"1399620742":["hashtag1","hashtag2"]},{"1399620745":["hashtag1","hashtag2"]},{"1399620739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399620741, 1399620743, 1399620740, 1399620742, 1399620745, 1399620739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19453287124634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:35:42.639930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_57_2618.jpg', '/home/pi/Desktop/images/06112025/15/52/image_06112025_15_53_01_3556.jpg', '/home/pi/Desktop/images/06112025/15/53/image_06112025_15_53_04_2770.jpg', '/home/pi/Desktop/images/06112025/15/53/image_06112025_15_53_51_47218.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_06_14706.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_11_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_52_57_2618.jpg
/home/pi/Desktop/images/06112025/15/52/image_06112025_15_53_01_3556.jpg
/home/pi/Desktop/images/06112025/15/53/image_06112025_15_53_04_2770.jpg
/home/pi/Desktop/images/06112025/15/53/image_06112025_15_53_51_47218.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_06_14706.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_11_1648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399620765","1399620764","1399620818","1399620766","1399620751","1399620781"],"photo_ids_order":["1399620751","1399620764","1399620765","1399620766","1399620781","1399620818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc52523723e797f8a635a0355077b293.jpg","text":"TemporaryFile(/tmp/multipartBody8467417737491708318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877803347,"filename":"image_06112025_15_53_04_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/16/d0547a8a32a5f21f7c2124ec53a6e382.jpg","text":"TemporaryFile(/tmp/multipartBody6674091942695293597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877803347,"filename":"image_06112025_15_53_01_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/16/4a562f1108f634efab7183d074b07a90.jpg","text":"TemporaryFile(/tmp/multipartBody2526607440651144974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877803347,"filename":"image_06112025_15_54_11_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/16/c92f6c18b3508face97288e3a716b31b.jpg","text":"TemporaryFile(/tmp/multipartBody2327781232442375929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877803347,"filename":"image_06112025_15_53_51_47218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77a7e0265561cfc130858cf8193ff599.jpg","text":"TemporaryFile(/tmp/multipartBody2782232008974798002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877803347,"filename":"image_06112025_15_52_57_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/16/a351c2398d11bc8987b5602016cef37a.jpg","text":"TemporaryFile(/tmp/multipartBody4520651572557675084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877803347,"filename":"image_06112025_15_54_06_14706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399620765","file1":"1399620764","file0":"1399620751","file4":"1399620781","file5":"1399620818","file3":"1399620766"},"map_files_photo_id_array":[{"photo_id":"1399620818","filename":"file5"},{"photo_id":"1399620765","filename":"file2"},{"photo_id":"1399620781","filename":"file4"},{"photo_id":"1399620764","filename":"file1"},{"photo_id":"1399620751","filename":"file0"},{"photo_id":"1399620766","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399620765":["hashtag1","hashtag2"]},{"1399620764":["hashtag1","hashtag2"]},{"1399620818":["hashtag1","hashtag2"]},{"1399620766":["hashtag1","hashtag2"]},{"1399620751":["hashtag1","hashtag2"]},{"1399620781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399620765, 1399620764, 1399620818, 1399620766, 1399620751, 1399620781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51471948623657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:36:21.938153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_25_10663.jpg', '/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_35_9675.jpg', '/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_46_10590.jpg', '/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_55_9593.jpg', '/home/pi/Desktop/images/16122025/10/30/image_16122025_10_31_05_9581.jpg', '/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_15_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_25_10663.jpg
/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_35_9675.jpg
/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_46_10590.jpg
/home/pi/Desktop/images/16122025/10/30/image_16122025_10_30_55_9593.jpg
/home/pi/Desktop/images/16122025/10/30/image_16122025_10_31_05_9581.jpg
/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_15_9903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399621302","1399621230","1399621017","1399621160","1399621090","1399621378"],"photo_ids_order":["1399621017","1399621090","1399621160","1399621230","1399621302","1399621378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59a13cdcb2d1c13924a5dbe129ba0ae9.jpg","text":"TemporaryFile(/tmp/multipartBody434044240356703721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877842587,"filename":"image_16122025_10_31_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/16/ac8ed637a5d0efd510ab8fa2e56c2903.jpg","text":"TemporaryFile(/tmp/multipartBody1170687653188007267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877842587,"filename":"image_16122025_10_30_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/16/7fd801345ef4a3233d7c16b82234fabd.jpg","text":"TemporaryFile(/tmp/multipartBody3954440553839475019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877842587,"filename":"image_16122025_10_30_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/16/f4ad9f2e00c55e778dea2ee55ba61e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1084070817041796469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877842587,"filename":"image_16122025_10_30_46_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/16/3fc9c0e14372d5271b0a0416e6d774ec.jpg","text":"TemporaryFile(/tmp/multipartBody2988026836265674710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877842587,"filename":"image_16122025_10_30_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5c2fbff5746e088593d7692300a1d40.jpg","text":"TemporaryFile(/tmp/multipartBody809471640386962388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877842587,"filename":"image_16122025_10_31_15_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399621160","file1":"1399621090","file0":"1399621017","file4":"1399621302","file5":"1399621378","file3":"1399621230"},"map_files_photo_id_array":[{"photo_id":"1399621378","filename":"file5"},{"photo_id":"1399621160","filename":"file2"},{"photo_id":"1399621302","filename":"file4"},{"photo_id":"1399621090","filename":"file1"},{"photo_id":"1399621017","filename":"file0"},{"photo_id":"1399621230","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399621302":["hashtag1","hashtag2"]},{"1399621230":["hashtag1","hashtag2"]},{"1399621017":["hashtag1","hashtag2"]},{"1399621160":["hashtag1","hashtag2"]},{"1399621090":["hashtag1","hashtag2"]},{"1399621378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399621302, 1399621230, 1399621017, 1399621160, 1399621090, 1399621378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87882709503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:37:02.868999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_25_10651.jpg', '/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_35_9694.jpg', '/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_45_9629.jpg', '/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_55_10770.jpg', '/home/pi/Desktop/images/16122025/10/31/image_16122025_10_32_05_9689.jpg', '/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_15_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_25_10651.jpg
/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_35_9694.jpg
/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_45_9629.jpg
/home/pi/Desktop/images/16122025/10/31/image_16122025_10_31_55_10770.jpg
/home/pi/Desktop/images/16122025/10/31/image_16122025_10_32_05_9689.jpg
/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_15_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":["1399622018","1399621937","1399621972","1399622104","1399621788","1399621869"],"photo_ids_order":["1399621788","1399621869","1399621937","1399621972","1399622018","1399622104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee377ecc9cf8d000c8ccff1f4f1cb904.jpg","text":"TemporaryFile(/tmp/multipartBody4557386614806433619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877883536,"filename":"image_16122025_10_32_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bfd689b159098608b21475a2d6d42f09.jpg","text":"TemporaryFile(/tmp/multipartBody1581415784585578070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877883536,"filename":"image_16122025_10_31_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e74cf088f0526f90d1e40555f5a767e6.jpg","text":"TemporaryFile(/tmp/multipartBody6330630241043273291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877883536,"filename":"image_16122025_10_31_55_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/043c0ec78a2eb7e1915f43236d2726d2.jpg","text":"TemporaryFile(/tmp/multipartBody688087626765583870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877883536,"filename":"image_16122025_10_32_15_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/16/9e89e1032f6c77ebd6b33e7e0be9b9a1.jpg","text":"TemporaryFile(/tmp/multipartBody2695868904621744444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877883536,"filename":"image_16122025_10_31_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66a401870077cd89315c71509ad5ec99.jpg","text":"TemporaryFile(/tmp/multipartBody2153032538873078057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877883536,"filename":"image_16122025_10_31_35_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399621937","file1":"1399621869","file0":"1399621788","file4":"1399622018","file5":"1399622104","file3":"1399621972"},"map_files_photo_id_array":[{"photo_id":"1399622104","filename":"file5"},{"photo_id":"1399621937","filename":"file2"},{"photo_id":"1399622018","filename":"file4"},{"photo_id":"1399621869","filename":"file1"},{"photo_id":"1399621788","filename":"file0"},{"photo_id":"1399621972","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399622018":["hashtag1","hashtag2"]},{"1399621937":["hashtag1","hashtag2"]},{"1399621972":["hashtag1","hashtag2"]},{"1399622104":["hashtag1","hashtag2"]},{"1399621788":["hashtag1","hashtag2"]},{"1399621869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399622018, 1399621937, 1399621972, 1399622104, 1399621788, 1399621869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85972356796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:37:42.070247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_12_1572.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_14_1655.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_16_1634.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_17_1652.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_19_1667.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_21_1500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_12_1572.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_14_1655.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_16_1634.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_17_1652.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_19_1667.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_21_1500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399622468","1399622339","1399622337","1399622340","1399622564","1399622372"],"photo_ids_order":["1399622337","1399622339","1399622340","1399622372","1399622468","1399622564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ed7bdd09ed96a817bc060ef13c4a49d.jpg","text":"TemporaryFile(/tmp/multipartBody8016897251182209162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877922855,"filename":"image_06112025_15_54_19_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/16/affe51a85c841726f70241e5654087b8.jpg","text":"TemporaryFile(/tmp/multipartBody489712873230360471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877922855,"filename":"image_06112025_15_54_14_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/16/8ddd7b21c3375b4e3b9e83401338bc12.jpg","text":"TemporaryFile(/tmp/multipartBody58877066842025814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877922855,"filename":"image_06112025_15_54_12_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/16/9f67a930f27e3f5d112ce517a9f360d5.jpg","text":"TemporaryFile(/tmp/multipartBody1178364660690737912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877922855,"filename":"image_06112025_15_54_16_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ee7566da24d7dfeae8d0acdf2bef0a5.jpg","text":"TemporaryFile(/tmp/multipartBody3161928766232394893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877922855,"filename":"image_06112025_15_54_21_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e62f4dd335d7edc7f8bd5a622ac14fa.jpg","text":"TemporaryFile(/tmp/multipartBody1822827545566455088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877922855,"filename":"image_06112025_15_54_17_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399622340","file1":"1399622339","file0":"1399622337","file4":"1399622468","file5":"1399622564","file3":"1399622372"},"map_files_photo_id_array":[{"photo_id":"1399622564","filename":"file5"},{"photo_id":"1399622340","filename":"file2"},{"photo_id":"1399622468","filename":"file4"},{"photo_id":"1399622339","filename":"file1"},{"photo_id":"1399622337","filename":"file0"},{"photo_id":"1399622372","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399622468":["hashtag1","hashtag2"]},{"1399622339":["hashtag1","hashtag2"]},{"1399622337":["hashtag1","hashtag2"]},{"1399622340":["hashtag1","hashtag2"]},{"1399622564":["hashtag1","hashtag2"]},{"1399622372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399622468, 1399622339, 1399622337, 1399622340, 1399622564, 1399622372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74761462211609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:38:22.403012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_25_9791.jpg', '/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_35_10547.jpg', '/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_45_9691.jpg', '/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_55_9841.jpg', '/home/pi/Desktop/images/16122025/10/32/image_16122025_10_33_05_9767.jpg', '/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_15_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_25_9791.jpg
/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_35_10547.jpg
/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_45_9691.jpg
/home/pi/Desktop/images/16122025/10/32/image_16122025_10_32_55_9841.jpg
/home/pi/Desktop/images/16122025/10/32/image_16122025_10_33_05_9767.jpg
/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_15_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399622825","1399622983","1399622717","1399622605","1399623063","1399622913"],"photo_ids_order":["1399622605","1399622717","1399622825","1399622913","1399622983","1399623063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f7c4efc61767743ba6d9892da47bea3.jpg","text":"TemporaryFile(/tmp/multipartBody11811834534072073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877963020,"filename":"image_16122025_10_32_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/16/a916e14d5dc15d3e3847ca6e26352343.jpg","text":"TemporaryFile(/tmp/multipartBody5492651428363260856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877963020,"filename":"image_16122025_10_33_05_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/16/eb29feeedf73cd93c4d413edd91514cf.jpg","text":"TemporaryFile(/tmp/multipartBody295208680989325396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877963020,"filename":"image_16122025_10_32_35_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc5f5530ae8157a93e92641b2a91cce6.jpg","text":"TemporaryFile(/tmp/multipartBody1116678671479374823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877963020,"filename":"image_16122025_10_32_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/16/e064b3f72811b0909958a1914bbc9fea.jpg","text":"TemporaryFile(/tmp/multipartBody5447626579392685714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877963020,"filename":"image_16122025_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/16/cbf5f266a3b7f46e8544ca80412f7f6a.jpg","text":"TemporaryFile(/tmp/multipartBody8899584100153890067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765877963020,"filename":"image_16122025_10_32_55_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399622825","file1":"1399622717","file0":"1399622605","file4":"1399622983","file5":"1399623063","file3":"1399622913"},"map_files_photo_id_array":[{"photo_id":"1399623063","filename":"file5"},{"photo_id":"1399622825","filename":"file2"},{"photo_id":"1399622983","filename":"file4"},{"photo_id":"1399622717","filename":"file1"},{"photo_id":"1399622605","filename":"file0"},{"photo_id":"1399622913","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399622825":["hashtag1","hashtag2"]},{"1399622983":["hashtag1","hashtag2"]},{"1399622717":["hashtag1","hashtag2"]},{"1399622605":["hashtag1","hashtag2"]},{"1399623063":["hashtag1","hashtag2"]},{"1399622913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399622825, 1399622983, 1399622717, 1399622605, 1399623063, 1399622913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69423699378967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:39:03.635783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_25_9568.jpg', '/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_35_9799.jpg', '/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_45_10631.jpg', '/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_55_9610.jpg', '/home/pi/Desktop/images/16122025/10/33/image_16122025_10_34_06_10635.jpg', '/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_15_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_25_9568.jpg
/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_35_9799.jpg
/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_45_10631.jpg
/home/pi/Desktop/images/16122025/10/33/image_16122025_10_33_55_9610.jpg
/home/pi/Desktop/images/16122025/10/33/image_16122025_10_34_06_10635.jpg
/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_15_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623298","1399623232","1399623339","1399623371","1399623365","1399623374"],"photo_ids_order":["1399623232","1399623298","1399623339","1399623365","1399623371","1399623374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a77fa12a508cb7f925be39e2acd9c222.jpg","text":"TemporaryFile(/tmp/multipartBody7573032519288366212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878004444,"filename":"image_16122025_10_33_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/16/c5d07be9ed501d2f801595856fb94daa.jpg","text":"TemporaryFile(/tmp/multipartBody7556110798124726856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878004444,"filename":"image_16122025_10_33_25_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/16/2c4ad32b730445ace56cf94a5a093bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4205633881101857175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878004444,"filename":"image_16122025_10_33_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/16/106f6817b08b3c14b944aa2319312f23.jpg","text":"TemporaryFile(/tmp/multipartBody8720783591542196059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878004444,"filename":"image_16122025_10_34_06_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/16/4604654174d8a7ef27f323b2bbb83df6.jpg","text":"TemporaryFile(/tmp/multipartBody1895642973996196023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878004444,"filename":"image_16122025_10_33_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/16/715cf51916d55e8db66dcee08904a6cc.jpg","text":"TemporaryFile(/tmp/multipartBody4498398534067066659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878004444,"filename":"image_16122025_10_34_15_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623339","file1":"1399623298","file0":"1399623232","file4":"1399623371","file5":"1399623374","file3":"1399623365"},"map_files_photo_id_array":[{"photo_id":"1399623374","filename":"file5"},{"photo_id":"1399623339","filename":"file2"},{"photo_id":"1399623371","filename":"file4"},{"photo_id":"1399623298","filename":"file1"},{"photo_id":"1399623232","filename":"file0"},{"photo_id":"1399623365","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623298":["hashtag1","hashtag2"]},{"1399623232":["hashtag1","hashtag2"]},{"1399623339":["hashtag1","hashtag2"]},{"1399623371":["hashtag1","hashtag2"]},{"1399623365":["hashtag1","hashtag2"]},{"1399623374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623298, 1399623232, 1399623339, 1399623371, 1399623365, 1399623374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73247051239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:39:42.689140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_22_1608.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_24_1509.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_25_1596.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_27_1765.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_40_13232.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_42_1595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_22_1608.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_24_1509.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_25_1596.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_27_1765.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_40_13232.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_42_1595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623496","1399623463","1399623436","1399623511","1399623438","1399623510"],"photo_ids_order":["1399623436","1399623438","1399623463","1399623496","1399623510","1399623511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5990a680474278b3892d04bd1baf5457.jpg","text":"TemporaryFile(/tmp/multipartBody5231675064109961020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878043412,"filename":"image_06112025_15_54_27_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1056258298f4cbc3dc05f5f7c317eec.jpg","text":"TemporaryFile(/tmp/multipartBody1222956974017735012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878043412,"filename":"image_06112025_15_54_25_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/16/0a3a088fa3682e68ae24ff2bb0254267.jpg","text":"TemporaryFile(/tmp/multipartBody1448874040134233450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878043412,"filename":"image_06112025_15_54_22_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f702b2733936a1c6af1f757ea950d095.jpg","text":"TemporaryFile(/tmp/multipartBody1076690472179208440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878043412,"filename":"image_06112025_15_54_42_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/16/f69f1d83165643ca464b1df2a594bb1e.jpg","text":"TemporaryFile(/tmp/multipartBody3805322814685305878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878043412,"filename":"image_06112025_15_54_24_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/16/914a288433b18d7b345ad70405b8801f.jpg","text":"TemporaryFile(/tmp/multipartBody369530433526965385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878043412,"filename":"image_06112025_15_54_40_13232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623463","file1":"1399623438","file0":"1399623436","file4":"1399623510","file5":"1399623511","file3":"1399623496"},"map_files_photo_id_array":[{"photo_id":"1399623511","filename":"file5"},{"photo_id":"1399623463","filename":"file2"},{"photo_id":"1399623510","filename":"file4"},{"photo_id":"1399623438","filename":"file1"},{"photo_id":"1399623436","filename":"file0"},{"photo_id":"1399623496","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399623496":["hashtag1","hashtag2"]},{"1399623463":["hashtag1","hashtag2"]},{"1399623436":["hashtag1","hashtag2"]},{"1399623511":["hashtag1","hashtag2"]},{"1399623438":["hashtag1","hashtag2"]},{"1399623510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399623496, 1399623463, 1399623436, 1399623511, 1399623438, 1399623510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42568635940552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:40:21.910549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_25_9727.jpg', '/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_35_9619.jpg', '/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_45_10660.jpg', '/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_55_9831.jpg', '/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_14_10058.jpg', '/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_25_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_25_9727.jpg
/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_35_9619.jpg
/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_45_10660.jpg
/home/pi/Desktop/images/16122025/10/34/image_16122025_10_34_55_9831.jpg
/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_14_10058.jpg
/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_25_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623598","1399623602","1399623565","1399623600","1399623593","1399623605"],"photo_ids_order":["1399623565","1399623593","1399623598","1399623600","1399623602","1399623605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb164e9e29bc297cd57ba81512b338aa.jpg","text":"TemporaryFile(/tmp/multipartBody6105849592431730030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878082529,"filename":"image_16122025_10_34_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/15eb9476190b9d73da2a968b7da73b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6082425642053219897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878082529,"filename":"image_16122025_10_35_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/16/2726d17b0b8c90c2d53ad63e9af30b8a.jpg","text":"TemporaryFile(/tmp/multipartBody4752060441460713130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878082529,"filename":"image_16122025_10_34_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/16/697b964ffc2c1a6e57e2f1a287d5080b.jpg","text":"TemporaryFile(/tmp/multipartBody7317206335054315163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878082529,"filename":"image_16122025_10_34_55_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/16/0440b4b199ce594897460330121b236e.jpg","text":"TemporaryFile(/tmp/multipartBody1074457788816796316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878082529,"filename":"image_16122025_10_34_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3df4e666b59034332a5fb099624eaa7e.jpg","text":"TemporaryFile(/tmp/multipartBody3064925083917848212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878082529,"filename":"image_16122025_10_35_25_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623598","file1":"1399623593","file0":"1399623565","file4":"1399623602","file5":"1399623605","file3":"1399623600"},"map_files_photo_id_array":[{"photo_id":"1399623605","filename":"file5"},{"photo_id":"1399623598","filename":"file2"},{"photo_id":"1399623602","filename":"file4"},{"photo_id":"1399623593","filename":"file1"},{"photo_id":"1399623565","filename":"file0"},{"photo_id":"1399623600","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623598":["hashtag1","hashtag2"]},{"1399623602":["hashtag1","hashtag2"]},{"1399623565":["hashtag1","hashtag2"]},{"1399623600":["hashtag1","hashtag2"]},{"1399623593":["hashtag1","hashtag2"]},{"1399623605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623598, 1399623602, 1399623565, 1399623600, 1399623593, 1399623605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72860264778137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:41:02.764725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_34_9612.jpg', '/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_44_9674.jpg', '/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_55_10777.jpg', '/home/pi/Desktop/images/16122025/10/35/image_16122025_10_36_05_9690.jpg', '/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_14_9623.jpg', '/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_25_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_34_9612.jpg
/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_44_9674.jpg
/home/pi/Desktop/images/16122025/10/35/image_16122025_10_35_55_10777.jpg
/home/pi/Desktop/images/16122025/10/35/image_16122025_10_36_05_9690.jpg
/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_14_9623.jpg
/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_25_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":["1399623620","1399623614","1399623616","1399623613","1399623615","1399623618"],"photo_ids_order":["1399623613","1399623614","1399623615","1399623616","1399623618","1399623620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a3fa12be3d7c54225b39daafdedbda8.jpg","text":"TemporaryFile(/tmp/multipartBody5540265543853770048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878126168,"filename":"image_16122025_10_36_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0ef28f998992cfe1d3b52f05622ea12.jpg","text":"TemporaryFile(/tmp/multipartBody5097712878167957159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878126168,"filename":"image_16122025_10_35_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/175c8846c4d9fad4c43f409a0cb87f8c.jpg","text":"TemporaryFile(/tmp/multipartBody2612089351912919973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878126168,"filename":"image_16122025_10_36_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8bafd45fa4e963551b3dcd910f958b06.jpg","text":"TemporaryFile(/tmp/multipartBody5819953564389556448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878126168,"filename":"image_16122025_10_35_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd9e084b2e4c3f0780a16cf776b3cf57.jpg","text":"TemporaryFile(/tmp/multipartBody4788563604440418989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878126168,"filename":"image_16122025_10_35_55_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8c8456204fcf2562175e9a63008463c.jpg","text":"TemporaryFile(/tmp/multipartBody9013941748401381292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878126168,"filename":"image_16122025_10_36_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623615","file1":"1399623614","file0":"1399623613","file4":"1399623618","file5":"1399623620","file3":"1399623616"},"map_files_photo_id_array":[{"photo_id":"1399623620","filename":"file5"},{"photo_id":"1399623615","filename":"file2"},{"photo_id":"1399623618","filename":"file4"},{"photo_id":"1399623614","filename":"file1"},{"photo_id":"1399623613","filename":"file0"},{"photo_id":"1399623616","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623620":["hashtag1","hashtag2"]},{"1399623614":["hashtag1","hashtag2"]},{"1399623616":["hashtag1","hashtag2"]},{"1399623613":["hashtag1","hashtag2"]},{"1399623615":["hashtag1","hashtag2"]},{"1399623618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623620, 1399623614, 1399623616, 1399623613, 1399623615, 1399623618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.603920459747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:42:02.899240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_35_9749.jpg', '/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_45_9939.jpg', '/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_54_9719.jpg', '/home/pi/Desktop/images/16122025/10/36/image_16122025_10_37_05_10665.jpg', '/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_15_9635.jpg', '/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_24_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_35_9749.jpg
/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_45_9939.jpg
/home/pi/Desktop/images/16122025/10/36/image_16122025_10_36_54_9719.jpg
/home/pi/Desktop/images/16122025/10/36/image_16122025_10_37_05_10665.jpg
/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_15_9635.jpg
/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_24_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623640","1399623643","1399623637","1399623639","1399623641","1399623638"],"photo_ids_order":["1399623637","1399623638","1399623639","1399623640","1399623641","1399623643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43a5ec1958538275a9ee7184d1bc5fa1.jpg","text":"TemporaryFile(/tmp/multipartBody484551552026958481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878183569,"filename":"image_16122025_10_37_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50a993273305100c4b817c674aa69c43.jpg","text":"TemporaryFile(/tmp/multipartBody274011008236691123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878183569,"filename":"image_16122025_10_37_24_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/216a2c50384ad04e19dc1ba98f1877b0.jpg","text":"TemporaryFile(/tmp/multipartBody3597842120849662484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878183569,"filename":"image_16122025_10_36_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93c0e953f990ea2909f1ed86d5a781ba.jpg","text":"TemporaryFile(/tmp/multipartBody863678840883585922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878183569,"filename":"image_16122025_10_36_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/16/023eab0543659d36ccd113798734c0ea.jpg","text":"TemporaryFile(/tmp/multipartBody7101262479076337175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878183569,"filename":"image_16122025_10_37_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25c69db094a509ec4da24d5416e26be2.jpg","text":"TemporaryFile(/tmp/multipartBody1655563712567086442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878183569,"filename":"image_16122025_10_36_45_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623639","file1":"1399623638","file0":"1399623637","file4":"1399623641","file5":"1399623643","file3":"1399623640"},"map_files_photo_id_array":[{"photo_id":"1399623643","filename":"file5"},{"photo_id":"1399623639","filename":"file2"},{"photo_id":"1399623641","filename":"file4"},{"photo_id":"1399623638","filename":"file1"},{"photo_id":"1399623637","filename":"file0"},{"photo_id":"1399623640","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623640":["hashtag1","hashtag2"]},{"1399623643":["hashtag1","hashtag2"]},{"1399623637":["hashtag1","hashtag2"]},{"1399623639":["hashtag1","hashtag2"]},{"1399623641":["hashtag1","hashtag2"]},{"1399623638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623640, 1399623643, 1399623637, 1399623639, 1399623641, 1399623638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84978985786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:42:42.428402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_44_1686.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_45_1833.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_47_1678.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_13_25563.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_14_1823.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_27_12855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_44_1686.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_45_1833.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_47_1678.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_13_25563.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_14_1823.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_27_12855.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5921621322631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:43:03.358087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_35_10648.jpg', '/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_45_9800.jpg', '/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_54_9538.jpg', '/home/pi/Desktop/images/16122025/10/37/image_16122025_10_38_05_10701.jpg', '/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_15_9611.jpg', '/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_24_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_35_10648.jpg
/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_45_9800.jpg
/home/pi/Desktop/images/16122025/10/37/image_16122025_10_37_54_9538.jpg
/home/pi/Desktop/images/16122025/10/37/image_16122025_10_38_05_10701.jpg
/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_15_9611.jpg
/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_24_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623664","1399623658","1399623657","1399623666","1399623660","1399623662"],"photo_ids_order":["1399623657","1399623658","1399623660","1399623662","1399623664","1399623666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c93f035032e8cf667cd21bc975f2cb33.jpg","text":"TemporaryFile(/tmp/multipartBody6527150759340373186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878244005,"filename":"image_16122025_10_38_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc9df6fdac876b4a941b88e99d127729.jpg","text":"TemporaryFile(/tmp/multipartBody5757471277733204575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878244005,"filename":"image_16122025_10_37_45_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8293676751f42002e1b35de4df45f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2139135942918453937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878244005,"filename":"image_16122025_10_37_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a081086c5fcb56a5f5bb861658ebb051.jpg","text":"TemporaryFile(/tmp/multipartBody617910484582200265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878244005,"filename":"image_16122025_10_38_24_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6da0387da1e36dfa77f77dee526e795b.jpg","text":"TemporaryFile(/tmp/multipartBody2635170445582365898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878244005,"filename":"image_16122025_10_37_54_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/16/27c5ac1f19427b7e9a150103d8dda006.jpg","text":"TemporaryFile(/tmp/multipartBody7919471489349232569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878244005,"filename":"image_16122025_10_38_05_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623660","file1":"1399623658","file0":"1399623657","file4":"1399623664","file5":"1399623666","file3":"1399623662"},"map_files_photo_id_array":[{"photo_id":"1399623666","filename":"file5"},{"photo_id":"1399623660","filename":"file2"},{"photo_id":"1399623664","filename":"file4"},{"photo_id":"1399623658","filename":"file1"},{"photo_id":"1399623657","filename":"file0"},{"photo_id":"1399623662","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623664":["hashtag1","hashtag2"]},{"1399623658":["hashtag1","hashtag2"]},{"1399623657":["hashtag1","hashtag2"]},{"1399623666":["hashtag1","hashtag2"]},{"1399623660":["hashtag1","hashtag2"]},{"1399623662":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623664, 1399623658, 1399623657, 1399623666, 1399623660, 1399623662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37052798271179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:43:42.659257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_44_1686.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_45_1833.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_47_1678.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_13_25563.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_14_1823.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_27_12855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_44_1686.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_45_1833.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_47_1678.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_13_25563.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_14_1823.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_27_12855.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5035102367401123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:44:02.601747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_35_10721.jpg', '/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_45_9799.jpg', '/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_54_9627.jpg', '/home/pi/Desktop/images/16122025/10/38/image_16122025_10_39_05_10586.jpg', '/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_15_9642.jpg', '/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_35_10721.jpg
/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_45_9799.jpg
/home/pi/Desktop/images/16122025/10/38/image_16122025_10_38_54_9627.jpg
/home/pi/Desktop/images/16122025/10/38/image_16122025_10_39_05_10586.jpg
/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_15_9642.jpg
/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_24_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623679","1399623681","1399623684","1399623686","1399623680","1399623683"],"photo_ids_order":["1399623679","1399623680","1399623681","1399623683","1399623684","1399623686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91e1d1a8a5f4344ad2d63ed5b5230ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4549365928083786774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878303261,"filename":"image_16122025_10_38_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/16/966cee5fe3232ddd01a7cd5068243759.jpg","text":"TemporaryFile(/tmp/multipartBody3930023209584981326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878303261,"filename":"image_16122025_10_38_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/16/62879c326297933e3086a3d7150950df.jpg","text":"TemporaryFile(/tmp/multipartBody2429899373227257541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878303261,"filename":"image_16122025_10_39_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/16/b808b3e29c78956adba48649f1ddb02d.jpg","text":"TemporaryFile(/tmp/multipartBody1523115770780829158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878303261,"filename":"image_16122025_10_39_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5765de983662b0ecdf136d45041f6ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3589520542740010852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878303261,"filename":"image_16122025_10_38_45_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d1eada6d08ea4518ad69cef0149556b.jpg","text":"TemporaryFile(/tmp/multipartBody7360423479707007465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878303261,"filename":"image_16122025_10_39_05_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623681","file1":"1399623680","file0":"1399623679","file4":"1399623684","file5":"1399623686","file3":"1399623683"},"map_files_photo_id_array":[{"photo_id":"1399623686","filename":"file5"},{"photo_id":"1399623681","filename":"file2"},{"photo_id":"1399623684","filename":"file4"},{"photo_id":"1399623680","filename":"file1"},{"photo_id":"1399623679","filename":"file0"},{"photo_id":"1399623683","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623679":["hashtag1","hashtag2"]},{"1399623681":["hashtag1","hashtag2"]},{"1399623684":["hashtag1","hashtag2"]},{"1399623686":["hashtag1","hashtag2"]},{"1399623680":["hashtag1","hashtag2"]},{"1399623683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623679, 1399623681, 1399623684, 1399623686, 1399623680, 1399623683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72146439552307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:44:41.905115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_44_1686.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_45_1833.jpg', '/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_47_1678.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_13_25563.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_14_1823.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_27_12855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_44_1686.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_45_1833.jpg
/home/pi/Desktop/images/06112025/15/54/image_06112025_15_54_47_1678.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_13_25563.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_14_1823.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_27_12855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623707","1399623706","1399623708","1399623692","1399623705","1399623704"],"photo_ids_order":["1399623692","1399623704","1399623705","1399623706","1399623707","1399623708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0aed42dac8e45e8b4d02041b8a4f7ac9.jpg","text":"TemporaryFile(/tmp/multipartBody1139824524852606619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878342487,"filename":"image_06112025_15_55_14_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/393c518f50731d064940759b98a0b52f.jpg","text":"TemporaryFile(/tmp/multipartBody5645642763437027177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878342487,"filename":"image_06112025_15_55_13_25563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d8a351ea9007cbfe04d34f0577fa524.jpg","text":"TemporaryFile(/tmp/multipartBody8140264204019206217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878342487,"filename":"image_06112025_15_55_27_12855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73c0a38179fea09d5b0950df2ff56ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3204300488465991533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878342487,"filename":"image_06112025_15_54_44_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/16/a79faaac7092badd6529e14fa67abc26.jpg","text":"TemporaryFile(/tmp/multipartBody3760017485889612421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878342487,"filename":"image_06112025_15_54_47_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c0abfef3fcc489540024b3580ed2045.jpg","text":"TemporaryFile(/tmp/multipartBody4489920613888071695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878342487,"filename":"image_06112025_15_54_45_1833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623705","file1":"1399623704","file0":"1399623692","file4":"1399623707","file5":"1399623708","file3":"1399623706"},"map_files_photo_id_array":[{"photo_id":"1399623708","filename":"file5"},{"photo_id":"1399623705","filename":"file2"},{"photo_id":"1399623707","filename":"file4"},{"photo_id":"1399623704","filename":"file1"},{"photo_id":"1399623692","filename":"file0"},{"photo_id":"1399623706","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399623707":["hashtag1","hashtag2"]},{"1399623706":["hashtag1","hashtag2"]},{"1399623708":["hashtag1","hashtag2"]},{"1399623692":["hashtag1","hashtag2"]},{"1399623705":["hashtag1","hashtag2"]},{"1399623704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399623707, 1399623706, 1399623708, 1399623692, 1399623705, 1399623704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00746250152588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:45:22.178440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_35_10709.jpg', '/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_45_9732.jpg', '/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_54_9728.jpg', '/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_15_10053.jpg', '/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_25_10579.jpg', '/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_35_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_35_10709.jpg
/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_45_9732.jpg
/home/pi/Desktop/images/16122025/10/39/image_16122025_10_39_54_9728.jpg
/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_15_10053.jpg
/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_25_10579.jpg
/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_35_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623715","1399623709","1399623712","1399623714","1399623717","1399623722"],"photo_ids_order":["1399623709","1399623712","1399623714","1399623715","1399623717","1399623722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/977bf246f0f415d64ed3241188669ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4154908285111705565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878382799,"filename":"image_16122025_10_40_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/16/52ed6bef1903745e435d0fbdc181d739.jpg","text":"TemporaryFile(/tmp/multipartBody9101090079691087137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878382799,"filename":"image_16122025_10_39_35_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73c5da4aa9e94ae08cc64ad022dd427f.jpg","text":"TemporaryFile(/tmp/multipartBody8394560287697096821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878382799,"filename":"image_16122025_10_39_45_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1a84e00de87ecfa68dc1f23d9848587.jpg","text":"TemporaryFile(/tmp/multipartBody5775819252703550233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878382799,"filename":"image_16122025_10_39_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/16/f078095ad98ed839e7d5df09eb29dfc5.jpg","text":"TemporaryFile(/tmp/multipartBody4496348231617617294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878382799,"filename":"image_16122025_10_40_25_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3e84fc8617caeaf1d933751ebf3e265.jpg","text":"TemporaryFile(/tmp/multipartBody2809637888093162645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878382799,"filename":"image_16122025_10_40_35_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623714","file1":"1399623712","file0":"1399623709","file4":"1399623717","file5":"1399623722","file3":"1399623715"},"map_files_photo_id_array":[{"photo_id":"1399623722","filename":"file5"},{"photo_id":"1399623714","filename":"file2"},{"photo_id":"1399623717","filename":"file4"},{"photo_id":"1399623712","filename":"file1"},{"photo_id":"1399623709","filename":"file0"},{"photo_id":"1399623715","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623715":["hashtag1","hashtag2"]},{"1399623709":["hashtag1","hashtag2"]},{"1399623712":["hashtag1","hashtag2"]},{"1399623714":["hashtag1","hashtag2"]},{"1399623717":["hashtag1","hashtag2"]},{"1399623722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623715, 1399623709, 1399623712, 1399623714, 1399623717, 1399623722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.643657207489014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:46:02.844586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_46_10568.jpg', '/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_55_9680.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_05_9604.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_16_10697.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_25_9594.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_35_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_46_10568.jpg
/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_55_9680.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_05_9604.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_16_10697.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_25_9594.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_35_9756.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5874714851379395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 10:46:12.422588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:46:22.503650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_46_10568.jpg', '/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_55_9680.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_05_9604.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_16_10697.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_25_9594.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_35_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_46_10568.jpg
/home/pi/Desktop/images/16122025/10/40/image_16122025_10_40_55_9680.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_05_9604.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_16_10697.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_25_9594.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_35_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623734","1399623728","1399623736","1399623739","1399623730","1399623732"],"photo_ids_order":["1399623728","1399623730","1399623732","1399623734","1399623736","1399623739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07a0c59468b93c570385d2f0a404cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody6040775852733457847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878443226,"filename":"image_16122025_10_41_16_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec275c1a090acfe4bdde7b6e46fbb9cf.jpg","text":"TemporaryFile(/tmp/multipartBody5649100739568103807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878443226,"filename":"image_16122025_10_40_46_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/16/9cb9f65222250f49fb0ed34539afa11e.jpg","text":"TemporaryFile(/tmp/multipartBody2192980771806031034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878443226,"filename":"image_16122025_10_41_25_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/16/0215f24fcb56776fa4f94a2c5887fa64.jpg","text":"TemporaryFile(/tmp/multipartBody4500889980497362964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878443226,"filename":"image_16122025_10_41_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/16/8e59dda3b6b12e010610efa9a361c7c4.jpg","text":"TemporaryFile(/tmp/multipartBody393978790353935879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878443226,"filename":"image_16122025_10_40_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/16/ef5288391fa4249fd2ce05c6e7888588.jpg","text":"TemporaryFile(/tmp/multipartBody6551425076194617727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878443226,"filename":"image_16122025_10_41_05_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623732","file1":"1399623730","file0":"1399623728","file4":"1399623736","file5":"1399623739","file3":"1399623734"},"map_files_photo_id_array":[{"photo_id":"1399623739","filename":"file5"},{"photo_id":"1399623732","filename":"file2"},{"photo_id":"1399623736","filename":"file4"},{"photo_id":"1399623730","filename":"file1"},{"photo_id":"1399623728","filename":"file0"},{"photo_id":"1399623734","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623734":["hashtag1","hashtag2"]},{"1399623728":["hashtag1","hashtag2"]},{"1399623736":["hashtag1","hashtag2"]},{"1399623739":["hashtag1","hashtag2"]},{"1399623730":["hashtag1","hashtag2"]},{"1399623732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623734, 1399623728, 1399623736, 1399623739, 1399623730, 1399623732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22977352142334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:47:03.295576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_46_10679.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_55_9652.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_42_05_9900.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_15_9698.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_25_10549.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_35_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_46_10679.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_55_9652.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_42_05_9900.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_15_9698.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_25_10549.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_35_9676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5018656253814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 10:47:12.655101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:47:22.712430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_46_10679.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_55_9652.jpg', '/home/pi/Desktop/images/16122025/10/41/image_16122025_10_42_05_9900.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_15_9698.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_25_10549.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_35_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_46_10679.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_41_55_9652.jpg
/home/pi/Desktop/images/16122025/10/41/image_16122025_10_42_05_9900.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_15_9698.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_25_10549.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_35_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623766","1399623754","1399623748","1399623756","1399623750","1399623752"],"photo_ids_order":["1399623748","1399623750","1399623752","1399623754","1399623756","1399623766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/482567b48bbfe8505449d0002159a41f.jpg","text":"TemporaryFile(/tmp/multipartBody8437069176089765419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878503307,"filename":"image_16122025_10_42_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/16/7f83b9d40199b077046ecebc0fcba70f.jpg","text":"TemporaryFile(/tmp/multipartBody4880845520152034844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878503307,"filename":"image_16122025_10_42_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/16/dfb3abd3c6d95660ca0a3c353d99252a.jpg","text":"TemporaryFile(/tmp/multipartBody8196655507225167858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878503307,"filename":"image_16122025_10_41_46_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bbd921f2a0a816a87731f43c8971c9c0.jpg","text":"TemporaryFile(/tmp/multipartBody2456251243494745129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878503307,"filename":"image_16122025_10_42_25_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b66519488b5d84c3853e4389ac78d2d7.jpg","text":"TemporaryFile(/tmp/multipartBody4028628643249696456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878503307,"filename":"image_16122025_10_41_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/16/617b4dab98295edef5a5298d77186cba.jpg","text":"TemporaryFile(/tmp/multipartBody4204837071119366530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878503307,"filename":"image_16122025_10_42_05_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623752","file1":"1399623750","file0":"1399623748","file4":"1399623756","file5":"1399623766","file3":"1399623754"},"map_files_photo_id_array":[{"photo_id":"1399623766","filename":"file5"},{"photo_id":"1399623752","filename":"file2"},{"photo_id":"1399623756","filename":"file4"},{"photo_id":"1399623750","filename":"file1"},{"photo_id":"1399623748","filename":"file0"},{"photo_id":"1399623754","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623766":["hashtag1","hashtag2"]},{"1399623754":["hashtag1","hashtag2"]},{"1399623748":["hashtag1","hashtag2"]},{"1399623756":["hashtag1","hashtag2"]},{"1399623750":["hashtag1","hashtag2"]},{"1399623752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623766, 1399623754, 1399623748, 1399623756, 1399623750, 1399623752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72439527511597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:48:02.334394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_45_9704.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_56_10715.jpg', '/home/pi/Desktop/images/16122025/10/42/image_16122025_10_43_05_9562.jpg', '/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_16_10656.jpg', '/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_26_9733.jpg', '/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_35_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_45_9704.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_42_56_10715.jpg
/home/pi/Desktop/images/16122025/10/42/image_16122025_10_43_05_9562.jpg
/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_16_10656.jpg
/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_26_9733.jpg
/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_35_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623772","1399623774","1399623771","1399623773","1399623776","1399623770"],"photo_ids_order":["1399623770","1399623771","1399623772","1399623773","1399623774","1399623776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42ca32963acdadcc2ef757f535e3c7ac.jpg","text":"TemporaryFile(/tmp/multipartBody2159624684115196986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878542947,"filename":"image_16122025_10_43_05_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/941a4766f34f1a7799a26068ddbcbae8.jpg","text":"TemporaryFile(/tmp/multipartBody8918478325100185853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878542947,"filename":"image_16122025_10_43_26_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/16/bbc58fad340f507853b740a0c291fc0c.jpg","text":"TemporaryFile(/tmp/multipartBody5010996157715876525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878542947,"filename":"image_16122025_10_42_56_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/16/2bbbc7aae81ef6383a45d2aa6f070559.jpg","text":"TemporaryFile(/tmp/multipartBody4380185486366309445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878542947,"filename":"image_16122025_10_43_16_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/16/8a73e7a71b18021e23289a66a3ea79d2.jpg","text":"TemporaryFile(/tmp/multipartBody9077650492778100652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878542947,"filename":"image_16122025_10_43_35_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/16/9fc4abc8094081e23278aeaf7abef3d8.jpg","text":"TemporaryFile(/tmp/multipartBody5840385649937592871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878542947,"filename":"image_16122025_10_42_45_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623772","file1":"1399623771","file0":"1399623770","file4":"1399623774","file5":"1399623776","file3":"1399623773"},"map_files_photo_id_array":[{"photo_id":"1399623776","filename":"file5"},{"photo_id":"1399623772","filename":"file2"},{"photo_id":"1399623774","filename":"file4"},{"photo_id":"1399623771","filename":"file1"},{"photo_id":"1399623770","filename":"file0"},{"photo_id":"1399623773","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623772":["hashtag1","hashtag2"]},{"1399623774":["hashtag1","hashtag2"]},{"1399623771":["hashtag1","hashtag2"]},{"1399623773":["hashtag1","hashtag2"]},{"1399623776":["hashtag1","hashtag2"]},{"1399623770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623772, 1399623774, 1399623771, 1399623773, 1399623776, 1399623770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50084090232849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:48:41.893757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_29_1665.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_30_1553.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_32_1534.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_34_1574.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_35_1865.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_42_6597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_29_1665.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_30_1553.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_32_1534.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_34_1574.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_35_1865.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_42_6597.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6072368621826172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:49:02.934636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_46_10599.jpg', '/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_55_9714.jpg', '/home/pi/Desktop/images/16122025/10/43/image_16122025_10_44_05_9691.jpg', '/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_16_10718.jpg', '/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_25_9549.jpg', '/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_35_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_46_10599.jpg
/home/pi/Desktop/images/16122025/10/43/image_16122025_10_43_55_9714.jpg
/home/pi/Desktop/images/16122025/10/43/image_16122025_10_44_05_9691.jpg
/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_16_10718.jpg
/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_25_9549.jpg
/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_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":["1399623796","1399623793","1399623795","1399623798","1399623797","1399623801"],"photo_ids_order":["1399623793","1399623795","1399623796","1399623797","1399623798","1399623801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b71591e3e317dd5a0ac777cbf1e55e64.jpg","text":"TemporaryFile(/tmp/multipartBody1323012469357708800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878603779,"filename":"image_16122025_10_44_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8dfd023c90cd2b9ccf99e0cd1d83fc7c.jpg","text":"TemporaryFile(/tmp/multipartBody7281609483127007940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878603779,"filename":"image_16122025_10_43_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/16/8a5f6f3ae789adb97fe841201d3c8c2d.jpg","text":"TemporaryFile(/tmp/multipartBody9137967569228932254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878603779,"filename":"image_16122025_10_43_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/16/599e96dd1c96567f0a4b2b4d1927ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody2120259446066901788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878603779,"filename":"image_16122025_10_44_25_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/16/be8848c17f32635dd5eccf834eb6c215.jpg","text":"TemporaryFile(/tmp/multipartBody2497238861635221796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878603779,"filename":"image_16122025_10_44_16_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/16/5e67783430138ee5e934d35cb311544d.jpg","text":"TemporaryFile(/tmp/multipartBody3555580423025633242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878603779,"filename":"image_16122025_10_44_35_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623796","file1":"1399623795","file0":"1399623793","file4":"1399623798","file5":"1399623801","file3":"1399623797"},"map_files_photo_id_array":[{"photo_id":"1399623801","filename":"file5"},{"photo_id":"1399623796","filename":"file2"},{"photo_id":"1399623798","filename":"file4"},{"photo_id":"1399623795","filename":"file1"},{"photo_id":"1399623793","filename":"file0"},{"photo_id":"1399623797","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623796":["hashtag1","hashtag2"]},{"1399623793":["hashtag1","hashtag2"]},{"1399623795":["hashtag1","hashtag2"]},{"1399623798":["hashtag1","hashtag2"]},{"1399623797":["hashtag1","hashtag2"]},{"1399623801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623796, 1399623793, 1399623795, 1399623798, 1399623797, 1399623801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91551375389099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:49:42.140713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_29_1665.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_30_1553.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_32_1534.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_34_1574.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_35_1865.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_42_6597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_29_1665.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_30_1553.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_32_1534.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_34_1574.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_35_1865.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_42_6597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623809","1399623811","1399623805","1399623810","1399623813","1399623807"],"photo_ids_order":["1399623805","1399623807","1399623809","1399623810","1399623811","1399623813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac30fe983d6b2533b97f5cdeb776db6f.jpg","text":"TemporaryFile(/tmp/multipartBody3410332587247729688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878642712,"filename":"image_06112025_15_55_32_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53fc08bd5023b7b621d0b1e07fb34fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1202515719985953789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878642712,"filename":"image_06112025_15_55_35_1865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/728f24963290161954d32390f6670b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6050582735089709233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878642712,"filename":"image_06112025_15_55_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/16/5906e3a0d92bd010a78e003a918a6cf0.jpg","text":"TemporaryFile(/tmp/multipartBody2929138235717465839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878642712,"filename":"image_06112025_15_55_34_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb849591eef3a941c4036769d4e46cd4.jpg","text":"TemporaryFile(/tmp/multipartBody1851893432059416515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878642712,"filename":"image_06112025_15_55_42_6597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b86a758f5f4576f05773291e7e64b2d6.jpg","text":"TemporaryFile(/tmp/multipartBody2199493504051389571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878642712,"filename":"image_06112025_15_55_30_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623809","file1":"1399623807","file0":"1399623805","file4":"1399623811","file5":"1399623813","file3":"1399623810"},"map_files_photo_id_array":[{"photo_id":"1399623813","filename":"file5"},{"photo_id":"1399623809","filename":"file2"},{"photo_id":"1399623811","filename":"file4"},{"photo_id":"1399623807","filename":"file1"},{"photo_id":"1399623805","filename":"file0"},{"photo_id":"1399623810","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399623809":["hashtag1","hashtag2"]},{"1399623811":["hashtag1","hashtag2"]},{"1399623805":["hashtag1","hashtag2"]},{"1399623810":["hashtag1","hashtag2"]},{"1399623813":["hashtag1","hashtag2"]},{"1399623807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399623809, 1399623811, 1399623805, 1399623810, 1399623813, 1399623807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07145643234253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:50:22.307032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_46_10658.jpg', '/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_55_9722.jpg', '/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_14_10056.jpg', '/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_24_10713.jpg', '/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_34_9675.jpg', '/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_44_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_46_10658.jpg
/home/pi/Desktop/images/16122025/10/44/image_16122025_10_44_55_9722.jpg
/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_14_10056.jpg
/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_24_10713.jpg
/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_34_9675.jpg
/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_44_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623823","1399623817","1399623825","1399623819","1399623828","1399623821"],"photo_ids_order":["1399623817","1399623819","1399623821","1399623823","1399623825","1399623828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c2f4c80970308d727b58d9739bc74cf.jpg","text":"TemporaryFile(/tmp/multipartBody3821942795381070766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878682878,"filename":"image_16122025_10_45_24_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/16/115d25fb94d93da39973ba278fcf09a1.jpg","text":"TemporaryFile(/tmp/multipartBody4967142919335185344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878682878,"filename":"image_16122025_10_44_46_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50b89346baa1a8dbc3ba99c8abc849e6.jpg","text":"TemporaryFile(/tmp/multipartBody5140462640978561296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878682878,"filename":"image_16122025_10_45_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/16/9951d63fc4f4a9dcca86fa010acf0a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8277806857492022937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878682878,"filename":"image_16122025_10_44_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/327eebf3618e174f8079571c3c7bb4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6387076506404079306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878682878,"filename":"image_16122025_10_45_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/16/82c4b577a4db8445f04d14ebf2c70d14.jpg","text":"TemporaryFile(/tmp/multipartBody4895560923269191732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878682878,"filename":"image_16122025_10_45_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623821","file1":"1399623819","file0":"1399623817","file4":"1399623825","file5":"1399623828","file3":"1399623823"},"map_files_photo_id_array":[{"photo_id":"1399623828","filename":"file5"},{"photo_id":"1399623821","filename":"file2"},{"photo_id":"1399623825","filename":"file4"},{"photo_id":"1399623819","filename":"file1"},{"photo_id":"1399623817","filename":"file0"},{"photo_id":"1399623823","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623823":["hashtag1","hashtag2"]},{"1399623817":["hashtag1","hashtag2"]},{"1399623825":["hashtag1","hashtag2"]},{"1399623819":["hashtag1","hashtag2"]},{"1399623828":["hashtag1","hashtag2"]},{"1399623821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623823, 1399623817, 1399623825, 1399623819, 1399623828, 1399623821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21253442764282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:51:03.326292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_55_10774.jpg', '/home/pi/Desktop/images/16122025/10/45/image_16122025_10_46_04_9636.jpg', '/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_14_9683.jpg', '/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_24_10616.jpg', '/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_34_9594.jpg', '/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_44_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/45/image_16122025_10_45_55_10774.jpg
/home/pi/Desktop/images/16122025/10/45/image_16122025_10_46_04_9636.jpg
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_14_9683.jpg
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_24_10616.jpg
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_34_9594.jpg
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_44_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623832","1399623829","1399623831","1399623834","1399623836","1399623830"],"photo_ids_order":["1399623829","1399623830","1399623831","1399623832","1399623834","1399623836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e429136c861eaea5c86fe65384b5da38.jpg","text":"TemporaryFile(/tmp/multipartBody3387910861901245686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878723992,"filename":"image_16122025_10_46_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/16/02acfa579579d986831d608032a4386e.jpg","text":"TemporaryFile(/tmp/multipartBody1897729086409221589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878723992,"filename":"image_16122025_10_45_55_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76b011b6f73fb22156697cc98d166351.jpg","text":"TemporaryFile(/tmp/multipartBody2909475184232551895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878723992,"filename":"image_16122025_10_46_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f7129112a3d5553044b272caa3ceff4.jpg","text":"TemporaryFile(/tmp/multipartBody3519844559696407843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878723992,"filename":"image_16122025_10_46_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89729edd583eaa683bec2fd44cd3ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody3183053332202097838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878723992,"filename":"image_16122025_10_46_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/16/421769f52ac54e43418e8ec5530b2dbb.jpg","text":"TemporaryFile(/tmp/multipartBody1016541122851044420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878723992,"filename":"image_16122025_10_46_04_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623831","file1":"1399623830","file0":"1399623829","file4":"1399623834","file5":"1399623836","file3":"1399623832"},"map_files_photo_id_array":[{"photo_id":"1399623836","filename":"file5"},{"photo_id":"1399623831","filename":"file2"},{"photo_id":"1399623834","filename":"file4"},{"photo_id":"1399623830","filename":"file1"},{"photo_id":"1399623829","filename":"file0"},{"photo_id":"1399623832","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623832":["hashtag1","hashtag2"]},{"1399623829":["hashtag1","hashtag2"]},{"1399623831":["hashtag1","hashtag2"]},{"1399623834":["hashtag1","hashtag2"]},{"1399623836":["hashtag1","hashtag2"]},{"1399623830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623832, 1399623829, 1399623831, 1399623834, 1399623836, 1399623830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46393370628357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:51:42.612748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_44_1668.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_45_1556.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_47_1607.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_49_1667.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_50_1646.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_52_1585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_44_1668.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_45_1556.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_47_1607.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_49_1667.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_50_1646.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_52_1585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623844","1399623847","1399623841","1399623846","1399623848","1399623845"],"photo_ids_order":["1399623841","1399623844","1399623845","1399623846","1399623847","1399623848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/670af30644256c20bd6bd667cd375696.jpg","text":"TemporaryFile(/tmp/multipartBody4464510150256690079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878763293,"filename":"image_06112025_15_55_45_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/16/3300229c2067237bde0d01c7e634c92a.jpg","text":"TemporaryFile(/tmp/multipartBody4783669585998538076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878763293,"filename":"image_06112025_15_55_50_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/16/f7abc51599b8f6c2a31080a1b38bc402.jpg","text":"TemporaryFile(/tmp/multipartBody60121855304958679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878763293,"filename":"image_06112025_15_55_44_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/16/499a6b41fe01571bc9f07431110afefb.jpg","text":"TemporaryFile(/tmp/multipartBody1384413927723640843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878763293,"filename":"image_06112025_15_55_49_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/16/bc31ca41d766bdfd85329bf37f6f54b7.jpg","text":"TemporaryFile(/tmp/multipartBody6224800277460141715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878763293,"filename":"image_06112025_15_55_52_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/16/a0ca41adba4bd88860b6f547ec2aaa96.jpg","text":"TemporaryFile(/tmp/multipartBody2970143659599407619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878763293,"filename":"image_06112025_15_55_47_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623845","file1":"1399623844","file0":"1399623841","file4":"1399623847","file5":"1399623848","file3":"1399623846"},"map_files_photo_id_array":[{"photo_id":"1399623848","filename":"file5"},{"photo_id":"1399623845","filename":"file2"},{"photo_id":"1399623847","filename":"file4"},{"photo_id":"1399623844","filename":"file1"},{"photo_id":"1399623841","filename":"file0"},{"photo_id":"1399623846","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399623844":["hashtag1","hashtag2"]},{"1399623847":["hashtag1","hashtag2"]},{"1399623841":["hashtag1","hashtag2"]},{"1399623846":["hashtag1","hashtag2"]},{"1399623848":["hashtag1","hashtag2"]},{"1399623845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399623844, 1399623847, 1399623841, 1399623846, 1399623848, 1399623845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56369996070862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:52:21.854897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_54_10639.jpg', '/home/pi/Desktop/images/16122025/10/46/image_16122025_10_47_04_9747.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_14_9769.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_24_9834.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_34_10674.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_54_10639.jpg
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_47_04_9747.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_14_9769.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_24_9834.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_34_10674.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_44_9651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5300161838531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 10:52:31.945206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:52:41.861931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_53_1581.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_55_1628.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_57_1576.jpg', '/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_58_1532.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_08_9555.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_22_14641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_53_1581.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_55_1628.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_57_1576.jpg
/home/pi/Desktop/images/06112025/15/55/image_06112025_15_55_58_1532.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_08_9555.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_22_14641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623862","1399623865","1399623859","1399623864","1399623866","1399623863"],"photo_ids_order":["1399623859","1399623862","1399623863","1399623864","1399623865","1399623866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aeeceb5262dcbee66d8f3bd24ba8e9fa.jpg","text":"TemporaryFile(/tmp/multipartBody6036636494279195943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878822575,"filename":"image_06112025_15_55_55_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/16/f7d3c0526dc5265349381f91ad14f97d.jpg","text":"TemporaryFile(/tmp/multipartBody4085819599100621117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878822575,"filename":"image_06112025_15_56_08_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/16/70181b55ab50b9432e3a0c23ed0cbd51.jpg","text":"TemporaryFile(/tmp/multipartBody1077165270929278824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878822575,"filename":"image_06112025_15_55_53_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/16/951060ae95dc49adb1b4114330909048.jpg","text":"TemporaryFile(/tmp/multipartBody8366966550853879807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878822575,"filename":"image_06112025_15_55_58_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/16/f9c40284f68441964cddcb0122a8ba7f.jpg","text":"TemporaryFile(/tmp/multipartBody6896218048242623890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878822575,"filename":"image_06112025_15_56_22_14641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a4257e422a5ddc04fda043c91bd817f.jpg","text":"TemporaryFile(/tmp/multipartBody4976252327184995242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878822575,"filename":"image_06112025_15_55_57_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623863","file1":"1399623862","file0":"1399623859","file4":"1399623865","file5":"1399623866","file3":"1399623864"},"map_files_photo_id_array":[{"photo_id":"1399623866","filename":"file5"},{"photo_id":"1399623863","filename":"file2"},{"photo_id":"1399623865","filename":"file4"},{"photo_id":"1399623862","filename":"file1"},{"photo_id":"1399623859","filename":"file0"},{"photo_id":"1399623864","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399623862":["hashtag1","hashtag2"]},{"1399623865":["hashtag1","hashtag2"]},{"1399623859":["hashtag1","hashtag2"]},{"1399623864":["hashtag1","hashtag2"]},{"1399623866":["hashtag1","hashtag2"]},{"1399623863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399623862, 1399623865, 1399623859, 1399623864, 1399623866, 1399623863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.176013231277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:53:22.109115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_54_10639.jpg', '/home/pi/Desktop/images/16122025/10/46/image_16122025_10_47_04_9747.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_14_9769.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_24_9834.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_34_10674.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_46_54_10639.jpg
/home/pi/Desktop/images/16122025/10/46/image_16122025_10_47_04_9747.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_14_9769.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_24_9834.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_34_10674.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_44_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623874","1399623868","1399623870","1399623867","1399623878","1399623872"],"photo_ids_order":["1399623867","1399623868","1399623870","1399623872","1399623874","1399623878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04619791a0f808381dec679c1aadabc9.jpg","text":"TemporaryFile(/tmp/multipartBody7578352844841980977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878862720,"filename":"image_16122025_10_47_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/16/e2bbbeca930cc108fc1f04ed6dac8d04.jpg","text":"TemporaryFile(/tmp/multipartBody4654530970593302893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878862720,"filename":"image_16122025_10_47_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/16/7cc01c5214ca77bb0a7e0b471a0a8d86.jpg","text":"TemporaryFile(/tmp/multipartBody5146593570352586828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878862720,"filename":"image_16122025_10_47_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc539cd64b763683819e6984312e40ab.jpg","text":"TemporaryFile(/tmp/multipartBody144378406729604110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878862720,"filename":"image_16122025_10_46_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/560af0d025007e1cc819db22515e23cf.jpg","text":"TemporaryFile(/tmp/multipartBody8288082856015216022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878862720,"filename":"image_16122025_10_47_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/16/5e46f1ea834b4a1d767ff0c2e21ce033.jpg","text":"TemporaryFile(/tmp/multipartBody4248077680277346540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878862720,"filename":"image_16122025_10_47_24_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623870","file1":"1399623868","file0":"1399623867","file4":"1399623874","file5":"1399623878","file3":"1399623872"},"map_files_photo_id_array":[{"photo_id":"1399623878","filename":"file5"},{"photo_id":"1399623870","filename":"file2"},{"photo_id":"1399623874","filename":"file4"},{"photo_id":"1399623868","filename":"file1"},{"photo_id":"1399623867","filename":"file0"},{"photo_id":"1399623872","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623874":["hashtag1","hashtag2"]},{"1399623868":["hashtag1","hashtag2"]},{"1399623870":["hashtag1","hashtag2"]},{"1399623867":["hashtag1","hashtag2"]},{"1399623878":["hashtag1","hashtag2"]},{"1399623872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623874, 1399623868, 1399623870, 1399623867, 1399623878, 1399623872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57223582267761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:54:03.121074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_54_9746.jpg', '/home/pi/Desktop/images/16122025/10/47/image_16122025_10_48_05_10634.jpg', '/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_14_9680.jpg', '/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_24_9617.jpg', '/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_34_10661.jpg', '/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_44_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_47_54_9746.jpg
/home/pi/Desktop/images/16122025/10/47/image_16122025_10_48_05_10634.jpg
/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_14_9680.jpg
/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_24_9617.jpg
/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_34_10661.jpg
/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_44_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623889","1399623892","1399623891","1399623894","1399623885","1399623896"],"photo_ids_order":["1399623885","1399623889","1399623891","1399623892","1399623894","1399623896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a52dac95f99a6fffa686f75311155755.jpg","text":"TemporaryFile(/tmp/multipartBody2621865845772681272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878903812,"filename":"image_16122025_10_48_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/16/a6428f5e9305d9a1e56a3d79962fb036.jpg","text":"TemporaryFile(/tmp/multipartBody882450153545526505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878903812,"filename":"image_16122025_10_48_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae33270ce1eabdd7d3fc82818daa79ea.jpg","text":"TemporaryFile(/tmp/multipartBody2785577432676058760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878903812,"filename":"image_16122025_10_48_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/16/4c590bec05146868c8b13041c1d56b37.jpg","text":"TemporaryFile(/tmp/multipartBody5974829147820180347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878903812,"filename":"image_16122025_10_48_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/16/3a551f0afed3078d17b9d77ade6f2e11.jpg","text":"TemporaryFile(/tmp/multipartBody5718467923440456718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878903812,"filename":"image_16122025_10_47_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/13a3bc8aa1f11f5b96a18e154e475c80.jpg","text":"TemporaryFile(/tmp/multipartBody676559646138806224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878903812,"filename":"image_16122025_10_48_44_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623891","file1":"1399623889","file0":"1399623885","file4":"1399623894","file5":"1399623896","file3":"1399623892"},"map_files_photo_id_array":[{"photo_id":"1399623896","filename":"file5"},{"photo_id":"1399623891","filename":"file2"},{"photo_id":"1399623894","filename":"file4"},{"photo_id":"1399623889","filename":"file1"},{"photo_id":"1399623885","filename":"file0"},{"photo_id":"1399623892","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623889":["hashtag1","hashtag2"]},{"1399623892":["hashtag1","hashtag2"]},{"1399623891":["hashtag1","hashtag2"]},{"1399623894":["hashtag1","hashtag2"]},{"1399623885":["hashtag1","hashtag2"]},{"1399623896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623889, 1399623892, 1399623891, 1399623894, 1399623885, 1399623896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.449031591415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:54:42.438991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_25_3148.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_27_1626.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_37_10101.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_40_3118.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_42_1566.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_25_3148.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_27_1626.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_37_10101.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_40_3118.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_42_1566.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_07_3011.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5755908489227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:55:03.286860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 10:55:12.618159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:55:22.697789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_54_9783.jpg', '/home/pi/Desktop/images/16122025/10/48/image_16122025_10_49_05_10665.jpg', '/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_14_9625.jpg', '/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_24_9857.jpg', '/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_34_9715.jpg', '/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_44_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/48/image_16122025_10_48_54_9783.jpg
/home/pi/Desktop/images/16122025/10/48/image_16122025_10_49_05_10665.jpg
/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_14_9625.jpg
/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_24_9857.jpg
/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_34_9715.jpg
/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_44_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623922","1399623924","1399623918","1399623927","1399623915","1399623920"],"photo_ids_order":["1399623915","1399623918","1399623920","1399623922","1399623924","1399623927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2c09a959c81058490f51861f983b64aa.jpg","text":"TemporaryFile(/tmp/multipartBody1657487542031485480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878983270,"filename":"image_16122025_10_49_24_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee92eac4ad1efa7a79b3d1631b630455.jpg","text":"TemporaryFile(/tmp/multipartBody4692842911787795646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878983270,"filename":"image_16122025_10_49_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/16/48c4e2b7b4e02b0bce310fb689811277.jpg","text":"TemporaryFile(/tmp/multipartBody3260700930133433697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878983270,"filename":"image_16122025_10_49_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/047d06f11229b1c1976737df2b356a35.jpg","text":"TemporaryFile(/tmp/multipartBody1233939072043588034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878983270,"filename":"image_16122025_10_49_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/16/0b7651aba026a4e19f71159e2a99ec0a.jpg","text":"TemporaryFile(/tmp/multipartBody8886449702855544278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878983270,"filename":"image_16122025_10_48_54_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22da3c2c40baa77d7f20ec256b43ad20.jpg","text":"TemporaryFile(/tmp/multipartBody2428552109590418404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765878983270,"filename":"image_16122025_10_49_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623920","file1":"1399623918","file0":"1399623915","file4":"1399623924","file5":"1399623927","file3":"1399623922"},"map_files_photo_id_array":[{"photo_id":"1399623927","filename":"file5"},{"photo_id":"1399623920","filename":"file2"},{"photo_id":"1399623924","filename":"file4"},{"photo_id":"1399623918","filename":"file1"},{"photo_id":"1399623915","filename":"file0"},{"photo_id":"1399623922","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623922":["hashtag1","hashtag2"]},{"1399623924":["hashtag1","hashtag2"]},{"1399623918":["hashtag1","hashtag2"]},{"1399623927":["hashtag1","hashtag2"]},{"1399623915":["hashtag1","hashtag2"]},{"1399623920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623922, 1399623924, 1399623918, 1399623927, 1399623915, 1399623920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80730199813843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:56:02.437493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_54_9541.jpg', '/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_14_10041.jpg', '/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_24_10640.jpg', '/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_34_9655.jpg', '/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_45_10664.jpg', '/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/49/image_16122025_10_49_54_9541.jpg
/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_14_10041.jpg
/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_24_10640.jpg
/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_34_9655.jpg
/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_45_10664.jpg
/home/pi/Desktop/images/16122025/10/51/image_16122025_10_51_54_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":["1399623932","1399623931","1399623934","1399623936","1399623930","1399623933"],"photo_ids_order":["1399623930","1399623931","1399623932","1399623933","1399623934","1399623936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d10c9a2605715fca7eae18fd25e5276c.jpg","text":"TemporaryFile(/tmp/multipartBody6932806080665446359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879023084,"filename":"image_16122025_10_51_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/16/cd6caf7126b19fbf7edecdbedc227cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7316824248505155671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879023084,"filename":"image_16122025_10_51_14_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57acf174462fe0879b9a20595bada2b2.jpg","text":"TemporaryFile(/tmp/multipartBody9039589664201969035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879023084,"filename":"image_16122025_10_51_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/babf9a8dae8bc7350d2d5dcbafd49d77.jpg","text":"TemporaryFile(/tmp/multipartBody1936742443490041047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879023084,"filename":"image_16122025_10_51_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b284576615172687688d3420fa85482.jpg","text":"TemporaryFile(/tmp/multipartBody6255461722318243616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879023084,"filename":"image_16122025_10_49_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/16/23c3fbcdc44321433470eb32f8812ede.jpg","text":"TemporaryFile(/tmp/multipartBody6734804095687175125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879023084,"filename":"image_16122025_10_51_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623932","file1":"1399623931","file0":"1399623930","file4":"1399623934","file5":"1399623936","file3":"1399623933"},"map_files_photo_id_array":[{"photo_id":"1399623936","filename":"file5"},{"photo_id":"1399623932","filename":"file2"},{"photo_id":"1399623934","filename":"file4"},{"photo_id":"1399623931","filename":"file1"},{"photo_id":"1399623930","filename":"file0"},{"photo_id":"1399623933","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623932":["hashtag1","hashtag2"]},{"1399623931":["hashtag1","hashtag2"]},{"1399623934":["hashtag1","hashtag2"]},{"1399623936":["hashtag1","hashtag2"]},{"1399623930":["hashtag1","hashtag2"]},{"1399623933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623932, 1399623931, 1399623934, 1399623936, 1399623930, 1399623933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.385629177093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:56:41.889385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_25_3148.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_27_1626.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_37_10101.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_40_3118.jpg', '/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_42_1566.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_25_3148.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_27_1626.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_37_10101.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_40_3118.jpg
/home/pi/Desktop/images/06112025/15/56/image_06112025_15_56_42_1566.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623946","1399623945","1399623948","1399623947","1399623941","1399623944"],"photo_ids_order":["1399623941","1399623944","1399623945","1399623946","1399623947","1399623948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1e542cab3893d412db96f389d911fda.jpg","text":"TemporaryFile(/tmp/multipartBody1895159641920334409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879062474,"filename":"image_06112025_15_56_40_3118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db231b606875901007d3fa78923a019a.jpg","text":"TemporaryFile(/tmp/multipartBody6177811758348314808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879062474,"filename":"image_06112025_15_56_37_10101.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af50811eace1e0357fb949425e56ec07.jpg","text":"TemporaryFile(/tmp/multipartBody8983678180595573567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879062474,"filename":"image_06112025_15_58_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/16/e364f5469bc7ab9368a05502e66fb9a2.jpg","text":"TemporaryFile(/tmp/multipartBody4766124136197528505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879062474,"filename":"image_06112025_15_56_42_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/16/ecae88b7086b8536c22627a5fca229b4.jpg","text":"TemporaryFile(/tmp/multipartBody2530706743083381207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879062474,"filename":"image_06112025_15_56_25_3148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b7c69960c3053bb63e7be019fef5e93.jpg","text":"TemporaryFile(/tmp/multipartBody2605101279518219147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879062474,"filename":"image_06112025_15_56_27_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623945","file1":"1399623944","file0":"1399623941","file4":"1399623947","file5":"1399623948","file3":"1399623946"},"map_files_photo_id_array":[{"photo_id":"1399623948","filename":"file5"},{"photo_id":"1399623945","filename":"file2"},{"photo_id":"1399623947","filename":"file4"},{"photo_id":"1399623944","filename":"file1"},{"photo_id":"1399623941","filename":"file0"},{"photo_id":"1399623946","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399623946":["hashtag1","hashtag2"]},{"1399623945":["hashtag1","hashtag2"]},{"1399623948":["hashtag1","hashtag2"]},{"1399623947":["hashtag1","hashtag2"]},{"1399623941":["hashtag1","hashtag2"]},{"1399623944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399623946, 1399623945, 1399623948, 1399623947, 1399623941, 1399623944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.742982387542725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 10:57:22.150509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/51/image_16122025_10_52_04_9638.jpg', '/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_14_9758.jpg', '/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_24_10812.jpg', '/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_34_9537.jpg', '/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_44_9691.jpg', '/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_54_10831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/51/image_16122025_10_52_04_9638.jpg
/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_14_9758.jpg
/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_24_10812.jpg
/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_34_9537.jpg
/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_44_9691.jpg
/home/pi/Desktop/images/16122025/10/52/image_16122025_10_52_54_10831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399623958","1399623951","1399623995","1399624031","1399624069","1399623950"],"photo_ids_order":["1399623950","1399623951","1399623958","1399623995","1399624031","1399624069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3937dea1a84718500a5819364533ac6e.jpg","text":"TemporaryFile(/tmp/multipartBody917453131001122338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879102747,"filename":"image_16122025_10_52_24_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/16/f59b0e36ef7ccc68e05687b2645867bf.jpg","text":"TemporaryFile(/tmp/multipartBody8177640566624935215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879102747,"filename":"image_16122025_10_52_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/16/128b53aebb8dc030ddf906190ca3181d.jpg","text":"TemporaryFile(/tmp/multipartBody5982757816956643611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879102747,"filename":"image_16122025_10_52_34_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/16/ebea1b47a422e41377483a627e602d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5899013964848590869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879102747,"filename":"image_16122025_10_52_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/16/b71bc7d3a868e09adde5973d8e83ee5c.jpg","text":"TemporaryFile(/tmp/multipartBody6931228193317163248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879102747,"filename":"image_16122025_10_52_54_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73e149d06461777cb3f9209100820339.jpg","text":"TemporaryFile(/tmp/multipartBody7128068208800075842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879102747,"filename":"image_16122025_10_52_04_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399623958","file1":"1399623951","file0":"1399623950","file4":"1399624031","file5":"1399624069","file3":"1399623995"},"map_files_photo_id_array":[{"photo_id":"1399624069","filename":"file5"},{"photo_id":"1399623958","filename":"file2"},{"photo_id":"1399624031","filename":"file4"},{"photo_id":"1399623951","filename":"file1"},{"photo_id":"1399623950","filename":"file0"},{"photo_id":"1399623995","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399623958":["hashtag1","hashtag2"]},{"1399623951":["hashtag1","hashtag2"]},{"1399623995":["hashtag1","hashtag2"]},{"1399624031":["hashtag1","hashtag2"]},{"1399624069":["hashtag1","hashtag2"]},{"1399623950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399623958, 1399623951, 1399623995, 1399624031, 1399624069, 1399623950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04742193222046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 10:59:03.546427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/52/image_16122025_10_53_04_9711.jpg', '/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_14_9648.jpg', '/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_25_10702.jpg', '/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_34_9635.jpg', '/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_44_9683.jpg', '/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_55_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/52/image_16122025_10_53_04_9711.jpg
/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_14_9648.jpg
/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_25_10702.jpg
/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_34_9635.jpg
/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_44_9683.jpg
/home/pi/Desktop/images/16122025/10/53/image_16122025_10_53_55_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399624546","1399624551","1399624515","1399624484","1399624517","1399624570"],"photo_ids_order":["1399624484","1399624515","1399624517","1399624546","1399624551","1399624570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/378c4435914b7922847cc837b57f1a6b.jpg","text":"TemporaryFile(/tmp/multipartBody6525595502584484242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879204285,"filename":"image_16122025_10_53_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/16/3c7583c80c5bef7a596a5acf05d3da2a.jpg","text":"TemporaryFile(/tmp/multipartBody1459864793267159814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879204285,"filename":"image_16122025_10_53_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/964c66bfd8dba7d8912da64da8f007c8.jpg","text":"TemporaryFile(/tmp/multipartBody7956593994744980775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879204285,"filename":"image_16122025_10_53_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f86ee3d05bd0bbbee3cbcc247ab1ca45.jpg","text":"TemporaryFile(/tmp/multipartBody486372872748432845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879204285,"filename":"image_16122025_10_53_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/16/c12aa06043475e0421629759c9321b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2686800025142887221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879204285,"filename":"image_16122025_10_53_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/16/c3fdb67f9837eacaa2fa59f59de27091.jpg","text":"TemporaryFile(/tmp/multipartBody5544825174186599456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879204285,"filename":"image_16122025_10_53_55_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624517","file1":"1399624515","file0":"1399624484","file4":"1399624551","file5":"1399624570","file3":"1399624546"},"map_files_photo_id_array":[{"photo_id":"1399624570","filename":"file5"},{"photo_id":"1399624517","filename":"file2"},{"photo_id":"1399624551","filename":"file4"},{"photo_id":"1399624515","filename":"file1"},{"photo_id":"1399624484","filename":"file0"},{"photo_id":"1399624546","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399624546":["hashtag1","hashtag2"]},{"1399624551":["hashtag1","hashtag2"]},{"1399624515":["hashtag1","hashtag2"]},{"1399624484":["hashtag1","hashtag2"]},{"1399624517":["hashtag1","hashtag2"]},{"1399624570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399624546, 1399624551, 1399624515, 1399624484, 1399624517, 1399624570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.902726888656616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 10:59:42.607816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_11_3848.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_14_2661.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_16_2572.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_19_2973.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_23_3764.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_26_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_11_3848.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_14_2661.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_16_2572.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_19_2973.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_23_3764.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_26_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":["1399624603","1399624587","1399624599","1399624605","1399624598","1399624601"],"photo_ids_order":["1399624587","1399624598","1399624599","1399624601","1399624603","1399624605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b1a2596cf5a8e345c97a802034ed327.jpg","text":"TemporaryFile(/tmp/multipartBody4588877219555847551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879243336,"filename":"image_06112025_15_58_23_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/16/938794ee7799af7a00d9e2c391891c42.jpg","text":"TemporaryFile(/tmp/multipartBody7208096889090859472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879243336,"filename":"image_06112025_15_58_11_3848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f725c096aa13f6d41754e7a52925d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5166946062550929456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879243336,"filename":"image_06112025_15_58_16_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/16/f8089198a6046e9352b8f62b9f987840.jpg","text":"TemporaryFile(/tmp/multipartBody5848329170723231327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879243336,"filename":"image_06112025_15_58_26_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc3d105872a7fce47c5ea1005345d3ad.jpg","text":"TemporaryFile(/tmp/multipartBody8480406359029405277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879243336,"filename":"image_06112025_15_58_14_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/16/9cd5baa487efd30c1ad52c4929b42853.jpg","text":"TemporaryFile(/tmp/multipartBody3631819301951062781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879243336,"filename":"image_06112025_15_58_19_2973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624599","file1":"1399624598","file0":"1399624587","file4":"1399624603","file5":"1399624605","file3":"1399624601"},"map_files_photo_id_array":[{"photo_id":"1399624605","filename":"file5"},{"photo_id":"1399624599","filename":"file2"},{"photo_id":"1399624603","filename":"file4"},{"photo_id":"1399624598","filename":"file1"},{"photo_id":"1399624587","filename":"file0"},{"photo_id":"1399624601","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399624603":["hashtag1","hashtag2"]},{"1399624587":["hashtag1","hashtag2"]},{"1399624599":["hashtag1","hashtag2"]},{"1399624605":["hashtag1","hashtag2"]},{"1399624598":["hashtag1","hashtag2"]},{"1399624601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399624603, 1399624587, 1399624599, 1399624605, 1399624598, 1399624601)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.81915020942688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:00:31.855066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:00:41.804183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_28_2595.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_32_3527.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_37_4564.jpg', '/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_38_1594.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_05_27280.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_09_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_28_2595.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_32_3527.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_37_4564.jpg
/home/pi/Desktop/images/06112025/15/58/image_06112025_15_58_38_1594.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_05_27280.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_09_1683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399624615","1399624609","1399624611","1399624617","1399624613","1399624607"],"photo_ids_order":["1399624607","1399624609","1399624611","1399624613","1399624615","1399624617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfdafd2840b65357ceb8c560a961e853.jpg","text":"TemporaryFile(/tmp/multipartBody5943495424036445033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879302542,"filename":"image_06112025_15_59_05_27280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/154c9916b421c2797cb1257f726ae8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2029091274181038852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879302542,"filename":"image_06112025_15_58_32_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01290015ea72e6e61e77e9c5be5d583a.jpg","text":"TemporaryFile(/tmp/multipartBody6623600083033672771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879302542,"filename":"image_06112025_15_58_37_4564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ecd8e66c9696a5be0af72fd6c51837d.jpg","text":"TemporaryFile(/tmp/multipartBody3609792459628326824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879302542,"filename":"image_06112025_15_59_09_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f471c8a5d056b67e23123aee5b4e35a5.jpg","text":"TemporaryFile(/tmp/multipartBody2817353215787344859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879302542,"filename":"image_06112025_15_58_38_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/16/5f3d5aa33d78de1540d927c2544854db.jpg","text":"TemporaryFile(/tmp/multipartBody8039973987905596520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879302542,"filename":"image_06112025_15_58_28_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624611","file1":"1399624609","file0":"1399624607","file4":"1399624615","file5":"1399624617","file3":"1399624613"},"map_files_photo_id_array":[{"photo_id":"1399624617","filename":"file5"},{"photo_id":"1399624611","filename":"file2"},{"photo_id":"1399624615","filename":"file4"},{"photo_id":"1399624609","filename":"file1"},{"photo_id":"1399624607","filename":"file0"},{"photo_id":"1399624613","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399624615":["hashtag1","hashtag2"]},{"1399624609":["hashtag1","hashtag2"]},{"1399624611":["hashtag1","hashtag2"]},{"1399624617":["hashtag1","hashtag2"]},{"1399624613":["hashtag1","hashtag2"]},{"1399624607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399624615, 1399624609, 1399624611, 1399624617, 1399624613, 1399624607)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.12386751174927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:01:32.101429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:01:42.078999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_10_1624.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_13_1535.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_18_1501.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_20_1747.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_21_1756.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_23_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_10_1624.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_13_1535.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_18_1501.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_20_1747.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_21_1756.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_23_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399624630","1399624627","1399624624","1399624626","1399624629","1399624628"],"photo_ids_order":["1399624624","1399624626","1399624627","1399624628","1399624629","1399624630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d64af29e5963cdca47b8fed695c2851e.jpg","text":"TemporaryFile(/tmp/multipartBody5475012603877367286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879362813,"filename":"image_06112025_15_59_23_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d21dfc87c6bf0e9bb991fea44184ca9.jpg","text":"TemporaryFile(/tmp/multipartBody268313272896576047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879362813,"filename":"image_06112025_15_59_18_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44cd76f7f6a5a8129ff6abcc8bb21b31.jpg","text":"TemporaryFile(/tmp/multipartBody3360697262624087855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879362813,"filename":"image_06112025_15_59_10_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f1aef51bf7ea6e4bfe543caa5902a89.jpg","text":"TemporaryFile(/tmp/multipartBody1370145578287848523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879362813,"filename":"image_06112025_15_59_13_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b49fb186b3da79a9f30925a57780630.jpg","text":"TemporaryFile(/tmp/multipartBody9186592398030625380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879362813,"filename":"image_06112025_15_59_21_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ac5e111598367262a3f622be6434193.jpg","text":"TemporaryFile(/tmp/multipartBody4423516866224825694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879362813,"filename":"image_06112025_15_59_20_1747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624627","file1":"1399624626","file0":"1399624624","file4":"1399624629","file5":"1399624630","file3":"1399624628"},"map_files_photo_id_array":[{"photo_id":"1399624630","filename":"file5"},{"photo_id":"1399624627","filename":"file2"},{"photo_id":"1399624629","filename":"file4"},{"photo_id":"1399624626","filename":"file1"},{"photo_id":"1399624624","filename":"file0"},{"photo_id":"1399624628","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399624630":["hashtag1","hashtag2"]},{"1399624627":["hashtag1","hashtag2"]},{"1399624624":["hashtag1","hashtag2"]},{"1399624626":["hashtag1","hashtag2"]},{"1399624629":["hashtag1","hashtag2"]},{"1399624628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399624630, 1399624627, 1399624624, 1399624626, 1399624629, 1399624628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27477765083313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:02:22.348544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/53/image_16122025_10_54_04_9620.jpg', '/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_14_9683.jpg', '/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_25_10706.jpg', '/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_34_9551.jpg', '/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_44_9948.jpg', '/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_54_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/53/image_16122025_10_54_04_9620.jpg
/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_14_9683.jpg
/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_25_10706.jpg
/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_34_9551.jpg
/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_44_9948.jpg
/home/pi/Desktop/images/16122025/10/54/image_16122025_10_54_54_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":["1399624639","1399624642","1399624636","1399624638","1399624632","1399624634"],"photo_ids_order":["1399624632","1399624634","1399624636","1399624638","1399624639","1399624642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b78e5cf4fddd8f2d4a15683522a70612.jpg","text":"TemporaryFile(/tmp/multipartBody3589516390361691943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879402949,"filename":"image_16122025_10_54_44_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59bc7090558006ff8baeff7afc6f0042.jpg","text":"TemporaryFile(/tmp/multipartBody261659839105542604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879402949,"filename":"image_16122025_10_54_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/16/5db97dcfb8c7d09a20952506e07255a0.jpg","text":"TemporaryFile(/tmp/multipartBody550455299670373093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879402949,"filename":"image_16122025_10_54_25_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4018234889dc9882fbfed5a89e319c9.jpg","text":"TemporaryFile(/tmp/multipartBody5338117086038764647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879402949,"filename":"image_16122025_10_54_34_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80dc325abc1f313cd843c96c3ef2327f.jpg","text":"TemporaryFile(/tmp/multipartBody2102358713440684137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879402949,"filename":"image_16122025_10_54_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/16/6fd9d8c133bb117488a928b9530803b1.jpg","text":"TemporaryFile(/tmp/multipartBody4919263758166061919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879402949,"filename":"image_16122025_10_54_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624636","file1":"1399624634","file0":"1399624632","file4":"1399624639","file5":"1399624642","file3":"1399624638"},"map_files_photo_id_array":[{"photo_id":"1399624642","filename":"file5"},{"photo_id":"1399624636","filename":"file2"},{"photo_id":"1399624639","filename":"file4"},{"photo_id":"1399624634","filename":"file1"},{"photo_id":"1399624632","filename":"file0"},{"photo_id":"1399624638","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399624639":["hashtag1","hashtag2"]},{"1399624642":["hashtag1","hashtag2"]},{"1399624636":["hashtag1","hashtag2"]},{"1399624638":["hashtag1","hashtag2"]},{"1399624632":["hashtag1","hashtag2"]},{"1399624634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399624639, 1399624642, 1399624636, 1399624638, 1399624632, 1399624634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.054163455963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:03:03.142615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_14_10058.jpg', '/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_25_10631.jpg', '/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_35_9848.jpg', '/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_44_9692.jpg', '/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_55_10748.jpg', '/home/pi/Desktop/images/16122025/10/55/image_16122025_10_56_05_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_14_10058.jpg
/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_25_10631.jpg
/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_35_9848.jpg
/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_44_9692.jpg
/home/pi/Desktop/images/16122025/10/55/image_16122025_10_55_55_10748.jpg
/home/pi/Desktop/images/16122025/10/55/image_16122025_10_56_05_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399624645","1399624648","1399624650","1399624644","1399624647","1399624646"],"photo_ids_order":["1399624644","1399624645","1399624646","1399624647","1399624648","1399624650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02f68ac032d8191f32da9e39299484c6.jpg","text":"TemporaryFile(/tmp/multipartBody6604966840444309256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879443878,"filename":"image_16122025_10_55_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ae97c994aefb3b15a31a668e3be7841.jpg","text":"TemporaryFile(/tmp/multipartBody18975152810371983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879443878,"filename":"image_16122025_10_55_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/16/2b9546f91fff1a809db47866ed096d96.jpg","text":"TemporaryFile(/tmp/multipartBody6673763791047623902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879443878,"filename":"image_16122025_10_56_05_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e2cd7f5a4ba4a62844190af09c34fde1.jpg","text":"TemporaryFile(/tmp/multipartBody483714059531958130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879443878,"filename":"image_16122025_10_55_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/16/72d8186adbfbb678b0626e083a51dec7.jpg","text":"TemporaryFile(/tmp/multipartBody2319809986553204318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879443878,"filename":"image_16122025_10_55_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/16/7f6b371a408cb9edb6932f3550d34e58.jpg","text":"TemporaryFile(/tmp/multipartBody2452472221620607339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879443878,"filename":"image_16122025_10_55_35_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624646","file1":"1399624645","file0":"1399624644","file4":"1399624648","file5":"1399624650","file3":"1399624647"},"map_files_photo_id_array":[{"photo_id":"1399624650","filename":"file5"},{"photo_id":"1399624646","filename":"file2"},{"photo_id":"1399624648","filename":"file4"},{"photo_id":"1399624645","filename":"file1"},{"photo_id":"1399624644","filename":"file0"},{"photo_id":"1399624647","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399624645":["hashtag1","hashtag2"]},{"1399624648":["hashtag1","hashtag2"]},{"1399624650":["hashtag1","hashtag2"]},{"1399624644":["hashtag1","hashtag2"]},{"1399624647":["hashtag1","hashtag2"]},{"1399624646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399624645, 1399624648, 1399624650, 1399624644, 1399624647, 1399624646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61629509925842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:03:42.697245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_25_1704.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_27_1671.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_28_1513.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_30_1691.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_32_1787.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_46_14528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_25_1704.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_27_1671.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_28_1513.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_30_1691.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_32_1787.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_46_14528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399624660","1399624662","1399624656","1399624659","1399624661","1399624658"],"photo_ids_order":["1399624656","1399624658","1399624659","1399624660","1399624661","1399624662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57c97d79ef0318a7dd12cec18d478c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7518466666576609007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879483456,"filename":"image_06112025_15_59_30_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29884c227f48dd43bca53ac48b9eb210.jpg","text":"TemporaryFile(/tmp/multipartBody144635165290700245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879483456,"filename":"image_06112025_15_59_46_14528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25ec2a3f89ad5e9796665375a00d64c0.jpg","text":"TemporaryFile(/tmp/multipartBody3269704906099986397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879483456,"filename":"image_06112025_15_59_25_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/16/6959d0e98e1d11f8599dc55a56126415.jpg","text":"TemporaryFile(/tmp/multipartBody8279960865920930674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879483456,"filename":"image_06112025_15_59_28_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/16/9d0f2444399869040150177843dab5fe.jpg","text":"TemporaryFile(/tmp/multipartBody2954987500592346554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879483456,"filename":"image_06112025_15_59_32_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/16/39bcb27c608b992fb0bb88022f96c1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4182457701120465184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879483456,"filename":"image_06112025_15_59_27_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624659","file1":"1399624658","file0":"1399624656","file4":"1399624661","file5":"1399624662","file3":"1399624660"},"map_files_photo_id_array":[{"photo_id":"1399624662","filename":"file5"},{"photo_id":"1399624659","filename":"file2"},{"photo_id":"1399624661","filename":"file4"},{"photo_id":"1399624658","filename":"file1"},{"photo_id":"1399624656","filename":"file0"},{"photo_id":"1399624660","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399624660":["hashtag1","hashtag2"]},{"1399624662":["hashtag1","hashtag2"]},{"1399624656":["hashtag1","hashtag2"]},{"1399624659":["hashtag1","hashtag2"]},{"1399624661":["hashtag1","hashtag2"]},{"1399624658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399624660, 1399624662, 1399624656, 1399624659, 1399624661, 1399624658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.665244340896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:04:21.990479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_15_9705.jpg', '/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_24_9762.jpg', '/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_35_10651.jpg', '/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_45_9590.jpg', '/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_54_9755.jpg', '/home/pi/Desktop/images/16122025/10/56/image_16122025_10_57_05_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_15_9705.jpg
/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_24_9762.jpg
/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_35_10651.jpg
/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_45_9590.jpg
/home/pi/Desktop/images/16122025/10/56/image_16122025_10_56_54_9755.jpg
/home/pi/Desktop/images/16122025/10/56/image_16122025_10_57_05_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399624672","1399624669","1399624665","1399624667","1399624676","1399624663"],"photo_ids_order":["1399624663","1399624665","1399624667","1399624669","1399624672","1399624676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c956f64ce1e61700272cdf81e78ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody7009202015394801267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879522595,"filename":"image_16122025_10_56_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e5c621ba68eccf3c032abe00620ff58.jpg","text":"TemporaryFile(/tmp/multipartBody4676468695626009537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879522595,"filename":"image_16122025_10_56_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b79b81e7ff36993113feb2bef88ac56b.jpg","text":"TemporaryFile(/tmp/multipartBody4075989486773816859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879522595,"filename":"image_16122025_10_56_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d2835ccd8d63d794030d12878e1f4309.jpg","text":"TemporaryFile(/tmp/multipartBody509665198070482334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879522595,"filename":"image_16122025_10_56_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/16/b74f3b46828c79be76d5b7868ed391d3.jpg","text":"TemporaryFile(/tmp/multipartBody2415702594633970803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879522595,"filename":"image_16122025_10_57_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb14eddf57b19228f999b631700e7891.jpg","text":"TemporaryFile(/tmp/multipartBody3570793828267222938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879522595,"filename":"image_16122025_10_56_15_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624667","file1":"1399624665","file0":"1399624663","file4":"1399624672","file5":"1399624676","file3":"1399624669"},"map_files_photo_id_array":[{"photo_id":"1399624676","filename":"file5"},{"photo_id":"1399624667","filename":"file2"},{"photo_id":"1399624672","filename":"file4"},{"photo_id":"1399624665","filename":"file1"},{"photo_id":"1399624663","filename":"file0"},{"photo_id":"1399624669","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399624672":["hashtag1","hashtag2"]},{"1399624669":["hashtag1","hashtag2"]},{"1399624665":["hashtag1","hashtag2"]},{"1399624667":["hashtag1","hashtag2"]},{"1399624676":["hashtag1","hashtag2"]},{"1399624663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399624672, 1399624669, 1399624665, 1399624667, 1399624676, 1399624663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590373039245605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:05:02.972550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_15_9675.jpg', '/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_24_9719.jpg', '/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_35_10548.jpg', '/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_45_9573.jpg', '/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_54_9653.jpg', '/home/pi/Desktop/images/16122025/10/57/image_16122025_10_58_05_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_15_9675.jpg
/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_24_9719.jpg
/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_35_10548.jpg
/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_45_9573.jpg
/home/pi/Desktop/images/16122025/10/57/image_16122025_10_57_54_9653.jpg
/home/pi/Desktop/images/16122025/10/57/image_16122025_10_58_05_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399624687","1399624720","1399624686","1399624773","1399624682","1399624685"],"photo_ids_order":["1399624682","1399624685","1399624686","1399624687","1399624720","1399624773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1892f1fe5b50ac06f5a5461f06e73623.jpg","text":"TemporaryFile(/tmp/multipartBody5516305876094896671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879563630,"filename":"image_16122025_10_57_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/16/c430e7004778be114e1510a1fe874bc7.jpg","text":"TemporaryFile(/tmp/multipartBody547196799554371432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879563630,"filename":"image_16122025_10_57_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/16/42a89797724245dcc5142e876e1f5ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4785043073211708205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879563630,"filename":"image_16122025_10_57_35_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/745c948a985fe060aa9b7d58852eb488.jpg","text":"TemporaryFile(/tmp/multipartBody4340793028804600870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879563630,"filename":"image_16122025_10_58_05_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da8cf026767571cce5b2036c1a906601.jpg","text":"TemporaryFile(/tmp/multipartBody4533708325657233702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879563630,"filename":"image_16122025_10_57_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/16/409fd6ad0b3376228bc46bf15e95bb8b.jpg","text":"TemporaryFile(/tmp/multipartBody2444441894108584147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879563630,"filename":"image_16122025_10_57_24_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399624686","file1":"1399624685","file0":"1399624682","file4":"1399624720","file5":"1399624773","file3":"1399624687"},"map_files_photo_id_array":[{"photo_id":"1399624773","filename":"file5"},{"photo_id":"1399624686","filename":"file2"},{"photo_id":"1399624720","filename":"file4"},{"photo_id":"1399624685","filename":"file1"},{"photo_id":"1399624682","filename":"file0"},{"photo_id":"1399624687","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399624687":["hashtag1","hashtag2"]},{"1399624720":["hashtag1","hashtag2"]},{"1399624686":["hashtag1","hashtag2"]},{"1399624773":["hashtag1","hashtag2"]},{"1399624682":["hashtag1","hashtag2"]},{"1399624685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399624687, 1399624720, 1399624686, 1399624773, 1399624682, 1399624685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75161576271057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:05:42.271364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_48_1631.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_49_1720.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_51_1576.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_52_1529.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_54_1642.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_56_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_48_1631.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_49_1720.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_51_1576.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_52_1529.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_54_1642.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_56_1667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399625040","1399625415","1399625672","1399625546","1399625263","1399625140"],"photo_ids_order":["1399625040","1399625140","1399625263","1399625415","1399625546","1399625672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03c5e0b1d92dbedc93659ada4f3bd432.jpg","text":"TemporaryFile(/tmp/multipartBody2413240694570585918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879603012,"filename":"image_06112025_15_59_48_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9877ea2df8604b018dd9b370b99c9271.jpg","text":"TemporaryFile(/tmp/multipartBody6538155112342124060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879603012,"filename":"image_06112025_15_59_52_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/16/e846dcb58ba7204d740001bfa072aad3.jpg","text":"TemporaryFile(/tmp/multipartBody5410616545038573949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879603012,"filename":"image_06112025_15_59_56_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/16/acd72c9f45bb088c6ca554a43f8f5466.jpg","text":"TemporaryFile(/tmp/multipartBody3985560572371072725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879603012,"filename":"image_06112025_15_59_54_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73042e3edd95eea84e082d0f43762aa7.jpg","text":"TemporaryFile(/tmp/multipartBody4497381829985925896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879603012,"filename":"image_06112025_15_59_51_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/16/47793586c950bbec2166e45111bdb372.jpg","text":"TemporaryFile(/tmp/multipartBody9195418580016568309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879603012,"filename":"image_06112025_15_59_49_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399625263","file1":"1399625140","file0":"1399625040","file4":"1399625546","file5":"1399625672","file3":"1399625415"},"map_files_photo_id_array":[{"photo_id":"1399625672","filename":"file5"},{"photo_id":"1399625263","filename":"file2"},{"photo_id":"1399625546","filename":"file4"},{"photo_id":"1399625140","filename":"file1"},{"photo_id":"1399625040","filename":"file0"},{"photo_id":"1399625415","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399625040":["hashtag1","hashtag2"]},{"1399625415":["hashtag1","hashtag2"]},{"1399625672":["hashtag1","hashtag2"]},{"1399625546":["hashtag1","hashtag2"]},{"1399625263":["hashtag1","hashtag2"]},{"1399625140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399625040, 1399625415, 1399625672, 1399625546, 1399625263, 1399625140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.885207653045654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:06:22.531131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_15_9754.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_24_9546.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_35_10712.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_45_10159.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_55_9583.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_59_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_15_9754.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_24_9546.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_35_10712.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_45_10159.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_55_9583.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_59_04_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.4851949214935303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:06:32.620724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:06:42.584609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_58_1823.jpg', '/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_59_1543.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_07_3013.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_10_3659.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_13_2652.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_16_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_58_1823.jpg
/home/pi/Desktop/images/06112025/15/59/image_06112025_15_59_59_1543.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_07_3013.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_10_3659.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_13_2652.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_16_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":["1399627376","1399627256","1399627130","1399626920","1399626818","1399627024"],"photo_ids_order":["1399626818","1399626920","1399627024","1399627130","1399627256","1399627376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53a0f4a473b953722846e643657fe821.jpg","text":"TemporaryFile(/tmp/multipartBody2718461182367143576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879663361,"filename":"image_06112025_16_00_16_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/16/36daac95a1e16ecec2ef081453f8040a.jpg","text":"TemporaryFile(/tmp/multipartBody5801106857005857377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879663361,"filename":"image_06112025_16_00_13_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c11d34d2d03b85ba27c3b5186e5a2934.jpg","text":"TemporaryFile(/tmp/multipartBody4300964104631365797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879663361,"filename":"image_06112025_16_00_10_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/16/1560d949bcd898ec7b8633c967348486.jpg","text":"TemporaryFile(/tmp/multipartBody1667031860076858125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879663361,"filename":"image_06112025_15_59_59_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6627a9a70d1212f548a6d6e66c483c54.jpg","text":"TemporaryFile(/tmp/multipartBody8842647935940625083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879663361,"filename":"image_06112025_15_59_58_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dbe908ef48994d406e63c915affa866.jpg","text":"TemporaryFile(/tmp/multipartBody7048740539680715430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879663361,"filename":"image_06112025_16_00_07_3013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399627024","file1":"1399626920","file0":"1399626818","file4":"1399627256","file5":"1399627376","file3":"1399627130"},"map_files_photo_id_array":[{"photo_id":"1399627376","filename":"file5"},{"photo_id":"1399627024","filename":"file2"},{"photo_id":"1399627256","filename":"file4"},{"photo_id":"1399626920","filename":"file1"},{"photo_id":"1399626818","filename":"file0"},{"photo_id":"1399627130","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399627376":["hashtag1","hashtag2"]},{"1399627256":["hashtag1","hashtag2"]},{"1399627130":["hashtag1","hashtag2"]},{"1399626920":["hashtag1","hashtag2"]},{"1399626818":["hashtag1","hashtag2"]},{"1399627024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399627376, 1399627256, 1399627130, 1399626920, 1399626818, 1399627024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52275609970093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:07:21.950542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_15_9754.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_24_9546.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_35_10712.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_45_10159.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_55_9583.jpg', '/home/pi/Desktop/images/16122025/10/58/image_16122025_10_59_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_15_9754.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_24_9546.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_35_10712.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_45_10159.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_58_55_9583.jpg
/home/pi/Desktop/images/16122025/10/58/image_16122025_10_59_04_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":["1399627985","1399627787","1399627652","1399628060","1399627892","1399627710"],"photo_ids_order":["1399627652","1399627710","1399627787","1399627892","1399627985","1399628060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fd29676f63b5fbefb5df636d9f7c42a.jpg","text":"TemporaryFile(/tmp/multipartBody3534475944861420825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879702593,"filename":"image_16122025_10_58_55_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/16/b003b223a9d575150e0a921fd3b4b05d.jpg","text":"TemporaryFile(/tmp/multipartBody2665663692094981916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879702593,"filename":"image_16122025_10_58_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f5b34801083b273cf249a0f9670ca3df.jpg","text":"TemporaryFile(/tmp/multipartBody3709144723844423225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879702593,"filename":"image_16122025_10_58_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e15db56e2d3b9d147a3d30513c015d70.jpg","text":"TemporaryFile(/tmp/multipartBody6183375972764612849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879702593,"filename":"image_16122025_10_59_04_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f780bf28e13636b9e1804f03321bf356.jpg","text":"TemporaryFile(/tmp/multipartBody6939908917027367422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879702593,"filename":"image_16122025_10_58_45_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/16/9a562cd0d246d451aaacbd0e971ef4de.jpg","text":"TemporaryFile(/tmp/multipartBody7896965360430820831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879702593,"filename":"image_16122025_10_58_24_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399627787","file1":"1399627710","file0":"1399627652","file4":"1399627985","file5":"1399628060","file3":"1399627892"},"map_files_photo_id_array":[{"photo_id":"1399628060","filename":"file5"},{"photo_id":"1399627787","filename":"file2"},{"photo_id":"1399627985","filename":"file4"},{"photo_id":"1399627710","filename":"file1"},{"photo_id":"1399627652","filename":"file0"},{"photo_id":"1399627892","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399627985":["hashtag1","hashtag2"]},{"1399627787":["hashtag1","hashtag2"]},{"1399627652":["hashtag1","hashtag2"]},{"1399628060":["hashtag1","hashtag2"]},{"1399627892":["hashtag1","hashtag2"]},{"1399627710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399627985, 1399627787, 1399627652, 1399628060, 1399627892, 1399627710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.611207246780396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:08:02.613269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_14_9712.jpg', '/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_25_10733.jpg', '/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_35_9668.jpg', '/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_44_9753.jpg', '/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_15_10052.jpg', '/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_25_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_14_9712.jpg
/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_25_10733.jpg
/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_35_9668.jpg
/home/pi/Desktop/images/16122025/10/59/image_16122025_10_59_44_9753.jpg
/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_15_10052.jpg
/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_25_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399628513","1399628456","1399628490","1399628523","1399628415","1399628351"],"photo_ids_order":["1399628351","1399628415","1399628456","1399628490","1399628513","1399628523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95314fbe7265b69dd1846f2913f39815.jpg","text":"TemporaryFile(/tmp/multipartBody8057186201941189392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879743256,"filename":"image_16122025_11_00_15_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53b6593d6324a8d41a362f187d20c151.jpg","text":"TemporaryFile(/tmp/multipartBody2047474438039611287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879743256,"filename":"image_16122025_10_59_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/16/0c0722cf6ec4d7343b538e3e308223c1.jpg","text":"TemporaryFile(/tmp/multipartBody1574830020526831567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879743256,"filename":"image_16122025_10_59_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/16/c81c06e9c2a5c288b63a1ab75be5e1c5.jpg","text":"TemporaryFile(/tmp/multipartBody983834989985012384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879743256,"filename":"image_16122025_11_00_25_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7eb17d598aa4c18a27213cea02037f68.jpg","text":"TemporaryFile(/tmp/multipartBody7135380511295470004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879743256,"filename":"image_16122025_10_59_25_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b88754693f4fc6125071b467475aa69c.jpg","text":"TemporaryFile(/tmp/multipartBody954589982476045783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879743256,"filename":"image_16122025_10_59_14_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399628456","file1":"1399628415","file0":"1399628351","file4":"1399628513","file5":"1399628523","file3":"1399628490"},"map_files_photo_id_array":[{"photo_id":"1399628523","filename":"file5"},{"photo_id":"1399628456","filename":"file2"},{"photo_id":"1399628513","filename":"file4"},{"photo_id":"1399628415","filename":"file1"},{"photo_id":"1399628351","filename":"file0"},{"photo_id":"1399628490","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399628513":["hashtag1","hashtag2"]},{"1399628456":["hashtag1","hashtag2"]},{"1399628490":["hashtag1","hashtag2"]},{"1399628523":["hashtag1","hashtag2"]},{"1399628415":["hashtag1","hashtag2"]},{"1399628351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399628513, 1399628456, 1399628490, 1399628523, 1399628415, 1399628351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47249150276184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:08:42.082292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_19_3633.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_22_2720.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_25_2795.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_29_3616.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_36_7239.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_38_1810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_19_3633.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_22_2720.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_25_2795.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_29_3616.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_36_7239.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_38_1810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399628759","1399628732","1399628752","1399628641","1399628589","1399628696"],"photo_ids_order":["1399628589","1399628641","1399628696","1399628732","1399628752","1399628759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57426c3ef42bc8378731990780398b72.jpg","text":"TemporaryFile(/tmp/multipartBody5197944525700831777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879782815,"filename":"image_06112025_16_00_38_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d15421d51e5be0c026bd352535618c38.jpg","text":"TemporaryFile(/tmp/multipartBody8652874087038037468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879782815,"filename":"image_06112025_16_00_29_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/16/2788c513cc53e8eaea7ef42a47da03f4.jpg","text":"TemporaryFile(/tmp/multipartBody1255976315189355647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879782815,"filename":"image_06112025_16_00_36_7239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2fe427c24474e5f0741cb79152f2dcb3.jpg","text":"TemporaryFile(/tmp/multipartBody5911856405721919126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879782815,"filename":"image_06112025_16_00_22_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cdb1f5f64f4672a6836b10b4d7003230.jpg","text":"TemporaryFile(/tmp/multipartBody2124190517450989632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879782815,"filename":"image_06112025_16_00_19_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/16/efc515dbe303960fdd6b91cd00e588c8.jpg","text":"TemporaryFile(/tmp/multipartBody7259852137422883433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879782815,"filename":"image_06112025_16_00_25_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399628696","file1":"1399628641","file0":"1399628589","file4":"1399628752","file5":"1399628759","file3":"1399628732"},"map_files_photo_id_array":[{"photo_id":"1399628759","filename":"file5"},{"photo_id":"1399628696","filename":"file2"},{"photo_id":"1399628752","filename":"file4"},{"photo_id":"1399628641","filename":"file1"},{"photo_id":"1399628589","filename":"file0"},{"photo_id":"1399628732","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399628759":["hashtag1","hashtag2"]},{"1399628732":["hashtag1","hashtag2"]},{"1399628752":["hashtag1","hashtag2"]},{"1399628641":["hashtag1","hashtag2"]},{"1399628589":["hashtag1","hashtag2"]},{"1399628696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399628759, 1399628732, 1399628752, 1399628641, 1399628589, 1399628696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99419641494751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:09:22.372585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_35_9656.jpg', '/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_45_9591.jpg', '/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_55_10707.jpg', '/home/pi/Desktop/images/16122025/11/00/image_16122025_11_01_05_9736.jpg', '/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_15_9836.jpg', '/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_35_9656.jpg
/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_45_9591.jpg
/home/pi/Desktop/images/16122025/11/00/image_16122025_11_00_55_10707.jpg
/home/pi/Desktop/images/16122025/11/00/image_16122025_11_01_05_9736.jpg
/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_15_9836.jpg
/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_25_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399629070","1399628863","1399629022","1399628967","1399628910","1399629059"],"photo_ids_order":["1399628863","1399628910","1399628967","1399629022","1399629059","1399629070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/288d186e1edb202ba9f60de2df16a20a.jpg","text":"TemporaryFile(/tmp/multipartBody5296157266592969686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879822950,"filename":"image_16122025_11_01_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d00eba95a6c1ddd29cdab811012bcb3e.jpg","text":"TemporaryFile(/tmp/multipartBody3771749733394526841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879822950,"filename":"image_16122025_11_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/16/a1d0e24b1bcba9b43f5d3c2a90ae5baf.jpg","text":"TemporaryFile(/tmp/multipartBody3750552122546782463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879822950,"filename":"image_16122025_11_01_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/16/b1255c52da7835c694549dfe70af020c.jpg","text":"TemporaryFile(/tmp/multipartBody8663369632504521084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879822950,"filename":"image_16122025_11_00_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a525b31853347df1e3b243d2ec0e6227.jpg","text":"TemporaryFile(/tmp/multipartBody1182535521271332123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879822950,"filename":"image_16122025_11_00_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/16/1caad934f74f620554b015ef611f2966.jpg","text":"TemporaryFile(/tmp/multipartBody1123138212826797265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879822950,"filename":"image_16122025_11_01_15_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399628967","file1":"1399628910","file0":"1399628863","file4":"1399629059","file5":"1399629070","file3":"1399629022"},"map_files_photo_id_array":[{"photo_id":"1399629070","filename":"file5"},{"photo_id":"1399628967","filename":"file2"},{"photo_id":"1399629059","filename":"file4"},{"photo_id":"1399628910","filename":"file1"},{"photo_id":"1399628863","filename":"file0"},{"photo_id":"1399629022","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399629070":["hashtag1","hashtag2"]},{"1399628863":["hashtag1","hashtag2"]},{"1399629022":["hashtag1","hashtag2"]},{"1399628967":["hashtag1","hashtag2"]},{"1399628910":["hashtag1","hashtag2"]},{"1399629059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399629070, 1399628863, 1399629022, 1399628967, 1399628910, 1399629059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90989136695862 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-16 11:10:12.934173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:10:26.608818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_35_9733.jpg', '/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_45_10072.jpg', '/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_55_9796.jpg', '/home/pi/Desktop/images/16122025/11/01/image_16122025_11_02_05_9714.jpg', '/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_15_9762.jpg', '/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_25_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_35_9733.jpg
/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_45_10072.jpg
/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_55_9796.jpg
/home/pi/Desktop/images/16122025/11/01/image_16122025_11_02_05_9714.jpg
/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_15_9762.jpg
/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_25_10787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399629652","1399630057","1399629783","1399629989","1399629899","1399630131"],"photo_ids_order":["1399629652","1399629783","1399629899","1399629989","1399630057","1399630131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b84a4ddcdc0fa16420dcbe530fbfb2e.jpg","text":"TemporaryFile(/tmp/multipartBody3198835000118895349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879887147,"filename":"image_16122025_11_01_35_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6f13e2f606c5d548cada359790f10bb.jpg","text":"TemporaryFile(/tmp/multipartBody4069076320568516643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879887147,"filename":"image_16122025_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/16/a3a8cb0ab0a6bf36eb19821f73d0a39c.jpg","text":"TemporaryFile(/tmp/multipartBody4762235879441245455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879887147,"filename":"image_16122025_11_01_45_10072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a5e82f324f7ff143f678f65f73255d5.jpg","text":"TemporaryFile(/tmp/multipartBody4941645928470245900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879887147,"filename":"image_16122025_11_02_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9cccdd40b40b4e97f9795a8e4d1a33b8.jpg","text":"TemporaryFile(/tmp/multipartBody8479968403660773776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879887147,"filename":"image_16122025_11_01_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/16/426376b7caca7478aa0c9bfbe252ccfd.jpg","text":"TemporaryFile(/tmp/multipartBody3862367218785865599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879887147,"filename":"image_16122025_11_02_25_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399629899","file1":"1399629783","file0":"1399629652","file4":"1399630057","file5":"1399630131","file3":"1399629989"},"map_files_photo_id_array":[{"photo_id":"1399630131","filename":"file5"},{"photo_id":"1399629899","filename":"file2"},{"photo_id":"1399630057","filename":"file4"},{"photo_id":"1399629783","filename":"file1"},{"photo_id":"1399629652","filename":"file0"},{"photo_id":"1399629989","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399629652":["hashtag1","hashtag2"]},{"1399630057":["hashtag1","hashtag2"]},{"1399629783":["hashtag1","hashtag2"]},{"1399629989":["hashtag1","hashtag2"]},{"1399629899":["hashtag1","hashtag2"]},{"1399630131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399629652, 1399630057, 1399629783, 1399629989, 1399629899, 1399630131)","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 = 1399629899 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16122025/11/01/image_16122025_11_01_55_9796.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.47685623168945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:11:32.504239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:11:42.658362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_39_1646.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_41_1546.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_44_2689.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_46_2688.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_49_2696.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_53_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_39_1646.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_41_1546.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_44_2689.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_46_2688.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_49_2696.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_53_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399631689","1399631755","1399631617","1399631778","1399631436","1399631540"],"photo_ids_order":["1399631436","1399631540","1399631617","1399631689","1399631755","1399631778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b5b518e58721e617d8b804dee8497e0.jpg","text":"TemporaryFile(/tmp/multipartBody8620566517599999157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879963448,"filename":"image_06112025_16_00_46_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a21d79fd9032fa3b2ac80b5727ecbc98.jpg","text":"TemporaryFile(/tmp/multipartBody7517991289892094968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879963448,"filename":"image_06112025_16_00_49_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/16/5a44acb77bf302ba8374049dc7f0424b.jpg","text":"TemporaryFile(/tmp/multipartBody5490875376333414955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879963448,"filename":"image_06112025_16_00_44_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/16/0b150941093d01f1813d315d50df4a9c.jpg","text":"TemporaryFile(/tmp/multipartBody2441763237757880922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879963448,"filename":"image_06112025_16_00_53_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/16/a88b159695298a0ff1ee2b64d6802d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3290354785244185805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879963448,"filename":"image_06112025_16_00_39_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/16/e1ca5e21a8eb1d2d4027019ab678b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7027301168069934404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765879963448,"filename":"image_06112025_16_00_41_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399631617","file1":"1399631540","file0":"1399631436","file4":"1399631755","file5":"1399631778","file3":"1399631689"},"map_files_photo_id_array":[{"photo_id":"1399631778","filename":"file5"},{"photo_id":"1399631617","filename":"file2"},{"photo_id":"1399631755","filename":"file4"},{"photo_id":"1399631540","filename":"file1"},{"photo_id":"1399631436","filename":"file0"},{"photo_id":"1399631689","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399631689":["hashtag1","hashtag2"]},{"1399631755":["hashtag1","hashtag2"]},{"1399631617":["hashtag1","hashtag2"]},{"1399631778":["hashtag1","hashtag2"]},{"1399631436":["hashtag1","hashtag2"]},{"1399631540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399631689, 1399631755, 1399631617, 1399631778, 1399631436, 1399631540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65234065055847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:12:31.859887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:12:41.810455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_55_2618.jpg', '/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_58_2763.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_02_3629.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_04_2600.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_07_2744.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_11_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_55_2618.jpg
/home/pi/Desktop/images/06112025/16/00/image_06112025_16_00_58_2763.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_02_3629.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_04_2600.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_07_2744.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_11_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":["1399632433","1399632318","1399632539","1399632215","1399632038","1399632113"],"photo_ids_order":["1399632038","1399632113","1399632215","1399632318","1399632433","1399632539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0db471bc22d1a2afa0ab4033f10bc69.jpg","text":"TemporaryFile(/tmp/multipartBody6861635155295399169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880022523,"filename":"image_06112025_16_01_07_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/16/63e0f1cee4c5655add90e0b95a44dd0f.jpg","text":"TemporaryFile(/tmp/multipartBody4758457692222564471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880022523,"filename":"image_06112025_16_01_04_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/16/d7742c85cb46e65d91d8816569e2937b.jpg","text":"TemporaryFile(/tmp/multipartBody3539016246535946002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880022523,"filename":"image_06112025_16_01_11_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/16/cffe8a6146135be9e11c23d08095a3e5.jpg","text":"TemporaryFile(/tmp/multipartBody2704901106172623949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880022523,"filename":"image_06112025_16_01_02_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/16/925f0abf3c55e140bf151515d01dbd60.jpg","text":"TemporaryFile(/tmp/multipartBody7624302048496315805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880022523,"filename":"image_06112025_16_00_55_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/16/382736d5f04d25c79b7382ac4ff99412.jpg","text":"TemporaryFile(/tmp/multipartBody7192999085648846725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880022523,"filename":"image_06112025_16_00_58_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399632215","file1":"1399632113","file0":"1399632038","file4":"1399632433","file5":"1399632539","file3":"1399632318"},"map_files_photo_id_array":[{"photo_id":"1399632539","filename":"file5"},{"photo_id":"1399632215","filename":"file2"},{"photo_id":"1399632433","filename":"file4"},{"photo_id":"1399632113","filename":"file1"},{"photo_id":"1399632038","filename":"file0"},{"photo_id":"1399632318","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399632433":["hashtag1","hashtag2"]},{"1399632318":["hashtag1","hashtag2"]},{"1399632539":["hashtag1","hashtag2"]},{"1399632215":["hashtag1","hashtag2"]},{"1399632038":["hashtag1","hashtag2"]},{"1399632113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399632433, 1399632318, 1399632539, 1399632215, 1399632038, 1399632113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.226956605911255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:13:22.109985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_35_9719.jpg', '/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_45_9586.jpg', '/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_55_9947.jpg', '/home/pi/Desktop/images/16122025/11/02/image_16122025_11_03_05_10804.jpg', '/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_15_9580.jpg', '/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_25_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_35_9719.jpg
/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_45_9586.jpg
/home/pi/Desktop/images/16122025/11/02/image_16122025_11_02_55_9947.jpg
/home/pi/Desktop/images/16122025/11/02/image_16122025_11_03_05_10804.jpg
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_15_9580.jpg
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_25_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399633000","1399633365","1399633254","1399633181","1399632926","1399633095"],"photo_ids_order":["1399632926","1399633000","1399633095","1399633181","1399633254","1399633365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36d4c22e99cd98dd549127e541cbe332.jpg","text":"TemporaryFile(/tmp/multipartBody920082399473999523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880062706,"filename":"image_16122025_11_02_45_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/16/956f3ed3b57bb7f2ca463c5c21246e4b.jpg","text":"TemporaryFile(/tmp/multipartBody3738007031062838959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880062706,"filename":"image_16122025_11_03_25_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/16/b4a7d52c138ca552dc68516fe5fd59a2.jpg","text":"TemporaryFile(/tmp/multipartBody6918351633282729570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880062706,"filename":"image_16122025_11_03_15_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e320be69ddf16dfe3eeec37cd82d406.jpg","text":"TemporaryFile(/tmp/multipartBody6395250903157329038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880062706,"filename":"image_16122025_11_03_05_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb54f6b368d75602593963426f603e59.jpg","text":"TemporaryFile(/tmp/multipartBody8159992876189898603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880062706,"filename":"image_16122025_11_02_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aeb3a0a4ee1619b88ed3984aced10672.jpg","text":"TemporaryFile(/tmp/multipartBody8251385532688576773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880062706,"filename":"image_16122025_11_02_55_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399633095","file1":"1399633000","file0":"1399632926","file4":"1399633254","file5":"1399633365","file3":"1399633181"},"map_files_photo_id_array":[{"photo_id":"1399633365","filename":"file5"},{"photo_id":"1399633095","filename":"file2"},{"photo_id":"1399633254","filename":"file4"},{"photo_id":"1399633000","filename":"file1"},{"photo_id":"1399632926","filename":"file0"},{"photo_id":"1399633181","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399633000":["hashtag1","hashtag2"]},{"1399633365":["hashtag1","hashtag2"]},{"1399633254":["hashtag1","hashtag2"]},{"1399633181":["hashtag1","hashtag2"]},{"1399632926":["hashtag1","hashtag2"]},{"1399633095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399633000, 1399633365, 1399633254, 1399633181, 1399632926, 1399633095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28597331047058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:14:02.824756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_35_10706.jpg', '/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_45_9634.jpg', '/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_55_9743.jpg', '/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_15_9634.jpg', '/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_25_9620.jpg', '/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_35_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_35_10706.jpg
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_45_9634.jpg
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_55_9743.jpg
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_15_9634.jpg
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_25_9620.jpg
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_35_10824.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49681901931762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:14:12.194592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:14:22.335918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_35_10706.jpg', '/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_45_9634.jpg', '/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_55_9743.jpg', '/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_15_9634.jpg', '/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_25_9620.jpg', '/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_35_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_35_10706.jpg
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_45_9634.jpg
/home/pi/Desktop/images/16122025/11/03/image_16122025_11_03_55_9743.jpg
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_15_9634.jpg
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_25_9620.jpg
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_35_10824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399633673","1399633646","1399633640","1399633643","1399633651","1399633648"],"photo_ids_order":["1399633640","1399633643","1399633646","1399633648","1399633651","1399633673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c460d2259dfe0f0dd3ba470e2b8d6a63.jpg","text":"TemporaryFile(/tmp/multipartBody6569411763707800936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880122963,"filename":"image_16122025_11_04_35_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/16/0b376f4323339ee4afcaf3fa99676fda.jpg","text":"TemporaryFile(/tmp/multipartBody168860863050014779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880122963,"filename":"image_16122025_11_03_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/16/483ba4d15ebe43fa46610e6d97258b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1786427778834197198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880122963,"filename":"image_16122025_11_03_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/238a714567d2dd8970126378c3c38c40.jpg","text":"TemporaryFile(/tmp/multipartBody6949676752894651293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880122963,"filename":"image_16122025_11_03_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/16/5038af5f26bb87d20123b96a2eb1452b.jpg","text":"TemporaryFile(/tmp/multipartBody1728649603876709239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880122963,"filename":"image_16122025_11_04_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a5d14228820e4b2b1a2e8c50bda9f353.jpg","text":"TemporaryFile(/tmp/multipartBody7797621857241784768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880122963,"filename":"image_16122025_11_04_15_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399633646","file1":"1399633643","file0":"1399633640","file4":"1399633651","file5":"1399633673","file3":"1399633648"},"map_files_photo_id_array":[{"photo_id":"1399633673","filename":"file5"},{"photo_id":"1399633646","filename":"file2"},{"photo_id":"1399633651","filename":"file4"},{"photo_id":"1399633643","filename":"file1"},{"photo_id":"1399633640","filename":"file0"},{"photo_id":"1399633648","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399633673":["hashtag1","hashtag2"]},{"1399633646":["hashtag1","hashtag2"]},{"1399633640":["hashtag1","hashtag2"]},{"1399633643":["hashtag1","hashtag2"]},{"1399633651":["hashtag1","hashtag2"]},{"1399633648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399633673, 1399633646, 1399633640, 1399633643, 1399633651, 1399633648)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.826403856277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:15:12.426651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:15:22.531084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_45_9768.jpg', '/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_55_9682.jpg', '/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_13_10057.jpg', '/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_24_10674.jpg', '/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_34_9608.jpg', '/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_44_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_45_9768.jpg
/home/pi/Desktop/images/16122025/11/04/image_16122025_11_04_55_9682.jpg
/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_13_10057.jpg
/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_24_10674.jpg
/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_34_9608.jpg
/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_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":["1399633944","1399633872","1399633948","1399633855","1399633858","1399633912"],"photo_ids_order":["1399633855","1399633858","1399633872","1399633912","1399633944","1399633948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76f5e8b2ef61295894beecae3e14a06c.jpg","text":"TemporaryFile(/tmp/multipartBody4795323470916500773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880183091,"filename":"image_16122025_11_05_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2dea9cb8722bbb77cbd56a7438d0a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4714228068446245029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880183091,"filename":"image_16122025_11_05_13_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee735d573a9ba0d25716d77a8985aefa.jpg","text":"TemporaryFile(/tmp/multipartBody1485490815263321270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880183091,"filename":"image_16122025_11_05_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/16/9b27d6e01138242d24a53b00a4291e84.jpg","text":"TemporaryFile(/tmp/multipartBody958366581017521861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880183091,"filename":"image_16122025_11_04_45_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9dfb344b4ab41551f65a9ce083d5f22.jpg","text":"TemporaryFile(/tmp/multipartBody5138121673361859218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880183091,"filename":"image_16122025_11_04_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/16/badcdbb08e4a8a2fd85c11aa28551924.jpg","text":"TemporaryFile(/tmp/multipartBody5411524806691546700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880183091,"filename":"image_16122025_11_05_24_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399633872","file1":"1399633858","file0":"1399633855","file4":"1399633944","file5":"1399633948","file3":"1399633912"},"map_files_photo_id_array":[{"photo_id":"1399633948","filename":"file5"},{"photo_id":"1399633872","filename":"file2"},{"photo_id":"1399633944","filename":"file4"},{"photo_id":"1399633858","filename":"file1"},{"photo_id":"1399633855","filename":"file0"},{"photo_id":"1399633912","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399633944":["hashtag1","hashtag2"]},{"1399633872":["hashtag1","hashtag2"]},{"1399633948":["hashtag1","hashtag2"]},{"1399633855":["hashtag1","hashtag2"]},{"1399633858":["hashtag1","hashtag2"]},{"1399633912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399633944, 1399633872, 1399633948, 1399633855, 1399633858, 1399633912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97853899002075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:16:03.058798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_54_9620.jpg', '/home/pi/Desktop/images/16122025/11/05/image_16122025_11_06_04_9675.jpg', '/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_14_10686.jpg', '/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_24_9574.jpg', '/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_34_9658.jpg', '/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_44_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/05/image_16122025_11_05_54_9620.jpg
/home/pi/Desktop/images/16122025/11/05/image_16122025_11_06_04_9675.jpg
/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_14_10686.jpg
/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_24_9574.jpg
/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_34_9658.jpg
/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_44_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":["1399634013","1399634016","1399634001","1399634009","1399634000","1399634014"],"photo_ids_order":["1399634000","1399634001","1399634009","1399634013","1399634014","1399634016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa7943ca699248ae821d3661151830c0.jpg","text":"TemporaryFile(/tmp/multipartBody7217775065465132687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880223717,"filename":"image_16122025_11_06_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/16/cfc19c73ac05fc9e5399ce2c4e656bc8.jpg","text":"TemporaryFile(/tmp/multipartBody3039599037623970447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880223717,"filename":"image_16122025_11_06_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/16/44496a5272e86bb83cdbff4c6a572c87.jpg","text":"TemporaryFile(/tmp/multipartBody7223346785942638201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880223717,"filename":"image_16122025_11_06_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/16/0526a6be3e3e8bc6bb7aefdbebfaba9b.jpg","text":"TemporaryFile(/tmp/multipartBody6558584911550229254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880223717,"filename":"image_16122025_11_06_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6a46e63140362d83161466693393fc8.jpg","text":"TemporaryFile(/tmp/multipartBody2004231277708592672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880223717,"filename":"image_16122025_11_05_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/16/3a9a57fd56e469378cbdbed596c1d217.jpg","text":"TemporaryFile(/tmp/multipartBody4018076465988853922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880223717,"filename":"image_16122025_11_06_34_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634009","file1":"1399634001","file0":"1399634000","file4":"1399634014","file5":"1399634016","file3":"1399634013"},"map_files_photo_id_array":[{"photo_id":"1399634016","filename":"file5"},{"photo_id":"1399634009","filename":"file2"},{"photo_id":"1399634014","filename":"file4"},{"photo_id":"1399634001","filename":"file1"},{"photo_id":"1399634000","filename":"file0"},{"photo_id":"1399634013","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634013":["hashtag1","hashtag2"]},{"1399634016":["hashtag1","hashtag2"]},{"1399634001":["hashtag1","hashtag2"]},{"1399634009":["hashtag1","hashtag2"]},{"1399634000":["hashtag1","hashtag2"]},{"1399634014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634013, 1399634016, 1399634001, 1399634009, 1399634000, 1399634014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17733454704285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:16:42.564439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_13_2672.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_16_2616.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_19_3582.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_22_2682.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_25_2734.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_29_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_13_2672.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_16_2616.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_19_3582.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_22_2682.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_25_2734.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_29_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":["1399634025","1399634028","1399634024","1399634021","1399634023","1399634026"],"photo_ids_order":["1399634021","1399634023","1399634024","1399634025","1399634026","1399634028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fdaaed25f6ad3dbfcd91dff6fbd9289.jpg","text":"TemporaryFile(/tmp/multipartBody4697195914781720252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880263286,"filename":"image_06112025_16_01_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/16/3873bf8e2013c247d22bbd307b0fb6f4.jpg","text":"TemporaryFile(/tmp/multipartBody8277136306922309379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880263286,"filename":"image_06112025_16_01_29_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/16/0b4336c428de68226d50c9efff56cdb3.jpg","text":"TemporaryFile(/tmp/multipartBody642684637340906825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880263286,"filename":"image_06112025_16_01_19_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/16/af31fd6f6c28da97774a7f4af0b793ad.jpg","text":"TemporaryFile(/tmp/multipartBody4590717735930916748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880263286,"filename":"image_06112025_16_01_13_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0936083e7f1a29be7c2c5fad847c9d85.jpg","text":"TemporaryFile(/tmp/multipartBody8941275095804094113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880263286,"filename":"image_06112025_16_01_16_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/930373c82279af79c8d90818f84706be.jpg","text":"TemporaryFile(/tmp/multipartBody5970948874023324646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880263286,"filename":"image_06112025_16_01_25_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634024","file1":"1399634023","file0":"1399634021","file4":"1399634026","file5":"1399634028","file3":"1399634025"},"map_files_photo_id_array":[{"photo_id":"1399634028","filename":"file5"},{"photo_id":"1399634024","filename":"file2"},{"photo_id":"1399634026","filename":"file4"},{"photo_id":"1399634023","filename":"file1"},{"photo_id":"1399634021","filename":"file0"},{"photo_id":"1399634025","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399634025":["hashtag1","hashtag2"]},{"1399634028":["hashtag1","hashtag2"]},{"1399634024":["hashtag1","hashtag2"]},{"1399634021":["hashtag1","hashtag2"]},{"1399634023":["hashtag1","hashtag2"]},{"1399634026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399634025, 1399634028, 1399634024, 1399634021, 1399634023, 1399634026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.448824882507324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:17:22.848715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_54_9788.jpg', '/home/pi/Desktop/images/16122025/11/06/image_16122025_11_07_04_9746.jpg', '/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_14_9667.jpg', '/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_24_10659.jpg', '/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_34_9724.jpg', '/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_43_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/06/image_16122025_11_06_54_9788.jpg
/home/pi/Desktop/images/16122025/11/06/image_16122025_11_07_04_9746.jpg
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_14_9667.jpg
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_24_10659.jpg
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_34_9724.jpg
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_43_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634031","1399634034","1399634042","1399634030","1399634035","1399634038"],"photo_ids_order":["1399634030","1399634031","1399634034","1399634035","1399634038","1399634042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81ee1347cb6e1e9482caad16d6b101f2.jpg","text":"TemporaryFile(/tmp/multipartBody5609830586354470833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880303445,"filename":"image_16122025_11_07_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08079cb2fd0277526e8aec14900f605f.jpg","text":"TemporaryFile(/tmp/multipartBody291478312351941255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880303445,"filename":"image_16122025_11_07_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc84bf4fc9364a83b4a0af8d01829276.jpg","text":"TemporaryFile(/tmp/multipartBody5519236122117234153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880303445,"filename":"image_16122025_11_07_43_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/16/238f3a3c057918e8f3653b712a8dc7fa.jpg","text":"TemporaryFile(/tmp/multipartBody5134609706529415331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880303445,"filename":"image_16122025_11_06_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/16/3225f2d2c7bc6114ed4395ed4e4e5432.jpg","text":"TemporaryFile(/tmp/multipartBody1196425673339782376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880303445,"filename":"image_16122025_11_07_24_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/883553912f0b86809a9bf8dcaa7727af.jpg","text":"TemporaryFile(/tmp/multipartBody4366310272040013670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880303445,"filename":"image_16122025_11_07_34_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634034","file1":"1399634031","file0":"1399634030","file4":"1399634038","file5":"1399634042","file3":"1399634035"},"map_files_photo_id_array":[{"photo_id":"1399634042","filename":"file5"},{"photo_id":"1399634034","filename":"file2"},{"photo_id":"1399634038","filename":"file4"},{"photo_id":"1399634031","filename":"file1"},{"photo_id":"1399634030","filename":"file0"},{"photo_id":"1399634035","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634031":["hashtag1","hashtag2"]},{"1399634034":["hashtag1","hashtag2"]},{"1399634042":["hashtag1","hashtag2"]},{"1399634030":["hashtag1","hashtag2"]},{"1399634035":["hashtag1","hashtag2"]},{"1399634038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634031, 1399634034, 1399634042, 1399634030, 1399634035, 1399634038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57217574119568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:18:02.471216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_54_10755.jpg', '/home/pi/Desktop/images/16122025/11/07/image_16122025_11_08_04_9644.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_14_9892.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_24_10583.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_34_9572.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_54_10755.jpg
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_08_04_9644.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_14_9892.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_24_10583.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_34_9572.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_44_9614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.543114185333252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:18:12.005332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:18:22.184508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_54_10755.jpg', '/home/pi/Desktop/images/16122025/11/07/image_16122025_11_08_04_9644.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_14_9892.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_24_10583.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_34_9572.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_07_54_10755.jpg
/home/pi/Desktop/images/16122025/11/07/image_16122025_11_08_04_9644.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_14_9892.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_24_10583.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_34_9572.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_44_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634346","1399634432","1399634411","1399634326","1399634434","1399634373"],"photo_ids_order":["1399634326","1399634346","1399634373","1399634411","1399634432","1399634434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b45c700e4b44160ecfd9d6254429718f.jpg","text":"TemporaryFile(/tmp/multipartBody7873236251559188627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880362779,"filename":"image_16122025_11_08_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa8864028bd97e27f545d13128a77a91.jpg","text":"TemporaryFile(/tmp/multipartBody7724674674322588765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880362779,"filename":"image_16122025_11_08_34_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a17467f9c4059fd572d3aee86b06943.jpg","text":"TemporaryFile(/tmp/multipartBody4111627894614573708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880362779,"filename":"image_16122025_11_08_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/16/bfe56ba06cb9ffe7c45856c675b03acd.jpg","text":"TemporaryFile(/tmp/multipartBody3576057432177243171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880362779,"filename":"image_16122025_11_07_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/16/73102387126308a11c8d982fba832aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4658108696235760305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880362779,"filename":"image_16122025_11_08_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/16/946ef4a0a472ec5ffc937dd2c5c32e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5429198921516515145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880362779,"filename":"image_16122025_11_08_14_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634373","file1":"1399634346","file0":"1399634326","file4":"1399634432","file5":"1399634434","file3":"1399634411"},"map_files_photo_id_array":[{"photo_id":"1399634434","filename":"file5"},{"photo_id":"1399634373","filename":"file2"},{"photo_id":"1399634432","filename":"file4"},{"photo_id":"1399634346","filename":"file1"},{"photo_id":"1399634326","filename":"file0"},{"photo_id":"1399634411","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634346":["hashtag1","hashtag2"]},{"1399634432":["hashtag1","hashtag2"]},{"1399634411":["hashtag1","hashtag2"]},{"1399634326":["hashtag1","hashtag2"]},{"1399634434":["hashtag1","hashtag2"]},{"1399634373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634346, 1399634432, 1399634411, 1399634326, 1399634434, 1399634373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51913905143738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:19:03.210456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_54_10449.jpg', '/home/pi/Desktop/images/16122025/11/08/image_16122025_11_09_04_9670.jpg', '/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_14_10695.jpg', '/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_24_9721.jpg', '/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_34_9529.jpg', '/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_43_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_08_54_10449.jpg
/home/pi/Desktop/images/16122025/11/08/image_16122025_11_09_04_9670.jpg
/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_14_10695.jpg
/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_24_9721.jpg
/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_34_9529.jpg
/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_43_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634436","1399634441","1399634435","1399634438","1399634443","1399634437"],"photo_ids_order":["1399634435","1399634436","1399634437","1399634438","1399634441","1399634443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7cf902ba6056c857b256d8906aad990.jpg","text":"TemporaryFile(/tmp/multipartBody703633220899169992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880403995,"filename":"image_16122025_11_09_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/16/9fde69e1e40bd40f56265e640d60476b.jpg","text":"TemporaryFile(/tmp/multipartBody3237309190301555951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880403995,"filename":"image_16122025_11_09_34_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e348d9fe0c161892944afcc132cb9e65.jpg","text":"TemporaryFile(/tmp/multipartBody7187784170171834623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880403995,"filename":"image_16122025_11_08_54_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/16/ce661eaa297a462f2f56dd2fdf42f3c7.jpg","text":"TemporaryFile(/tmp/multipartBody5657943288369035034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880403995,"filename":"image_16122025_11_09_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/027302f7920887027abb4b26dbeeebc5.jpg","text":"TemporaryFile(/tmp/multipartBody1524274705140762922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880403995,"filename":"image_16122025_11_09_43_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e271de914560cb56bc0d65dbe9f2cb39.jpg","text":"TemporaryFile(/tmp/multipartBody1158689264991287701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880403995,"filename":"image_16122025_11_09_14_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634437","file1":"1399634436","file0":"1399634435","file4":"1399634441","file5":"1399634443","file3":"1399634438"},"map_files_photo_id_array":[{"photo_id":"1399634443","filename":"file5"},{"photo_id":"1399634437","filename":"file2"},{"photo_id":"1399634441","filename":"file4"},{"photo_id":"1399634436","filename":"file1"},{"photo_id":"1399634435","filename":"file0"},{"photo_id":"1399634438","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634436":["hashtag1","hashtag2"]},{"1399634441":["hashtag1","hashtag2"]},{"1399634435":["hashtag1","hashtag2"]},{"1399634438":["hashtag1","hashtag2"]},{"1399634443":["hashtag1","hashtag2"]},{"1399634437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634436, 1399634441, 1399634435, 1399634438, 1399634443, 1399634437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.990623235702515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:20:02.993988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_54_10708.jpg', '/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_14_10052.jpg', '/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_25_10662.jpg', '/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_34_9632.jpg', '/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_44_9700.jpg', '/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_55_10818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/09/image_16122025_11_09_54_10708.jpg
/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_14_10052.jpg
/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_25_10662.jpg
/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_34_9632.jpg
/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_44_9700.jpg
/home/pi/Desktop/images/16122025/11/10/image_16122025_11_10_55_10818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634450","1399634453","1399634449","1399634452","1399634451","1399634454"],"photo_ids_order":["1399634449","1399634450","1399634451","1399634452","1399634453","1399634454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ebee845cf809239558292ec925c64837.jpg","text":"TemporaryFile(/tmp/multipartBody6275994359801122469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880463609,"filename":"image_16122025_11_10_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3014e7e6896e288786ecbbbfc9b7b869.jpg","text":"TemporaryFile(/tmp/multipartBody8784326040770699769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880463609,"filename":"image_16122025_11_10_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/16/36c772fc8ccec23a711a375b02b6171e.jpg","text":"TemporaryFile(/tmp/multipartBody484920615056558270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880463609,"filename":"image_16122025_11_09_54_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccda0a549d12647d2e89b9c290cf4a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5545655238668984753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880463609,"filename":"image_16122025_11_10_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/16/beaff79b35b55d8e2e181cb3ed71c679.jpg","text":"TemporaryFile(/tmp/multipartBody5727077932757233747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880463609,"filename":"image_16122025_11_10_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/16/2f6f288e51952a2794e0689472eaa866.jpg","text":"TemporaryFile(/tmp/multipartBody2410641577596161349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880463609,"filename":"image_16122025_11_10_55_10818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634451","file1":"1399634450","file0":"1399634449","file4":"1399634453","file5":"1399634454","file3":"1399634452"},"map_files_photo_id_array":[{"photo_id":"1399634454","filename":"file5"},{"photo_id":"1399634451","filename":"file2"},{"photo_id":"1399634453","filename":"file4"},{"photo_id":"1399634450","filename":"file1"},{"photo_id":"1399634449","filename":"file0"},{"photo_id":"1399634452","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634450":["hashtag1","hashtag2"]},{"1399634453":["hashtag1","hashtag2"]},{"1399634449":["hashtag1","hashtag2"]},{"1399634452":["hashtag1","hashtag2"]},{"1399634451":["hashtag1","hashtag2"]},{"1399634454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634450, 1399634453, 1399634449, 1399634452, 1399634451, 1399634454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15157723426819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:20:42.450851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_31_2747.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_34_3167.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_37_2619.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_40_2716.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_43_3627.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_46_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_31_2747.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_34_3167.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_37_2619.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_40_2716.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_43_3627.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_46_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":["1399634463","1399634465","1399634467","1399634470","1399634469","1399634460"],"photo_ids_order":["1399634460","1399634463","1399634465","1399634467","1399634469","1399634470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64702c205e50465d44a35dd1ab6f55a3.jpg","text":"TemporaryFile(/tmp/multipartBody2550158717106624440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880503222,"filename":"image_06112025_16_01_34_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/16/56c5ac6c162d0f6beb1b86b42616f8f5.jpg","text":"TemporaryFile(/tmp/multipartBody4575606336396071506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880503222,"filename":"image_06112025_16_01_37_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/16/4fefd9cdb9ec8c01280f1347175addea.jpg","text":"TemporaryFile(/tmp/multipartBody3427400801162561223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880503222,"filename":"image_06112025_16_01_40_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/16/12db1affc33f83d29b0a020064919619.jpg","text":"TemporaryFile(/tmp/multipartBody7570304657296509459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880503222,"filename":"image_06112025_16_01_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/16/5831c7fb82992939c186e8aca3b2e433.jpg","text":"TemporaryFile(/tmp/multipartBody7336526475168221674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880503222,"filename":"image_06112025_16_01_43_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6da83ff08748630ca8e08db5e6161180.jpg","text":"TemporaryFile(/tmp/multipartBody1639736878736148128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880503222,"filename":"image_06112025_16_01_31_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634465","file1":"1399634463","file0":"1399634460","file4":"1399634469","file5":"1399634470","file3":"1399634467"},"map_files_photo_id_array":[{"photo_id":"1399634470","filename":"file5"},{"photo_id":"1399634465","filename":"file2"},{"photo_id":"1399634469","filename":"file4"},{"photo_id":"1399634463","filename":"file1"},{"photo_id":"1399634460","filename":"file0"},{"photo_id":"1399634467","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399634463":["hashtag1","hashtag2"]},{"1399634465":["hashtag1","hashtag2"]},{"1399634467":["hashtag1","hashtag2"]},{"1399634470":["hashtag1","hashtag2"]},{"1399634469":["hashtag1","hashtag2"]},{"1399634460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399634463, 1399634465, 1399634467, 1399634470, 1399634469, 1399634460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18480372428894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:21:22.692372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/10/image_16122025_11_11_05_10002.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_14_9595.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_24_9671.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_35_10730.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_44_9621.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_54_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/10/image_16122025_11_11_05_10002.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_14_9595.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_24_9671.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_35_10730.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_44_9621.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_54_9752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4973571300506592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:21:32.802691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:21:42.731664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_49_2706.jpg', '/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_53_3697.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_04_11572.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_10_6003.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_12_1655.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_13_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_49_2706.jpg
/home/pi/Desktop/images/06112025/16/01/image_06112025_16_01_53_3697.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_04_11572.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_10_6003.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_12_1655.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_13_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":["1399634486","1399634485","1399634488","1399634482","1399634484","1399634487"],"photo_ids_order":["1399634482","1399634484","1399634485","1399634486","1399634487","1399634488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c4fd49ace98fec447a2f2f1b006830c0.jpg","text":"TemporaryFile(/tmp/multipartBody1704859214328589455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880563437,"filename":"image_06112025_16_02_10_6003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ba0a7f6d3b1039cd859341dff054fed.jpg","text":"TemporaryFile(/tmp/multipartBody2776292566192685652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880563437,"filename":"image_06112025_16_02_04_11572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a69d71826c90e1e5cfb0ec9854c84e9.jpg","text":"TemporaryFile(/tmp/multipartBody7069859419860541080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880563437,"filename":"image_06112025_16_02_13_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/16/4c1f6ce2c0d0a2f1b601485dbda7d033.jpg","text":"TemporaryFile(/tmp/multipartBody1010956978896386925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880563437,"filename":"image_06112025_16_01_49_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50720afe476ac935264e852463a5f84c.jpg","text":"TemporaryFile(/tmp/multipartBody6861165896674960703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880563437,"filename":"image_06112025_16_01_53_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/16/5ee01f1714a5d69fc1b7d2c9cd61d02e.jpg","text":"TemporaryFile(/tmp/multipartBody8125375010877099501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880563437,"filename":"image_06112025_16_02_12_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634485","file1":"1399634484","file0":"1399634482","file4":"1399634487","file5":"1399634488","file3":"1399634486"},"map_files_photo_id_array":[{"photo_id":"1399634488","filename":"file5"},{"photo_id":"1399634485","filename":"file2"},{"photo_id":"1399634487","filename":"file4"},{"photo_id":"1399634484","filename":"file1"},{"photo_id":"1399634482","filename":"file0"},{"photo_id":"1399634486","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399634486":["hashtag1","hashtag2"]},{"1399634485":["hashtag1","hashtag2"]},{"1399634488":["hashtag1","hashtag2"]},{"1399634482":["hashtag1","hashtag2"]},{"1399634484":["hashtag1","hashtag2"]},{"1399634487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399634486, 1399634485, 1399634488, 1399634482, 1399634484, 1399634487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711679220199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:22:22.050101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/10/image_16122025_11_11_05_10002.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_14_9595.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_24_9671.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_35_10730.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_44_9621.jpg', '/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_54_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/10/image_16122025_11_11_05_10002.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_14_9595.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_24_9671.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_35_10730.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_44_9621.jpg
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_11_54_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634489","1399634498","1399634492","1399634501","1399634496","1399634493"],"photo_ids_order":["1399634489","1399634492","1399634493","1399634496","1399634498","1399634501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7614e71409d40f739b5301857ca915f6.jpg","text":"TemporaryFile(/tmp/multipartBody8505510272235076028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880602648,"filename":"image_16122025_11_11_05_10002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/689135145dff15588d4ad43655372803.jpg","text":"TemporaryFile(/tmp/multipartBody5661025417358974907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880602648,"filename":"image_16122025_11_11_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf6287db1753f634b388f18d2465050a.jpg","text":"TemporaryFile(/tmp/multipartBody1679072523961768025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880602648,"filename":"image_16122025_11_11_14_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff32718261f99670e8d2550370e91c8b.jpg","text":"TemporaryFile(/tmp/multipartBody437960498051289967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880602648,"filename":"image_16122025_11_11_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/16/cb546031fe5954afb67f7da955119efb.jpg","text":"TemporaryFile(/tmp/multipartBody1747780723023283092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880602648,"filename":"image_16122025_11_11_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18d4dc043ddea066f6d7a11889c0cdf2.jpg","text":"TemporaryFile(/tmp/multipartBody661936331369620319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880602648,"filename":"image_16122025_11_11_24_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634493","file1":"1399634492","file0":"1399634489","file4":"1399634498","file5":"1399634501","file3":"1399634496"},"map_files_photo_id_array":[{"photo_id":"1399634501","filename":"file5"},{"photo_id":"1399634493","filename":"file2"},{"photo_id":"1399634498","filename":"file4"},{"photo_id":"1399634492","filename":"file1"},{"photo_id":"1399634489","filename":"file0"},{"photo_id":"1399634496","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634489":["hashtag1","hashtag2"]},{"1399634498":["hashtag1","hashtag2"]},{"1399634492":["hashtag1","hashtag2"]},{"1399634501":["hashtag1","hashtag2"]},{"1399634496":["hashtag1","hashtag2"]},{"1399634493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634489, 1399634498, 1399634492, 1399634501, 1399634496, 1399634493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37902283668518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:23:02.938084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/11/image_16122025_11_12_05_10684.jpg', '/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_14_9740.jpg', '/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_24_9679.jpg', '/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_34_9693.jpg', '/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_45_10890.jpg', '/home/pi/Desktop/images/16122025/11/12/image_16122025_11_13_04_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/11/image_16122025_11_12_05_10684.jpg
/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_14_9740.jpg
/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_24_9679.jpg
/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_34_9693.jpg
/home/pi/Desktop/images/16122025/11/12/image_16122025_11_12_45_10890.jpg
/home/pi/Desktop/images/16122025/11/12/image_16122025_11_13_04_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634502","1399634505","1399634504","1399634506","1399634509","1399634503"],"photo_ids_order":["1399634502","1399634503","1399634504","1399634505","1399634506","1399634509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95811474c0644570b55c07916991c993.jpg","text":"TemporaryFile(/tmp/multipartBody7992173894256157101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880643595,"filename":"image_16122025_11_12_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/16/23b30b0c5a4d30eb9e92883c50ccf7b8.jpg","text":"TemporaryFile(/tmp/multipartBody820130392667327155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880643595,"filename":"image_16122025_11_12_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/16/224b5f52241d13bf7d884bd1ad539f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3176457923571164884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880643595,"filename":"image_16122025_11_12_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8d5146795cf964ae4c3b6fc12b638bd.jpg","text":"TemporaryFile(/tmp/multipartBody4123033175518915930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880643595,"filename":"image_16122025_11_12_45_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/16/05d041f8bdac124151d975a31d4e736d.jpg","text":"TemporaryFile(/tmp/multipartBody2769139249224553137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880643595,"filename":"image_16122025_11_13_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/16/a155ac51c3ca1ef14f5c2230efff3f15.jpg","text":"TemporaryFile(/tmp/multipartBody75413071682217341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880643595,"filename":"image_16122025_11_12_14_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634504","file1":"1399634503","file0":"1399634502","file4":"1399634506","file5":"1399634509","file3":"1399634505"},"map_files_photo_id_array":[{"photo_id":"1399634509","filename":"file5"},{"photo_id":"1399634504","filename":"file2"},{"photo_id":"1399634506","filename":"file4"},{"photo_id":"1399634503","filename":"file1"},{"photo_id":"1399634502","filename":"file0"},{"photo_id":"1399634505","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634502":["hashtag1","hashtag2"]},{"1399634505":["hashtag1","hashtag2"]},{"1399634504":["hashtag1","hashtag2"]},{"1399634506":["hashtag1","hashtag2"]},{"1399634509":["hashtag1","hashtag2"]},{"1399634503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634502, 1399634505, 1399634504, 1399634506, 1399634509, 1399634503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75788640975952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:23:42.173626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_15_1753.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_17_1664.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_19_1796.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_20_1600.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_22_1579.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_23_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_15_1753.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_17_1664.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_19_1796.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_20_1600.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_22_1579.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_23_1608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634535","1399634538","1399634534","1399634513","1399634537","1399634521"],"photo_ids_order":["1399634513","1399634521","1399634534","1399634535","1399634537","1399634538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/706e89ff661cbbaa6a3c7efc3126636c.jpg","text":"TemporaryFile(/tmp/multipartBody2329313722212698897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880682896,"filename":"image_06112025_16_02_20_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/16/6439925edef2709707c5eb16abb43ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4066542930662281755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880682896,"filename":"image_06112025_16_02_23_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c36aadf4107a3d7b7a7b0fa66cab604.jpg","text":"TemporaryFile(/tmp/multipartBody6749501426920789746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880682896,"filename":"image_06112025_16_02_19_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/16/02c685ae8a0f0f93107e7bb96e832533.jpg","text":"TemporaryFile(/tmp/multipartBody6215140692939066810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880682896,"filename":"image_06112025_16_02_15_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/16/c5e78f468b66547be9c98bcbcaaa6c15.jpg","text":"TemporaryFile(/tmp/multipartBody4755994147499422574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880682896,"filename":"image_06112025_16_02_22_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/16/5e28217da6a7e8b36e2a70c9f32e0f2d.jpg","text":"TemporaryFile(/tmp/multipartBody8376868885565278724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880682896,"filename":"image_06112025_16_02_17_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634534","file1":"1399634521","file0":"1399634513","file4":"1399634537","file5":"1399634538","file3":"1399634535"},"map_files_photo_id_array":[{"photo_id":"1399634538","filename":"file5"},{"photo_id":"1399634534","filename":"file2"},{"photo_id":"1399634537","filename":"file4"},{"photo_id":"1399634521","filename":"file1"},{"photo_id":"1399634513","filename":"file0"},{"photo_id":"1399634535","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399634535":["hashtag1","hashtag2"]},{"1399634538":["hashtag1","hashtag2"]},{"1399634534":["hashtag1","hashtag2"]},{"1399634513":["hashtag1","hashtag2"]},{"1399634537":["hashtag1","hashtag2"]},{"1399634521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399634535, 1399634538, 1399634534, 1399634513, 1399634537, 1399634521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.730995178222656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:24:22.533290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_14_9676.jpg', '/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_25_10686.jpg', '/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_34_9692.jpg', '/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_44_9776.jpg', '/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_54_9913.jpg', '/home/pi/Desktop/images/16122025/11/13/image_16122025_11_14_05_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_14_9676.jpg
/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_25_10686.jpg
/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_34_9692.jpg
/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_44_9776.jpg
/home/pi/Desktop/images/16122025/11/13/image_16122025_11_13_54_9913.jpg
/home/pi/Desktop/images/16122025/11/13/image_16122025_11_14_05_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634556","1399634546","1399634549","1399634542","1399634551","1399634553"],"photo_ids_order":["1399634542","1399634546","1399634549","1399634551","1399634553","1399634556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1eba07447f55ec3a7b43bb06842eaf5.jpg","text":"TemporaryFile(/tmp/multipartBody1886708225349090185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880723134,"filename":"image_16122025_11_14_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/125572fcb9e12c2ab4f6e7fa44a23b33.jpg","text":"TemporaryFile(/tmp/multipartBody2554021367470907502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880723134,"filename":"image_16122025_11_13_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/16/57f865d981e6c698f18ad7189f34bbe0.jpg","text":"TemporaryFile(/tmp/multipartBody3838401832863212020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880723134,"filename":"image_16122025_11_13_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/16/510c54a8c0dcdece243836639569d3d7.jpg","text":"TemporaryFile(/tmp/multipartBody1083317416260997601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880723134,"filename":"image_16122025_11_13_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/527a7e89fc71b98569e6510d132de8e2.jpg","text":"TemporaryFile(/tmp/multipartBody3842425570522380272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880723134,"filename":"image_16122025_11_13_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8eb5bcd11d973c832bff8a69ffa6bddb.jpg","text":"TemporaryFile(/tmp/multipartBody2596147949305116499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880723134,"filename":"image_16122025_11_13_54_9913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634549","file1":"1399634546","file0":"1399634542","file4":"1399634553","file5":"1399634556","file3":"1399634551"},"map_files_photo_id_array":[{"photo_id":"1399634556","filename":"file5"},{"photo_id":"1399634549","filename":"file2"},{"photo_id":"1399634553","filename":"file4"},{"photo_id":"1399634546","filename":"file1"},{"photo_id":"1399634542","filename":"file0"},{"photo_id":"1399634551","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634556":["hashtag1","hashtag2"]},{"1399634546":["hashtag1","hashtag2"]},{"1399634549":["hashtag1","hashtag2"]},{"1399634542":["hashtag1","hashtag2"]},{"1399634551":["hashtag1","hashtag2"]},{"1399634553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634556, 1399634546, 1399634549, 1399634542, 1399634551, 1399634553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30280590057373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:25:03.354051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_14_9614.jpg', '/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_24_9785.jpg', '/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_35_10593.jpg', '/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_44_9763.jpg', '/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_54_9786.jpg', '/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_14_9614.jpg
/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_24_9785.jpg
/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_35_10593.jpg
/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_44_9763.jpg
/home/pi/Desktop/images/16122025/11/14/image_16122025_11_14_54_9786.jpg
/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634699","1399634601","1399634678","1399634639","1399634662","1399634679"],"photo_ids_order":["1399634601","1399634639","1399634662","1399634678","1399634679","1399634699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47a6d834e559227c08fd8cdb5addec62.jpg","text":"TemporaryFile(/tmp/multipartBody1011312977583513834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880763998,"filename":"image_16122025_11_16_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9ff26ddb842baa54476a5cd32f05c43.jpg","text":"TemporaryFile(/tmp/multipartBody6329922389856814920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880763998,"filename":"image_16122025_11_14_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/568a8051090374fc438fe55aeadf27a8.jpg","text":"TemporaryFile(/tmp/multipartBody3131319897296044200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880763998,"filename":"image_16122025_11_14_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/16/bca6e899a1b92dda4cd0fcb86eb0d85a.jpg","text":"TemporaryFile(/tmp/multipartBody8770405614045724065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880763998,"filename":"image_16122025_11_14_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/16/12f47a1ddd8791b83e1cc563f4a06981.jpg","text":"TemporaryFile(/tmp/multipartBody3470859944034152899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880763998,"filename":"image_16122025_11_14_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af71b8734be3c5a3154ee7e2c7fcd953.jpg","text":"TemporaryFile(/tmp/multipartBody680597127726452773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880763998,"filename":"image_16122025_11_14_54_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634662","file1":"1399634639","file0":"1399634601","file4":"1399634679","file5":"1399634699","file3":"1399634678"},"map_files_photo_id_array":[{"photo_id":"1399634699","filename":"file5"},{"photo_id":"1399634662","filename":"file2"},{"photo_id":"1399634679","filename":"file4"},{"photo_id":"1399634639","filename":"file1"},{"photo_id":"1399634601","filename":"file0"},{"photo_id":"1399634678","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634699":["hashtag1","hashtag2"]},{"1399634601":["hashtag1","hashtag2"]},{"1399634678":["hashtag1","hashtag2"]},{"1399634639":["hashtag1","hashtag2"]},{"1399634662":["hashtag1","hashtag2"]},{"1399634679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634699, 1399634601, 1399634678, 1399634639, 1399634662, 1399634679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81981801986694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:25:42.713995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_25_1666.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_28_2677.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_31_3566.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_38_3614.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_40_2662.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_43_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_25_1666.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_28_2677.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_31_3566.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_38_3614.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_40_2662.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_43_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":["1399634727","1399634723","1399634726","1399634729","1399634728","1399634730"],"photo_ids_order":["1399634723","1399634726","1399634727","1399634728","1399634729","1399634730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f48dd6a515e3d4a6bbc53325ab7fbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4114334844893554593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880803437,"filename":"image_06112025_16_02_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/16/a986e1322a83c4d3dfe7f69991bc8f23.jpg","text":"TemporaryFile(/tmp/multipartBody1195936966434473924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880803437,"filename":"image_06112025_16_02_25_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cda3a047a3794393e55adff353edcaeb.jpg","text":"TemporaryFile(/tmp/multipartBody6799085745857500039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880803437,"filename":"image_06112025_16_02_28_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/991e4f8ea8f06321a4f6146c530d8f65.jpg","text":"TemporaryFile(/tmp/multipartBody2495640104429645447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880803437,"filename":"image_06112025_16_02_40_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/16/4003500a0a7f9a6c7d420e869226bdff.jpg","text":"TemporaryFile(/tmp/multipartBody8263674426045693788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880803437,"filename":"image_06112025_16_02_38_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/16/e0fb35caa66d2f23be38cc04d5b4926f.jpg","text":"TemporaryFile(/tmp/multipartBody7499376813176664704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880803437,"filename":"image_06112025_16_02_43_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634727","file1":"1399634726","file0":"1399634723","file4":"1399634729","file5":"1399634730","file3":"1399634728"},"map_files_photo_id_array":[{"photo_id":"1399634730","filename":"file5"},{"photo_id":"1399634727","filename":"file2"},{"photo_id":"1399634729","filename":"file4"},{"photo_id":"1399634726","filename":"file1"},{"photo_id":"1399634723","filename":"file0"},{"photo_id":"1399634728","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399634727":["hashtag1","hashtag2"]},{"1399634723":["hashtag1","hashtag2"]},{"1399634726":["hashtag1","hashtag2"]},{"1399634729":["hashtag1","hashtag2"]},{"1399634728":["hashtag1","hashtag2"]},{"1399634730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399634727, 1399634723, 1399634726, 1399634729, 1399634728, 1399634730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329960346221924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:26:21.995593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_25_10634.jpg', '/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_34_9792.jpg', '/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_44_9615.jpg', '/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_55_10623.jpg', '/home/pi/Desktop/images/16122025/11/16/image_16122025_11_17_05_9886.jpg', '/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_25_10634.jpg
/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_34_9792.jpg
/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_44_9615.jpg
/home/pi/Desktop/images/16122025/11/16/image_16122025_11_16_55_10623.jpg
/home/pi/Desktop/images/16122025/11/16/image_16122025_11_17_05_9886.jpg
/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634742","1399634736","1399634738","1399634732","1399634734","1399634731"],"photo_ids_order":["1399634731","1399634732","1399634734","1399634736","1399634738","1399634742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a330d4770ccf07c349662aff58a4b2a6.jpg","text":"TemporaryFile(/tmp/multipartBody6386931651803798236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880842592,"filename":"image_16122025_11_17_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/16/5261a55d408689bd30e40e1d3eca51f1.jpg","text":"TemporaryFile(/tmp/multipartBody5378667016146571548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880842592,"filename":"image_16122025_11_16_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/16/0ee2256d60838922e23f634c556b474a.jpg","text":"TemporaryFile(/tmp/multipartBody4622403765371041445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880842592,"filename":"image_16122025_11_17_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/16/0dd8296d11e7141b21616fef01c4aceb.jpg","text":"TemporaryFile(/tmp/multipartBody7479818196976385465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880842592,"filename":"image_16122025_11_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/16/edae3a707ece3f0b2294e4ff8e666bea.jpg","text":"TemporaryFile(/tmp/multipartBody3381024168747389099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880842592,"filename":"image_16122025_11_16_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/16/60252d3e9a2195131c8f543e64d68aab.jpg","text":"TemporaryFile(/tmp/multipartBody8226472116015017620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880842592,"filename":"image_16122025_11_16_25_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634734","file1":"1399634732","file0":"1399634731","file4":"1399634738","file5":"1399634742","file3":"1399634736"},"map_files_photo_id_array":[{"photo_id":"1399634742","filename":"file5"},{"photo_id":"1399634734","filename":"file2"},{"photo_id":"1399634738","filename":"file4"},{"photo_id":"1399634732","filename":"file1"},{"photo_id":"1399634731","filename":"file0"},{"photo_id":"1399634736","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634742":["hashtag1","hashtag2"]},{"1399634736":["hashtag1","hashtag2"]},{"1399634738":["hashtag1","hashtag2"]},{"1399634732":["hashtag1","hashtag2"]},{"1399634734":["hashtag1","hashtag2"]},{"1399634731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634742, 1399634736, 1399634738, 1399634732, 1399634734, 1399634731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.305983543395996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:27:02.897327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_24_9868.jpg', '/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_34_9814.jpg', '/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_45_10720.jpg', '/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_54_9807.jpg', '/home/pi/Desktop/images/16122025/11/17/image_16122025_11_18_04_9730.jpg', '/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_15_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_24_9868.jpg
/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_34_9814.jpg
/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_45_10720.jpg
/home/pi/Desktop/images/16122025/11/17/image_16122025_11_17_54_9807.jpg
/home/pi/Desktop/images/16122025/11/17/image_16122025_11_18_04_9730.jpg
/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_15_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634774","1399634768","1399634779","1399634776","1399634775","1399634772"],"photo_ids_order":["1399634768","1399634772","1399634774","1399634775","1399634776","1399634779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/718668cc180d90611049b6afbb9d8ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5379362120175929557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880883582,"filename":"image_16122025_11_17_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f4a823195edfa99d15f96d8ec91fb15.jpg","text":"TemporaryFile(/tmp/multipartBody7658363518054613629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880883582,"filename":"image_16122025_11_17_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/16/a17e146e26635d501231b35a343faf5c.jpg","text":"TemporaryFile(/tmp/multipartBody535963530279876943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880883582,"filename":"image_16122025_11_18_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0d3330e887591831b65ce04ee86b994.jpg","text":"TemporaryFile(/tmp/multipartBody335993432816082724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880883582,"filename":"image_16122025_11_18_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7013777633a6d607f2ce4975bfdb5d1c.jpg","text":"TemporaryFile(/tmp/multipartBody432970622317248293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880883582,"filename":"image_16122025_11_17_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/16/4c81eaba3a88f4e37ff81324123f7e8b.jpg","text":"TemporaryFile(/tmp/multipartBody2513995894103234727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880883582,"filename":"image_16122025_11_17_34_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634774","file1":"1399634772","file0":"1399634768","file4":"1399634776","file5":"1399634779","file3":"1399634775"},"map_files_photo_id_array":[{"photo_id":"1399634779","filename":"file5"},{"photo_id":"1399634774","filename":"file2"},{"photo_id":"1399634776","filename":"file4"},{"photo_id":"1399634772","filename":"file1"},{"photo_id":"1399634768","filename":"file0"},{"photo_id":"1399634775","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634774":["hashtag1","hashtag2"]},{"1399634768":["hashtag1","hashtag2"]},{"1399634779":["hashtag1","hashtag2"]},{"1399634776":["hashtag1","hashtag2"]},{"1399634775":["hashtag1","hashtag2"]},{"1399634772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634774, 1399634768, 1399634779, 1399634776, 1399634775, 1399634772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31476402282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:27:42.132667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_46_2734.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_49_3749.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_52_2498.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_55_3622.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_58_2589.jpg', '/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_01_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_46_2734.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_49_3749.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_52_2498.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_55_3622.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_58_2589.jpg
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_01_2625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5773818492889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:28:02.817210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_25_9681.jpg', '/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_34_9534.jpg', '/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_44_10349.jpg', '/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_54_9590.jpg', '/home/pi/Desktop/images/16122025/11/18/image_16122025_11_19_05_10772.jpg', '/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_15_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_25_9681.jpg
/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_34_9534.jpg
/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_44_10349.jpg
/home/pi/Desktop/images/16122025/11/18/image_16122025_11_18_54_9590.jpg
/home/pi/Desktop/images/16122025/11/18/image_16122025_11_19_05_10772.jpg
/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_15_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634792","1399634789","1399634797","1399634794","1399634799","1399634790"],"photo_ids_order":["1399634789","1399634790","1399634792","1399634794","1399634797","1399634799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9f4c2e2548498bdee3ff16f5467121d.jpg","text":"TemporaryFile(/tmp/multipartBody3351681559661573768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880943419,"filename":"image_16122025_11_18_44_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/16/8c0fa5a0ac6862926d22fc4dc988df70.jpg","text":"TemporaryFile(/tmp/multipartBody8574440492376901495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880943419,"filename":"image_16122025_11_18_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66533721e03740c3dce91e3e861039ff.jpg","text":"TemporaryFile(/tmp/multipartBody3159618026388770119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880943419,"filename":"image_16122025_11_19_05_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f3432be4b02ed9dc866f55460836d90.jpg","text":"TemporaryFile(/tmp/multipartBody6659905323649533924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880943419,"filename":"image_16122025_11_18_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/419cb28fff86c5b568c592833e429181.jpg","text":"TemporaryFile(/tmp/multipartBody6102348818644402255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880943419,"filename":"image_16122025_11_19_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/16/8d4f13d02c694a8840275abb8ddfabf6.jpg","text":"TemporaryFile(/tmp/multipartBody2821723549278725814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765880943419,"filename":"image_16122025_11_18_34_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634792","file1":"1399634790","file0":"1399634789","file4":"1399634797","file5":"1399634799","file3":"1399634794"},"map_files_photo_id_array":[{"photo_id":"1399634799","filename":"file5"},{"photo_id":"1399634792","filename":"file2"},{"photo_id":"1399634797","filename":"file4"},{"photo_id":"1399634790","filename":"file1"},{"photo_id":"1399634789","filename":"file0"},{"photo_id":"1399634794","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634792":["hashtag1","hashtag2"]},{"1399634789":["hashtag1","hashtag2"]},{"1399634797":["hashtag1","hashtag2"]},{"1399634794":["hashtag1","hashtag2"]},{"1399634799":["hashtag1","hashtag2"]},{"1399634790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634792, 1399634789, 1399634797, 1399634794, 1399634799, 1399634790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.18757462501526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:29:12.579337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:29:22.764853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_24_9523.jpg', '/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_35_10755.jpg', '/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_44_9619.jpg', '/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_54_9737.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_14_10055.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_25_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_24_9523.jpg
/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_35_10755.jpg
/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_44_9619.jpg
/home/pi/Desktop/images/16122025/11/19/image_16122025_11_19_54_9737.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_14_10055.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_25_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":["1399634811","1399634816","1399634804","1399634813","1399634809","1399634806"],"photo_ids_order":["1399634804","1399634806","1399634809","1399634811","1399634813","1399634816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eca9e4e6f94ee4a68a563792664003c3.jpg","text":"TemporaryFile(/tmp/multipartBody1283979691300693927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881023422,"filename":"image_16122025_11_19_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41ee59169e894d91122bc7ade0a242b5.jpg","text":"TemporaryFile(/tmp/multipartBody8667833871597796665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881023422,"filename":"image_16122025_11_20_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bfaea1190fe5a0c9837736f6d7ec8593.jpg","text":"TemporaryFile(/tmp/multipartBody9220242015440019165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881023422,"filename":"image_16122025_11_19_24_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/640585897e4d3305f532fe70a7e6ebe7.jpg","text":"TemporaryFile(/tmp/multipartBody9175991359126610878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881023422,"filename":"image_16122025_11_20_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/16/11da4a3b28e91e0584f7876f19bc87ca.jpg","text":"TemporaryFile(/tmp/multipartBody9156238995607675964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881023422,"filename":"image_16122025_11_19_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/16/b9f70f3133e12364831b980caa23bafb.jpg","text":"TemporaryFile(/tmp/multipartBody2435117766217779630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881023422,"filename":"image_16122025_11_19_35_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634809","file1":"1399634806","file0":"1399634804","file4":"1399634813","file5":"1399634816","file3":"1399634811"},"map_files_photo_id_array":[{"photo_id":"1399634816","filename":"file5"},{"photo_id":"1399634809","filename":"file2"},{"photo_id":"1399634813","filename":"file4"},{"photo_id":"1399634806","filename":"file1"},{"photo_id":"1399634804","filename":"file0"},{"photo_id":"1399634811","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634811":["hashtag1","hashtag2"]},{"1399634816":["hashtag1","hashtag2"]},{"1399634804":["hashtag1","hashtag2"]},{"1399634813":["hashtag1","hashtag2"]},{"1399634809":["hashtag1","hashtag2"]},{"1399634806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634811, 1399634816, 1399634804, 1399634813, 1399634809, 1399634806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68456506729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:30:02.190326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_35_9669.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_44_9690.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_55_10742.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_21_05_9703.jpg', '/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_14_9584.jpg', '/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_25_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_35_9669.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_44_9690.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_55_10742.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_21_05_9703.jpg
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_14_9584.jpg
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_25_10747.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5315499305725098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:30:11.743697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:30:21.812130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_35_9669.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_44_9690.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_55_10742.jpg', '/home/pi/Desktop/images/16122025/11/20/image_16122025_11_21_05_9703.jpg', '/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_14_9584.jpg', '/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_25_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_35_9669.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_44_9690.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_20_55_10742.jpg
/home/pi/Desktop/images/16122025/11/20/image_16122025_11_21_05_9703.jpg
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_14_9584.jpg
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_25_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":["1399634832","1399634826","1399634835","1399634829","1399634839","1399634824"],"photo_ids_order":["1399634824","1399634826","1399634829","1399634832","1399634835","1399634839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41a020bfb3f93ca27e6a94a6693e7850.jpg","text":"TemporaryFile(/tmp/multipartBody6535907316065960610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881082492,"filename":"image_16122025_11_21_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a1ec0f26ef12af447eaced5bf66814c.jpg","text":"TemporaryFile(/tmp/multipartBody8851918997591923235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881082492,"filename":"image_16122025_11_20_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/16/b3c6913a0ae5e5946abdcf229580748c.jpg","text":"TemporaryFile(/tmp/multipartBody1603079475111479879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881082492,"filename":"image_16122025_11_21_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/16/7cd9e907f29abd848792fc158d8d5812.jpg","text":"TemporaryFile(/tmp/multipartBody5644584548701692929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881082492,"filename":"image_16122025_11_20_55_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4036a595c82823834452cf4bea62d04a.jpg","text":"TemporaryFile(/tmp/multipartBody1708287516904527407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881082492,"filename":"image_16122025_11_21_25_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c571e1e44b51da3266555390d8742a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7125905973980443781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881082492,"filename":"image_16122025_11_20_35_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634829","file1":"1399634826","file0":"1399634824","file4":"1399634835","file5":"1399634839","file3":"1399634832"},"map_files_photo_id_array":[{"photo_id":"1399634839","filename":"file5"},{"photo_id":"1399634829","filename":"file2"},{"photo_id":"1399634835","filename":"file4"},{"photo_id":"1399634826","filename":"file1"},{"photo_id":"1399634824","filename":"file0"},{"photo_id":"1399634832","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634832":["hashtag1","hashtag2"]},{"1399634826":["hashtag1","hashtag2"]},{"1399634835":["hashtag1","hashtag2"]},{"1399634829":["hashtag1","hashtag2"]},{"1399634839":["hashtag1","hashtag2"]},{"1399634824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634832, 1399634826, 1399634835, 1399634829, 1399634839, 1399634824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76336669921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:31:02.603353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_35_9653.jpg', '/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_44_9667.jpg', '/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_55_10650.jpg', '/home/pi/Desktop/images/16122025/11/21/image_16122025_11_22_05_9653.jpg', '/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_14_9744.jpg', '/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_25_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_35_9653.jpg
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_44_9667.jpg
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_21_55_10650.jpg
/home/pi/Desktop/images/16122025/11/21/image_16122025_11_22_05_9653.jpg
/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_14_9744.jpg
/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_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":["1399634849","1399634843","1399634846","1399634845","1399634842","1399634844"],"photo_ids_order":["1399634842","1399634843","1399634844","1399634845","1399634846","1399634849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3bfc8ace062deb81b77382f94d5197d6.jpg","text":"TemporaryFile(/tmp/multipartBody1698390312131739580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881123309,"filename":"image_16122025_11_22_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/16/b41a721b996f4c1071e6558ad5d31eb6.jpg","text":"TemporaryFile(/tmp/multipartBody215646897631683933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881123309,"filename":"image_16122025_11_21_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d43026ca9f169cbeffa28e04640a58c1.jpg","text":"TemporaryFile(/tmp/multipartBody8432487793812802109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881123309,"filename":"image_16122025_11_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/16/a8e6eac3f167307852b0d00d70165aad.jpg","text":"TemporaryFile(/tmp/multipartBody7733312568767679520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881123309,"filename":"image_16122025_11_22_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/16/4c52fadd443176a5336f3db721508a54.jpg","text":"TemporaryFile(/tmp/multipartBody99529725501373932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881123309,"filename":"image_16122025_11_21_35_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d2865a75d06ce689e070b0884efb58cb.jpg","text":"TemporaryFile(/tmp/multipartBody7985002392023274769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881123309,"filename":"image_16122025_11_21_55_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634844","file1":"1399634843","file0":"1399634842","file4":"1399634846","file5":"1399634849","file3":"1399634845"},"map_files_photo_id_array":[{"photo_id":"1399634849","filename":"file5"},{"photo_id":"1399634844","filename":"file2"},{"photo_id":"1399634846","filename":"file4"},{"photo_id":"1399634843","filename":"file1"},{"photo_id":"1399634842","filename":"file0"},{"photo_id":"1399634845","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634849":["hashtag1","hashtag2"]},{"1399634843":["hashtag1","hashtag2"]},{"1399634846":["hashtag1","hashtag2"]},{"1399634845":["hashtag1","hashtag2"]},{"1399634842":["hashtag1","hashtag2"]},{"1399634844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634849, 1399634843, 1399634846, 1399634845, 1399634842, 1399634844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08006811141968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:32:02.700023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_35_9634.jpg', '/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_44_9706.jpg', '/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_55_10873.jpg', '/home/pi/Desktop/images/16122025/11/22/image_16122025_11_23_05_9726.jpg', '/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_15_9660.jpg', '/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_25_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_35_9634.jpg
/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_44_9706.jpg
/home/pi/Desktop/images/16122025/11/22/image_16122025_11_22_55_10873.jpg
/home/pi/Desktop/images/16122025/11/22/image_16122025_11_23_05_9726.jpg
/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_15_9660.jpg
/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_25_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634858","1399634860","1399634857","1399634862","1399634856","1399634859"],"photo_ids_order":["1399634856","1399634857","1399634858","1399634859","1399634860","1399634862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89d2118196969f76bf511eccfec04815.jpg","text":"TemporaryFile(/tmp/multipartBody2997672742091207006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881183384,"filename":"image_16122025_11_22_55_10873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef2311facf4ad3669882725b442e1682.jpg","text":"TemporaryFile(/tmp/multipartBody6551508357606634689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881183384,"filename":"image_16122025_11_23_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/16/1ac55d90ab8ab8acc5bcdf0da8e42d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5627481276060414242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881183384,"filename":"image_16122025_11_22_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/706bb12ada073ba30baa96549c241305.jpg","text":"TemporaryFile(/tmp/multipartBody3480740109943489545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881183384,"filename":"image_16122025_11_23_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a0f99ca894e73c9d6e8d804e8f737c1.jpg","text":"TemporaryFile(/tmp/multipartBody4109773907546940655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881183384,"filename":"image_16122025_11_22_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/16/af520756bd5bdc0eb70149b6b4b07f51.jpg","text":"TemporaryFile(/tmp/multipartBody6307042704705825425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881183384,"filename":"image_16122025_11_23_05_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634858","file1":"1399634857","file0":"1399634856","file4":"1399634860","file5":"1399634862","file3":"1399634859"},"map_files_photo_id_array":[{"photo_id":"1399634862","filename":"file5"},{"photo_id":"1399634858","filename":"file2"},{"photo_id":"1399634860","filename":"file4"},{"photo_id":"1399634857","filename":"file1"},{"photo_id":"1399634856","filename":"file0"},{"photo_id":"1399634859","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634858":["hashtag1","hashtag2"]},{"1399634860":["hashtag1","hashtag2"]},{"1399634857":["hashtag1","hashtag2"]},{"1399634862":["hashtag1","hashtag2"]},{"1399634856":["hashtag1","hashtag2"]},{"1399634859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634858, 1399634860, 1399634857, 1399634862, 1399634856, 1399634859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75375771522522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:32:42.296287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_46_2734.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_49_3749.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_52_2498.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_55_3622.jpg', '/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_58_2589.jpg', '/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_01_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_46_2734.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_49_3749.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_52_2498.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_55_3622.jpg
/home/pi/Desktop/images/06112025/16/02/image_06112025_16_02_58_2589.jpg
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_01_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399634882","1399634881","1399634884","1399634880","1399634868","1399634883"],"photo_ids_order":["1399634868","1399634880","1399634881","1399634882","1399634883","1399634884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2859d4c146e912e6983580fc1b320ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7133650125572039932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881222883,"filename":"image_06112025_16_02_55_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/16/3af1920007f01dcd6c3ac24aacf51d7a.jpg","text":"TemporaryFile(/tmp/multipartBody4998592367358672335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881222883,"filename":"image_06112025_16_02_52_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/16/3f584c11c5600f70000deac4e75929d7.jpg","text":"TemporaryFile(/tmp/multipartBody6998482738297976062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881222883,"filename":"image_06112025_16_03_01_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b54af7e2f6f0cbc3dbeb3f68998084e6.jpg","text":"TemporaryFile(/tmp/multipartBody2012919018356519240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881222883,"filename":"image_06112025_16_02_49_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/16/ff4993f4133b9811292aab8bb23cb74f.jpg","text":"TemporaryFile(/tmp/multipartBody4360359101204595240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881222883,"filename":"image_06112025_16_02_46_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/16/6beea0cafaa321aa3594bd0469dcab34.jpg","text":"TemporaryFile(/tmp/multipartBody7564845116648114543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881222883,"filename":"image_06112025_16_02_58_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634881","file1":"1399634880","file0":"1399634868","file4":"1399634883","file5":"1399634884","file3":"1399634882"},"map_files_photo_id_array":[{"photo_id":"1399634884","filename":"file5"},{"photo_id":"1399634881","filename":"file2"},{"photo_id":"1399634883","filename":"file4"},{"photo_id":"1399634880","filename":"file1"},{"photo_id":"1399634868","filename":"file0"},{"photo_id":"1399634882","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399634882":["hashtag1","hashtag2"]},{"1399634881":["hashtag1","hashtag2"]},{"1399634884":["hashtag1","hashtag2"]},{"1399634880":["hashtag1","hashtag2"]},{"1399634868":["hashtag1","hashtag2"]},{"1399634883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399634882, 1399634881, 1399634884, 1399634880, 1399634868, 1399634883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48019456863403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:33:22.630133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_35_9573.jpg', '/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_45_9812.jpg', '/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_55_9857.jpg', '/home/pi/Desktop/images/16122025/11/23/image_16122025_11_24_05_10673.jpg', '/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_15_9782.jpg', '/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_25_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_35_9573.jpg
/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_45_9812.jpg
/home/pi/Desktop/images/16122025/11/23/image_16122025_11_23_55_9857.jpg
/home/pi/Desktop/images/16122025/11/23/image_16122025_11_24_05_10673.jpg
/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_15_9782.jpg
/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_25_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":["1399634901","1399634891","1399634885","1399634939","1399634887","1399634889"],"photo_ids_order":["1399634885","1399634887","1399634889","1399634891","1399634901","1399634939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/479b6af9dcac9c808785ce31759a7cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6877298825463045899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881263252,"filename":"image_16122025_11_24_15_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ebd5c1cb4cca0bc291f14bc8711c1e05.jpg","text":"TemporaryFile(/tmp/multipartBody3612470337813206334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881263252,"filename":"image_16122025_11_24_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/550abec0e648e082cb19438f8a86a215.jpg","text":"TemporaryFile(/tmp/multipartBody6419438949989656710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881263252,"filename":"image_16122025_11_23_35_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af76dab53b4a1048fc641b56de382f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6551838490807255493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881263252,"filename":"image_16122025_11_24_25_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/16/2bf506da203ef632d633a6aee341d034.jpg","text":"TemporaryFile(/tmp/multipartBody2992449871867944086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881263252,"filename":"image_16122025_11_23_45_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/886113db05a524712342766933270e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8782800193441786032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881263252,"filename":"image_16122025_11_23_55_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399634889","file1":"1399634887","file0":"1399634885","file4":"1399634901","file5":"1399634939","file3":"1399634891"},"map_files_photo_id_array":[{"photo_id":"1399634939","filename":"file5"},{"photo_id":"1399634889","filename":"file2"},{"photo_id":"1399634901","filename":"file4"},{"photo_id":"1399634887","filename":"file1"},{"photo_id":"1399634885","filename":"file0"},{"photo_id":"1399634891","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399634901":["hashtag1","hashtag2"]},{"1399634891":["hashtag1","hashtag2"]},{"1399634885":["hashtag1","hashtag2"]},{"1399634939":["hashtag1","hashtag2"]},{"1399634887":["hashtag1","hashtag2"]},{"1399634889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399634901, 1399634891, 1399634885, 1399634939, 1399634887, 1399634889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94266200065613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:34:03.397217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_34_9684.jpg', '/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_45_10726.jpg', '/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_55_9693.jpg', '/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_14_10037.jpg', '/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_25_10587.jpg', '/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_34_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_34_9684.jpg
/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_45_10726.jpg
/home/pi/Desktop/images/16122025/11/24/image_16122025_11_24_55_9693.jpg
/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_14_10037.jpg
/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_25_10587.jpg
/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_34_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399635365","1399635154","1399635223","1399635505","1399635297","1399635432"],"photo_ids_order":["1399635154","1399635223","1399635297","1399635365","1399635432","1399635505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/865a904118720f0517df8da4a2e71cf3.jpg","text":"TemporaryFile(/tmp/multipartBody658679180104716585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881304113,"filename":"image_16122025_11_26_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c77383fa792da1d8b3694968ab450084.jpg","text":"TemporaryFile(/tmp/multipartBody2288022629625148627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881304113,"filename":"image_16122025_11_24_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/16/64eb1ded184eb637757688bf2c3147f9.jpg","text":"TemporaryFile(/tmp/multipartBody5262844265090725169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881304113,"filename":"image_16122025_11_24_45_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b4d2556c5697bcab367f5c4ac9ab443.jpg","text":"TemporaryFile(/tmp/multipartBody5650168810831594580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881304113,"filename":"image_16122025_11_26_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7d030aa6990b43335397a961ad385a1.jpg","text":"TemporaryFile(/tmp/multipartBody5324518384758110344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881304113,"filename":"image_16122025_11_24_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d5a70291033facde22f8005daa7d639.jpg","text":"TemporaryFile(/tmp/multipartBody7880012443727726244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881304113,"filename":"image_16122025_11_26_25_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399635297","file1":"1399635223","file0":"1399635154","file4":"1399635432","file5":"1399635505","file3":"1399635365"},"map_files_photo_id_array":[{"photo_id":"1399635505","filename":"file5"},{"photo_id":"1399635297","filename":"file2"},{"photo_id":"1399635432","filename":"file4"},{"photo_id":"1399635223","filename":"file1"},{"photo_id":"1399635154","filename":"file0"},{"photo_id":"1399635365","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399635365":["hashtag1","hashtag2"]},{"1399635154":["hashtag1","hashtag2"]},{"1399635223":["hashtag1","hashtag2"]},{"1399635505":["hashtag1","hashtag2"]},{"1399635297":["hashtag1","hashtag2"]},{"1399635432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399635365, 1399635154, 1399635223, 1399635505, 1399635297, 1399635432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56430172920227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:34:42.711593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_08_7074.jpg', '/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_17_8911.jpg', '/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_23_5856.jpg', '/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_40_17366.jpg', '/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_43_1659.jpg', '/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_45_1920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_08_7074.jpg
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_17_8911.jpg
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_23_5856.jpg
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_40_17366.jpg
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_43_1659.jpg
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_03_45_1920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399635701","1399635632","1399635625","1399635588","1399635663","1399635633"],"photo_ids_order":["1399635588","1399635625","1399635632","1399635633","1399635663","1399635701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af7172758b8e6310723f827771ed844a.jpg","text":"TemporaryFile(/tmp/multipartBody7174762841360495055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881343428,"filename":"image_06112025_16_03_45_1920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc4d4df201da39241ce5ffce1ca83106.jpg","text":"TemporaryFile(/tmp/multipartBody3781656311104346485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881343428,"filename":"image_06112025_16_03_23_5856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c446e5aa3a3b62d8bafcbdd46acb8d9.jpg","text":"TemporaryFile(/tmp/multipartBody2038902967978818904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881343428,"filename":"image_06112025_16_03_17_8911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3fc880de4a02779c7577b7465a1662a.jpg","text":"TemporaryFile(/tmp/multipartBody8350100259490641675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881343428,"filename":"image_06112025_16_03_08_7074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/856fdeb75458dd4f21f0ba96ce298dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7958443906647917762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881343428,"filename":"image_06112025_16_03_43_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/16/4e22d950c981ea419c4b465d8ad5f376.jpg","text":"TemporaryFile(/tmp/multipartBody7397242896734556963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881343428,"filename":"image_06112025_16_03_40_17366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399635632","file1":"1399635625","file0":"1399635588","file4":"1399635663","file5":"1399635701","file3":"1399635633"},"map_files_photo_id_array":[{"photo_id":"1399635701","filename":"file5"},{"photo_id":"1399635632","filename":"file2"},{"photo_id":"1399635663","filename":"file4"},{"photo_id":"1399635625","filename":"file1"},{"photo_id":"1399635588","filename":"file0"},{"photo_id":"1399635633","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399635701":["hashtag1","hashtag2"]},{"1399635632":["hashtag1","hashtag2"]},{"1399635625":["hashtag1","hashtag2"]},{"1399635588":["hashtag1","hashtag2"]},{"1399635663":["hashtag1","hashtag2"]},{"1399635633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399635701, 1399635632, 1399635625, 1399635588, 1399635663, 1399635633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16557478904724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:35:22.029103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_45_10571.jpg', '/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_55_9760.jpg', '/home/pi/Desktop/images/16122025/11/26/image_16122025_11_27_04_9643.jpg', '/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_15_10730.jpg', '/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_25_9597.jpg', '/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_34_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_45_10571.jpg
/home/pi/Desktop/images/16122025/11/26/image_16122025_11_26_55_9760.jpg
/home/pi/Desktop/images/16122025/11/26/image_16122025_11_27_04_9643.jpg
/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_15_10730.jpg
/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_25_9597.jpg
/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_34_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":["1399635833","1399635902","1399635835","1399635916","1399635864","1399635831"],"photo_ids_order":["1399635831","1399635833","1399635835","1399635864","1399635902","1399635916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/301883b4f6854cae78645ffd1804b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3432254775272093868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881382616,"filename":"image_16122025_11_26_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e611000ee0120b237cc559ca493e39e.jpg","text":"TemporaryFile(/tmp/multipartBody4117111503715394704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881382616,"filename":"image_16122025_11_27_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/16/a8b0c1dee16c9fd83be8ab67d3723132.jpg","text":"TemporaryFile(/tmp/multipartBody8048294941401816315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881382616,"filename":"image_16122025_11_27_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bccf0131b7383f40687f593bc132055e.jpg","text":"TemporaryFile(/tmp/multipartBody273291009279343618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881382616,"filename":"image_16122025_11_27_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/16/20a191ce652eb3726106a9dc1d8ae57d.jpg","text":"TemporaryFile(/tmp/multipartBody8975974045429748517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881382616,"filename":"image_16122025_11_27_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dce42dc10db58b0faa5403069fb145eb.jpg","text":"TemporaryFile(/tmp/multipartBody1725157814490029091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881382616,"filename":"image_16122025_11_26_45_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399635835","file1":"1399635833","file0":"1399635831","file4":"1399635902","file5":"1399635916","file3":"1399635864"},"map_files_photo_id_array":[{"photo_id":"1399635916","filename":"file5"},{"photo_id":"1399635835","filename":"file2"},{"photo_id":"1399635902","filename":"file4"},{"photo_id":"1399635833","filename":"file1"},{"photo_id":"1399635831","filename":"file0"},{"photo_id":"1399635864","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399635833":["hashtag1","hashtag2"]},{"1399635902":["hashtag1","hashtag2"]},{"1399635835":["hashtag1","hashtag2"]},{"1399635916":["hashtag1","hashtag2"]},{"1399635864":["hashtag1","hashtag2"]},{"1399635831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399635833, 1399635902, 1399635835, 1399635916, 1399635864, 1399635831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5608856678009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:36:02.743563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_45_10579.jpg', '/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_55_9611.jpg', '/home/pi/Desktop/images/16122025/11/27/image_16122025_11_28_04_9725.jpg', '/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_15_10837.jpg', '/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_25_9582.jpg', '/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_45_10579.jpg
/home/pi/Desktop/images/16122025/11/27/image_16122025_11_27_55_9611.jpg
/home/pi/Desktop/images/16122025/11/27/image_16122025_11_28_04_9725.jpg
/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_15_10837.jpg
/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_25_9582.jpg
/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_34_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399635926","1399635923","1399635925","1399635934","1399635936","1399635927"],"photo_ids_order":["1399635923","1399635925","1399635926","1399635927","1399635934","1399635936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d521d28802bebb9e27d405d21ea27d9b.jpg","text":"TemporaryFile(/tmp/multipartBody443435391468128158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881423369,"filename":"image_16122025_11_28_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/16/495dc2929f02a9a956ac6f515aa6a194.jpg","text":"TemporaryFile(/tmp/multipartBody3261702676094596701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881423369,"filename":"image_16122025_11_27_45_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b7c48652d48bbb45a3581c1115bebc4.jpg","text":"TemporaryFile(/tmp/multipartBody2193440554590429070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881423369,"filename":"image_16122025_11_27_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/16/b7206d39469224aa2e591ff69dfdfd0f.jpg","text":"TemporaryFile(/tmp/multipartBody7812069778268526952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881423369,"filename":"image_16122025_11_28_25_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/16/1b7329ba03418f4c4a93c231d80b6795.jpg","text":"TemporaryFile(/tmp/multipartBody5436514912722182677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881423369,"filename":"image_16122025_11_28_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/16/8d39d494346a9293d4fe87e025ef863b.jpg","text":"TemporaryFile(/tmp/multipartBody3372309913259194240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881423369,"filename":"image_16122025_11_28_15_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399635926","file1":"1399635925","file0":"1399635923","file4":"1399635934","file5":"1399635936","file3":"1399635927"},"map_files_photo_id_array":[{"photo_id":"1399635936","filename":"file5"},{"photo_id":"1399635926","filename":"file2"},{"photo_id":"1399635934","filename":"file4"},{"photo_id":"1399635925","filename":"file1"},{"photo_id":"1399635923","filename":"file0"},{"photo_id":"1399635927","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399635926":["hashtag1","hashtag2"]},{"1399635923":["hashtag1","hashtag2"]},{"1399635925":["hashtag1","hashtag2"]},{"1399635934":["hashtag1","hashtag2"]},{"1399635936":["hashtag1","hashtag2"]},{"1399635927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399635926, 1399635923, 1399635925, 1399635934, 1399635936, 1399635927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11765432357788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:36:42.456042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/03/image_06112025_16_04_00_15232.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_02_1684.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_10_6722.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_12_1548.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_14_1748.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_15_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/03/image_06112025_16_04_00_15232.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_02_1684.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_10_6722.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_12_1548.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_14_1748.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_15_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399635962","1399635953","1399635955","1399635958","1399635960","1399635957"],"photo_ids_order":["1399635953","1399635955","1399635957","1399635958","1399635960","1399635962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27bdde5d15bbc2d17659d768e7d342db.jpg","text":"TemporaryFile(/tmp/multipartBody2503933177130206749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881463174,"filename":"image_06112025_16_04_15_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/16/94df827b8e07ff6d787a21c8f37d4c27.jpg","text":"TemporaryFile(/tmp/multipartBody161897589645365866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881463174,"filename":"image_06112025_16_04_00_15232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7dc973ba4d15d26ee92714f0771f70f3.jpg","text":"TemporaryFile(/tmp/multipartBody5630676318877858145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881463174,"filename":"image_06112025_16_04_02_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b60154a78525d36d4972c8fe768b39e.jpg","text":"TemporaryFile(/tmp/multipartBody702246775277812926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881463174,"filename":"image_06112025_16_04_12_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b6e9525e40a839443b6b7c0d4ec7889.jpg","text":"TemporaryFile(/tmp/multipartBody9160821207795637686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881463174,"filename":"image_06112025_16_04_14_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/16/2d2d21c4b180e7f51422d6986ef2e441.jpg","text":"TemporaryFile(/tmp/multipartBody603141003435575359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881463174,"filename":"image_06112025_16_04_10_6722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399635957","file1":"1399635955","file0":"1399635953","file4":"1399635960","file5":"1399635962","file3":"1399635958"},"map_files_photo_id_array":[{"photo_id":"1399635962","filename":"file5"},{"photo_id":"1399635957","filename":"file2"},{"photo_id":"1399635960","filename":"file4"},{"photo_id":"1399635955","filename":"file1"},{"photo_id":"1399635953","filename":"file0"},{"photo_id":"1399635958","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399635962":["hashtag1","hashtag2"]},{"1399635953":["hashtag1","hashtag2"]},{"1399635955":["hashtag1","hashtag2"]},{"1399635958":["hashtag1","hashtag2"]},{"1399635960":["hashtag1","hashtag2"]},{"1399635957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399635962, 1399635953, 1399635955, 1399635958, 1399635960, 1399635957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3698525428772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:37:22.731105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_45_10659.jpg', '/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_55_9735.jpg', '/home/pi/Desktop/images/16122025/11/28/image_16122025_11_29_04_9665.jpg', '/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_15_10690.jpg', '/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_25_9678.jpg', '/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_34_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_45_10659.jpg
/home/pi/Desktop/images/16122025/11/28/image_16122025_11_28_55_9735.jpg
/home/pi/Desktop/images/16122025/11/28/image_16122025_11_29_04_9665.jpg
/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_15_10690.jpg
/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_25_9678.jpg
/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_34_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":["1399636071","1399636032","1399635990","1399635993","1399635992","1399635995"],"photo_ids_order":["1399635990","1399635992","1399635993","1399635995","1399636032","1399636071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dc18bc3df2ed61db490662a12969929.jpg","text":"TemporaryFile(/tmp/multipartBody6498360556996541279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881503353,"filename":"image_16122025_11_29_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/16/df9e129db67ac2e7e88cd49f2ab2601a.jpg","text":"TemporaryFile(/tmp/multipartBody6033942507844604224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881503353,"filename":"image_16122025_11_29_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/16/5de9bfa90143155cff8dc9a49ff2ac33.jpg","text":"TemporaryFile(/tmp/multipartBody7542066678289355200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881503353,"filename":"image_16122025_11_28_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f608715f4c984d62d28839a1bf0de01f.jpg","text":"TemporaryFile(/tmp/multipartBody2079606905750811992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881503353,"filename":"image_16122025_11_29_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/16/a1c27b5d001531e66ae00a3939b8d062.jpg","text":"TemporaryFile(/tmp/multipartBody7904634187215733984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881503353,"filename":"image_16122025_11_28_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/16/4fa9c901b752f86d62329b4476a2e445.jpg","text":"TemporaryFile(/tmp/multipartBody4667482696924296785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881503353,"filename":"image_16122025_11_29_15_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399635993","file1":"1399635992","file0":"1399635990","file4":"1399636032","file5":"1399636071","file3":"1399635995"},"map_files_photo_id_array":[{"photo_id":"1399636071","filename":"file5"},{"photo_id":"1399635993","filename":"file2"},{"photo_id":"1399636032","filename":"file4"},{"photo_id":"1399635992","filename":"file1"},{"photo_id":"1399635990","filename":"file0"},{"photo_id":"1399635995","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399636071":["hashtag1","hashtag2"]},{"1399636032":["hashtag1","hashtag2"]},{"1399635990":["hashtag1","hashtag2"]},{"1399635993":["hashtag1","hashtag2"]},{"1399635992":["hashtag1","hashtag2"]},{"1399635995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399636071, 1399636032, 1399635990, 1399635993, 1399635992, 1399635995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87662172317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:38:02.502044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_45_10660.jpg', '/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_55_9802.jpg', '/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_15_10051.jpg', '/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_25_10772.jpg', '/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_35_9686.jpg', '/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_45_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_45_10660.jpg
/home/pi/Desktop/images/16122025/11/29/image_16122025_11_29_55_9802.jpg
/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_15_10051.jpg
/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_25_10772.jpg
/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_35_9686.jpg
/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_45_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":["1399636430","1399636363","1399636501","1399636324","1399636397","1399636466"],"photo_ids_order":["1399636324","1399636363","1399636397","1399636430","1399636466","1399636501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/597eed34f1898b352806e295b812bd4e.jpg","text":"TemporaryFile(/tmp/multipartBody5650859970582562825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881543125,"filename":"image_16122025_11_30_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/070ea8e151ae62cc7181562efbe06e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4546960895555358741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881543125,"filename":"image_16122025_11_29_55_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8084af2a44597d3187d07db2c8056d2c.jpg","text":"TemporaryFile(/tmp/multipartBody5387105063184553387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881543125,"filename":"image_16122025_11_30_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/16/5c1e008db58146456b61d75b5f81271f.jpg","text":"TemporaryFile(/tmp/multipartBody6023717941572174774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881543125,"filename":"image_16122025_11_29_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aa90f97dc71c5475f0bd2f07a807dcbb.jpg","text":"TemporaryFile(/tmp/multipartBody4061841072317009879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881543125,"filename":"image_16122025_11_30_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35df3c56f10be7d3ea90642eb86f1cd8.jpg","text":"TemporaryFile(/tmp/multipartBody9000091084224318362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881543125,"filename":"image_16122025_11_30_35_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399636397","file1":"1399636363","file0":"1399636324","file4":"1399636466","file5":"1399636501","file3":"1399636430"},"map_files_photo_id_array":[{"photo_id":"1399636501","filename":"file5"},{"photo_id":"1399636397","filename":"file2"},{"photo_id":"1399636466","filename":"file4"},{"photo_id":"1399636363","filename":"file1"},{"photo_id":"1399636324","filename":"file0"},{"photo_id":"1399636430","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399636430":["hashtag1","hashtag2"]},{"1399636363":["hashtag1","hashtag2"]},{"1399636501":["hashtag1","hashtag2"]},{"1399636324":["hashtag1","hashtag2"]},{"1399636397":["hashtag1","hashtag2"]},{"1399636466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399636430, 1399636363, 1399636501, 1399636324, 1399636397, 1399636466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.767011642456055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:38:41.939045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_18_3032.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_20_1723.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_22_1662.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_23_1535.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_25_1680.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_27_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_18_3032.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_20_1723.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_22_1662.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_23_1535.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_25_1680.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_27_1632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5934154987335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:39:03.138558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_55_10713.jpg', '/home/pi/Desktop/images/16122025/11/30/image_16122025_11_31_05_9705.jpg', '/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_15_9683.jpg', '/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_25_9772.jpg', '/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_35_10709.jpg', '/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/30/image_16122025_11_30_55_10713.jpg
/home/pi/Desktop/images/16122025/11/30/image_16122025_11_31_05_9705.jpg
/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_15_9683.jpg
/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_25_9772.jpg
/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_35_10709.jpg
/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_45_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":["1399636916","1399636867","1399636915","1399636918","1399636831","1399636905"],"photo_ids_order":["1399636831","1399636867","1399636905","1399636915","1399636916","1399636918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae81c57443e4385482535f1822c5f11d.jpg","text":"TemporaryFile(/tmp/multipartBody4671039354203620253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881603848,"filename":"image_16122025_11_31_35_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bda8446e19cf4b7a579a2c69244bd6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3420452274074562429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881603848,"filename":"image_16122025_11_31_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/16/f6908c5dde0b4c6449b01cc01ede6776.jpg","text":"TemporaryFile(/tmp/multipartBody6091858727900753393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881603848,"filename":"image_16122025_11_31_25_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6de1a3555bca44d87aa786b08a9618b5.jpg","text":"TemporaryFile(/tmp/multipartBody2485546033785787616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881603848,"filename":"image_16122025_11_31_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/16/31913a0836a5c0959ca095860ef82cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7968432241938097664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881603848,"filename":"image_16122025_11_30_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97177e0f0e201357f7bbdeb111233327.jpg","text":"TemporaryFile(/tmp/multipartBody3169028092572817881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881603848,"filename":"image_16122025_11_31_15_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399636905","file1":"1399636867","file0":"1399636831","file4":"1399636916","file5":"1399636918","file3":"1399636915"},"map_files_photo_id_array":[{"photo_id":"1399636918","filename":"file5"},{"photo_id":"1399636905","filename":"file2"},{"photo_id":"1399636916","filename":"file4"},{"photo_id":"1399636867","filename":"file1"},{"photo_id":"1399636831","filename":"file0"},{"photo_id":"1399636915","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399636916":["hashtag1","hashtag2"]},{"1399636867":["hashtag1","hashtag2"]},{"1399636915":["hashtag1","hashtag2"]},{"1399636918":["hashtag1","hashtag2"]},{"1399636831":["hashtag1","hashtag2"]},{"1399636905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399636916, 1399636867, 1399636915, 1399636918, 1399636831, 1399636905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93275761604309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:39:42.196466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_18_3032.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_20_1723.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_22_1662.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_23_1535.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_25_1680.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_27_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_18_3032.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_20_1723.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_22_1662.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_23_1535.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_25_1680.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_27_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399637077","1399636984","1399637055","1399637052","1399637025","1399636949"],"photo_ids_order":["1399636949","1399636984","1399637025","1399637052","1399637055","1399637077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8941fb2a37a651eb8e438e4ca0ec4f89.jpg","text":"TemporaryFile(/tmp/multipartBody6933909253033542202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881642797,"filename":"image_06112025_16_04_27_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/054f443c606eb68054f4dde2806b55cf.jpg","text":"TemporaryFile(/tmp/multipartBody991375800367925691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881642797,"filename":"image_06112025_16_04_20_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c69d533116f2515ab06c1f695ee72212.jpg","text":"TemporaryFile(/tmp/multipartBody8209354711166787690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881642797,"filename":"image_06112025_16_04_25_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bab3f2109247e9ab63c90d3b811eea68.jpg","text":"TemporaryFile(/tmp/multipartBody6986505573840705647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881642797,"filename":"image_06112025_16_04_23_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d80ab941a74a047a6ff60054cb6f44d.jpg","text":"TemporaryFile(/tmp/multipartBody6147668262500920567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881642797,"filename":"image_06112025_16_04_22_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/16/9e7b8ca012a347edbde16571df76d082.jpg","text":"TemporaryFile(/tmp/multipartBody2095049134968902617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881642797,"filename":"image_06112025_16_04_18_3032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399637025","file1":"1399636984","file0":"1399636949","file4":"1399637055","file5":"1399637077","file3":"1399637052"},"map_files_photo_id_array":[{"photo_id":"1399637077","filename":"file5"},{"photo_id":"1399637025","filename":"file2"},{"photo_id":"1399637055","filename":"file4"},{"photo_id":"1399636984","filename":"file1"},{"photo_id":"1399636949","filename":"file0"},{"photo_id":"1399637052","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399637077":["hashtag1","hashtag2"]},{"1399636984":["hashtag1","hashtag2"]},{"1399637055":["hashtag1","hashtag2"]},{"1399637052":["hashtag1","hashtag2"]},{"1399637025":["hashtag1","hashtag2"]},{"1399636949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399637077, 1399636984, 1399637055, 1399637052, 1399637025, 1399636949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34337282180786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:40:22.477170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_55_9904.jpg', '/home/pi/Desktop/images/16122025/11/31/image_16122025_11_32_05_10637.jpg', '/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_15_9664.jpg', '/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_25_9826.jpg', '/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_35_9783.jpg', '/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_44_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/31/image_16122025_11_31_55_9904.jpg
/home/pi/Desktop/images/16122025/11/31/image_16122025_11_32_05_10637.jpg
/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_15_9664.jpg
/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_25_9826.jpg
/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_35_9783.jpg
/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_44_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399637098","1399637128","1399637184","1399637145","1399637148","1399637126"],"photo_ids_order":["1399637098","1399637126","1399637128","1399637145","1399637148","1399637184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e74fc2d8b22dc9a0c7d1a5eea6d6da51.jpg","text":"TemporaryFile(/tmp/multipartBody781403646227732415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881683087,"filename":"image_16122025_11_31_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/16/e090c1ea367c7bd59bfcd445ea5ac00e.jpg","text":"TemporaryFile(/tmp/multipartBody92754928101182587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881683087,"filename":"image_16122025_11_32_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/16/148e9cc5dd1375f1fbe0cb1cbbe4cad6.jpg","text":"TemporaryFile(/tmp/multipartBody5119029759499013845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881683087,"filename":"image_16122025_11_32_44_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38f92eca24b0c93297d720b9d2cbadb0.jpg","text":"TemporaryFile(/tmp/multipartBody1203872068421496688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881683087,"filename":"image_16122025_11_32_25_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/63b0b71831b8d9cf08d8f30030d5b18d.jpg","text":"TemporaryFile(/tmp/multipartBody5260979625322870492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881683087,"filename":"image_16122025_11_32_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/16/d965834677d03569a1e25d348814852c.jpg","text":"TemporaryFile(/tmp/multipartBody8868206396147142471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881683087,"filename":"image_16122025_11_32_05_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399637128","file1":"1399637126","file0":"1399637098","file4":"1399637148","file5":"1399637184","file3":"1399637145"},"map_files_photo_id_array":[{"photo_id":"1399637184","filename":"file5"},{"photo_id":"1399637128","filename":"file2"},{"photo_id":"1399637148","filename":"file4"},{"photo_id":"1399637126","filename":"file1"},{"photo_id":"1399637098","filename":"file0"},{"photo_id":"1399637145","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399637098":["hashtag1","hashtag2"]},{"1399637128":["hashtag1","hashtag2"]},{"1399637184":["hashtag1","hashtag2"]},{"1399637145":["hashtag1","hashtag2"]},{"1399637148":["hashtag1","hashtag2"]},{"1399637126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399637098, 1399637128, 1399637184, 1399637145, 1399637148, 1399637126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49299597740173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:41:03.357297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_55_10719.jpg', '/home/pi/Desktop/images/16122025/11/32/image_16122025_11_33_05_9781.jpg', '/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_15_9838.jpg', '/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_24_9638.jpg', '/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_35_10582.jpg', '/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_45_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/32/image_16122025_11_32_55_10719.jpg
/home/pi/Desktop/images/16122025/11/32/image_16122025_11_33_05_9781.jpg
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_15_9838.jpg
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_24_9638.jpg
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_35_10582.jpg
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_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":["1399637527","1399637529","1399637523","1399637471","1399637531","1399637528"],"photo_ids_order":["1399637471","1399637523","1399637527","1399637528","1399637529","1399637531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8671811e7f28a180ecc326af0dc7c28.jpg","text":"TemporaryFile(/tmp/multipartBody6011801654313423943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881724030,"filename":"image_16122025_11_33_15_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/16/ab794312c862cdd3e49b5815a2770f92.jpg","text":"TemporaryFile(/tmp/multipartBody8261913625868418997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881724030,"filename":"image_16122025_11_33_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/16/554b737a18e53cea8be4bbe1c99456d4.jpg","text":"TemporaryFile(/tmp/multipartBody6016640306519058582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881724030,"filename":"image_16122025_11_33_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/16/e86e480cb2e67e917577487325133912.jpg","text":"TemporaryFile(/tmp/multipartBody5340176386184384059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881724030,"filename":"image_16122025_11_32_55_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0de7834494178e84b863be9c60343fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7492549961072425152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881724030,"filename":"image_16122025_11_33_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/16/a261ed2e904df5b1cabc544e49941e9e.jpg","text":"TemporaryFile(/tmp/multipartBody7744841157453695925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881724030,"filename":"image_16122025_11_33_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399637527","file1":"1399637523","file0":"1399637471","file4":"1399637529","file5":"1399637531","file3":"1399637528"},"map_files_photo_id_array":[{"photo_id":"1399637531","filename":"file5"},{"photo_id":"1399637527","filename":"file2"},{"photo_id":"1399637529","filename":"file4"},{"photo_id":"1399637523","filename":"file1"},{"photo_id":"1399637471","filename":"file0"},{"photo_id":"1399637528","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399637527":["hashtag1","hashtag2"]},{"1399637529":["hashtag1","hashtag2"]},{"1399637523":["hashtag1","hashtag2"]},{"1399637471":["hashtag1","hashtag2"]},{"1399637531":["hashtag1","hashtag2"]},{"1399637528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399637527, 1399637529, 1399637523, 1399637471, 1399637531, 1399637528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14841437339783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:41:42.773786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_28_1708.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_30_1486.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_35_1570.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_36_1590.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_39_1670.jpg', '/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_41_1474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_28_1708.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_30_1486.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_35_1570.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_36_1590.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_39_1670.jpg
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_41_1474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399637671","1399637581","1399637745","1399637829","1399637828","1399637819"],"photo_ids_order":["1399637581","1399637671","1399637745","1399637819","1399637828","1399637829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7b20a99eeccda85cb7582f86f3513a5.jpg","text":"TemporaryFile(/tmp/multipartBody4581359664732365493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881763459,"filename":"image_06112025_16_04_30_1486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/24b147bc7e719abcf0235f9fb319cd20.jpg","text":"TemporaryFile(/tmp/multipartBody7494571900448120854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881763459,"filename":"image_06112025_16_04_28_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/16/7cc978038abef739709236e396b031f1.jpg","text":"TemporaryFile(/tmp/multipartBody1809463643681282680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881763459,"filename":"image_06112025_16_04_35_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/16/2aae73cec7d9bcbb7dca811ff14af5cb.jpg","text":"TemporaryFile(/tmp/multipartBody4343206376682441218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881763459,"filename":"image_06112025_16_04_41_1474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e5ad31bc460cd398bae225ea02a3437.jpg","text":"TemporaryFile(/tmp/multipartBody6871921257175042011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881763459,"filename":"image_06112025_16_04_39_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/16/2e4b3a000d05afa7cca30b4f8e4c7b51.jpg","text":"TemporaryFile(/tmp/multipartBody5213238218108223122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881763459,"filename":"image_06112025_16_04_36_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399637745","file1":"1399637671","file0":"1399637581","file4":"1399637828","file5":"1399637829","file3":"1399637819"},"map_files_photo_id_array":[{"photo_id":"1399637829","filename":"file5"},{"photo_id":"1399637745","filename":"file2"},{"photo_id":"1399637828","filename":"file4"},{"photo_id":"1399637671","filename":"file1"},{"photo_id":"1399637581","filename":"file0"},{"photo_id":"1399637819","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399637671":["hashtag1","hashtag2"]},{"1399637581":["hashtag1","hashtag2"]},{"1399637745":["hashtag1","hashtag2"]},{"1399637829":["hashtag1","hashtag2"]},{"1399637828":["hashtag1","hashtag2"]},{"1399637819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399637671, 1399637581, 1399637745, 1399637829, 1399637828, 1399637819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90873956680298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:42:21.992427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_55_10717.jpg', '/home/pi/Desktop/images/16122025/11/33/image_16122025_11_34_05_9667.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_15_9699.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_24_9674.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_35_10812.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_45_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_55_10717.jpg
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_34_05_9667.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_15_9699.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_24_9674.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_35_10812.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_45_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.5385153293609619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:42:32.054484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:42:41.985653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_54_1577.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_07_3019.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_10_3559.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_24_13225.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_27_1515.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_28_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/04/image_06112025_16_04_54_1577.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_07_3019.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_10_3559.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_24_13225.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_27_1515.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_28_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":["1399637944","1399637889","1399637943","1399637946","1399637925","1399637945"],"photo_ids_order":["1399637889","1399637925","1399637943","1399637944","1399637945","1399637946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47bb9be0c4eadd724f6e3a1fadd18d28.jpg","text":"TemporaryFile(/tmp/multipartBody593123128643329473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881822729,"filename":"image_06112025_16_06_24_13225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6aef3f0abb45d0bbd189a9fd2381893b.jpg","text":"TemporaryFile(/tmp/multipartBody7492440144535811631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881822729,"filename":"image_06112025_16_04_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/16/9cd631b64a1585c4f5c23e3312611f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1802490284989813330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881822729,"filename":"image_06112025_16_06_10_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/16/40475150a23b2bf59aa3e74538d338a0.jpg","text":"TemporaryFile(/tmp/multipartBody5693827460407560021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881822729,"filename":"image_06112025_16_06_28_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/16/089fd9f1c54f207676a31080d3a1e617.jpg","text":"TemporaryFile(/tmp/multipartBody3321153504463898574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881822729,"filename":"image_06112025_16_06_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f11aa72888639f95a3810adcb0eafd77.jpg","text":"TemporaryFile(/tmp/multipartBody5181506149793399360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881822729,"filename":"image_06112025_16_06_27_1515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399637943","file1":"1399637925","file0":"1399637889","file4":"1399637945","file5":"1399637946","file3":"1399637944"},"map_files_photo_id_array":[{"photo_id":"1399637946","filename":"file5"},{"photo_id":"1399637943","filename":"file2"},{"photo_id":"1399637945","filename":"file4"},{"photo_id":"1399637925","filename":"file1"},{"photo_id":"1399637889","filename":"file0"},{"photo_id":"1399637944","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399637944":["hashtag1","hashtag2"]},{"1399637889":["hashtag1","hashtag2"]},{"1399637943":["hashtag1","hashtag2"]},{"1399637946":["hashtag1","hashtag2"]},{"1399637925":["hashtag1","hashtag2"]},{"1399637945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399637944, 1399637889, 1399637943, 1399637946, 1399637925, 1399637945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.575031757354736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:43:22.230089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_55_10717.jpg', '/home/pi/Desktop/images/16122025/11/33/image_16122025_11_34_05_9667.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_15_9699.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_24_9674.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_35_10812.jpg', '/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_45_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_33_55_10717.jpg
/home/pi/Desktop/images/16122025/11/33/image_16122025_11_34_05_9667.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_15_9699.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_24_9674.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_35_10812.jpg
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_45_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399637956","1399637986","1399637953","1399637947","1399637981","1399637969"],"photo_ids_order":["1399637947","1399637953","1399637956","1399637969","1399637981","1399637986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e69bec5105a8e07e08e18ca138b90eea.jpg","text":"TemporaryFile(/tmp/multipartBody6836013103609804182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881862838,"filename":"image_16122025_11_34_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d47386794dde3599287ccf295441e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5307573559272526112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881862838,"filename":"image_16122025_11_34_45_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/16/85f6673bc9b310e116e1c3a0fb6e5318.jpg","text":"TemporaryFile(/tmp/multipartBody5459290554531756037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881862838,"filename":"image_16122025_11_34_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/abe2815254f8699031d422c02b54daf6.jpg","text":"TemporaryFile(/tmp/multipartBody1124261959477385897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881862838,"filename":"image_16122025_11_33_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/527a87c7d9c36ea10ff1748f52505701.jpg","text":"TemporaryFile(/tmp/multipartBody2932863056144955177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881862838,"filename":"image_16122025_11_34_35_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/16/5e140b97b84614fe18fe346ccf564512.jpg","text":"TemporaryFile(/tmp/multipartBody2337939356006918729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881862838,"filename":"image_16122025_11_34_24_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399637956","file1":"1399637953","file0":"1399637947","file4":"1399637981","file5":"1399637986","file3":"1399637969"},"map_files_photo_id_array":[{"photo_id":"1399637986","filename":"file5"},{"photo_id":"1399637956","filename":"file2"},{"photo_id":"1399637981","filename":"file4"},{"photo_id":"1399637953","filename":"file1"},{"photo_id":"1399637947","filename":"file0"},{"photo_id":"1399637969","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399637956":["hashtag1","hashtag2"]},{"1399637986":["hashtag1","hashtag2"]},{"1399637953":["hashtag1","hashtag2"]},{"1399637947":["hashtag1","hashtag2"]},{"1399637981":["hashtag1","hashtag2"]},{"1399637969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399637956, 1399637986, 1399637953, 1399637947, 1399637981, 1399637969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36375951766968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:44:03.197453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_55_9659.jpg', '/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_15_10057.jpg', '/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_25_10812.jpg', '/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_35_9751.jpg', '/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_45_9686.jpg', '/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_55_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/34/image_16122025_11_34_55_9659.jpg
/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_15_10057.jpg
/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_25_10812.jpg
/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_35_9751.jpg
/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_45_9686.jpg
/home/pi/Desktop/images/16122025/11/35/image_16122025_11_35_55_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":["1399638025","1399638028","1399638024","1399638003","1399638006","1399638023"],"photo_ids_order":["1399638003","1399638006","1399638023","1399638024","1399638025","1399638028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c08f5d89aaf024053ac1761aadaf93ce.jpg","text":"TemporaryFile(/tmp/multipartBody3142229176700138076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881903854,"filename":"image_16122025_11_35_45_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e80380c6b29f2fe65c4afcbd300417a7.jpg","text":"TemporaryFile(/tmp/multipartBody5495715907315014918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881903854,"filename":"image_16122025_11_35_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d85b81a402e8e99d02f1edaaebc5aba3.jpg","text":"TemporaryFile(/tmp/multipartBody4795052963550581662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881903854,"filename":"image_16122025_11_35_35_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/845052407abd338cbb1e1f9a195ff5f3.jpg","text":"TemporaryFile(/tmp/multipartBody8774276399171609098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881903854,"filename":"image_16122025_11_34_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd28a961b14db30e027170c241b02025.jpg","text":"TemporaryFile(/tmp/multipartBody3678570387036123505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881903854,"filename":"image_16122025_11_35_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/16/2baf10e66ab772e3a2c17f1a6c22a9d8.jpg","text":"TemporaryFile(/tmp/multipartBody8992274788775762044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881903854,"filename":"image_16122025_11_35_25_10812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638023","file1":"1399638006","file0":"1399638003","file4":"1399638025","file5":"1399638028","file3":"1399638024"},"map_files_photo_id_array":[{"photo_id":"1399638028","filename":"file5"},{"photo_id":"1399638023","filename":"file2"},{"photo_id":"1399638025","filename":"file4"},{"photo_id":"1399638006","filename":"file1"},{"photo_id":"1399638003","filename":"file0"},{"photo_id":"1399638024","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638025":["hashtag1","hashtag2"]},{"1399638028":["hashtag1","hashtag2"]},{"1399638024":["hashtag1","hashtag2"]},{"1399638003":["hashtag1","hashtag2"]},{"1399638006":["hashtag1","hashtag2"]},{"1399638023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638025, 1399638028, 1399638024, 1399638003, 1399638006, 1399638023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09620189666748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:44:42.369540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_35_7189.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_37_1535.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_39_1584.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_40_1597.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_42_1687.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_43_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_35_7189.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_37_1535.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_39_1584.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_40_1597.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_42_1687.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_43_1675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638067","1399638045","1399638033","1399638143","1399638050","1399638104"],"photo_ids_order":["1399638033","1399638045","1399638050","1399638067","1399638104","1399638143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/add8da549ec1aa53bcf222fc57a3d813.jpg","text":"TemporaryFile(/tmp/multipartBody5736238754024296652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881943056,"filename":"image_06112025_16_06_40_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8bac37b5188d2d43f39e202534213a2.jpg","text":"TemporaryFile(/tmp/multipartBody4175705298620123301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881943056,"filename":"image_06112025_16_06_37_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/add7699fc92410326b1f1179da0f2170.jpg","text":"TemporaryFile(/tmp/multipartBody2982814405349396878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881943056,"filename":"image_06112025_16_06_35_7189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29655d6c13f54ba5d5c9ab8540540a41.jpg","text":"TemporaryFile(/tmp/multipartBody4698090796951695623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881943056,"filename":"image_06112025_16_06_43_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/16/ecd972d9d4dbc1262e83449e59cfb979.jpg","text":"TemporaryFile(/tmp/multipartBody2078100187788148379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881943056,"filename":"image_06112025_16_06_39_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/16/7afa16e973f0f5523a28abd28d0eb69b.jpg","text":"TemporaryFile(/tmp/multipartBody5806651898739901641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881943056,"filename":"image_06112025_16_06_42_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638050","file1":"1399638045","file0":"1399638033","file4":"1399638104","file5":"1399638143","file3":"1399638067"},"map_files_photo_id_array":[{"photo_id":"1399638143","filename":"file5"},{"photo_id":"1399638050","filename":"file2"},{"photo_id":"1399638104","filename":"file4"},{"photo_id":"1399638045","filename":"file1"},{"photo_id":"1399638033","filename":"file0"},{"photo_id":"1399638067","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638067":["hashtag1","hashtag2"]},{"1399638045":["hashtag1","hashtag2"]},{"1399638033":["hashtag1","hashtag2"]},{"1399638143":["hashtag1","hashtag2"]},{"1399638050":["hashtag1","hashtag2"]},{"1399638104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638067, 1399638045, 1399638033, 1399638143, 1399638050, 1399638104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.569905519485474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:45:22.626311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/35/image_16122025_11_36_05_10699.jpg', '/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_15_9761.jpg', '/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_25_9634.jpg', '/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_35_10583.jpg', '/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_45_9762.jpg', '/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/35/image_16122025_11_36_05_10699.jpg
/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_15_9761.jpg
/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_25_9634.jpg
/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_35_10583.jpg
/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_45_9762.jpg
/home/pi/Desktop/images/16122025/11/36/image_16122025_11_36_55_9925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638208","1399638270","1399638261","1399638243","1399638241","1399638235"],"photo_ids_order":["1399638208","1399638235","1399638241","1399638243","1399638261","1399638270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b478075e9822a3e4bdd2c073ce96e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2271454575481252740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881983240,"filename":"image_16122025_11_36_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/16/f46bfa50c221a110e14964042c7c23a1.jpg","text":"TemporaryFile(/tmp/multipartBody7494331357808247195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881983240,"filename":"image_16122025_11_36_55_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/16/38d0667c58fe4cfd7dda4b623f308b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6522174256783728562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881983240,"filename":"image_16122025_11_36_45_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd6058a4ad1e46bcce31f348c6d7c551.jpg","text":"TemporaryFile(/tmp/multipartBody4192003717825772004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881983240,"filename":"image_16122025_11_36_35_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca5936cd9c89464bdc73d8a078f7ea80.jpg","text":"TemporaryFile(/tmp/multipartBody4934785467158010281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881983240,"filename":"image_16122025_11_36_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/16/70e2974fe836040c53cbf403ea6cbebf.jpg","text":"TemporaryFile(/tmp/multipartBody2592265127413021195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765881983240,"filename":"image_16122025_11_36_15_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638241","file1":"1399638235","file0":"1399638208","file4":"1399638261","file5":"1399638270","file3":"1399638243"},"map_files_photo_id_array":[{"photo_id":"1399638270","filename":"file5"},{"photo_id":"1399638241","filename":"file2"},{"photo_id":"1399638261","filename":"file4"},{"photo_id":"1399638235","filename":"file1"},{"photo_id":"1399638208","filename":"file0"},{"photo_id":"1399638243","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638208":["hashtag1","hashtag2"]},{"1399638270":["hashtag1","hashtag2"]},{"1399638261":["hashtag1","hashtag2"]},{"1399638243":["hashtag1","hashtag2"]},{"1399638241":["hashtag1","hashtag2"]},{"1399638235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638208, 1399638270, 1399638261, 1399638243, 1399638241, 1399638235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46219849586487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:46:02.448279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/36/image_16122025_11_37_05_9740.jpg', '/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_15_10817.jpg', '/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_25_9742.jpg', '/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_35_9722.jpg', '/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_45_9740.jpg', '/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_55_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/36/image_16122025_11_37_05_9740.jpg
/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_15_10817.jpg
/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_25_9742.jpg
/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_35_9722.jpg
/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_45_9740.jpg
/home/pi/Desktop/images/16122025/11/37/image_16122025_11_37_55_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638313","1399638312","1399638315","1399638311","1399638314","1399638317"],"photo_ids_order":["1399638311","1399638312","1399638313","1399638314","1399638315","1399638317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/943c1dffd5516396658da611da7446ed.jpg","text":"TemporaryFile(/tmp/multipartBody4850065399768057822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882023077,"filename":"image_16122025_11_37_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/16/60ca032b5aeedc08b5e8d0be55dda6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1658382955408149776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882023077,"filename":"image_16122025_11_37_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2eb689a5120fae7216d9e4bc191db8fa.jpg","text":"TemporaryFile(/tmp/multipartBody334013597213995117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882023077,"filename":"image_16122025_11_37_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/acdf6d00c0640871372d203e324e9155.jpg","text":"TemporaryFile(/tmp/multipartBody3456784525069261477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882023077,"filename":"image_16122025_11_37_05_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77ecb98ec2a8f31abd85e1bf08c9eaee.jpg","text":"TemporaryFile(/tmp/multipartBody1282934008578986591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882023077,"filename":"image_16122025_11_37_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/16/6bf7b7727c776250d942da6e60573209.jpg","text":"TemporaryFile(/tmp/multipartBody3240131109092367924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882023077,"filename":"image_16122025_11_37_55_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638313","file1":"1399638312","file0":"1399638311","file4":"1399638315","file5":"1399638317","file3":"1399638314"},"map_files_photo_id_array":[{"photo_id":"1399638317","filename":"file5"},{"photo_id":"1399638313","filename":"file2"},{"photo_id":"1399638315","filename":"file4"},{"photo_id":"1399638312","filename":"file1"},{"photo_id":"1399638311","filename":"file0"},{"photo_id":"1399638314","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638313":["hashtag1","hashtag2"]},{"1399638312":["hashtag1","hashtag2"]},{"1399638315":["hashtag1","hashtag2"]},{"1399638311":["hashtag1","hashtag2"]},{"1399638314":["hashtag1","hashtag2"]},{"1399638317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638313, 1399638312, 1399638315, 1399638311, 1399638314, 1399638317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32762026786804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:46:41.909920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_45_1715.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_50_2730.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_52_2766.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_55_2589.jpg', '/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_59_3592.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_01_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_45_1715.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_50_2730.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_52_2766.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_55_2589.jpg
/home/pi/Desktop/images/06112025/16/06/image_06112025_16_06_59_3592.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_01_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":["1399638322","1399638325","1399638327","1399638324","1399638326","1399638328"],"photo_ids_order":["1399638322","1399638324","1399638325","1399638326","1399638327","1399638328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7e7cde914049b1a87a4cebf778596b4.jpg","text":"TemporaryFile(/tmp/multipartBody495644288989848791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882062606,"filename":"image_06112025_16_06_45_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/16/a0642f7c188d0e32443446c244d892d3.jpg","text":"TemporaryFile(/tmp/multipartBody3760260470765311266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882062606,"filename":"image_06112025_16_06_52_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfe338225d1d49fa57d1d57fbab0835f.jpg","text":"TemporaryFile(/tmp/multipartBody94896600940865956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882062606,"filename":"image_06112025_16_06_59_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/16/045318447817e550c39b6d630c5085e9.jpg","text":"TemporaryFile(/tmp/multipartBody2814856358528442562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882062606,"filename":"image_06112025_16_06_50_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/16/73bf485f67dcb8070116a6d94d68c49a.jpg","text":"TemporaryFile(/tmp/multipartBody9078430229890713384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882062606,"filename":"image_06112025_16_06_55_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/16/430970b6d57660abf47d826c1eca4050.jpg","text":"TemporaryFile(/tmp/multipartBody7002391819818098198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882062606,"filename":"image_06112025_16_07_01_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638325","file1":"1399638324","file0":"1399638322","file4":"1399638327","file5":"1399638328","file3":"1399638326"},"map_files_photo_id_array":[{"photo_id":"1399638328","filename":"file5"},{"photo_id":"1399638325","filename":"file2"},{"photo_id":"1399638327","filename":"file4"},{"photo_id":"1399638324","filename":"file1"},{"photo_id":"1399638322","filename":"file0"},{"photo_id":"1399638326","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638322":["hashtag1","hashtag2"]},{"1399638325":["hashtag1","hashtag2"]},{"1399638327":["hashtag1","hashtag2"]},{"1399638324":["hashtag1","hashtag2"]},{"1399638326":["hashtag1","hashtag2"]},{"1399638328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638322, 1399638325, 1399638327, 1399638324, 1399638326, 1399638328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.921375036239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:47:22.186608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/37/image_16122025_11_38_05_9755.jpg', '/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_15_9582.jpg', '/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_26_10768.jpg', '/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_35_9761.jpg', '/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_45_9732.jpg', '/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_55_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/37/image_16122025_11_38_05_9755.jpg
/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_15_9582.jpg
/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_26_10768.jpg
/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_35_9761.jpg
/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_45_9732.jpg
/home/pi/Desktop/images/16122025/11/38/image_16122025_11_38_55_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638337","1399638331","1399638330","1399638333","1399638335","1399638340"],"photo_ids_order":["1399638330","1399638331","1399638333","1399638335","1399638337","1399638340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7cc206779b4ee0dfe533b088a2ba641.jpg","text":"TemporaryFile(/tmp/multipartBody4137487759209231333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882102791,"filename":"image_16122025_11_38_45_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4414cf3d4850e0dcf55284eeb62879dc.jpg","text":"TemporaryFile(/tmp/multipartBody8717702835712435193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882102791,"filename":"image_16122025_11_38_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f43ed8d563a538d1756abd90ab929c69.jpg","text":"TemporaryFile(/tmp/multipartBody5191668831359233334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882102791,"filename":"image_16122025_11_38_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/16/73b159ff48bac5d1052dc1a7d6f6a12d.jpg","text":"TemporaryFile(/tmp/multipartBody9085838230535888178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882102791,"filename":"image_16122025_11_38_26_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb826dc49edff0b6a9b236cf84d5aa12.jpg","text":"TemporaryFile(/tmp/multipartBody6495229736508919739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882102791,"filename":"image_16122025_11_38_35_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f716273bc9088eb838d9814385bb4466.jpg","text":"TemporaryFile(/tmp/multipartBody3289152644199218771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882102791,"filename":"image_16122025_11_38_55_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638333","file1":"1399638331","file0":"1399638330","file4":"1399638337","file5":"1399638340","file3":"1399638335"},"map_files_photo_id_array":[{"photo_id":"1399638340","filename":"file5"},{"photo_id":"1399638333","filename":"file2"},{"photo_id":"1399638337","filename":"file4"},{"photo_id":"1399638331","filename":"file1"},{"photo_id":"1399638330","filename":"file0"},{"photo_id":"1399638335","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638337":["hashtag1","hashtag2"]},{"1399638331":["hashtag1","hashtag2"]},{"1399638330":["hashtag1","hashtag2"]},{"1399638333":["hashtag1","hashtag2"]},{"1399638335":["hashtag1","hashtag2"]},{"1399638340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638337, 1399638331, 1399638330, 1399638333, 1399638335, 1399638340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48397421836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:48:02.865431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/38/image_16122025_11_39_05_9870.jpg', '/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_15_10641.jpg', '/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_25_9687.jpg', '/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_35_9578.jpg', '/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_45_10840.jpg', '/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_55_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/38/image_16122025_11_39_05_9870.jpg
/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_15_10641.jpg
/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_25_9687.jpg
/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_35_9578.jpg
/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_45_10840.jpg
/home/pi/Desktop/images/16122025/11/39/image_16122025_11_39_55_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638363","1399638360","1399638362","1399638365","1399638364","1399638361"],"photo_ids_order":["1399638360","1399638361","1399638362","1399638363","1399638364","1399638365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5749309a47498ecc39975c39b7d41de.jpg","text":"TemporaryFile(/tmp/multipartBody7821738114176734729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882143538,"filename":"image_16122025_11_39_35_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6d1ccc8bfdc54d0e90c09da368c381c.jpg","text":"TemporaryFile(/tmp/multipartBody1155058393600631793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882143538,"filename":"image_16122025_11_39_05_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b408f40dce349810094aeef3b73ccdb.jpg","text":"TemporaryFile(/tmp/multipartBody8787558428635638668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882143538,"filename":"image_16122025_11_39_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/16/f705649bdbd78980b04102d5f16b8bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7548869163908620744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882143538,"filename":"image_16122025_11_39_55_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d85f0077a689e2978e67453f81a9d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6486639817978153506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882143538,"filename":"image_16122025_11_39_45_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/16/a7fcfd176fdfab4584dae1475f01099f.jpg","text":"TemporaryFile(/tmp/multipartBody6310290086776701673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882143538,"filename":"image_16122025_11_39_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638362","file1":"1399638361","file0":"1399638360","file4":"1399638364","file5":"1399638365","file3":"1399638363"},"map_files_photo_id_array":[{"photo_id":"1399638365","filename":"file5"},{"photo_id":"1399638362","filename":"file2"},{"photo_id":"1399638364","filename":"file4"},{"photo_id":"1399638361","filename":"file1"},{"photo_id":"1399638360","filename":"file0"},{"photo_id":"1399638363","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638363":["hashtag1","hashtag2"]},{"1399638360":["hashtag1","hashtag2"]},{"1399638362":["hashtag1","hashtag2"]},{"1399638365":["hashtag1","hashtag2"]},{"1399638364":["hashtag1","hashtag2"]},{"1399638361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638363, 1399638360, 1399638362, 1399638365, 1399638364, 1399638361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84835433959961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:48:42.510355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_04_2610.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_38_34409.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_40_1602.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_43_1598.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_45_1578.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_46_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_04_2610.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_38_34409.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_40_1602.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_43_1598.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_45_1578.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_46_1712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638375","1399638372","1399638380","1399638383","1399638377","1399638379"],"photo_ids_order":["1399638372","1399638375","1399638377","1399638379","1399638380","1399638383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1bf3a8422ebaf907f37b26c0a4b1905.jpg","text":"TemporaryFile(/tmp/multipartBody1849617691337659202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882183215,"filename":"image_06112025_16_07_38_34409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e653d46c586d30c7b65fda4fb4e0037.jpg","text":"TemporaryFile(/tmp/multipartBody7950212845129460856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882183215,"filename":"image_06112025_16_07_04_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/16/0566eedb907626588235121a52c51e64.jpg","text":"TemporaryFile(/tmp/multipartBody5245332503184140653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882183215,"filename":"image_06112025_16_07_45_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/16/28e71066a9fb13d83295225a35dc24f5.jpg","text":"TemporaryFile(/tmp/multipartBody8345299743019493362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882183215,"filename":"image_06112025_16_07_46_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e094f761d62994b9d2b5fb204e7d895.jpg","text":"TemporaryFile(/tmp/multipartBody2189683965796760322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882183215,"filename":"image_06112025_16_07_40_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/16/cae6ccf92570b9687f8fa233ad8115c2.jpg","text":"TemporaryFile(/tmp/multipartBody6884251677298085801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882183215,"filename":"image_06112025_16_07_43_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638377","file1":"1399638375","file0":"1399638372","file4":"1399638380","file5":"1399638383","file3":"1399638379"},"map_files_photo_id_array":[{"photo_id":"1399638383","filename":"file5"},{"photo_id":"1399638377","filename":"file2"},{"photo_id":"1399638380","filename":"file4"},{"photo_id":"1399638375","filename":"file1"},{"photo_id":"1399638372","filename":"file0"},{"photo_id":"1399638379","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638375":["hashtag1","hashtag2"]},{"1399638372":["hashtag1","hashtag2"]},{"1399638380":["hashtag1","hashtag2"]},{"1399638383":["hashtag1","hashtag2"]},{"1399638377":["hashtag1","hashtag2"]},{"1399638379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638375, 1399638372, 1399638380, 1399638383, 1399638377, 1399638379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18975353240967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:49:22.884738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_14_10058.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_25_10718.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_35_10213.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_45_9743.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_55_9645.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_41_04_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_14_10058.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_25_10718.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_35_10213.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_45_9743.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_55_9645.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_41_04_9879.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5075068473815918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 11:49:32.826337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:49:42.761028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_51_1623.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_53_1659.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_58_1639.jpg', '/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_59_1511.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_01_1740.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_03_1527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_51_1623.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_53_1659.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_58_1639.jpg
/home/pi/Desktop/images/06112025/16/07/image_06112025_16_07_59_1511.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_01_1740.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_03_1527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638393","1399638549","1399638593","1399638629","1399638470","1399638397"],"photo_ids_order":["1399638393","1399638397","1399638470","1399638549","1399638593","1399638629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a007ee4c49d6a469e9f88e3d578e8724.jpg","text":"TemporaryFile(/tmp/multipartBody2859359330024264707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882243541,"filename":"image_06112025_16_07_51_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/16/93ff6251a26ef308d795f34ba8009618.jpg","text":"TemporaryFile(/tmp/multipartBody1884925556060642438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882243541,"filename":"image_06112025_16_07_59_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f887ce0daf387ca96218d32cca2c32c7.jpg","text":"TemporaryFile(/tmp/multipartBody3579011997307113377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882243541,"filename":"image_06112025_16_08_01_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/16/a4cbc6a5a2ad9f72f7a3001b496f8ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4207046826886019866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882243541,"filename":"image_06112025_16_08_03_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/16/172511131e9ff0b6a33026601608462e.jpg","text":"TemporaryFile(/tmp/multipartBody6306829751409070335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882243541,"filename":"image_06112025_16_07_58_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/16/89ed65b78077114d43780df1ceeecb30.jpg","text":"TemporaryFile(/tmp/multipartBody7660311786951320248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882243541,"filename":"image_06112025_16_07_53_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638470","file1":"1399638397","file0":"1399638393","file4":"1399638593","file5":"1399638629","file3":"1399638549"},"map_files_photo_id_array":[{"photo_id":"1399638629","filename":"file5"},{"photo_id":"1399638470","filename":"file2"},{"photo_id":"1399638593","filename":"file4"},{"photo_id":"1399638397","filename":"file1"},{"photo_id":"1399638393","filename":"file0"},{"photo_id":"1399638549","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638393":["hashtag1","hashtag2"]},{"1399638549":["hashtag1","hashtag2"]},{"1399638593":["hashtag1","hashtag2"]},{"1399638629":["hashtag1","hashtag2"]},{"1399638470":["hashtag1","hashtag2"]},{"1399638397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638393, 1399638549, 1399638593, 1399638629, 1399638470, 1399638397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.618061780929565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:50:42.032713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_06_1507.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_07_1753.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_21_14083.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_23_1649.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_30_3935.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_40_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_06_1507.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_07_1753.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_21_14083.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_23_1649.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_30_3935.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_40_9339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5874669551849365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:51:03.000646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_14_10058.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_25_10718.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_35_10213.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_45_9743.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_55_9645.jpg', '/home/pi/Desktop/images/16122025/11/40/image_16122025_11_41_04_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_14_10058.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_25_10718.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_35_10213.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_45_9743.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_40_55_9645.jpg
/home/pi/Desktop/images/16122025/11/40/image_16122025_11_41_04_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638741","1399638738","1399638740","1399638743","1399638737","1399638739"],"photo_ids_order":["1399638737","1399638738","1399638739","1399638740","1399638741","1399638743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9ae944bf807ee19c377f7706add48b21.jpg","text":"TemporaryFile(/tmp/multipartBody5094315154797882051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882323653,"filename":"image_16122025_11_40_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc1ba531b5c3976911724ffefee3fc02.jpg","text":"TemporaryFile(/tmp/multipartBody1753556406679297748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882323653,"filename":"image_16122025_11_40_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/16/939e0e6d3243c8ffead58c2245a854b1.jpg","text":"TemporaryFile(/tmp/multipartBody7827385219882299753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882323653,"filename":"image_16122025_11_40_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/16/995985dbdcc297c5ba677ad6fd9dd3aa.jpg","text":"TemporaryFile(/tmp/multipartBody4623672976940166975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882323653,"filename":"image_16122025_11_41_04_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf97566c4f032be3257885346c52cd18.jpg","text":"TemporaryFile(/tmp/multipartBody8399149115727447100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882323653,"filename":"image_16122025_11_40_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/16/61f28141775ff132720579b535439c07.jpg","text":"TemporaryFile(/tmp/multipartBody2106686155921332636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882323653,"filename":"image_16122025_11_40_35_10213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638739","file1":"1399638738","file0":"1399638737","file4":"1399638741","file5":"1399638743","file3":"1399638740"},"map_files_photo_id_array":[{"photo_id":"1399638743","filename":"file5"},{"photo_id":"1399638739","filename":"file2"},{"photo_id":"1399638741","filename":"file4"},{"photo_id":"1399638738","filename":"file1"},{"photo_id":"1399638737","filename":"file0"},{"photo_id":"1399638740","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638741":["hashtag1","hashtag2"]},{"1399638738":["hashtag1","hashtag2"]},{"1399638740":["hashtag1","hashtag2"]},{"1399638743":["hashtag1","hashtag2"]},{"1399638737":["hashtag1","hashtag2"]},{"1399638739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638741, 1399638738, 1399638740, 1399638743, 1399638737, 1399638739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21788001060486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:51:42.293683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_06_1507.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_07_1753.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_21_14083.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_23_1649.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_30_3935.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_40_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_06_1507.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_07_1753.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_21_14083.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_23_1649.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_30_3935.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_40_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638754","1399638748","1399638753","1399638756","1399638750","1399638752"],"photo_ids_order":["1399638748","1399638750","1399638752","1399638753","1399638754","1399638756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/575d41a03a4929244fc3c9b306ddee2b.jpg","text":"TemporaryFile(/tmp/multipartBody7464522749252999624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882362875,"filename":"image_06112025_16_08_30_3935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a37ff2e8aefad8ca7b71243f911c923d.jpg","text":"TemporaryFile(/tmp/multipartBody6363901602995399403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882362875,"filename":"image_06112025_16_08_06_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a58a53d93689a80f9b2f458c39d9bbd2.jpg","text":"TemporaryFile(/tmp/multipartBody7482548740618894890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882362875,"filename":"image_06112025_16_08_23_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/16/42d37b934a0203e11ac8cd1735df9c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1318235107846122882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882362875,"filename":"image_06112025_16_08_40_9339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e27bf2850134e6563f5d77744d9e590a.jpg","text":"TemporaryFile(/tmp/multipartBody9065147830046627878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882362875,"filename":"image_06112025_16_08_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/16/2ab489438988b27e3d687acac9301fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8034899426915988446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882362875,"filename":"image_06112025_16_08_21_14083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638752","file1":"1399638750","file0":"1399638748","file4":"1399638754","file5":"1399638756","file3":"1399638753"},"map_files_photo_id_array":[{"photo_id":"1399638756","filename":"file5"},{"photo_id":"1399638752","filename":"file2"},{"photo_id":"1399638754","filename":"file4"},{"photo_id":"1399638750","filename":"file1"},{"photo_id":"1399638748","filename":"file0"},{"photo_id":"1399638753","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638754":["hashtag1","hashtag2"]},{"1399638748":["hashtag1","hashtag2"]},{"1399638753":["hashtag1","hashtag2"]},{"1399638756":["hashtag1","hashtag2"]},{"1399638750":["hashtag1","hashtag2"]},{"1399638752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638754, 1399638748, 1399638753, 1399638756, 1399638750, 1399638752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566457986831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:52:22.561198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_15_10654.jpg', '/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_25_9669.jpg', '/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_34_9757.jpg', '/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_44_9736.jpg', '/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_55_10593.jpg', '/home/pi/Desktop/images/16122025/11/41/image_16122025_11_42_05_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_15_10654.jpg
/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_25_9669.jpg
/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_34_9757.jpg
/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_44_9736.jpg
/home/pi/Desktop/images/16122025/11/41/image_16122025_11_41_55_10593.jpg
/home/pi/Desktop/images/16122025/11/41/image_16122025_11_42_05_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":["1399638762","1399638764","1399638758","1399638769","1399638760","1399638766"],"photo_ids_order":["1399638758","1399638760","1399638762","1399638764","1399638766","1399638769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75750e5abec21aae76715366483a4696.jpg","text":"TemporaryFile(/tmp/multipartBody3760732652487525604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882403178,"filename":"image_16122025_11_41_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/16/527007e46976fe9f204dc10961126491.jpg","text":"TemporaryFile(/tmp/multipartBody1799932905959212877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882403178,"filename":"image_16122025_11_41_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/16/e26f15e493b860102d4c6da0999fb2c2.jpg","text":"TemporaryFile(/tmp/multipartBody5769496182919271450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882403178,"filename":"image_16122025_11_41_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/038559919f166266c89010acaaafbbef.jpg","text":"TemporaryFile(/tmp/multipartBody3649414806200124981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882403178,"filename":"image_16122025_11_42_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/16/23b28a4f465717d62b24a8a054793fab.jpg","text":"TemporaryFile(/tmp/multipartBody5550808048538545610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882403178,"filename":"image_16122025_11_41_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e282becf9a09c2c702cdecfecc03e8f3.jpg","text":"TemporaryFile(/tmp/multipartBody7411042514004640272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882403178,"filename":"image_16122025_11_41_55_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638762","file1":"1399638760","file0":"1399638758","file4":"1399638766","file5":"1399638769","file3":"1399638764"},"map_files_photo_id_array":[{"photo_id":"1399638769","filename":"file5"},{"photo_id":"1399638762","filename":"file2"},{"photo_id":"1399638766","filename":"file4"},{"photo_id":"1399638760","filename":"file1"},{"photo_id":"1399638758","filename":"file0"},{"photo_id":"1399638764","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638762":["hashtag1","hashtag2"]},{"1399638764":["hashtag1","hashtag2"]},{"1399638758":["hashtag1","hashtag2"]},{"1399638769":["hashtag1","hashtag2"]},{"1399638760":["hashtag1","hashtag2"]},{"1399638766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638762, 1399638764, 1399638758, 1399638769, 1399638760, 1399638766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.941335678100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:53:03.424212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_14_9786.jpg', '/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_25_10632.jpg', '/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_35_9660.jpg', '/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_45_9913.jpg', '/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_54_9770.jpg', '/home/pi/Desktop/images/16122025/11/42/image_16122025_11_43_05_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_14_9786.jpg
/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_25_10632.jpg
/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_35_9660.jpg
/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_45_9913.jpg
/home/pi/Desktop/images/16122025/11/42/image_16122025_11_42_54_9770.jpg
/home/pi/Desktop/images/16122025/11/42/image_16122025_11_43_05_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638771","1399638774","1399638777","1399638773","1399638775","1399638772"],"photo_ids_order":["1399638771","1399638772","1399638773","1399638774","1399638775","1399638777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77325328736c1fa271bb9be9963a6eee.jpg","text":"TemporaryFile(/tmp/multipartBody3122448675779933686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882444081,"filename":"image_16122025_11_42_14_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b63e5ba458f44f15bc18e8afbd14e761.jpg","text":"TemporaryFile(/tmp/multipartBody8907173732435818214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882444081,"filename":"image_16122025_11_42_45_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/16/dcc14372566040e40008b744d9a2f3ad.jpg","text":"TemporaryFile(/tmp/multipartBody910387746096304004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882444081,"filename":"image_16122025_11_43_05_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71e3e16c887be34473d857e775b333de.jpg","text":"TemporaryFile(/tmp/multipartBody4365757717505443940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882444081,"filename":"image_16122025_11_42_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d060dc1b57e8de474e1d432f86d45624.jpg","text":"TemporaryFile(/tmp/multipartBody6789782882577526495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882444081,"filename":"image_16122025_11_42_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c12d39ce74b9a1458258f7279af271f7.jpg","text":"TemporaryFile(/tmp/multipartBody5639724323802131617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882444081,"filename":"image_16122025_11_42_25_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638773","file1":"1399638772","file0":"1399638771","file4":"1399638775","file5":"1399638777","file3":"1399638774"},"map_files_photo_id_array":[{"photo_id":"1399638777","filename":"file5"},{"photo_id":"1399638773","filename":"file2"},{"photo_id":"1399638775","filename":"file4"},{"photo_id":"1399638772","filename":"file1"},{"photo_id":"1399638771","filename":"file0"},{"photo_id":"1399638774","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638771":["hashtag1","hashtag2"]},{"1399638774":["hashtag1","hashtag2"]},{"1399638777":["hashtag1","hashtag2"]},{"1399638773":["hashtag1","hashtag2"]},{"1399638775":["hashtag1","hashtag2"]},{"1399638772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638771, 1399638774, 1399638777, 1399638773, 1399638775, 1399638772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95378494262695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:53:42.796439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_54_14547.jpg', '/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_56_1616.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_10_3017.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_14_3607.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_19_5439.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_21_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_54_14547.jpg
/home/pi/Desktop/images/06112025/16/08/image_06112025_16_08_56_1616.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_10_3017.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_14_3607.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_19_5439.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_21_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638786","1399638782","1399638827","1399638836","1399638793","1399638838"],"photo_ids_order":["1399638782","1399638786","1399638793","1399638827","1399638836","1399638838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01f60be0b60236c1be0017cd2fa35765.jpg","text":"TemporaryFile(/tmp/multipartBody8593315350221309604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882483467,"filename":"image_06112025_16_08_56_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32e0c5c37d1a2687ef13354606460518.jpg","text":"TemporaryFile(/tmp/multipartBody1482415300851995853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882483467,"filename":"image_06112025_16_08_54_14547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd5d0c647ed8d4abdf4a97ef9b38c496.jpg","text":"TemporaryFile(/tmp/multipartBody177585981082449919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882483467,"filename":"image_06112025_16_12_14_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/16/e41dc4f91e4c2bff9ab47a12146c4aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4529583462139111240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882483467,"filename":"image_06112025_16_12_19_5439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2db1acf06d68b0e228e63b65c1f06a6a.jpg","text":"TemporaryFile(/tmp/multipartBody191754502785762755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882483467,"filename":"image_06112025_16_12_10_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/16/3e80faa5007488ae7e2ce421eb1b5986.jpg","text":"TemporaryFile(/tmp/multipartBody6677829322474924522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882483467,"filename":"image_06112025_16_12_21_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638793","file1":"1399638786","file0":"1399638782","file4":"1399638836","file5":"1399638838","file3":"1399638827"},"map_files_photo_id_array":[{"photo_id":"1399638838","filename":"file5"},{"photo_id":"1399638793","filename":"file2"},{"photo_id":"1399638836","filename":"file4"},{"photo_id":"1399638786","filename":"file1"},{"photo_id":"1399638782","filename":"file0"},{"photo_id":"1399638827","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638786":["hashtag1","hashtag2"]},{"1399638782":["hashtag1","hashtag2"]},{"1399638827":["hashtag1","hashtag2"]},{"1399638836":["hashtag1","hashtag2"]},{"1399638793":["hashtag1","hashtag2"]},{"1399638838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638786, 1399638782, 1399638827, 1399638836, 1399638793, 1399638838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.551552295684814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:54:22.069793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_15_10026.jpg', '/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_25_9562.jpg', '/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_34_9754.jpg', '/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_45_10154.jpg', '/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_54_9649.jpg', '/home/pi/Desktop/images/16122025/11/43/image_16122025_11_44_05_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_15_10026.jpg
/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_25_9562.jpg
/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_34_9754.jpg
/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_45_10154.jpg
/home/pi/Desktop/images/16122025/11/43/image_16122025_11_43_54_9649.jpg
/home/pi/Desktop/images/16122025/11/43/image_16122025_11_44_05_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638846","1399638849","1399638842","1399638841","1399638850","1399638844"],"photo_ids_order":["1399638841","1399638842","1399638844","1399638846","1399638849","1399638850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b560c85789ae56c830c6a18c477ce872.jpg","text":"TemporaryFile(/tmp/multipartBody2728567674704690348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882522689,"filename":"image_16122025_11_43_45_10154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff76e04ec2a3b529261fd658ca66476f.jpg","text":"TemporaryFile(/tmp/multipartBody5656990057652779575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882522689,"filename":"image_16122025_11_43_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc266c704916c2ce80b6935bb6bc84eb.jpg","text":"TemporaryFile(/tmp/multipartBody843524578292938539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882522689,"filename":"image_16122025_11_43_25_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/16/4b6801dea026212dd0fb906d5c84d151.jpg","text":"TemporaryFile(/tmp/multipartBody2344295061535297807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882522689,"filename":"image_16122025_11_43_15_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d3a0531c7660182d224f6262a9ee077.jpg","text":"TemporaryFile(/tmp/multipartBody6190562221719927417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882522689,"filename":"image_16122025_11_44_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/16/d98ff3f6c74050170067068fbe40203c.jpg","text":"TemporaryFile(/tmp/multipartBody1654092895827488320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882522689,"filename":"image_16122025_11_43_34_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638844","file1":"1399638842","file0":"1399638841","file4":"1399638849","file5":"1399638850","file3":"1399638846"},"map_files_photo_id_array":[{"photo_id":"1399638850","filename":"file5"},{"photo_id":"1399638844","filename":"file2"},{"photo_id":"1399638849","filename":"file4"},{"photo_id":"1399638842","filename":"file1"},{"photo_id":"1399638841","filename":"file0"},{"photo_id":"1399638846","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638846":["hashtag1","hashtag2"]},{"1399638849":["hashtag1","hashtag2"]},{"1399638842":["hashtag1","hashtag2"]},{"1399638841":["hashtag1","hashtag2"]},{"1399638850":["hashtag1","hashtag2"]},{"1399638844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638846, 1399638849, 1399638842, 1399638841, 1399638850, 1399638844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.436959743499756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:55:03.097520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_15_9912.jpg', '/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_24_9690.jpg', '/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_34_9680.jpg', '/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_45_10644.jpg', '/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_55_9729.jpg', '/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_14_10060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_15_9912.jpg
/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_24_9690.jpg
/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_34_9680.jpg
/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_45_10644.jpg
/home/pi/Desktop/images/16122025/11/44/image_16122025_11_44_55_9729.jpg
/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_14_10060.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638852","1399638855","1399638857","1399638851","1399638854","1399638853"],"photo_ids_order":["1399638851","1399638852","1399638853","1399638854","1399638855","1399638857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e2dd520985f97adcac86cff1711cad06.jpg","text":"TemporaryFile(/tmp/multipartBody8190061509086340267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882563759,"filename":"image_16122025_11_44_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f77735d7ee0422bec3872a8c92b2247.jpg","text":"TemporaryFile(/tmp/multipartBody3845400311815324547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882563759,"filename":"image_16122025_11_44_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/16/322b61fd797f1901563253baee005c85.jpg","text":"TemporaryFile(/tmp/multipartBody7292562920930209232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882563759,"filename":"image_16122025_11_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/16/3f427169df36bf9bfda57cf7d323fd6f.jpg","text":"TemporaryFile(/tmp/multipartBody1627549270525160364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882563759,"filename":"image_16122025_11_44_15_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11a440b869e7673a8a28860c0c976b64.jpg","text":"TemporaryFile(/tmp/multipartBody662333214297234785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882563759,"filename":"image_16122025_11_44_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/16/8fe3c26a1393b5f7e6331eb16d552f1c.jpg","text":"TemporaryFile(/tmp/multipartBody3208764943796252926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882563759,"filename":"image_16122025_11_44_34_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638853","file1":"1399638852","file0":"1399638851","file4":"1399638855","file5":"1399638857","file3":"1399638854"},"map_files_photo_id_array":[{"photo_id":"1399638857","filename":"file5"},{"photo_id":"1399638853","filename":"file2"},{"photo_id":"1399638855","filename":"file4"},{"photo_id":"1399638852","filename":"file1"},{"photo_id":"1399638851","filename":"file0"},{"photo_id":"1399638854","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638852":["hashtag1","hashtag2"]},{"1399638855":["hashtag1","hashtag2"]},{"1399638857":["hashtag1","hashtag2"]},{"1399638851":["hashtag1","hashtag2"]},{"1399638854":["hashtag1","hashtag2"]},{"1399638853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638852, 1399638855, 1399638857, 1399638851, 1399638854, 1399638853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93235468864441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:55:42.363852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_23_1646.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_26_3345.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_29_2639.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_32_3563.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_35_2617.jpg', '/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_41_3730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_23_1646.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_26_3345.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_29_2639.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_32_3563.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_35_2617.jpg
/home/pi/Desktop/images/06112025/16/12/image_06112025_16_12_41_3730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638867","1399638863","1399638866","1399638869","1399638871","1399638868"],"photo_ids_order":["1399638863","1399638866","1399638867","1399638868","1399638869","1399638871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d48ff64be88c15b37ea07b2ad543138.jpg","text":"TemporaryFile(/tmp/multipartBody8974281736301489188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882603040,"filename":"image_06112025_16_12_29_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/16/843450e3a4f911749fedecd09548c09d.jpg","text":"TemporaryFile(/tmp/multipartBody4648532633174830426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882603040,"filename":"image_06112025_16_12_23_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/16/f395270b5e0c8e3195f23c04eb2d12b8.jpg","text":"TemporaryFile(/tmp/multipartBody637578804983178928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882603040,"filename":"image_06112025_16_12_26_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/16/632adc7fd554ad16f6d199c401c3d962.jpg","text":"TemporaryFile(/tmp/multipartBody6868591740210776306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882603040,"filename":"image_06112025_16_12_35_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/16/0e1bef72d8bb30188430055872512a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6470478102263791046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882603040,"filename":"image_06112025_16_12_41_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/16/228c9dc47f40fbcba8e8f23606f55213.jpg","text":"TemporaryFile(/tmp/multipartBody8184452574704827652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882603040,"filename":"image_06112025_16_12_32_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638867","file1":"1399638866","file0":"1399638863","file4":"1399638869","file5":"1399638871","file3":"1399638868"},"map_files_photo_id_array":[{"photo_id":"1399638871","filename":"file5"},{"photo_id":"1399638867","filename":"file2"},{"photo_id":"1399638869","filename":"file4"},{"photo_id":"1399638866","filename":"file1"},{"photo_id":"1399638863","filename":"file0"},{"photo_id":"1399638868","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638867":["hashtag1","hashtag2"]},{"1399638863":["hashtag1","hashtag2"]},{"1399638866":["hashtag1","hashtag2"]},{"1399638869":["hashtag1","hashtag2"]},{"1399638871":["hashtag1","hashtag2"]},{"1399638868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638867, 1399638863, 1399638866, 1399638869, 1399638871, 1399638868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76227283477783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 11:56:22.624089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_25_10767.jpg', '/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_35_9576.jpg', '/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_44_9713.jpg', '/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_54_9956.jpg', '/home/pi/Desktop/images/16122025/11/45/image_16122025_11_46_05_10791.jpg', '/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_15_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_25_10767.jpg
/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_35_9576.jpg
/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_44_9713.jpg
/home/pi/Desktop/images/16122025/11/45/image_16122025_11_45_54_9956.jpg
/home/pi/Desktop/images/16122025/11/45/image_16122025_11_46_05_10791.jpg
/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_15_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":["1399638879","1399638873","1399638876","1399638881","1399638884","1399638874"],"photo_ids_order":["1399638873","1399638874","1399638876","1399638879","1399638881","1399638884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38772caed50e34a387fdc8f6459eca93.jpg","text":"TemporaryFile(/tmp/multipartBody6796347514445093586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882643244,"filename":"image_16122025_11_45_54_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/16/01b769e43dbb8e51d8098f6dc7bb6335.jpg","text":"TemporaryFile(/tmp/multipartBody1368752761169040249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882643244,"filename":"image_16122025_11_45_25_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/795a078be9e775e6e6367b95ae61320f.jpg","text":"TemporaryFile(/tmp/multipartBody3077316005838564035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882643244,"filename":"image_16122025_11_45_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/16/0b88ae5dd3bd56c5c52ecc66faaa74e8.jpg","text":"TemporaryFile(/tmp/multipartBody5968483749523838956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882643244,"filename":"image_16122025_11_46_05_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/16/e4fa42b4cb680869da5d3e93a2119c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4161826429557918404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882643244,"filename":"image_16122025_11_46_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/16/30e9328c144b365837fd23a7d8dfb5b8.jpg","text":"TemporaryFile(/tmp/multipartBody7536704789383365823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882643244,"filename":"image_16122025_11_45_35_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638876","file1":"1399638874","file0":"1399638873","file4":"1399638881","file5":"1399638884","file3":"1399638879"},"map_files_photo_id_array":[{"photo_id":"1399638884","filename":"file5"},{"photo_id":"1399638876","filename":"file2"},{"photo_id":"1399638881","filename":"file4"},{"photo_id":"1399638874","filename":"file1"},{"photo_id":"1399638873","filename":"file0"},{"photo_id":"1399638879","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638879":["hashtag1","hashtag2"]},{"1399638873":["hashtag1","hashtag2"]},{"1399638876":["hashtag1","hashtag2"]},{"1399638881":["hashtag1","hashtag2"]},{"1399638884":["hashtag1","hashtag2"]},{"1399638874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638879, 1399638873, 1399638876, 1399638881, 1399638884, 1399638874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0569543838501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:57:02.590608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_25_10167.jpg', '/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_34_9580.jpg', '/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_44_9680.jpg', '/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_54_10044.jpg', '/home/pi/Desktop/images/16122025/11/46/image_16122025_11_47_05_10874.jpg', '/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_15_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_25_10167.jpg
/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_34_9580.jpg
/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_44_9680.jpg
/home/pi/Desktop/images/16122025/11/46/image_16122025_11_46_54_10044.jpg
/home/pi/Desktop/images/16122025/11/46/image_16122025_11_47_05_10874.jpg
/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_15_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":["1399638946","1399638933","1399638942","1399638944","1399638940","1399638937"],"photo_ids_order":["1399638933","1399638937","1399638940","1399638942","1399638944","1399638946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c45e019716b3e26388337734a18f6536.jpg","text":"TemporaryFile(/tmp/multipartBody6527225023624839870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882683261,"filename":"image_16122025_11_47_15_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/16/4b4080b80759eaa48efd6c08f4d9ac17.jpg","text":"TemporaryFile(/tmp/multipartBody8118512212707618185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882683261,"filename":"image_16122025_11_46_25_10167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e49b5b39a33db51bf46147e9cdd2c240.jpg","text":"TemporaryFile(/tmp/multipartBody1595870699324853228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882683261,"filename":"image_16122025_11_46_54_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/16/444595fcc6adabb50887802356f8aae0.jpg","text":"TemporaryFile(/tmp/multipartBody8996128609869017364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882683261,"filename":"image_16122025_11_47_05_10874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/857ed0684c1b3ada0c9129c69e0f1198.jpg","text":"TemporaryFile(/tmp/multipartBody1516388451087046735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882683261,"filename":"image_16122025_11_46_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b5e303a1bbe5dfb5dedd112c0ac7738.jpg","text":"TemporaryFile(/tmp/multipartBody4894509144063919613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882683261,"filename":"image_16122025_11_46_34_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638940","file1":"1399638937","file0":"1399638933","file4":"1399638944","file5":"1399638946","file3":"1399638942"},"map_files_photo_id_array":[{"photo_id":"1399638946","filename":"file5"},{"photo_id":"1399638940","filename":"file2"},{"photo_id":"1399638944","filename":"file4"},{"photo_id":"1399638937","filename":"file1"},{"photo_id":"1399638933","filename":"file0"},{"photo_id":"1399638942","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399638946":["hashtag1","hashtag2"]},{"1399638933":["hashtag1","hashtag2"]},{"1399638942":["hashtag1","hashtag2"]},{"1399638944":["hashtag1","hashtag2"]},{"1399638940":["hashtag1","hashtag2"]},{"1399638937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399638946, 1399638933, 1399638942, 1399638944, 1399638940, 1399638937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18649888038635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:57:41.825677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_02_20891.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_05_1598.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_07_1585.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_08_1546.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_10_1645.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_12_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_02_20891.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_05_1598.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_07_1585.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_08_1546.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_10_1645.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_12_1743.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399638954","1399638948","1399638957","1399638959","1399638950","1399638952"],"photo_ids_order":["1399638948","1399638950","1399638952","1399638954","1399638957","1399638959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8ac99e6f5cce80d4e237ced80cb116b.jpg","text":"TemporaryFile(/tmp/multipartBody2067514661491332446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882722489,"filename":"image_06112025_16_13_08_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/16/88a9d133aeb90ce6ca47d0f4ba9d5611.jpg","text":"TemporaryFile(/tmp/multipartBody3293290215260323351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882722489,"filename":"image_06112025_16_13_02_20891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d43aec2222ff181da51248e77197165.jpg","text":"TemporaryFile(/tmp/multipartBody2107213656691780754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882722489,"filename":"image_06112025_16_13_10_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/16/27378196acb61374776b94fd2ae8ead4.jpg","text":"TemporaryFile(/tmp/multipartBody3491961252246489299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882722489,"filename":"image_06112025_16_13_12_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a1c8791f76dbdf47b6c42abf9bc2b9d.jpg","text":"TemporaryFile(/tmp/multipartBody4022903158071810900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882722489,"filename":"image_06112025_16_13_05_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/16/abae195187dd393250ab35bb0e13c924.jpg","text":"TemporaryFile(/tmp/multipartBody4612178854835753861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882722489,"filename":"image_06112025_16_13_07_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399638952","file1":"1399638950","file0":"1399638948","file4":"1399638957","file5":"1399638959","file3":"1399638954"},"map_files_photo_id_array":[{"photo_id":"1399638959","filename":"file5"},{"photo_id":"1399638952","filename":"file2"},{"photo_id":"1399638957","filename":"file4"},{"photo_id":"1399638950","filename":"file1"},{"photo_id":"1399638948","filename":"file0"},{"photo_id":"1399638954","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399638954":["hashtag1","hashtag2"]},{"1399638948":["hashtag1","hashtag2"]},{"1399638957":["hashtag1","hashtag2"]},{"1399638959":["hashtag1","hashtag2"]},{"1399638950":["hashtag1","hashtag2"]},{"1399638952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399638954, 1399638948, 1399638957, 1399638959, 1399638950, 1399638952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9854793548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 11:59:02.912088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_24_9502.jpg', '/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_34_10035.jpg', '/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_44_9786.jpg', '/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_55_10752.jpg', '/home/pi/Desktop/images/16122025/11/47/image_16122025_11_48_05_9646.jpg', '/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_14_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_24_9502.jpg
/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_34_10035.jpg
/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_44_9786.jpg
/home/pi/Desktop/images/16122025/11/47/image_16122025_11_47_55_10752.jpg
/home/pi/Desktop/images/16122025/11/47/image_16122025_11_48_05_9646.jpg
/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_14_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399639137","1399639101","1399639174","1399639249","1399639213","1399639063"],"photo_ids_order":["1399639063","1399639101","1399639137","1399639174","1399639213","1399639249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be0961e5a2e16e914962faae002cb94e.jpg","text":"TemporaryFile(/tmp/multipartBody4440367440096034553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882803633,"filename":"image_16122025_11_47_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/16/5e980847fbd6b83f2de51fb73c5b50cd.jpg","text":"TemporaryFile(/tmp/multipartBody138018385231940182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882803633,"filename":"image_16122025_11_47_34_10035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1e37e44ebeafb232ebd232b3b3b15f6f.jpg","text":"TemporaryFile(/tmp/multipartBody3764719482271650701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882803633,"filename":"image_16122025_11_47_55_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f1fddd834bc544746aa70257de513aa.jpg","text":"TemporaryFile(/tmp/multipartBody527037863697351259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882803633,"filename":"image_16122025_11_48_14_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d2062ba2144d19c0b3d07e330460927a.jpg","text":"TemporaryFile(/tmp/multipartBody6157182155633473074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882803633,"filename":"image_16122025_11_48_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c5c439e3864200dda791fd4b40a1d2c.jpg","text":"TemporaryFile(/tmp/multipartBody521225363558888420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882803633,"filename":"image_16122025_11_47_24_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399639137","file1":"1399639101","file0":"1399639063","file4":"1399639213","file5":"1399639249","file3":"1399639174"},"map_files_photo_id_array":[{"photo_id":"1399639249","filename":"file5"},{"photo_id":"1399639137","filename":"file2"},{"photo_id":"1399639213","filename":"file4"},{"photo_id":"1399639101","filename":"file1"},{"photo_id":"1399639063","filename":"file0"},{"photo_id":"1399639174","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399639137":["hashtag1","hashtag2"]},{"1399639101":["hashtag1","hashtag2"]},{"1399639174":["hashtag1","hashtag2"]},{"1399639249":["hashtag1","hashtag2"]},{"1399639213":["hashtag1","hashtag2"]},{"1399639063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399639137, 1399639101, 1399639174, 1399639249, 1399639213, 1399639063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55904579162598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 11:59:42.204572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_13_1530.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_15_1644.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_17_1765.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_18_1514.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_21_1516.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_23_1510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_13_1530.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_15_1644.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_17_1765.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_18_1514.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_21_1516.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_23_1510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399639533","1399639323","1399639446","1399639481","1399639280","1399639411"],"photo_ids_order":["1399639280","1399639323","1399639411","1399639446","1399639481","1399639533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d09a8c884eeac9ffcd2359b9ff5db489.jpg","text":"TemporaryFile(/tmp/multipartBody606476147045121399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882842877,"filename":"image_06112025_16_13_23_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39ac6a0614ac968fe67865d866632cd1.jpg","text":"TemporaryFile(/tmp/multipartBody567344392809213011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882842877,"filename":"image_06112025_16_13_15_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d7c4d082e3c2203490f7d691266ed78.jpg","text":"TemporaryFile(/tmp/multipartBody7016822049067908115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882842877,"filename":"image_06112025_16_13_18_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/16/12202ae063100a6042fd61fc0ec386da.jpg","text":"TemporaryFile(/tmp/multipartBody4031905072770315597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882842877,"filename":"image_06112025_16_13_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/16/36d768a579a3fbf18b19ef9bb2708172.jpg","text":"TemporaryFile(/tmp/multipartBody1772408697659901997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882842877,"filename":"image_06112025_16_13_13_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/365bb9f7910659cb8a890f7d282dfa55.jpg","text":"TemporaryFile(/tmp/multipartBody8118520991919278505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882842877,"filename":"image_06112025_16_13_17_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399639411","file1":"1399639323","file0":"1399639280","file4":"1399639481","file5":"1399639533","file3":"1399639446"},"map_files_photo_id_array":[{"photo_id":"1399639533","filename":"file5"},{"photo_id":"1399639411","filename":"file2"},{"photo_id":"1399639481","filename":"file4"},{"photo_id":"1399639323","filename":"file1"},{"photo_id":"1399639280","filename":"file0"},{"photo_id":"1399639446","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399639533":["hashtag1","hashtag2"]},{"1399639323":["hashtag1","hashtag2"]},{"1399639446":["hashtag1","hashtag2"]},{"1399639481":["hashtag1","hashtag2"]},{"1399639280":["hashtag1","hashtag2"]},{"1399639411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399639533, 1399639323, 1399639446, 1399639481, 1399639280, 1399639411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02647519111633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:00:22.488694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_24_9813.jpg', '/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_35_10603.jpg', '/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_44_9348.jpg', '/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_55_10627.jpg', '/home/pi/Desktop/images/16122025/11/48/image_16122025_11_49_05_9735.jpg', '/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_14_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_24_9813.jpg
/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_35_10603.jpg
/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_44_9348.jpg
/home/pi/Desktop/images/16122025/11/48/image_16122025_11_48_55_10627.jpg
/home/pi/Desktop/images/16122025/11/48/image_16122025_11_49_05_9735.jpg
/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_14_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399639899","1399639863","1399639820","1399639747","1399639782","1399639708"],"photo_ids_order":["1399639708","1399639747","1399639782","1399639820","1399639863","1399639899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4ab9b72b3d038743ceafb4b6c362a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6100483966972504252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882883064,"filename":"image_16122025_11_49_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/16/35e6dc51f35ec71b69dbbd6fdd0ef12d.jpg","text":"TemporaryFile(/tmp/multipartBody2287853098603550888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882883064,"filename":"image_16122025_11_49_05_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb9e983a3fd20e46fe5ffb431e4f1db3.jpg","text":"TemporaryFile(/tmp/multipartBody3798539039609000291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882883064,"filename":"image_16122025_11_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/16/db769146598604b009f4446c27b8713f.jpg","text":"TemporaryFile(/tmp/multipartBody376274936909605649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882883064,"filename":"image_16122025_11_48_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/16/8888831c31a31193421c55ec3113411c.jpg","text":"TemporaryFile(/tmp/multipartBody1856405334990808314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882883064,"filename":"image_16122025_11_48_44_9348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47f5186a648fc0802c6cd5e7cec79f66.jpg","text":"TemporaryFile(/tmp/multipartBody2519175121290892055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882883064,"filename":"image_16122025_11_48_24_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399639782","file1":"1399639747","file0":"1399639708","file4":"1399639863","file5":"1399639899","file3":"1399639820"},"map_files_photo_id_array":[{"photo_id":"1399639899","filename":"file5"},{"photo_id":"1399639782","filename":"file2"},{"photo_id":"1399639863","filename":"file4"},{"photo_id":"1399639747","filename":"file1"},{"photo_id":"1399639708","filename":"file0"},{"photo_id":"1399639820","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399639899":["hashtag1","hashtag2"]},{"1399639863":["hashtag1","hashtag2"]},{"1399639820":["hashtag1","hashtag2"]},{"1399639747":["hashtag1","hashtag2"]},{"1399639782":["hashtag1","hashtag2"]},{"1399639708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399639899, 1399639863, 1399639820, 1399639747, 1399639782, 1399639708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84586000442505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:01:03.342196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_25_10753.jpg', '/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_35_9686.jpg', '/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_44_9846.jpg', '/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_55_10637.jpg', '/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_13_10037.jpg', '/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_24_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_25_10753.jpg
/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_35_9686.jpg
/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_44_9846.jpg
/home/pi/Desktop/images/16122025/11/49/image_16122025_11_49_55_10637.jpg
/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_13_10037.jpg
/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_24_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399640035","1399640110","1399640073","1399640148","1399640150","1399640146"],"photo_ids_order":["1399640035","1399640073","1399640110","1399640146","1399640148","1399640150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c1985136bcf2cf481c08c9a137ec65e.jpg","text":"TemporaryFile(/tmp/multipartBody8776729118964229067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882924009,"filename":"image_16122025_11_49_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/16/4a693bf472f922fe0c1c2d206c6bddf3.jpg","text":"TemporaryFile(/tmp/multipartBody6454223714423851376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882924009,"filename":"image_16122025_11_49_44_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17a69216ea8a91aa0e1f2e8c06e642b7.jpg","text":"TemporaryFile(/tmp/multipartBody3697506126350131817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882924009,"filename":"image_16122025_11_49_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02382e84d8e91ae66c9837fe8173d5b6.jpg","text":"TemporaryFile(/tmp/multipartBody2191818025564828897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882924009,"filename":"image_16122025_11_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/16/e58738f0db31ba629e68d32ab4f2322d.jpg","text":"TemporaryFile(/tmp/multipartBody3907704257682241179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882924009,"filename":"image_16122025_11_51_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dcf3697aa74a97046e974a5761385d48.jpg","text":"TemporaryFile(/tmp/multipartBody7047075224070083081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882924009,"filename":"image_16122025_11_49_55_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399640110","file1":"1399640073","file0":"1399640035","file4":"1399640148","file5":"1399640150","file3":"1399640146"},"map_files_photo_id_array":[{"photo_id":"1399640150","filename":"file5"},{"photo_id":"1399640110","filename":"file2"},{"photo_id":"1399640148","filename":"file4"},{"photo_id":"1399640073","filename":"file1"},{"photo_id":"1399640035","filename":"file0"},{"photo_id":"1399640146","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399640035":["hashtag1","hashtag2"]},{"1399640110":["hashtag1","hashtag2"]},{"1399640073":["hashtag1","hashtag2"]},{"1399640148":["hashtag1","hashtag2"]},{"1399640150":["hashtag1","hashtag2"]},{"1399640146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399640035, 1399640110, 1399640073, 1399640148, 1399640150, 1399640146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61453938484192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:01:42.657947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_25_2521.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_59_6259.jpg', '/home/pi/Desktop/images/06112025/16/13/image_06112025_16_14_00_1536.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_02_1683.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_04_1596.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_05_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_25_2521.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_13_59_6259.jpg
/home/pi/Desktop/images/06112025/16/13/image_06112025_16_14_00_1536.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_02_1683.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_04_1596.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_05_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":["1399640155","1399640154","1399640157","1399640192","1399640153","1399640152"],"photo_ids_order":["1399640152","1399640153","1399640154","1399640155","1399640157","1399640192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98fb9328ead04e24411ff5398b201ec9.jpg","text":"TemporaryFile(/tmp/multipartBody4930682077788171970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882963329,"filename":"image_06112025_16_14_02_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f465194fd735b3251fb4fc1d1711e61.jpg","text":"TemporaryFile(/tmp/multipartBody7653757512727853988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882963329,"filename":"image_06112025_16_14_00_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/16/f778b0ffbee066fe35dc7fa09e6fc0f1.jpg","text":"TemporaryFile(/tmp/multipartBody6941990227488728551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882963329,"filename":"image_06112025_16_14_04_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/16/a44cc6f8854a04dde7833464c584d0d0.jpg","text":"TemporaryFile(/tmp/multipartBody4204056835273612165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882963329,"filename":"image_06112025_16_14_05_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/16/6dd7cc5b3d0a7194ff1ac40cd594c2bf.jpg","text":"TemporaryFile(/tmp/multipartBody4696350721023238696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882963329,"filename":"image_06112025_16_13_59_6259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54bebbc0491390871d18da10f940fbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2938931630235755576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765882963329,"filename":"image_06112025_16_13_25_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399640154","file1":"1399640153","file0":"1399640152","file4":"1399640157","file5":"1399640192","file3":"1399640155"},"map_files_photo_id_array":[{"photo_id":"1399640192","filename":"file5"},{"photo_id":"1399640154","filename":"file2"},{"photo_id":"1399640157","filename":"file4"},{"photo_id":"1399640153","filename":"file1"},{"photo_id":"1399640152","filename":"file0"},{"photo_id":"1399640155","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399640155":["hashtag1","hashtag2"]},{"1399640154":["hashtag1","hashtag2"]},{"1399640157":["hashtag1","hashtag2"]},{"1399640192":["hashtag1","hashtag2"]},{"1399640153":["hashtag1","hashtag2"]},{"1399640152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399640155, 1399640154, 1399640157, 1399640192, 1399640153, 1399640152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54869246482849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:02:21.977868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_33_9597.jpg', '/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_44_10625.jpg', '/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_54_9772.jpg', '/home/pi/Desktop/images/16122025/11/51/image_16122025_11_52_03_9638.jpg', '/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_13_9757.jpg', '/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_24_10882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_33_9597.jpg
/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_44_10625.jpg
/home/pi/Desktop/images/16122025/11/51/image_16122025_11_51_54_9772.jpg
/home/pi/Desktop/images/16122025/11/51/image_16122025_11_52_03_9638.jpg
/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_13_9757.jpg
/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_24_10882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399640326","1399640490","1399640454","1399640552","1399640380","1399640422"],"photo_ids_order":["1399640326","1399640380","1399640422","1399640454","1399640490","1399640552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e956ad029cc3efcac80a9bd8401e146.jpg","text":"TemporaryFile(/tmp/multipartBody3803841395802563691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883002592,"filename":"image_16122025_11_51_33_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/16/e0b04127058231ae60a3a3e5cc3e156e.jpg","text":"TemporaryFile(/tmp/multipartBody1576107461171034381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883002592,"filename":"image_16122025_11_52_13_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/16/c7d6ef29c1c391473c8c98fd9c897854.jpg","text":"TemporaryFile(/tmp/multipartBody8817554948697924296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883002592,"filename":"image_16122025_11_52_03_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/16/1b5cb8a26f183ad3cec81cb8e9317a4f.jpg","text":"TemporaryFile(/tmp/multipartBody7743313828186473316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883002592,"filename":"image_16122025_11_52_24_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/16/cbdfed96a1a471c0a2a3c7b076f348fe.jpg","text":"TemporaryFile(/tmp/multipartBody4618650317455246224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883002592,"filename":"image_16122025_11_51_44_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0746f15b3760e23caddbb8505435a27c.jpg","text":"TemporaryFile(/tmp/multipartBody7098243001348173993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883002592,"filename":"image_16122025_11_51_54_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399640422","file1":"1399640380","file0":"1399640326","file4":"1399640490","file5":"1399640552","file3":"1399640454"},"map_files_photo_id_array":[{"photo_id":"1399640552","filename":"file5"},{"photo_id":"1399640422","filename":"file2"},{"photo_id":"1399640490","filename":"file4"},{"photo_id":"1399640380","filename":"file1"},{"photo_id":"1399640326","filename":"file0"},{"photo_id":"1399640454","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399640326":["hashtag1","hashtag2"]},{"1399640490":["hashtag1","hashtag2"]},{"1399640454":["hashtag1","hashtag2"]},{"1399640552":["hashtag1","hashtag2"]},{"1399640380":["hashtag1","hashtag2"]},{"1399640422":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399640326, 1399640490, 1399640454, 1399640552, 1399640380, 1399640422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31904983520508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:03:02.934957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_34_9717.jpg', '/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_44_9696.jpg', '/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_54_10649.jpg', '/home/pi/Desktop/images/16122025/11/52/image_16122025_11_53_04_9759.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_14_9590.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_24_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_34_9717.jpg
/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_44_9696.jpg
/home/pi/Desktop/images/16122025/11/52/image_16122025_11_52_54_10649.jpg
/home/pi/Desktop/images/16122025/11/52/image_16122025_11_53_04_9759.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_14_9590.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_24_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399640892","1399640856","1399640823","1399640919","1399640921","1399640785"],"photo_ids_order":["1399640785","1399640823","1399640856","1399640892","1399640919","1399640921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d566f4b0574c446b590b4faa677d9be2.jpg","text":"TemporaryFile(/tmp/multipartBody8323123760464028367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883043662,"filename":"image_16122025_11_53_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/16/f514696b93e1e16874247cd25b4303aa.jpg","text":"TemporaryFile(/tmp/multipartBody836608561450156984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883043662,"filename":"image_16122025_11_52_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/16/0e900570521661a00002df53ada558c4.jpg","text":"TemporaryFile(/tmp/multipartBody7253055059797651777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883043662,"filename":"image_16122025_11_52_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/16/fc2bc497d53579c2c1e38c92e9c7f927.jpg","text":"TemporaryFile(/tmp/multipartBody1912188817868602722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883043662,"filename":"image_16122025_11_53_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/16/0e2588ec1a11734b904f78fded15005f.jpg","text":"TemporaryFile(/tmp/multipartBody7097389211686804713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883043662,"filename":"image_16122025_11_53_24_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bab0945596027de31f752707c629c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2064874900165629992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883043662,"filename":"image_16122025_11_52_34_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399640856","file1":"1399640823","file0":"1399640785","file4":"1399640919","file5":"1399640921","file3":"1399640892"},"map_files_photo_id_array":[{"photo_id":"1399640921","filename":"file5"},{"photo_id":"1399640856","filename":"file2"},{"photo_id":"1399640919","filename":"file4"},{"photo_id":"1399640823","filename":"file1"},{"photo_id":"1399640785","filename":"file0"},{"photo_id":"1399640892","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399640892":["hashtag1","hashtag2"]},{"1399640856":["hashtag1","hashtag2"]},{"1399640823":["hashtag1","hashtag2"]},{"1399640919":["hashtag1","hashtag2"]},{"1399640921":["hashtag1","hashtag2"]},{"1399640785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399640892, 1399640856, 1399640823, 1399640919, 1399640921, 1399640785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.176262617111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:03:42.119166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_07_1570.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_09_1654.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_10_1674.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_12_1569.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_14_1752.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_15_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_07_1570.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_09_1654.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_10_1674.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_12_1569.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_14_1752.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_15_1667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399640985","1399641035","1399641029","1399641023","1399641028","1399641078"],"photo_ids_order":["1399640985","1399641023","1399641028","1399641029","1399641035","1399641078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41def36e1e4091155061bbfb64c2dfa1.jpg","text":"TemporaryFile(/tmp/multipartBody8349751128577606279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883082811,"filename":"image_06112025_16_14_07_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/16/b5fe5b581c2ee81ab0d4ae9805165b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2849309921522392948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883082811,"filename":"image_06112025_16_14_14_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/16/73ea49ebf7fc4b0f1dfa5b7281ca5b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7262548406498682152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883082811,"filename":"image_06112025_16_14_12_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/16/6a70cf27da62b8420421d817d99a96e6.jpg","text":"TemporaryFile(/tmp/multipartBody6929665398777201099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883082811,"filename":"image_06112025_16_14_09_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/16/91741de84d4cfac0358e8ff21ac1860b.jpg","text":"TemporaryFile(/tmp/multipartBody7872006918478692983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883082811,"filename":"image_06112025_16_14_10_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/16/bb27ba9f012a6c92f8bfa6dd9fe56d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7150466689384748556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883082811,"filename":"image_06112025_16_14_15_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399641028","file1":"1399641023","file0":"1399640985","file4":"1399641035","file5":"1399641078","file3":"1399641029"},"map_files_photo_id_array":[{"photo_id":"1399641078","filename":"file5"},{"photo_id":"1399641028","filename":"file2"},{"photo_id":"1399641035","filename":"file4"},{"photo_id":"1399641023","filename":"file1"},{"photo_id":"1399640985","filename":"file0"},{"photo_id":"1399641029","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399640985":["hashtag1","hashtag2"]},{"1399641035":["hashtag1","hashtag2"]},{"1399641029":["hashtag1","hashtag2"]},{"1399641023":["hashtag1","hashtag2"]},{"1399641028":["hashtag1","hashtag2"]},{"1399641078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399640985, 1399641035, 1399641029, 1399641023, 1399641028, 1399641078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.490317821502686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:04:22.380173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_34_9799.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_44_9631.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_54_10559.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_54_04_9833.jpg', '/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_14_9593.jpg', '/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_24_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_34_9799.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_44_9631.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_54_10559.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_54_04_9833.jpg
/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_14_9593.jpg
/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_24_10632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5166616439819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:04:32.414280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:04:42.343376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_17_1567.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_19_1738.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_20_1638.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_22_1638.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_23_1493.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_25_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_17_1567.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_19_1738.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_20_1638.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_22_1638.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_23_1493.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_25_1630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399641147","1399641141","1399641143","1399641137","1399641145","1399641148"],"photo_ids_order":["1399641137","1399641141","1399641143","1399641145","1399641147","1399641148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47e05fe6661960f24775148f8f87faa1.jpg","text":"TemporaryFile(/tmp/multipartBody4365348076611353171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883143013,"filename":"image_06112025_16_14_23_1493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d629e234dcf5ce2ad57518feec1bb7c3.jpg","text":"TemporaryFile(/tmp/multipartBody9044428696344489354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883143013,"filename":"image_06112025_16_14_19_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b8cd128cdf1c86595e7f183c1d20435.jpg","text":"TemporaryFile(/tmp/multipartBody7210206722196899509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883143013,"filename":"image_06112025_16_14_20_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46cfbcf296c3ece9b2841b810694c644.jpg","text":"TemporaryFile(/tmp/multipartBody7872532490354405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883143013,"filename":"image_06112025_16_14_17_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/16/718f89e6284f9a8a07e9e345b8558060.jpg","text":"TemporaryFile(/tmp/multipartBody763368382049001691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883143013,"filename":"image_06112025_16_14_22_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c508cab829bc684f034130f769539b57.jpg","text":"TemporaryFile(/tmp/multipartBody327047736566470414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883143013,"filename":"image_06112025_16_14_25_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399641143","file1":"1399641141","file0":"1399641137","file4":"1399641147","file5":"1399641148","file3":"1399641145"},"map_files_photo_id_array":[{"photo_id":"1399641148","filename":"file5"},{"photo_id":"1399641143","filename":"file2"},{"photo_id":"1399641147","filename":"file4"},{"photo_id":"1399641141","filename":"file1"},{"photo_id":"1399641137","filename":"file0"},{"photo_id":"1399641145","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399641147":["hashtag1","hashtag2"]},{"1399641141":["hashtag1","hashtag2"]},{"1399641143":["hashtag1","hashtag2"]},{"1399641137":["hashtag1","hashtag2"]},{"1399641145":["hashtag1","hashtag2"]},{"1399641148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399641147, 1399641141, 1399641143, 1399641137, 1399641145, 1399641148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.578102588653564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:05:22.640885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_34_9799.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_44_9631.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_54_10559.jpg', '/home/pi/Desktop/images/16122025/11/53/image_16122025_11_54_04_9833.jpg', '/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_14_9593.jpg', '/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_24_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_34_9799.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_44_9631.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_53_54_10559.jpg
/home/pi/Desktop/images/16122025/11/53/image_16122025_11_54_04_9833.jpg
/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_14_9593.jpg
/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_24_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399641153","1399641161","1399641158","1399641152","1399641155","1399641149"],"photo_ids_order":["1399641149","1399641152","1399641153","1399641155","1399641158","1399641161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85578190d7c0f9d757b0a5325ebce6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4965121380764035536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883183261,"filename":"image_16122025_11_53_54_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/16/93c54d15fe94495a0864fc579e143a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1842435104111581429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883183261,"filename":"image_16122025_11_54_24_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5586405ff411b323cf176a3a41896904.jpg","text":"TemporaryFile(/tmp/multipartBody2345710836977123492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883183261,"filename":"image_16122025_11_54_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/16/9925d37fcbcf2b0e19fbd48564d60bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1783301975893652868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883183261,"filename":"image_16122025_11_53_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/16/a29f3ae71834d6cca227e80105f40182.jpg","text":"TemporaryFile(/tmp/multipartBody4890906874539748663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883183261,"filename":"image_16122025_11_54_04_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/971e5e3223a18ad1a21533ac4a929fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7354342488928913839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883183261,"filename":"image_16122025_11_53_34_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399641153","file1":"1399641152","file0":"1399641149","file4":"1399641158","file5":"1399641161","file3":"1399641155"},"map_files_photo_id_array":[{"photo_id":"1399641161","filename":"file5"},{"photo_id":"1399641153","filename":"file2"},{"photo_id":"1399641158","filename":"file4"},{"photo_id":"1399641152","filename":"file1"},{"photo_id":"1399641149","filename":"file0"},{"photo_id":"1399641155","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399641153":["hashtag1","hashtag2"]},{"1399641161":["hashtag1","hashtag2"]},{"1399641158":["hashtag1","hashtag2"]},{"1399641152":["hashtag1","hashtag2"]},{"1399641155":["hashtag1","hashtag2"]},{"1399641149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399641153, 1399641161, 1399641158, 1399641152, 1399641155, 1399641149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99408984184265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:06:02.276723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_34_9665.jpg', '/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_44_9860.jpg', '/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_54_9857.jpg', '/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_14_10055.jpg', '/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_24_10689.jpg', '/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_44_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_34_9665.jpg
/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_44_9860.jpg
/home/pi/Desktop/images/16122025/11/54/image_16122025_11_54_54_9857.jpg
/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_14_10055.jpg
/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_24_10689.jpg
/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_44_9974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399641306","1399641242","1399641173","1399641212","1399641274","1399641178"],"photo_ids_order":["1399641173","1399641178","1399641212","1399641242","1399641274","1399641306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29f884292216f16b275dca8aacb2f007.jpg","text":"TemporaryFile(/tmp/multipartBody419699880334121958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883222921,"filename":"image_16122025_11_55_44_9974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a0e79f7aeccd803b19dbf01dd637d06.jpg","text":"TemporaryFile(/tmp/multipartBody8287625787803081285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883222921,"filename":"image_16122025_11_55_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78d79c0a5dbb104aa0b9ce9ce75f0ad3.jpg","text":"TemporaryFile(/tmp/multipartBody3573690353287044266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883222921,"filename":"image_16122025_11_54_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7ce9bfd51c3960ce32981c6084366e1.jpg","text":"TemporaryFile(/tmp/multipartBody2513643137301591534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883222921,"filename":"image_16122025_11_54_54_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d17ae1704db9082b7144aeb12956e954.jpg","text":"TemporaryFile(/tmp/multipartBody5165451466401035171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883222921,"filename":"image_16122025_11_55_24_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f80e1a6d79c2c49d7b5470a0d3b9af2d.jpg","text":"TemporaryFile(/tmp/multipartBody1487155427773346482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883222921,"filename":"image_16122025_11_54_44_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399641212","file1":"1399641178","file0":"1399641173","file4":"1399641274","file5":"1399641306","file3":"1399641242"},"map_files_photo_id_array":[{"photo_id":"1399641306","filename":"file5"},{"photo_id":"1399641212","filename":"file2"},{"photo_id":"1399641274","filename":"file4"},{"photo_id":"1399641178","filename":"file1"},{"photo_id":"1399641173","filename":"file0"},{"photo_id":"1399641242","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399641306":["hashtag1","hashtag2"]},{"1399641242":["hashtag1","hashtag2"]},{"1399641173":["hashtag1","hashtag2"]},{"1399641212":["hashtag1","hashtag2"]},{"1399641274":["hashtag1","hashtag2"]},{"1399641178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399641306, 1399641242, 1399641173, 1399641212, 1399641274, 1399641178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.459176778793335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:06:41.792522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_27_1570.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_28_1595.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_30_1606.jpg', '/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_31_1526.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_07_3013.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_10_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_27_1570.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_28_1595.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_30_1606.jpg
/home/pi/Desktop/images/06112025/16/14/image_06112025_16_14_31_1526.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_07_3013.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_10_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399641585","1399641476","1399641475","1399641448","1399641517","1399641474"],"photo_ids_order":["1399641448","1399641474","1399641475","1399641476","1399641517","1399641585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80207293cb66e6c22f8dfa928f879437.jpg","text":"TemporaryFile(/tmp/multipartBody4571110131921125821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883262487,"filename":"image_06112025_16_16_10_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/16/189a0bd0ef5da2a64b38fe7c72ebbde1.jpg","text":"TemporaryFile(/tmp/multipartBody4580555722843437159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883262487,"filename":"image_06112025_16_14_31_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1fa8ea5de2205061eb77bb62959c2e7.jpg","text":"TemporaryFile(/tmp/multipartBody2753948312618134073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883262487,"filename":"image_06112025_16_14_30_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/939bb7dcf7cb334e76c316d8f2b54d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3992983439686246426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883262487,"filename":"image_06112025_16_14_27_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/16/7f01e76905a8b2af6783c941373236fa.jpg","text":"TemporaryFile(/tmp/multipartBody345637200165683572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883262487,"filename":"image_06112025_16_16_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a669bafeb4ad2a473bce88b154197b7.jpg","text":"TemporaryFile(/tmp/multipartBody6065461303221605012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883262487,"filename":"image_06112025_16_14_28_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399641475","file1":"1399641474","file0":"1399641448","file4":"1399641517","file5":"1399641585","file3":"1399641476"},"map_files_photo_id_array":[{"photo_id":"1399641585","filename":"file5"},{"photo_id":"1399641475","filename":"file2"},{"photo_id":"1399641517","filename":"file4"},{"photo_id":"1399641474","filename":"file1"},{"photo_id":"1399641448","filename":"file0"},{"photo_id":"1399641476","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399641585":["hashtag1","hashtag2"]},{"1399641476":["hashtag1","hashtag2"]},{"1399641475":["hashtag1","hashtag2"]},{"1399641448":["hashtag1","hashtag2"]},{"1399641517":["hashtag1","hashtag2"]},{"1399641474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399641585, 1399641476, 1399641475, 1399641448, 1399641517, 1399641474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.373406171798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:07:22.086889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_54_9739.jpg', '/home/pi/Desktop/images/16122025/11/55/image_16122025_11_56_04_10662.jpg', '/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_14_9735.jpg', '/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_24_9824.jpg', '/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_34_9780.jpg', '/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_44_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/55/image_16122025_11_55_54_9739.jpg
/home/pi/Desktop/images/16122025/11/55/image_16122025_11_56_04_10662.jpg
/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_14_9735.jpg
/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_24_9824.jpg
/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_34_9780.jpg
/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_44_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399641858","1399641723","1399641965","1399641911","1399641800","1399641979"],"photo_ids_order":["1399641723","1399641800","1399641858","1399641911","1399641965","1399641979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b8524b72b37d4087dcf62c029c664d2.jpg","text":"TemporaryFile(/tmp/multipartBody6345513645317687050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883302738,"filename":"image_16122025_11_56_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/16/ff7a90756bbbb98e9a4796cf7e190e17.jpg","text":"TemporaryFile(/tmp/multipartBody3013665440223948919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883302738,"filename":"image_16122025_11_55_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1cdbade08cb8637c2e7874f42360b906.jpg","text":"TemporaryFile(/tmp/multipartBody1445337805951746097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883302738,"filename":"image_16122025_11_56_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c8cb7d81c7c86680e781eef103b85fe.jpg","text":"TemporaryFile(/tmp/multipartBody1246388340578092942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883302738,"filename":"image_16122025_11_56_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/16/215cf7306ef8e3321b3b08b48fd62a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4484212630235121726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883302738,"filename":"image_16122025_11_56_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/16/d4312c97f56a6d573a5d6af056e15cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7337415328112266727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883302738,"filename":"image_16122025_11_56_44_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399641858","file1":"1399641800","file0":"1399641723","file4":"1399641965","file5":"1399641979","file3":"1399641911"},"map_files_photo_id_array":[{"photo_id":"1399641979","filename":"file5"},{"photo_id":"1399641858","filename":"file2"},{"photo_id":"1399641965","filename":"file4"},{"photo_id":"1399641800","filename":"file1"},{"photo_id":"1399641723","filename":"file0"},{"photo_id":"1399641911","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399641858":["hashtag1","hashtag2"]},{"1399641723":["hashtag1","hashtag2"]},{"1399641965":["hashtag1","hashtag2"]},{"1399641911":["hashtag1","hashtag2"]},{"1399641800":["hashtag1","hashtag2"]},{"1399641979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399641858, 1399641723, 1399641965, 1399641911, 1399641800, 1399641979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.821372270584106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:08:02.751549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_54_10820.jpg', '/home/pi/Desktop/images/16122025/11/56/image_16122025_11_57_04_9600.jpg', '/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_14_9796.jpg', '/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_24_9665.jpg', '/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_34_10621.jpg', '/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/56/image_16122025_11_56_54_10820.jpg
/home/pi/Desktop/images/16122025/11/56/image_16122025_11_57_04_9600.jpg
/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_14_9796.jpg
/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_24_9665.jpg
/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_34_10621.jpg
/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_44_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399642116","1399642052","1399642040","1399642078","1399642054","1399642053"],"photo_ids_order":["1399642040","1399642052","1399642053","1399642054","1399642078","1399642116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca4c6e0d410c2fc615022c22de86a143.jpg","text":"TemporaryFile(/tmp/multipartBody3319323190029977455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883343373,"filename":"image_16122025_11_57_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/16/08ec92ba24901aa4168c74ec558177a2.jpg","text":"TemporaryFile(/tmp/multipartBody6574915834947240099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883343373,"filename":"image_16122025_11_57_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/304870a4af56a77a45775ba4a123dc77.jpg","text":"TemporaryFile(/tmp/multipartBody5203569471782103144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883343373,"filename":"image_16122025_11_56_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/16/204eb91ade75fa1733f812e733d7cf79.jpg","text":"TemporaryFile(/tmp/multipartBody3593733243229311601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883343373,"filename":"image_16122025_11_57_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/16/33f79c9661176c5631422ca985a73b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2640638105666522169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883343373,"filename":"image_16122025_11_57_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/16/1bc9556d947a87e92f92d5d09028f736.jpg","text":"TemporaryFile(/tmp/multipartBody9055640976966465346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883343373,"filename":"image_16122025_11_57_14_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399642053","file1":"1399642052","file0":"1399642040","file4":"1399642078","file5":"1399642116","file3":"1399642054"},"map_files_photo_id_array":[{"photo_id":"1399642116","filename":"file5"},{"photo_id":"1399642053","filename":"file2"},{"photo_id":"1399642078","filename":"file4"},{"photo_id":"1399642052","filename":"file1"},{"photo_id":"1399642040","filename":"file0"},{"photo_id":"1399642054","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399642116":["hashtag1","hashtag2"]},{"1399642052":["hashtag1","hashtag2"]},{"1399642040":["hashtag1","hashtag2"]},{"1399642078":["hashtag1","hashtag2"]},{"1399642054":["hashtag1","hashtag2"]},{"1399642053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399642116, 1399642052, 1399642040, 1399642078, 1399642054, 1399642053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.190998792648315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:08:42.221136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_13_2806.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_16_2657.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_19_3719.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_22_2607.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_25_2838.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_29_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_13_2806.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_16_2657.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_19_3719.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_22_2607.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_25_2838.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_29_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399642364","1399642295","1399642328","1399642436","1399642400","1399642252"],"photo_ids_order":["1399642252","1399642295","1399642328","1399642364","1399642400","1399642436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc8425a727fcee55fb4f44cdc97b2cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8808304586546310921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883382924,"filename":"image_06112025_16_16_22_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/16/e3ab32af0c6a4baef5eb97115e5eade1.jpg","text":"TemporaryFile(/tmp/multipartBody525037162783050830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883382924,"filename":"image_06112025_16_16_16_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/16/e70c5bf2b4b9d0d552e067868d4929ef.jpg","text":"TemporaryFile(/tmp/multipartBody4558222858574049058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883382924,"filename":"image_06112025_16_16_19_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/16/d32f4a8dea46c018c4f623356b1824ef.jpg","text":"TemporaryFile(/tmp/multipartBody2049371714620027437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883382924,"filename":"image_06112025_16_16_29_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/16/d54983c0f83a9b108564103ab6c6178c.jpg","text":"TemporaryFile(/tmp/multipartBody2597337575979972759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883382924,"filename":"image_06112025_16_16_25_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/16/63577cab2f692993719cac0b92e656a0.jpg","text":"TemporaryFile(/tmp/multipartBody5221627928702469063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883382924,"filename":"image_06112025_16_16_13_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399642328","file1":"1399642295","file0":"1399642252","file4":"1399642400","file5":"1399642436","file3":"1399642364"},"map_files_photo_id_array":[{"photo_id":"1399642436","filename":"file5"},{"photo_id":"1399642328","filename":"file2"},{"photo_id":"1399642400","filename":"file4"},{"photo_id":"1399642295","filename":"file1"},{"photo_id":"1399642252","filename":"file0"},{"photo_id":"1399642364","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399642364":["hashtag1","hashtag2"]},{"1399642295":["hashtag1","hashtag2"]},{"1399642328":["hashtag1","hashtag2"]},{"1399642436":["hashtag1","hashtag2"]},{"1399642400":["hashtag1","hashtag2"]},{"1399642252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399642364, 1399642295, 1399642328, 1399642436, 1399642400, 1399642252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5037100315094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:09:22.528698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_54_9995.jpg', '/home/pi/Desktop/images/16122025/11/57/image_16122025_11_58_04_9842.jpg', '/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_14_10634.jpg', '/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_24_9320.jpg', '/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_34_10594.jpg', '/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_44_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/57/image_16122025_11_57_54_9995.jpg
/home/pi/Desktop/images/16122025/11/57/image_16122025_11_58_04_9842.jpg
/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_14_10634.jpg
/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_24_9320.jpg
/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_34_10594.jpg
/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_44_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":["1399642716","1399642923","1399642673","1399642780","1399642834","1399642887"],"photo_ids_order":["1399642673","1399642716","1399642780","1399642834","1399642887","1399642923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eeca4fa058d29cf59b878001d39ea652.jpg","text":"TemporaryFile(/tmp/multipartBody3158066926124099155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883423185,"filename":"image_16122025_11_58_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe30d26d9ec17d0d52f8142da79ce80f.jpg","text":"TemporaryFile(/tmp/multipartBody3544409979135129076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883423185,"filename":"image_16122025_11_58_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/16/6b33af0d5095c11b8476043b7bdd7e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3555820591764546566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883423185,"filename":"image_16122025_11_57_54_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/241d680a15b09874b35b921b072eb2f6.jpg","text":"TemporaryFile(/tmp/multipartBody8522734283203390625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883423185,"filename":"image_16122025_11_58_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/16/519ae96e9c4cfc3d0365456b6def4e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2178389863627681463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883423185,"filename":"image_16122025_11_58_24_9320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9a68de432071fc175529829ea4f512c.jpg","text":"TemporaryFile(/tmp/multipartBody8495798543609917432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883423185,"filename":"image_16122025_11_58_34_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399642780","file1":"1399642716","file0":"1399642673","file4":"1399642887","file5":"1399642923","file3":"1399642834"},"map_files_photo_id_array":[{"photo_id":"1399642923","filename":"file5"},{"photo_id":"1399642780","filename":"file2"},{"photo_id":"1399642887","filename":"file4"},{"photo_id":"1399642716","filename":"file1"},{"photo_id":"1399642673","filename":"file0"},{"photo_id":"1399642834","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399642716":["hashtag1","hashtag2"]},{"1399642923":["hashtag1","hashtag2"]},{"1399642673":["hashtag1","hashtag2"]},{"1399642780":["hashtag1","hashtag2"]},{"1399642834":["hashtag1","hashtag2"]},{"1399642887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399642716, 1399642923, 1399642673, 1399642780, 1399642834, 1399642887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38654375076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:10:03.194637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_54_10144.jpg', '/home/pi/Desktop/images/16122025/11/58/image_16122025_11_59_04_9739.jpg', '/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_14_9699.jpg', '/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_24_10185.jpg', '/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_34_10666.jpg', '/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/58/image_16122025_11_58_54_10144.jpg
/home/pi/Desktop/images/16122025/11/58/image_16122025_11_59_04_9739.jpg
/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_14_9699.jpg
/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_24_10185.jpg
/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_34_10666.jpg
/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_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":["1399643159","1399643048","1399643083","1399643158","1399643160","1399643121"],"photo_ids_order":["1399643048","1399643083","1399643121","1399643158","1399643159","1399643160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/48d80826c47056f832ab1309d3b5c3e5.jpg","text":"TemporaryFile(/tmp/multipartBody8932703973527635813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883463823,"filename":"image_16122025_11_59_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/16/2f1ce055e9b31caad0e65da0e3216a64.jpg","text":"TemporaryFile(/tmp/multipartBody3393233884074645845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883463823,"filename":"image_16122025_11_58_54_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/16/530bac1f13ff50cf16560067ff470ae2.jpg","text":"TemporaryFile(/tmp/multipartBody1421304700392409204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883463823,"filename":"image_16122025_11_59_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/16/39fc9beaa5d71c69c4d40184dbc4c05c.jpg","text":"TemporaryFile(/tmp/multipartBody4582824145134392313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883463823,"filename":"image_16122025_11_59_24_10185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/668a44838fbb196c7104f8c852a9a088.jpg","text":"TemporaryFile(/tmp/multipartBody8486391627424831935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883463823,"filename":"image_16122025_11_59_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/16/5d2a3622a30c0965e0a39ca83188079e.jpg","text":"TemporaryFile(/tmp/multipartBody8239922793079674561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883463823,"filename":"image_16122025_11_59_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399643121","file1":"1399643083","file0":"1399643048","file4":"1399643159","file5":"1399643160","file3":"1399643158"},"map_files_photo_id_array":[{"photo_id":"1399643160","filename":"file5"},{"photo_id":"1399643121","filename":"file2"},{"photo_id":"1399643159","filename":"file4"},{"photo_id":"1399643083","filename":"file1"},{"photo_id":"1399643048","filename":"file0"},{"photo_id":"1399643158","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399643159":["hashtag1","hashtag2"]},{"1399643048":["hashtag1","hashtag2"]},{"1399643083":["hashtag1","hashtag2"]},{"1399643158":["hashtag1","hashtag2"]},{"1399643160":["hashtag1","hashtag2"]},{"1399643121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399643159, 1399643048, 1399643083, 1399643158, 1399643160, 1399643121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9738564491272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:10:42.749811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_31_2760.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_34_2861.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_40_3696.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_47_6862.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_49_1655.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_51_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_31_2760.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_34_2861.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_40_3696.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_47_6862.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_49_1655.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_51_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399643171","1399643170","1399643167","1399643233","1399643166","1399643196"],"photo_ids_order":["1399643166","1399643167","1399643170","1399643171","1399643196","1399643233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6052119e5c867f85ee319cad52a8a248.jpg","text":"TemporaryFile(/tmp/multipartBody163230813675092216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883503447,"filename":"image_06112025_16_16_47_6862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43089e006bf75353201e85140e7bc0e9.jpg","text":"TemporaryFile(/tmp/multipartBody929450428980497012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883503447,"filename":"image_06112025_16_16_40_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/16/dc702da22f0d2f6211cb1fb48d81eced.jpg","text":"TemporaryFile(/tmp/multipartBody7192471991198806590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883503447,"filename":"image_06112025_16_16_34_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ad62a574d721cba5d6e7c8bbba996b6.jpg","text":"TemporaryFile(/tmp/multipartBody6202372261133898992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883503447,"filename":"image_06112025_16_16_51_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/16/d822036701900a9246d3ebf7468f3e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8921451125850859236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883503447,"filename":"image_06112025_16_16_31_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4660b27f770bb3ba2b5047f8a13011de.jpg","text":"TemporaryFile(/tmp/multipartBody452606202715409275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883503447,"filename":"image_06112025_16_16_49_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399643170","file1":"1399643167","file0":"1399643166","file4":"1399643196","file5":"1399643233","file3":"1399643171"},"map_files_photo_id_array":[{"photo_id":"1399643233","filename":"file5"},{"photo_id":"1399643170","filename":"file2"},{"photo_id":"1399643196","filename":"file4"},{"photo_id":"1399643167","filename":"file1"},{"photo_id":"1399643166","filename":"file0"},{"photo_id":"1399643171","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399643171":["hashtag1","hashtag2"]},{"1399643170":["hashtag1","hashtag2"]},{"1399643167":["hashtag1","hashtag2"]},{"1399643233":["hashtag1","hashtag2"]},{"1399643166":["hashtag1","hashtag2"]},{"1399643196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399643171, 1399643170, 1399643167, 1399643233, 1399643166, 1399643196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.921236515045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:11:22.145927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_54_9884.jpg', '/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_14_10039.jpg', '/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_24_10737.jpg', '/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_34_9780.jpg', '/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_44_9753.jpg', '/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_55_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/11/59/image_16122025_11_59_54_9884.jpg
/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_14_10039.jpg
/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_24_10737.jpg
/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_34_9780.jpg
/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_44_9753.jpg
/home/pi/Desktop/images/16122025/12/01/image_16122025_12_01_55_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399643597","1399643558","1399643488","1399643518","1399643499","1399643436"],"photo_ids_order":["1399643436","1399643488","1399643499","1399643518","1399643558","1399643597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03ce7190ea78552069bd7b859d0f6ba5.jpg","text":"TemporaryFile(/tmp/multipartBody1415304015841603096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883542797,"filename":"image_16122025_12_01_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/16/c59212df34222337328ceb0ac30abf8c.jpg","text":"TemporaryFile(/tmp/multipartBody9130923103386944473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883542797,"filename":"image_16122025_12_01_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/16/5103cc0c37cf73db2d839da775d4ed14.jpg","text":"TemporaryFile(/tmp/multipartBody5148097352550822336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883542797,"filename":"image_16122025_12_01_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/16/66d0192263b36ff4363615dcd0e834ba.jpg","text":"TemporaryFile(/tmp/multipartBody635386536935161004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883542797,"filename":"image_16122025_12_01_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c357e8d1dd76e225b4f3481dac9fbc6.jpg","text":"TemporaryFile(/tmp/multipartBody8705628301385263980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883542797,"filename":"image_16122025_12_01_24_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c84eb94f61061c0dd5dfd4db6e207f7.jpg","text":"TemporaryFile(/tmp/multipartBody2441083809684220879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883542797,"filename":"image_16122025_11_59_54_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399643499","file1":"1399643488","file0":"1399643436","file4":"1399643558","file5":"1399643597","file3":"1399643518"},"map_files_photo_id_array":[{"photo_id":"1399643597","filename":"file5"},{"photo_id":"1399643499","filename":"file2"},{"photo_id":"1399643558","filename":"file4"},{"photo_id":"1399643488","filename":"file1"},{"photo_id":"1399643436","filename":"file0"},{"photo_id":"1399643518","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399643597":["hashtag1","hashtag2"]},{"1399643558":["hashtag1","hashtag2"]},{"1399643488":["hashtag1","hashtag2"]},{"1399643518":["hashtag1","hashtag2"]},{"1399643499":["hashtag1","hashtag2"]},{"1399643436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399643597, 1399643558, 1399643488, 1399643518, 1399643499, 1399643436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.178991079330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:12:02.714095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/01/image_16122025_12_02_04_9670.jpg', '/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_14_9657.jpg', '/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_24_9725.jpg', '/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_34_10091.jpg', '/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_44_10666.jpg', '/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/01/image_16122025_12_02_04_9670.jpg
/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_14_9657.jpg
/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_24_9725.jpg
/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_34_10091.jpg
/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_44_10666.jpg
/home/pi/Desktop/images/16122025/12/02/image_16122025_12_02_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":["1399643780","1399643969","1399643813","1399643848","1399643914","1399643880"],"photo_ids_order":["1399643780","1399643813","1399643848","1399643880","1399643914","1399643969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e2f0d8f25505cd21eb5181692ae80ed.jpg","text":"TemporaryFile(/tmp/multipartBody341404750790612152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883583396,"filename":"image_16122025_12_02_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/016b0a29046e352779c0ef78943790f0.jpg","text":"TemporaryFile(/tmp/multipartBody5777954503391565527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883583396,"filename":"image_16122025_12_02_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ad9aa66b5bdc04260f26d801d7643c4.jpg","text":"TemporaryFile(/tmp/multipartBody7251642684841439133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883583396,"filename":"image_16122025_12_02_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/16/510c282a04526ef57c052e25ab251cc8.jpg","text":"TemporaryFile(/tmp/multipartBody976198846174838227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883583396,"filename":"image_16122025_12_02_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/16/854e807b0e1075bf30263a8a93bd4683.jpg","text":"TemporaryFile(/tmp/multipartBody740954368902517963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883583396,"filename":"image_16122025_12_02_44_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ffe480c44eaa59a78f1e58139e2a0ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5008696647943958327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883583396,"filename":"image_16122025_12_02_34_10091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399643848","file1":"1399643813","file0":"1399643780","file4":"1399643914","file5":"1399643969","file3":"1399643880"},"map_files_photo_id_array":[{"photo_id":"1399643969","filename":"file5"},{"photo_id":"1399643848","filename":"file2"},{"photo_id":"1399643914","filename":"file4"},{"photo_id":"1399643813","filename":"file1"},{"photo_id":"1399643780","filename":"file0"},{"photo_id":"1399643880","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399643780":["hashtag1","hashtag2"]},{"1399643969":["hashtag1","hashtag2"]},{"1399643813":["hashtag1","hashtag2"]},{"1399643848":["hashtag1","hashtag2"]},{"1399643914":["hashtag1","hashtag2"]},{"1399643880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399643780, 1399643969, 1399643813, 1399643848, 1399643914, 1399643880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57373332977295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:12:42.361910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_52_1689.jpg', '/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_55_2607.jpg', '/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_06_4829.jpg', '/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_08_1700.jpg', '/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_10_1731.jpg', '/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_33_15818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_52_1689.jpg
/home/pi/Desktop/images/06112025/16/16/image_06112025_16_16_55_2607.jpg
/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_06_4829.jpg
/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_08_1700.jpg
/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_10_1731.jpg
/home/pi/Desktop/images/06112025/16/17/image_06112025_16_17_33_15818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399644221","1399644190","1399644300","1399644335","1399644365","1399644266"],"photo_ids_order":["1399644190","1399644221","1399644266","1399644300","1399644335","1399644365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8c9ec36c25cfbd56bf13990e5c7f254.jpg","text":"TemporaryFile(/tmp/multipartBody8323254870477359475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883623065,"filename":"image_06112025_16_16_55_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/16/510a4c5982df43d202a2ecf4ee6b65bc.jpg","text":"TemporaryFile(/tmp/multipartBody3488225936506180914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883623065,"filename":"image_06112025_16_16_52_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/16/8cd3cb42d6075961b327053b28a51cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1717415859772546270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883623065,"filename":"image_06112025_16_17_08_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8422b2fa930a217db942649e696d7d42.jpg","text":"TemporaryFile(/tmp/multipartBody8031585595990443941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883623065,"filename":"image_06112025_16_17_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/16/b2153722584799cd5fbdb352d1a46dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1229145714174475321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883623065,"filename":"image_06112025_16_17_33_15818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e62079c664d1dd018c098bcb2dd6d716.jpg","text":"TemporaryFile(/tmp/multipartBody8576756617673499762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883623065,"filename":"image_06112025_16_17_06_4829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399644266","file1":"1399644221","file0":"1399644190","file4":"1399644335","file5":"1399644365","file3":"1399644300"},"map_files_photo_id_array":[{"photo_id":"1399644365","filename":"file5"},{"photo_id":"1399644266","filename":"file2"},{"photo_id":"1399644335","filename":"file4"},{"photo_id":"1399644221","filename":"file1"},{"photo_id":"1399644190","filename":"file0"},{"photo_id":"1399644300","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399644221":["hashtag1","hashtag2"]},{"1399644190":["hashtag1","hashtag2"]},{"1399644300":["hashtag1","hashtag2"]},{"1399644335":["hashtag1","hashtag2"]},{"1399644365":["hashtag1","hashtag2"]},{"1399644266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399644221, 1399644190, 1399644300, 1399644335, 1399644365, 1399644266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55962562561035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:13:22.684831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/02/image_16122025_12_03_04_9722.jpg', '/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_15_10762.jpg', '/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_24_9725.jpg', '/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_34_9806.jpg', '/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_44_9685.jpg', '/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_54_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/02/image_16122025_12_03_04_9722.jpg
/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_15_10762.jpg
/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_24_9725.jpg
/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_34_9806.jpg
/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_44_9685.jpg
/home/pi/Desktop/images/16122025/12/03/image_16122025_12_03_54_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":["1399644595","1399644838","1399644730","1399644640","1399644783","1399644603"],"photo_ids_order":["1399644595","1399644603","1399644640","1399644730","1399644783","1399644838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e537a0b27f4985e12b8e803b862d685.jpg","text":"TemporaryFile(/tmp/multipartBody4708898678971078433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883663301,"filename":"image_16122025_12_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/16/f6a20b9324381c41d2e46c2e6eb19ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3627692304307859983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883663301,"filename":"image_16122025_12_03_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/16/600c43ad41e8420034a8cc8aaebd97f4.jpg","text":"TemporaryFile(/tmp/multipartBody1709400390666683476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883663301,"filename":"image_16122025_12_03_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/16/790886a3ca640905c154bf393f5d8812.jpg","text":"TemporaryFile(/tmp/multipartBody809581489906799295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883663301,"filename":"image_16122025_12_03_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/16/be08987c83e10594d0c49f97e2333a14.jpg","text":"TemporaryFile(/tmp/multipartBody8401134917930733420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883663301,"filename":"image_16122025_12_03_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/16/a803d0ea9b0a9c6c6048bf3bde6f09d7.jpg","text":"TemporaryFile(/tmp/multipartBody1144044146191422582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883663301,"filename":"image_16122025_12_03_15_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399644640","file1":"1399644603","file0":"1399644595","file4":"1399644783","file5":"1399644838","file3":"1399644730"},"map_files_photo_id_array":[{"photo_id":"1399644838","filename":"file5"},{"photo_id":"1399644640","filename":"file2"},{"photo_id":"1399644783","filename":"file4"},{"photo_id":"1399644603","filename":"file1"},{"photo_id":"1399644595","filename":"file0"},{"photo_id":"1399644730","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399644595":["hashtag1","hashtag2"]},{"1399644838":["hashtag1","hashtag2"]},{"1399644730":["hashtag1","hashtag2"]},{"1399644640":["hashtag1","hashtag2"]},{"1399644783":["hashtag1","hashtag2"]},{"1399644603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399644595, 1399644838, 1399644730, 1399644640, 1399644783, 1399644603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86603832244873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:14:03.387204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/03/image_16122025_12_04_04_9674.jpg', '/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_14_9662.jpg', '/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_24_10655.jpg', '/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_34_9656.jpg', '/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_44_10011.jpg', '/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_54_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/03/image_16122025_12_04_04_9674.jpg
/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_14_9662.jpg
/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_24_10655.jpg
/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_34_9656.jpg
/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_44_10011.jpg
/home/pi/Desktop/images/16122025/12/04/image_16122025_12_04_54_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399644957","1399644939","1399644867","1399644960","1399644962","1399644905"],"photo_ids_order":["1399644867","1399644905","1399644939","1399644957","1399644960","1399644962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bdf4ef5ac2ebc6bd16bfd78a63b392e.jpg","text":"TemporaryFile(/tmp/multipartBody3295468916977610422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883704054,"filename":"image_16122025_12_04_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/16/7cb7d8b24c31d9ea1865a14638ed9d46.jpg","text":"TemporaryFile(/tmp/multipartBody823712498934154443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883704054,"filename":"image_16122025_12_04_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6b6897ceb935df63991233ddf7e1bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3226792589046904724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883704054,"filename":"image_16122025_12_04_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e18fa42502fb30bcc6ae52560aad70e0.jpg","text":"TemporaryFile(/tmp/multipartBody8978765935555130695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883704054,"filename":"image_16122025_12_04_44_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/16/15ef818138948d8d197c977708702063.jpg","text":"TemporaryFile(/tmp/multipartBody7308011774806027144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883704054,"filename":"image_16122025_12_04_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12607cb2ba0c158943618a643c351f4a.jpg","text":"TemporaryFile(/tmp/multipartBody1433939799275309649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883704054,"filename":"image_16122025_12_04_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399644939","file1":"1399644905","file0":"1399644867","file4":"1399644960","file5":"1399644962","file3":"1399644957"},"map_files_photo_id_array":[{"photo_id":"1399644962","filename":"file5"},{"photo_id":"1399644939","filename":"file2"},{"photo_id":"1399644960","filename":"file4"},{"photo_id":"1399644905","filename":"file1"},{"photo_id":"1399644867","filename":"file0"},{"photo_id":"1399644957","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399644957":["hashtag1","hashtag2"]},{"1399644939":["hashtag1","hashtag2"]},{"1399644867":["hashtag1","hashtag2"]},{"1399644960":["hashtag1","hashtag2"]},{"1399644962":["hashtag1","hashtag2"]},{"1399644905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399644957, 1399644939, 1399644867, 1399644960, 1399644962, 1399644905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.13582181930542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:15:02.659720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/04/image_16122025_12_05_05_10670.jpg', '/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_14_9855.jpg', '/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_24_9836.jpg', '/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_34_9709.jpg', '/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_44_10365.jpg', '/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/04/image_16122025_12_05_05_10670.jpg
/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_14_9855.jpg
/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_24_9836.jpg
/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_34_9709.jpg
/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_44_10365.jpg
/home/pi/Desktop/images/16122025/12/05/image_16122025_12_05_54_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399644976","1399644975","1399644978","1399644980","1399644974","1399644977"],"photo_ids_order":["1399644974","1399644975","1399644976","1399644977","1399644978","1399644980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/40f1d709ce94470563a647ca4b6ba117.jpg","text":"TemporaryFile(/tmp/multipartBody2582732612381859591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883763403,"filename":"image_16122025_12_05_24_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7fe07525293ae5595b03b13b38b8b334.jpg","text":"TemporaryFile(/tmp/multipartBody5282674775158099202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883763403,"filename":"image_16122025_12_05_14_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b9b1b2d457f45aa0f95c747dd285e65.jpg","text":"TemporaryFile(/tmp/multipartBody5298537108252501422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883763403,"filename":"image_16122025_12_05_44_10365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07426e08ca776095002077a75d24235e.jpg","text":"TemporaryFile(/tmp/multipartBody3632970827277172992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883763403,"filename":"image_16122025_12_05_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/16/8d462d7a0c5c9f7b5c85da0238041bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2318511835189824907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883763403,"filename":"image_16122025_12_05_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/15dc8d27947e515f7eea9501ad41c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody4342759860151735852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883763403,"filename":"image_16122025_12_05_34_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399644976","file1":"1399644975","file0":"1399644974","file4":"1399644978","file5":"1399644980","file3":"1399644977"},"map_files_photo_id_array":[{"photo_id":"1399644980","filename":"file5"},{"photo_id":"1399644976","filename":"file2"},{"photo_id":"1399644978","filename":"file4"},{"photo_id":"1399644975","filename":"file1"},{"photo_id":"1399644974","filename":"file0"},{"photo_id":"1399644977","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399644976":["hashtag1","hashtag2"]},{"1399644975":["hashtag1","hashtag2"]},{"1399644978":["hashtag1","hashtag2"]},{"1399644980":["hashtag1","hashtag2"]},{"1399644974":["hashtag1","hashtag2"]},{"1399644977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399644976, 1399644975, 1399644978, 1399644980, 1399644974, 1399644977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48739004135132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:15:42.028637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_07_3019.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_10_3099.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_14_3647.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_27_13221.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_29_1564.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_30_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_07_3019.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_10_3099.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_14_3647.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_27_13221.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_29_1564.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_30_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":["1399644991","1399644988","1399644990","1399644984","1399644987","1399644989"],"photo_ids_order":["1399644984","1399644987","1399644988","1399644989","1399644990","1399644991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afffa2460c493db03c692e1f8a400e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8792902107496083975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883802666,"filename":"image_06112025_16_20_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/16/f7c021c58b6338fcf8a4833a3c340034.jpg","text":"TemporaryFile(/tmp/multipartBody6809186267082680194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883802666,"filename":"image_06112025_16_20_14_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/16/c2deb9d8d5268a2a7e19fc6513ee2508.jpg","text":"TemporaryFile(/tmp/multipartBody1514081738199064730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883802666,"filename":"image_06112025_16_20_29_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f5f040db561f74373921e84ff6905f4c.jpg","text":"TemporaryFile(/tmp/multipartBody5035875635277145638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883802666,"filename":"image_06112025_16_20_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8adeed98205fc143d5dd2b401098fb14.jpg","text":"TemporaryFile(/tmp/multipartBody7661270531443347226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883802666,"filename":"image_06112025_16_20_10_3099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57a84308c1a8982ee5db3f5aafb8c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody6535001024868731282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883802666,"filename":"image_06112025_16_20_27_13221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399644988","file1":"1399644987","file0":"1399644984","file4":"1399644990","file5":"1399644991","file3":"1399644989"},"map_files_photo_id_array":[{"photo_id":"1399644991","filename":"file5"},{"photo_id":"1399644988","filename":"file2"},{"photo_id":"1399644990","filename":"file4"},{"photo_id":"1399644987","filename":"file1"},{"photo_id":"1399644984","filename":"file0"},{"photo_id":"1399644989","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399644991":["hashtag1","hashtag2"]},{"1399644988":["hashtag1","hashtag2"]},{"1399644990":["hashtag1","hashtag2"]},{"1399644984":["hashtag1","hashtag2"]},{"1399644987":["hashtag1","hashtag2"]},{"1399644989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399644991, 1399644988, 1399644990, 1399644984, 1399644987, 1399644989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.267003536224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:16:22.276832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/05/image_16122025_12_06_04_10012.jpg', '/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_14_9706.jpg', '/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_25_10711.jpg', '/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_34_9742.jpg', '/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_44_9742.jpg', '/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/05/image_16122025_12_06_04_10012.jpg
/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_14_9706.jpg
/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_25_10711.jpg
/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_34_9742.jpg
/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_44_9742.jpg
/home/pi/Desktop/images/16122025/12/06/image_16122025_12_06_55_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399644994","1399644993","1399644992","1399644995","1399644998","1399645001"],"photo_ids_order":["1399644992","1399644993","1399644994","1399644995","1399644998","1399645001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/690d34be0274933e3146d6a41aca8e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4577561256037365893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883842899,"filename":"image_16122025_12_06_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b901f0de61030ac3b152930594880d7.jpg","text":"TemporaryFile(/tmp/multipartBody7112352440102534099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883842899,"filename":"image_16122025_12_06_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/16/b47ee9c7d34194e5003c1492ace0f22a.jpg","text":"TemporaryFile(/tmp/multipartBody3182799752971535956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883842899,"filename":"image_16122025_12_06_04_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/16/59c8d842e5a4fc97e058560f978610ba.jpg","text":"TemporaryFile(/tmp/multipartBody4888357319039559720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883842899,"filename":"image_16122025_12_06_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/16/83916895f201add1748fd11dae86ba09.jpg","text":"TemporaryFile(/tmp/multipartBody7560128214508400742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883842899,"filename":"image_16122025_12_06_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1acce3e482ff1930da2270f8d8432018.jpg","text":"TemporaryFile(/tmp/multipartBody8174641194519351879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883842899,"filename":"image_16122025_12_06_55_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399644994","file1":"1399644993","file0":"1399644992","file4":"1399644998","file5":"1399645001","file3":"1399644995"},"map_files_photo_id_array":[{"photo_id":"1399645001","filename":"file5"},{"photo_id":"1399644994","filename":"file2"},{"photo_id":"1399644998","filename":"file4"},{"photo_id":"1399644993","filename":"file1"},{"photo_id":"1399644992","filename":"file0"},{"photo_id":"1399644995","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399644994":["hashtag1","hashtag2"]},{"1399644993":["hashtag1","hashtag2"]},{"1399644992":["hashtag1","hashtag2"]},{"1399644995":["hashtag1","hashtag2"]},{"1399644998":["hashtag1","hashtag2"]},{"1399645001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399644994, 1399644993, 1399644992, 1399644995, 1399644998, 1399645001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20411229133606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:17:03.255993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/06/image_16122025_12_07_04_9677.jpg', '/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_14_9655.jpg', '/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_24_9728.jpg', '/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_34_10731.jpg', '/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_44_9807.jpg', '/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_54_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/06/image_16122025_12_07_04_9677.jpg
/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_14_9655.jpg
/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_24_9728.jpg
/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_34_10731.jpg
/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_44_9807.jpg
/home/pi/Desktop/images/16122025/12/07/image_16122025_12_07_54_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":["1399645015","1399645030","1399645018","1399645068","1399645017","1399645013"],"photo_ids_order":["1399645013","1399645015","1399645017","1399645018","1399645030","1399645068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/56b7ff28fc947ee06269575b28eecff9.jpg","text":"TemporaryFile(/tmp/multipartBody800637881392283102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883883940,"filename":"image_16122025_12_07_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/16/07b990304ee4e557c2655b7e2a3274c6.jpg","text":"TemporaryFile(/tmp/multipartBody5338595664050102813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883883940,"filename":"image_16122025_12_07_44_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c42c6b04986d75680fbb7f7780428aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6248833551248485494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883883940,"filename":"image_16122025_12_07_34_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b7fe5df4dc621533764541bc3ed9653.jpg","text":"TemporaryFile(/tmp/multipartBody1393875241398085153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883883940,"filename":"image_16122025_12_07_54_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d72b00c5de0e516d96f7134be561e0e9.jpg","text":"TemporaryFile(/tmp/multipartBody9095238702496531892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883883940,"filename":"image_16122025_12_07_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/16/64df6585a1c969e99c406429eb7a595b.jpg","text":"TemporaryFile(/tmp/multipartBody6056953207244823376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883883940,"filename":"image_16122025_12_07_04_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399645017","file1":"1399645015","file0":"1399645013","file4":"1399645030","file5":"1399645068","file3":"1399645018"},"map_files_photo_id_array":[{"photo_id":"1399645068","filename":"file5"},{"photo_id":"1399645017","filename":"file2"},{"photo_id":"1399645030","filename":"file4"},{"photo_id":"1399645015","filename":"file1"},{"photo_id":"1399645013","filename":"file0"},{"photo_id":"1399645018","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399645015":["hashtag1","hashtag2"]},{"1399645030":["hashtag1","hashtag2"]},{"1399645018":["hashtag1","hashtag2"]},{"1399645068":["hashtag1","hashtag2"]},{"1399645017":["hashtag1","hashtag2"]},{"1399645013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399645015, 1399645030, 1399645018, 1399645068, 1399645017, 1399645013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.888432264328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:17:42.670701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_32_1772.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_34_1603.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_35_1627.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_37_1649.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_39_1613.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_40_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_32_1772.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_34_1603.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_35_1627.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_37_1649.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_39_1613.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_40_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":["1399645350","1399645317","1399645199","1399645388","1399645280","1399645244"],"photo_ids_order":["1399645199","1399645244","1399645280","1399645317","1399645350","1399645388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/179da5d2a026e4f7b653858d1de05e56.jpg","text":"TemporaryFile(/tmp/multipartBody1340830601076688759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883923343,"filename":"image_06112025_16_20_39_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/65270214be68aeee08d6914be5219f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6846805843659146015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883923343,"filename":"image_06112025_16_20_37_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/16/ec818a03158b47a30b20984bd92b2d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8578050818985886102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883923343,"filename":"image_06112025_16_20_32_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/16/5c71e56c2cd58348809687042c3a49a7.jpg","text":"TemporaryFile(/tmp/multipartBody6939871458801957668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883923343,"filename":"image_06112025_16_20_40_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/16/82db566ae9d7654ae58946f05538315f.jpg","text":"TemporaryFile(/tmp/multipartBody3516540796100830926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883923343,"filename":"image_06112025_16_20_35_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/16/739b8a7eb73ecfa00e9f80f44a71bf95.jpg","text":"TemporaryFile(/tmp/multipartBody4370717738172403299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883923343,"filename":"image_06112025_16_20_34_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399645280","file1":"1399645244","file0":"1399645199","file4":"1399645350","file5":"1399645388","file3":"1399645317"},"map_files_photo_id_array":[{"photo_id":"1399645388","filename":"file5"},{"photo_id":"1399645280","filename":"file2"},{"photo_id":"1399645350","filename":"file4"},{"photo_id":"1399645244","filename":"file1"},{"photo_id":"1399645199","filename":"file0"},{"photo_id":"1399645317","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399645350":["hashtag1","hashtag2"]},{"1399645317":["hashtag1","hashtag2"]},{"1399645199":["hashtag1","hashtag2"]},{"1399645388":["hashtag1","hashtag2"]},{"1399645280":["hashtag1","hashtag2"]},{"1399645244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399645350, 1399645317, 1399645199, 1399645388, 1399645280, 1399645244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5990149974823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:18:21.956433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/07/image_16122025_12_08_04_9731.jpg', '/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_15_10766.jpg', '/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_24_9778.jpg', '/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_34_9760.jpg', '/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_44_9760.jpg', '/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_54_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/07/image_16122025_12_08_04_9731.jpg
/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_15_10766.jpg
/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_24_9778.jpg
/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_34_9760.jpg
/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_44_9760.jpg
/home/pi/Desktop/images/16122025/12/08/image_16122025_12_08_54_9960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399645563","1399645524","1399645605","1399645643","1399645715","1399645678"],"photo_ids_order":["1399645524","1399645563","1399645605","1399645643","1399645678","1399645715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b5133bb35f86f4c653f71e8cceecbad.jpg","text":"TemporaryFile(/tmp/multipartBody6639456482166415642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883962579,"filename":"image_16122025_12_08_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/16/8a175ff46dacab2542dcb62046856927.jpg","text":"TemporaryFile(/tmp/multipartBody4443542406407098516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883962579,"filename":"image_16122025_12_08_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60e1d73737a3e487f43ef0cc50558eda.jpg","text":"TemporaryFile(/tmp/multipartBody5892775150313527057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883962579,"filename":"image_16122025_12_08_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/16/74162cc81e6dafeafb5a987f7b39e6af.jpg","text":"TemporaryFile(/tmp/multipartBody7256609500669628697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883962579,"filename":"image_16122025_12_08_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b63b88866f343acf71777edae097e9ab.jpg","text":"TemporaryFile(/tmp/multipartBody4518699555437454363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883962579,"filename":"image_16122025_12_08_54_9960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4bc9e1f69b3d31ce3ba4a8bcb6db055e.jpg","text":"TemporaryFile(/tmp/multipartBody8738731951990711605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765883962579,"filename":"image_16122025_12_08_44_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399645605","file1":"1399645563","file0":"1399645524","file4":"1399645678","file5":"1399645715","file3":"1399645643"},"map_files_photo_id_array":[{"photo_id":"1399645715","filename":"file5"},{"photo_id":"1399645605","filename":"file2"},{"photo_id":"1399645678","filename":"file4"},{"photo_id":"1399645563","filename":"file1"},{"photo_id":"1399645524","filename":"file0"},{"photo_id":"1399645643","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399645563":["hashtag1","hashtag2"]},{"1399645524":["hashtag1","hashtag2"]},{"1399645605":["hashtag1","hashtag2"]},{"1399645643":["hashtag1","hashtag2"]},{"1399645715":["hashtag1","hashtag2"]},{"1399645678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399645563, 1399645524, 1399645605, 1399645643, 1399645715, 1399645678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.674702405929565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:19:03.190275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_14_9631.jpg', '/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_24_9762.jpg', '/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_34_9885.jpg', '/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_44_9817.jpg', '/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_54_10748.jpg', '/home/pi/Desktop/images/16122025/12/09/image_16122025_12_10_04_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_14_9631.jpg
/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_24_9762.jpg
/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_34_9885.jpg
/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_44_9817.jpg
/home/pi/Desktop/images/16122025/12/09/image_16122025_12_09_54_10748.jpg
/home/pi/Desktop/images/16122025/12/09/image_16122025_12_10_04_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399645966","1399645893","1399645854","1399645929","1399645973","1399645975"],"photo_ids_order":["1399645854","1399645893","1399645929","1399645966","1399645973","1399645975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/071267bbffc3901537938442581d4b89.jpg","text":"TemporaryFile(/tmp/multipartBody1251452755077768656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884004000,"filename":"image_16122025_12_09_44_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/206d821e93b36f1149673d8a1d1586e3.jpg","text":"TemporaryFile(/tmp/multipartBody719465015608540824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884004000,"filename":"image_16122025_12_09_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/487ebb07a21aac5bd54fb3372ab8d237.jpg","text":"TemporaryFile(/tmp/multipartBody5799460934790938819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884004000,"filename":"image_16122025_12_09_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/391b05829bd30fd22945ad22e01b53a9.jpg","text":"TemporaryFile(/tmp/multipartBody8550219607521271635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884004000,"filename":"image_16122025_12_09_34_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/16/922a356bbdf138776f1a87957e82e40a.jpg","text":"TemporaryFile(/tmp/multipartBody6657702151886278709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884004000,"filename":"image_16122025_12_09_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/16/574baa9615fda2961cb404e29a759fd0.jpg","text":"TemporaryFile(/tmp/multipartBody8092386202806512884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884004000,"filename":"image_16122025_12_10_04_9965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399645929","file1":"1399645893","file0":"1399645854","file4":"1399645973","file5":"1399645975","file3":"1399645966"},"map_files_photo_id_array":[{"photo_id":"1399645975","filename":"file5"},{"photo_id":"1399645929","filename":"file2"},{"photo_id":"1399645973","filename":"file4"},{"photo_id":"1399645893","filename":"file1"},{"photo_id":"1399645854","filename":"file0"},{"photo_id":"1399645966","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399645966":["hashtag1","hashtag2"]},{"1399645893":["hashtag1","hashtag2"]},{"1399645854":["hashtag1","hashtag2"]},{"1399645929":["hashtag1","hashtag2"]},{"1399645973":["hashtag1","hashtag2"]},{"1399645975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399645966, 1399645893, 1399645854, 1399645929, 1399645973, 1399645975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44966650009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:19:42.137508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_44_3621.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_47_2763.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_49_2576.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_53_3603.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_56_2700.jpg', '/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_58_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_44_3621.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_47_2763.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_49_2576.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_53_3603.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_56_2700.jpg
/home/pi/Desktop/images/06112025/16/20/image_06112025_16_20_58_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":["1399646035","1399646001","1399646072","1399646105","1399645981","1399645984"],"photo_ids_order":["1399645981","1399645984","1399646001","1399646035","1399646072","1399646105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc58abd110da8c8a0a369e52f5571a3e.jpg","text":"TemporaryFile(/tmp/multipartBody8461716030870362220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884042889,"filename":"image_06112025_16_20_53_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a99aa48bca7110fc8bff0de5bb76be8.jpg","text":"TemporaryFile(/tmp/multipartBody764620606013295484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884042889,"filename":"image_06112025_16_20_49_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee0f5e97414ca9f1dbe2260d288746be.jpg","text":"TemporaryFile(/tmp/multipartBody3083087281674937853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884042889,"filename":"image_06112025_16_20_56_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ffcd19f2155a748d140d7d695a80568.jpg","text":"TemporaryFile(/tmp/multipartBody2096535194126107134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884042889,"filename":"image_06112025_16_20_58_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8ec7a418446e655e2935d7c39d6e7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3574957885604266230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884042889,"filename":"image_06112025_16_20_44_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/16/f632738d67091a528107328a695df060.jpg","text":"TemporaryFile(/tmp/multipartBody8704591625902315798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884042889,"filename":"image_06112025_16_20_47_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646001","file1":"1399645984","file0":"1399645981","file4":"1399646072","file5":"1399646105","file3":"1399646035"},"map_files_photo_id_array":[{"photo_id":"1399646105","filename":"file5"},{"photo_id":"1399646001","filename":"file2"},{"photo_id":"1399646072","filename":"file4"},{"photo_id":"1399645984","filename":"file1"},{"photo_id":"1399645981","filename":"file0"},{"photo_id":"1399646035","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399646035":["hashtag1","hashtag2"]},{"1399646001":["hashtag1","hashtag2"]},{"1399646072":["hashtag1","hashtag2"]},{"1399646105":["hashtag1","hashtag2"]},{"1399645981":["hashtag1","hashtag2"]},{"1399645984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399646035, 1399646001, 1399646072, 1399646105, 1399645981, 1399645984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.896424770355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:20:22.352440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_14_9671.jpg', '/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_24_9721.jpg', '/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_34_10643.jpg', '/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_44_9769.jpg', '/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_54_9778.jpg', '/home/pi/Desktop/images/16122025/12/10/image_16122025_12_11_05_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_14_9671.jpg
/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_24_9721.jpg
/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_34_10643.jpg
/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_44_9769.jpg
/home/pi/Desktop/images/16122025/12/10/image_16122025_12_10_54_9778.jpg
/home/pi/Desktop/images/16122025/12/10/image_16122025_12_11_05_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646184","1399646187","1399646189","1399646201","1399646191","1399646182"],"photo_ids_order":["1399646182","1399646184","1399646187","1399646189","1399646191","1399646201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af0aad2ada8e5305d0d57a5f7d164955.jpg","text":"TemporaryFile(/tmp/multipartBody8231808578554683181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884082989,"filename":"image_16122025_12_10_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce1f5b4c0921480147aa23eb5547cea2.jpg","text":"TemporaryFile(/tmp/multipartBody925068072496598530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884082989,"filename":"image_16122025_12_10_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c332d5f66153b90bb8f869a5d7199ded.jpg","text":"TemporaryFile(/tmp/multipartBody8930702729740079384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884082989,"filename":"image_16122025_12_10_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/16/b6755d4c0390ea5731202009158e72da.jpg","text":"TemporaryFile(/tmp/multipartBody1489490296129849902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884082989,"filename":"image_16122025_12_11_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/16/0e382f7694101f780497a8efb5e4ac37.jpg","text":"TemporaryFile(/tmp/multipartBody688205401772198297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884082989,"filename":"image_16122025_12_10_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/16/7357807ad2538e50e059fea58b9f53d7.jpg","text":"TemporaryFile(/tmp/multipartBody5767568906456681192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884082989,"filename":"image_16122025_12_10_14_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646187","file1":"1399646184","file0":"1399646182","file4":"1399646191","file5":"1399646201","file3":"1399646189"},"map_files_photo_id_array":[{"photo_id":"1399646201","filename":"file5"},{"photo_id":"1399646187","filename":"file2"},{"photo_id":"1399646191","filename":"file4"},{"photo_id":"1399646184","filename":"file1"},{"photo_id":"1399646182","filename":"file0"},{"photo_id":"1399646189","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646184":["hashtag1","hashtag2"]},{"1399646187":["hashtag1","hashtag2"]},{"1399646189":["hashtag1","hashtag2"]},{"1399646201":["hashtag1","hashtag2"]},{"1399646191":["hashtag1","hashtag2"]},{"1399646182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646184, 1399646187, 1399646189, 1399646201, 1399646191, 1399646182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70219612121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:21:03.306887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_14_9750.jpg', '/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_24_9770.jpg', '/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_34_9847.jpg', '/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_44_9698.jpg', '/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_55_10915.jpg', '/home/pi/Desktop/images/16122025/12/11/image_16122025_12_12_04_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_14_9750.jpg
/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_24_9770.jpg
/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_34_9847.jpg
/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_44_9698.jpg
/home/pi/Desktop/images/16122025/12/11/image_16122025_12_11_55_10915.jpg
/home/pi/Desktop/images/16122025/12/11/image_16122025_12_12_04_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646358","1399646388","1399646280","1399646319","1399646384","1399646386"],"photo_ids_order":["1399646280","1399646319","1399646358","1399646384","1399646386","1399646388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27c14894c581f5281d2f89be159bcc74.jpg","text":"TemporaryFile(/tmp/multipartBody8737609196499499425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884124067,"filename":"image_16122025_12_11_34_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b11684ac0479eaa8b49ad8f071cdb47a.jpg","text":"TemporaryFile(/tmp/multipartBody2039945300190481721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884124067,"filename":"image_16122025_12_12_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe1bfe21a90f8523950bcb3c80898a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3642655473881803396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884124067,"filename":"image_16122025_12_11_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33fd414303a39e345eeb4deabae8afdb.jpg","text":"TemporaryFile(/tmp/multipartBody7501078043260821376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884124067,"filename":"image_16122025_12_11_24_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ad6ef70f7aee087e0e13492e330ec97.jpg","text":"TemporaryFile(/tmp/multipartBody3193158817711393204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884124067,"filename":"image_16122025_12_11_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/16/0c395f835ff31e7c55819f3628948322.jpg","text":"TemporaryFile(/tmp/multipartBody7484074080948850381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884124067,"filename":"image_16122025_12_11_55_10915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646358","file1":"1399646319","file0":"1399646280","file4":"1399646386","file5":"1399646388","file3":"1399646384"},"map_files_photo_id_array":[{"photo_id":"1399646388","filename":"file5"},{"photo_id":"1399646358","filename":"file2"},{"photo_id":"1399646386","filename":"file4"},{"photo_id":"1399646319","filename":"file1"},{"photo_id":"1399646280","filename":"file0"},{"photo_id":"1399646384","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646358":["hashtag1","hashtag2"]},{"1399646388":["hashtag1","hashtag2"]},{"1399646280":["hashtag1","hashtag2"]},{"1399646319":["hashtag1","hashtag2"]},{"1399646384":["hashtag1","hashtag2"]},{"1399646386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646358, 1399646388, 1399646280, 1399646319, 1399646384, 1399646386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9858603477478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:21:42.719511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_02_3727.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_05_3433.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_08_2618.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_19_10748.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_20_1629.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_29_8541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_02_3727.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_05_3433.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_08_2618.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_19_10748.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_20_1629.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_29_8541.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6143841743469238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:22:02.454006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_14_9679.jpg', '/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_24_9953.jpg', '/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_35_10639.jpg', '/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_44_9679.jpg', '/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_54_9823.jpg', '/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_14_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_14_9679.jpg
/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_24_9953.jpg
/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_35_10639.jpg
/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_44_9679.jpg
/home/pi/Desktop/images/16122025/12/12/image_16122025_12_12_54_9823.jpg
/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_14_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646574","1399646571","1399646547","1399646514","1399646564","1399646572"],"photo_ids_order":["1399646514","1399646547","1399646564","1399646571","1399646572","1399646574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/82dce85324712532b7bd3807c423f2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5735031439061067110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884183185,"filename":"image_16122025_12_13_14_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14119e0ce9ada6b2a9b7e1c2d6628ecb.jpg","text":"TemporaryFile(/tmp/multipartBody4543727491800834756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884183185,"filename":"image_16122025_12_12_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/801171a7d292b55e9004d2318420beb3.jpg","text":"TemporaryFile(/tmp/multipartBody4191367500238048514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884183185,"filename":"image_16122025_12_12_24_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2f53dcea4e7a913e0a9c36cbd2facf4.jpg","text":"TemporaryFile(/tmp/multipartBody3827161562462427502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884183185,"filename":"image_16122025_12_12_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/16/f8fc4d86ace7937d2bcdfaea9abfe5a0.jpg","text":"TemporaryFile(/tmp/multipartBody9045651434606806935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884183185,"filename":"image_16122025_12_12_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74ee9aa0e966aa7c1eb7d54be464874e.jpg","text":"TemporaryFile(/tmp/multipartBody8057513629216096404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884183185,"filename":"image_16122025_12_12_54_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646564","file1":"1399646547","file0":"1399646514","file4":"1399646572","file5":"1399646574","file3":"1399646571"},"map_files_photo_id_array":[{"photo_id":"1399646574","filename":"file5"},{"photo_id":"1399646564","filename":"file2"},{"photo_id":"1399646572","filename":"file4"},{"photo_id":"1399646547","filename":"file1"},{"photo_id":"1399646514","filename":"file0"},{"photo_id":"1399646571","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646574":["hashtag1","hashtag2"]},{"1399646571":["hashtag1","hashtag2"]},{"1399646547":["hashtag1","hashtag2"]},{"1399646514":["hashtag1","hashtag2"]},{"1399646564":["hashtag1","hashtag2"]},{"1399646572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646574, 1399646571, 1399646547, 1399646514, 1399646564, 1399646572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.622369050979614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:22:42.077999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_02_3727.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_05_3433.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_08_2618.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_19_10748.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_20_1629.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_29_8541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_02_3727.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_05_3433.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_08_2618.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_19_10748.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_20_1629.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_29_8541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646583","1399646586","1399646585","1399646579","1399646581","1399646584"],"photo_ids_order":["1399646579","1399646581","1399646583","1399646584","1399646585","1399646586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa009f4090061eb381dc70571b1ce676.jpg","text":"TemporaryFile(/tmp/multipartBody4965669697233584572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884222698,"filename":"image_06112025_16_21_08_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/16/67a87d34f8de7b4888fb3c2394aa6ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1654637054736726651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884222698,"filename":"image_06112025_16_21_29_8541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4ad37fc88dfa6c89c2cbc7a6bfa7190.jpg","text":"TemporaryFile(/tmp/multipartBody2194276139609894653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884222698,"filename":"image_06112025_16_21_20_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/16/4365a87f69fb39d0aa09d39ef4eb5291.jpg","text":"TemporaryFile(/tmp/multipartBody7924913387567106949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884222698,"filename":"image_06112025_16_21_02_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/16/49f8e22744c00ed0b46cff00f9abf08a.jpg","text":"TemporaryFile(/tmp/multipartBody6323116193577179278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884222698,"filename":"image_06112025_16_21_05_3433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f71cb3f7c304e0a19d93e008acf6998.jpg","text":"TemporaryFile(/tmp/multipartBody8342903426547235024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884222698,"filename":"image_06112025_16_21_19_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646583","file1":"1399646581","file0":"1399646579","file4":"1399646585","file5":"1399646586","file3":"1399646584"},"map_files_photo_id_array":[{"photo_id":"1399646586","filename":"file5"},{"photo_id":"1399646583","filename":"file2"},{"photo_id":"1399646585","filename":"file4"},{"photo_id":"1399646581","filename":"file1"},{"photo_id":"1399646579","filename":"file0"},{"photo_id":"1399646584","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399646583":["hashtag1","hashtag2"]},{"1399646586":["hashtag1","hashtag2"]},{"1399646585":["hashtag1","hashtag2"]},{"1399646579":["hashtag1","hashtag2"]},{"1399646581":["hashtag1","hashtag2"]},{"1399646584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399646583, 1399646586, 1399646585, 1399646579, 1399646581, 1399646584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79195952415466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:23:22.386012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_24_9700.jpg', '/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_34_9724.jpg', '/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_45_10770.jpg', '/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_54_9687.jpg', '/home/pi/Desktop/images/16122025/12/13/image_16122025_12_14_04_9675.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_14_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_24_9700.jpg
/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_34_9724.jpg
/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_45_10770.jpg
/home/pi/Desktop/images/16122025/12/13/image_16122025_12_13_54_9687.jpg
/home/pi/Desktop/images/16122025/12/13/image_16122025_12_14_04_9675.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_14_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646595","1399646598","1399646601","1399646590","1399646593","1399646608"],"photo_ids_order":["1399646590","1399646593","1399646595","1399646598","1399646601","1399646608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb0f379e1a13862d70cd0e5f90f36f33.jpg","text":"TemporaryFile(/tmp/multipartBody4322997811417286096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884263019,"filename":"image_16122025_12_13_45_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f5d682eb878b95e8171fb4efe76bb372.jpg","text":"TemporaryFile(/tmp/multipartBody5284279033403535062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884263019,"filename":"image_16122025_12_13_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/16/e04158922375d39d396baa5dfdfee0f1.jpg","text":"TemporaryFile(/tmp/multipartBody3612860115773791523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884263019,"filename":"image_16122025_12_14_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/16/bc239bd47cbd8b68663230857a311088.jpg","text":"TemporaryFile(/tmp/multipartBody6525547380279580470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884263019,"filename":"image_16122025_12_13_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cee56c9832a35f285133df0dbf96428.jpg","text":"TemporaryFile(/tmp/multipartBody5616999507191258285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884263019,"filename":"image_16122025_12_13_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd49e1c1c2dbcba0c1e3585d97c72963.jpg","text":"TemporaryFile(/tmp/multipartBody1832581868339354684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884263019,"filename":"image_16122025_12_14_14_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646595","file1":"1399646593","file0":"1399646590","file4":"1399646601","file5":"1399646608","file3":"1399646598"},"map_files_photo_id_array":[{"photo_id":"1399646608","filename":"file5"},{"photo_id":"1399646595","filename":"file2"},{"photo_id":"1399646601","filename":"file4"},{"photo_id":"1399646593","filename":"file1"},{"photo_id":"1399646590","filename":"file0"},{"photo_id":"1399646598","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646595":["hashtag1","hashtag2"]},{"1399646598":["hashtag1","hashtag2"]},{"1399646601":["hashtag1","hashtag2"]},{"1399646590":["hashtag1","hashtag2"]},{"1399646593":["hashtag1","hashtag2"]},{"1399646608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646595, 1399646598, 1399646601, 1399646590, 1399646593, 1399646608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48533082008362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:24:03.130045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_24_9616.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_34_9663.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_45_10762.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_54_9710.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_15_04_9789.jpg', '/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_14_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_24_9616.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_34_9663.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_45_10762.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_54_9710.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_15_04_9789.jpg
/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_14_9711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6574909687042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:24:12.508671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:24:22.528395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_24_9616.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_34_9663.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_45_10762.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_54_9710.jpg', '/home/pi/Desktop/images/16122025/12/14/image_16122025_12_15_04_9789.jpg', '/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_14_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_24_9616.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_34_9663.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_45_10762.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_14_54_9710.jpg
/home/pi/Desktop/images/16122025/12/14/image_16122025_12_15_04_9789.jpg
/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_14_9711.jpg
 val : 1 : upload photos 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":["1399646623","1399646628","1399646621","1399646618","1399646626","1399646629"],"photo_ids_order":["1399646618","1399646621","1399646623","1399646626","1399646628","1399646629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a20ccfd57fc0a6e7e6745d2745bb60f1.jpg","text":"TemporaryFile(/tmp/multipartBody6572618317843090797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884323206,"filename":"image_16122025_12_14_45_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae6c2348c5e6cffb7a43288c48c34b28.jpg","text":"TemporaryFile(/tmp/multipartBody669879842087554044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884323206,"filename":"image_16122025_12_15_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/16/88aa629298becd5a16e4f7a40f895058.jpg","text":"TemporaryFile(/tmp/multipartBody3871735893553029706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884323206,"filename":"image_16122025_12_14_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f8c1d0e8272de6071a6a0118dbefa02.jpg","text":"TemporaryFile(/tmp/multipartBody3112998617459852636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884323206,"filename":"image_16122025_12_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/16/ca2f50e133ea4807104cc492d6c491e4.jpg","text":"TemporaryFile(/tmp/multipartBody4269995858852778276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884323206,"filename":"image_16122025_12_14_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/16/487529dd6d7c5e2e284b5c4473eee121.jpg","text":"TemporaryFile(/tmp/multipartBody3303646820861395036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884323206,"filename":"image_16122025_12_15_14_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646623","file1":"1399646621","file0":"1399646618","file4":"1399646628","file5":"1399646629","file3":"1399646626"},"map_files_photo_id_array":[{"photo_id":"1399646629","filename":"file5"},{"photo_id":"1399646623","filename":"file2"},{"photo_id":"1399646628","filename":"file4"},{"photo_id":"1399646621","filename":"file1"},{"photo_id":"1399646618","filename":"file0"},{"photo_id":"1399646626","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646623":["hashtag1","hashtag2"]},{"1399646628":["hashtag1","hashtag2"]},{"1399646621":["hashtag1","hashtag2"]},{"1399646618":["hashtag1","hashtag2"]},{"1399646626":["hashtag1","hashtag2"]},{"1399646629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646623, 1399646628, 1399646621, 1399646618, 1399646626, 1399646629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.49025464057922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:25:32.843684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:25:42.653576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_32_3106.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_34_1742.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_36_1711.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_37_1735.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_39_1539.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_40_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_32_3106.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_34_1742.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_36_1711.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_37_1735.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_39_1539.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_40_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":["1399646638","1399646643","1399646640","1399646636","1399646632","1399646635"],"photo_ids_order":["1399646632","1399646635","1399646636","1399646638","1399646640","1399646643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a19062032dc4761049c612394deb641.jpg","text":"TemporaryFile(/tmp/multipartBody8078931051137827142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884403362,"filename":"image_06112025_16_21_37_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce79300d1ae0d7c96184f99addb1644e.jpg","text":"TemporaryFile(/tmp/multipartBody1726945108311861836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884403362,"filename":"image_06112025_16_21_40_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/16/827318eba6d9c7d2e728fa02c58d9210.jpg","text":"TemporaryFile(/tmp/multipartBody1509611176854288828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884403362,"filename":"image_06112025_16_21_39_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/16/e9a91f717054e0cf2214340d86597c05.jpg","text":"TemporaryFile(/tmp/multipartBody9085638562968694351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884403362,"filename":"image_06112025_16_21_36_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19e96e00e44df73e9d21b70ae9ec21b3.jpg","text":"TemporaryFile(/tmp/multipartBody2633002683248722614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884403362,"filename":"image_06112025_16_21_32_3106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3db0a8f7476bfca6186f422c254381e9.jpg","text":"TemporaryFile(/tmp/multipartBody1005537338775150601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884403362,"filename":"image_06112025_16_21_34_1742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646636","file1":"1399646635","file0":"1399646632","file4":"1399646640","file5":"1399646643","file3":"1399646638"},"map_files_photo_id_array":[{"photo_id":"1399646643","filename":"file5"},{"photo_id":"1399646636","filename":"file2"},{"photo_id":"1399646640","filename":"file4"},{"photo_id":"1399646635","filename":"file1"},{"photo_id":"1399646632","filename":"file0"},{"photo_id":"1399646638","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399646638":["hashtag1","hashtag2"]},{"1399646643":["hashtag1","hashtag2"]},{"1399646640":["hashtag1","hashtag2"]},{"1399646636":["hashtag1","hashtag2"]},{"1399646632":["hashtag1","hashtag2"]},{"1399646635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399646638, 1399646643, 1399646640, 1399646636, 1399646632, 1399646635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35181188583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:26:21.952388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_25_10802.jpg', '/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_34_9679.jpg', '/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_44_9771.jpg', '/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_55_10653.jpg', '/home/pi/Desktop/images/16122025/12/15/image_16122025_12_16_04_9714.jpg', '/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_14_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_25_10802.jpg
/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_34_9679.jpg
/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_44_9771.jpg
/home/pi/Desktop/images/16122025/12/15/image_16122025_12_15_55_10653.jpg
/home/pi/Desktop/images/16122025/12/15/image_16122025_12_16_04_9714.jpg
/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_14_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646682","1399646655","1399646677","1399646686","1399646674","1399646656"],"photo_ids_order":["1399646655","1399646656","1399646674","1399646677","1399646682","1399646686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/65b63e719869be2ad2030b74e7483e4b.jpg","text":"TemporaryFile(/tmp/multipartBody8213664281012509945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884442576,"filename":"image_16122025_12_16_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/16/9bc35f39dede9bb454d12538062c1790.jpg","text":"TemporaryFile(/tmp/multipartBody3875621445026848104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884442576,"filename":"image_16122025_12_15_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/16/887f32fa496479a376fb247c4a1d0307.jpg","text":"TemporaryFile(/tmp/multipartBody9045755709711282801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884442576,"filename":"image_16122025_12_15_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/16/8b440d93f6c6660ffbf6ddb279883fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2793343692010521251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884442576,"filename":"image_16122025_12_16_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/16/75208fc95e9995e8d0b25573d0534a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3552045473004209916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884442576,"filename":"image_16122025_12_15_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8f36d7de28dd7ee36470a049991226c.jpg","text":"TemporaryFile(/tmp/multipartBody6514913455174233140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884442576,"filename":"image_16122025_12_15_34_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646674","file1":"1399646656","file0":"1399646655","file4":"1399646682","file5":"1399646686","file3":"1399646677"},"map_files_photo_id_array":[{"photo_id":"1399646686","filename":"file5"},{"photo_id":"1399646674","filename":"file2"},{"photo_id":"1399646682","filename":"file4"},{"photo_id":"1399646656","filename":"file1"},{"photo_id":"1399646655","filename":"file0"},{"photo_id":"1399646677","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646682":["hashtag1","hashtag2"]},{"1399646655":["hashtag1","hashtag2"]},{"1399646677":["hashtag1","hashtag2"]},{"1399646686":["hashtag1","hashtag2"]},{"1399646674":["hashtag1","hashtag2"]},{"1399646656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646682, 1399646655, 1399646677, 1399646686, 1399646674, 1399646656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07725930213928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:27:02.890837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_24_9749.jpg', '/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_34_9734.jpg', '/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_44_10669.jpg', '/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_54_9742.jpg', '/home/pi/Desktop/images/16122025/12/16/image_16122025_12_17_04_9767.jpg', '/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_14_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_24_9749.jpg
/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_34_9734.jpg
/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_44_10669.jpg
/home/pi/Desktop/images/16122025/12/16/image_16122025_12_16_54_9742.jpg
/home/pi/Desktop/images/16122025/12/16/image_16122025_12_17_04_9767.jpg
/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_14_9900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646694","1399646697","1399646696","1399646699","1399646695","1399646692"],"photo_ids_order":["1399646692","1399646694","1399646695","1399646696","1399646697","1399646699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d422f9284d01612ac898147c6e02ef2.jpg","text":"TemporaryFile(/tmp/multipartBody6337227902393033538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884483568,"filename":"image_16122025_12_16_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/16/4cf351c9e5dabbadfb02872f0aaa0d44.jpg","text":"TemporaryFile(/tmp/multipartBody6083309190348757921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884483568,"filename":"image_16122025_12_17_04_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b940ea8933d9fd318c88ccf5d2b7c23.jpg","text":"TemporaryFile(/tmp/multipartBody646321016865343996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884483568,"filename":"image_16122025_12_16_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b4480f597ded2e4c730d6a74b82137b.jpg","text":"TemporaryFile(/tmp/multipartBody684684888599019533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884483568,"filename":"image_16122025_12_17_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/16/4b76a52723c9a7cf51a7698dc97d5433.jpg","text":"TemporaryFile(/tmp/multipartBody6676323941123899734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884483568,"filename":"image_16122025_12_16_44_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/16/2c498202dba528283e8ab7e61c80822a.jpg","text":"TemporaryFile(/tmp/multipartBody8756147550661729903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884483568,"filename":"image_16122025_12_16_24_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646695","file1":"1399646694","file0":"1399646692","file4":"1399646697","file5":"1399646699","file3":"1399646696"},"map_files_photo_id_array":[{"photo_id":"1399646699","filename":"file5"},{"photo_id":"1399646695","filename":"file2"},{"photo_id":"1399646697","filename":"file4"},{"photo_id":"1399646694","filename":"file1"},{"photo_id":"1399646692","filename":"file0"},{"photo_id":"1399646696","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646694":["hashtag1","hashtag2"]},{"1399646697":["hashtag1","hashtag2"]},{"1399646696":["hashtag1","hashtag2"]},{"1399646699":["hashtag1","hashtag2"]},{"1399646695":["hashtag1","hashtag2"]},{"1399646692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646694, 1399646697, 1399646696, 1399646699, 1399646695, 1399646692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.126439571380615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:27:42.156990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_53_11162.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_59_6010.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_02_2858.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_04_1582.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_07_1693.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_09_1516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_53_11162.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_59_6010.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_02_2858.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_04_1582.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_07_1693.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_09_1516.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.613396167755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:28:02.831871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_24_10562.jpg', '/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_34_9626.jpg', '/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_44_9722.jpg', '/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_54_10623.jpg', '/home/pi/Desktop/images/16122025/12/17/image_16122025_12_18_04_9686.jpg', '/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_15_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_24_10562.jpg
/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_34_9626.jpg
/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_44_9722.jpg
/home/pi/Desktop/images/16122025/12/17/image_16122025_12_17_54_10623.jpg
/home/pi/Desktop/images/16122025/12/17/image_16122025_12_18_04_9686.jpg
/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_15_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":["1399646712","1399646715","1399646714","1399646717","1399646711","1399646713"],"photo_ids_order":["1399646711","1399646712","1399646713","1399646714","1399646715","1399646717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a90b50dd138bc361f4699be0e0551cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3915594157191668949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884543540,"filename":"image_16122025_12_17_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca89ce4773528b40edd65bb3eb09ddfc.jpg","text":"TemporaryFile(/tmp/multipartBody3851623014210974141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884543540,"filename":"image_16122025_12_18_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/16/968c9c3c1e6c4466d53d10b516d00762.jpg","text":"TemporaryFile(/tmp/multipartBody509450013687780835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884543540,"filename":"image_16122025_12_17_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61e0e3e859e98f3050de46011a3ae117.jpg","text":"TemporaryFile(/tmp/multipartBody4961496255782631332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884543540,"filename":"image_16122025_12_18_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/16/2dce3b9afee5f4613c1d4f938e02367d.jpg","text":"TemporaryFile(/tmp/multipartBody4759432978115012462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884543540,"filename":"image_16122025_12_17_24_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e2428865310f22942e2de3f1302f17a.jpg","text":"TemporaryFile(/tmp/multipartBody5032729901438515294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884543540,"filename":"image_16122025_12_17_44_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646713","file1":"1399646712","file0":"1399646711","file4":"1399646715","file5":"1399646717","file3":"1399646714"},"map_files_photo_id_array":[{"photo_id":"1399646717","filename":"file5"},{"photo_id":"1399646713","filename":"file2"},{"photo_id":"1399646715","filename":"file4"},{"photo_id":"1399646712","filename":"file1"},{"photo_id":"1399646711","filename":"file0"},{"photo_id":"1399646714","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646712":["hashtag1","hashtag2"]},{"1399646715":["hashtag1","hashtag2"]},{"1399646714":["hashtag1","hashtag2"]},{"1399646717":["hashtag1","hashtag2"]},{"1399646711":["hashtag1","hashtag2"]},{"1399646713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646712, 1399646715, 1399646714, 1399646717, 1399646711, 1399646713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31502366065979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:28:42.479969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_53_11162.jpg', '/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_59_6010.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_02_2858.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_04_1582.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_07_1693.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_09_1516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_53_11162.jpg
/home/pi/Desktop/images/06112025/16/21/image_06112025_16_21_59_6010.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_02_2858.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_04_1582.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_07_1693.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_09_1516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646722","1399646724","1399646727","1399646729","1399646726","1399646725"],"photo_ids_order":["1399646722","1399646724","1399646725","1399646726","1399646727","1399646729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77725468c2463500a157ec54aa410dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8556634210391177255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884583062,"filename":"image_06112025_16_21_53_11162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52ed401c5c266ff6c4151eca5caf3685.jpg","text":"TemporaryFile(/tmp/multipartBody7401344818559430254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884583062,"filename":"image_06112025_16_21_59_6010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e1ef0987cafd50b9396dd2cba085917.jpg","text":"TemporaryFile(/tmp/multipartBody5112463731859631847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884583062,"filename":"image_06112025_16_22_07_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2c2f284fef0cb3b2b77aa3ab59c44fa4.jpg","text":"TemporaryFile(/tmp/multipartBody8622647981381203213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884583062,"filename":"image_06112025_16_22_09_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/16/7367d913fd0da316ebef176be7321770.jpg","text":"TemporaryFile(/tmp/multipartBody8626605034792450366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884583062,"filename":"image_06112025_16_22_04_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e09ee3c9709c100db76e8f2b688a2ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6354092750779896702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884583062,"filename":"image_06112025_16_22_02_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646725","file1":"1399646724","file0":"1399646722","file4":"1399646727","file5":"1399646729","file3":"1399646726"},"map_files_photo_id_array":[{"photo_id":"1399646729","filename":"file5"},{"photo_id":"1399646725","filename":"file2"},{"photo_id":"1399646727","filename":"file4"},{"photo_id":"1399646724","filename":"file1"},{"photo_id":"1399646722","filename":"file0"},{"photo_id":"1399646726","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399646722":["hashtag1","hashtag2"]},{"1399646724":["hashtag1","hashtag2"]},{"1399646727":["hashtag1","hashtag2"]},{"1399646729":["hashtag1","hashtag2"]},{"1399646726":["hashtag1","hashtag2"]},{"1399646725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399646722, 1399646724, 1399646727, 1399646729, 1399646726, 1399646725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83843970298767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:29:22.822652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_24_9618.jpg', '/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_45_10732.jpg', '/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_54_9651.jpg', '/home/pi/Desktop/images/16122025/12/18/image_16122025_12_19_04_9610.jpg', '/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_15_10781.jpg', '/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_24_9618.jpg
/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_45_10732.jpg
/home/pi/Desktop/images/16122025/12/18/image_16122025_12_18_54_9651.jpg
/home/pi/Desktop/images/16122025/12/18/image_16122025_12_19_04_9610.jpg
/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_15_10781.jpg
/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_24_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646737","1399646742","1399646739","1399646747","1399646732","1399646734"],"photo_ids_order":["1399646732","1399646734","1399646737","1399646739","1399646742","1399646747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee0bd149da2596f4c0900ed74e4c83ea.jpg","text":"TemporaryFile(/tmp/multipartBody5216401943744396015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884623455,"filename":"image_16122025_12_18_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/16/2d02f34a3dd90c4a520ca90c6a004021.jpg","text":"TemporaryFile(/tmp/multipartBody4753624598294650610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884623455,"filename":"image_16122025_12_19_15_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6890a26e654ebd69ea77780028ffdb2e.jpg","text":"TemporaryFile(/tmp/multipartBody6223655217569825967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884623455,"filename":"image_16122025_12_19_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/16/7fb0aa8a6dd2c9d97f9d5ed8c4541eec.jpg","text":"TemporaryFile(/tmp/multipartBody2523061722545666225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884623455,"filename":"image_16122025_12_19_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b603e7d2b978098f9ad8e4222bad7651.jpg","text":"TemporaryFile(/tmp/multipartBody8382885088334650080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884623455,"filename":"image_16122025_12_18_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2122c41c7242bd7ffe1957ba2e578fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8165428156791308966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884623455,"filename":"image_16122025_12_18_45_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646737","file1":"1399646734","file0":"1399646732","file4":"1399646742","file5":"1399646747","file3":"1399646739"},"map_files_photo_id_array":[{"photo_id":"1399646747","filename":"file5"},{"photo_id":"1399646737","filename":"file2"},{"photo_id":"1399646742","filename":"file4"},{"photo_id":"1399646734","filename":"file1"},{"photo_id":"1399646732","filename":"file0"},{"photo_id":"1399646739","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646737":["hashtag1","hashtag2"]},{"1399646742":["hashtag1","hashtag2"]},{"1399646739":["hashtag1","hashtag2"]},{"1399646747":["hashtag1","hashtag2"]},{"1399646732":["hashtag1","hashtag2"]},{"1399646734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646737, 1399646742, 1399646739, 1399646747, 1399646732, 1399646734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.847689628601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:30:02.257168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_34_9667.jpg', '/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_45_10605.jpg', '/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_54_9896.jpg', '/home/pi/Desktop/images/16122025/12/19/image_16122025_12_20_04_9648.jpg', '/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_14_9732.jpg', '/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_25_10833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_34_9667.jpg
/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_45_10605.jpg
/home/pi/Desktop/images/16122025/12/19/image_16122025_12_19_54_9896.jpg
/home/pi/Desktop/images/16122025/12/19/image_16122025_12_20_04_9648.jpg
/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_14_9732.jpg
/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_25_10833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646754","1399646750","1399646756","1399646758","1399646752","1399646755"],"photo_ids_order":["1399646750","1399646752","1399646754","1399646755","1399646756","1399646758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e05240bd11184329587b136656dd1d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7862928740872576909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884662917,"filename":"image_16122025_12_19_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/16/53f902269581a7c40d4621c1642fb6fa.jpg","text":"TemporaryFile(/tmp/multipartBody3855999539311354410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884662917,"filename":"image_16122025_12_19_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/16/61b9133bfb48600989bb8bf3eec208fc.jpg","text":"TemporaryFile(/tmp/multipartBody7993871852417953668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884662917,"filename":"image_16122025_12_20_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/16/530ce4fea7d268fe36ffdf6431c0c789.jpg","text":"TemporaryFile(/tmp/multipartBody7903105593448614545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884662917,"filename":"image_16122025_12_20_25_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80f815472f4f7661750d9c5860407199.jpg","text":"TemporaryFile(/tmp/multipartBody6775284003026061254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884662917,"filename":"image_16122025_12_19_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/16/3e84124cb6087e54f96c107ba478e25d.jpg","text":"TemporaryFile(/tmp/multipartBody2527764175975482216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884662917,"filename":"image_16122025_12_20_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646754","file1":"1399646752","file0":"1399646750","file4":"1399646756","file5":"1399646758","file3":"1399646755"},"map_files_photo_id_array":[{"photo_id":"1399646758","filename":"file5"},{"photo_id":"1399646754","filename":"file2"},{"photo_id":"1399646756","filename":"file4"},{"photo_id":"1399646752","filename":"file1"},{"photo_id":"1399646750","filename":"file0"},{"photo_id":"1399646755","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646754":["hashtag1","hashtag2"]},{"1399646750":["hashtag1","hashtag2"]},{"1399646756":["hashtag1","hashtag2"]},{"1399646758":["hashtag1","hashtag2"]},{"1399646752":["hashtag1","hashtag2"]},{"1399646755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646754, 1399646750, 1399646756, 1399646758, 1399646752, 1399646755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.498929023742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:30:41.801372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_10_1625.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_12_1616.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_14_1752.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_15_1576.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_22_7064.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_24_1779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_10_1625.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_12_1616.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_14_1752.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_15_1576.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_22_7064.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_24_1779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646766","1399646769","1399646763","1399646771","1399646768","1399646767"],"photo_ids_order":["1399646763","1399646766","1399646767","1399646768","1399646769","1399646771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c51c6c5ffa7fc0a438b1cb0129e90355.jpg","text":"TemporaryFile(/tmp/multipartBody5765559155972793792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884702534,"filename":"image_06112025_16_22_12_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/16/cf415875c42e1b74cfabc72d550d3382.jpg","text":"TemporaryFile(/tmp/multipartBody2445659615279088245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884702534,"filename":"image_06112025_16_22_22_7064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f1b4ca715aee1573275c7ce6f296f02.jpg","text":"TemporaryFile(/tmp/multipartBody1992997887208508005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884702534,"filename":"image_06112025_16_22_10_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0521b844350b8004d18047e9f1c98cde.jpg","text":"TemporaryFile(/tmp/multipartBody424437888553355549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884702534,"filename":"image_06112025_16_22_24_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34d6fa79ba046a08b157e0784dab52f7.jpg","text":"TemporaryFile(/tmp/multipartBody677550915923978468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884702534,"filename":"image_06112025_16_22_15_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/16/1bf0374671a46ad551d2b07d8e6153aa.jpg","text":"TemporaryFile(/tmp/multipartBody3698388111925884123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884702534,"filename":"image_06112025_16_22_14_1752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646767","file1":"1399646766","file0":"1399646763","file4":"1399646769","file5":"1399646771","file3":"1399646768"},"map_files_photo_id_array":[{"photo_id":"1399646771","filename":"file5"},{"photo_id":"1399646767","filename":"file2"},{"photo_id":"1399646769","filename":"file4"},{"photo_id":"1399646766","filename":"file1"},{"photo_id":"1399646763","filename":"file0"},{"photo_id":"1399646768","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399646766":["hashtag1","hashtag2"]},{"1399646769":["hashtag1","hashtag2"]},{"1399646763":["hashtag1","hashtag2"]},{"1399646771":["hashtag1","hashtag2"]},{"1399646768":["hashtag1","hashtag2"]},{"1399646767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399646766, 1399646769, 1399646763, 1399646771, 1399646768, 1399646767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24335265159607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:31:22.056854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_34_9713.jpg', '/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_44_9924.jpg', '/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_54_9631.jpg', '/home/pi/Desktop/images/16122025/12/20/image_16122025_12_21_05_10682.jpg', '/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_14_9795.jpg', '/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_24_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_34_9713.jpg
/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_44_9924.jpg
/home/pi/Desktop/images/16122025/12/20/image_16122025_12_20_54_9631.jpg
/home/pi/Desktop/images/16122025/12/20/image_16122025_12_21_05_10682.jpg
/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_14_9795.jpg
/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_24_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646800","1399646787","1399646798","1399646774","1399646810","1399646791"],"photo_ids_order":["1399646774","1399646787","1399646791","1399646798","1399646800","1399646810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78a7593168d448949cda0fb82ff3872d.jpg","text":"TemporaryFile(/tmp/multipartBody3108749828198134419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884742690,"filename":"image_16122025_12_21_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca69fb759d13fb490b737dae2dfb3d6c.jpg","text":"TemporaryFile(/tmp/multipartBody1290912123804364079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884742690,"filename":"image_16122025_12_20_44_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a28e7eb7270b71da4af6755f43436f3.jpg","text":"TemporaryFile(/tmp/multipartBody977198338047490344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884742690,"filename":"image_16122025_12_21_05_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f890a593ad2320e3f253ae45d38345fe.jpg","text":"TemporaryFile(/tmp/multipartBody6948874160647239719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884742690,"filename":"image_16122025_12_20_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e7d528cafe43c891d8ef94b7a8e5e92.jpg","text":"TemporaryFile(/tmp/multipartBody1694951449445273849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884742690,"filename":"image_16122025_12_21_24_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a89ee422ef32e14b07ede0d8c628c4dd.jpg","text":"TemporaryFile(/tmp/multipartBody2693822454043110651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884742690,"filename":"image_16122025_12_20_54_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646791","file1":"1399646787","file0":"1399646774","file4":"1399646800","file5":"1399646810","file3":"1399646798"},"map_files_photo_id_array":[{"photo_id":"1399646810","filename":"file5"},{"photo_id":"1399646791","filename":"file2"},{"photo_id":"1399646800","filename":"file4"},{"photo_id":"1399646787","filename":"file1"},{"photo_id":"1399646774","filename":"file0"},{"photo_id":"1399646798","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646800":["hashtag1","hashtag2"]},{"1399646787":["hashtag1","hashtag2"]},{"1399646798":["hashtag1","hashtag2"]},{"1399646774":["hashtag1","hashtag2"]},{"1399646810":["hashtag1","hashtag2"]},{"1399646791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646800, 1399646787, 1399646798, 1399646774, 1399646810, 1399646791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97955513000488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:32:02.732099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_34_9702.jpg', '/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_45_10750.jpg', '/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_55_10050.jpg', '/home/pi/Desktop/images/16122025/12/21/image_16122025_12_22_04_9755.jpg', '/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_14_9569.jpg', '/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_24_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_34_9702.jpg
/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_45_10750.jpg
/home/pi/Desktop/images/16122025/12/21/image_16122025_12_21_55_10050.jpg
/home/pi/Desktop/images/16122025/12/21/image_16122025_12_22_04_9755.jpg
/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_14_9569.jpg
/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_24_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":["1399646829","1399646832","1399646826","1399646828","1399646830","1399646827"],"photo_ids_order":["1399646826","1399646827","1399646828","1399646829","1399646830","1399646832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17b0445505b8ceab19c4203ce33cec9d.jpg","text":"TemporaryFile(/tmp/multipartBody8315613763126464685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884783458,"filename":"image_16122025_12_22_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fae0a544600c23e41c70052dbc288655.jpg","text":"TemporaryFile(/tmp/multipartBody5830081844445504937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884783458,"filename":"image_16122025_12_22_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/16/f3994b6c3c69de3371ee74676ba9aeb9.jpg","text":"TemporaryFile(/tmp/multipartBody7519140517248034677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884783458,"filename":"image_16122025_12_21_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/16/e905a543ca0f177fb0df67d9d0695593.jpg","text":"TemporaryFile(/tmp/multipartBody1158782510875858007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884783458,"filename":"image_16122025_12_21_55_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef75d77c859eddfd54ded8184c160eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5048006187497146041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884783458,"filename":"image_16122025_12_22_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/16/d116213c05d91bed4dec35d613f2a307.jpg","text":"TemporaryFile(/tmp/multipartBody572607450751144756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884783458,"filename":"image_16122025_12_21_45_10750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646828","file1":"1399646827","file0":"1399646826","file4":"1399646830","file5":"1399646832","file3":"1399646829"},"map_files_photo_id_array":[{"photo_id":"1399646832","filename":"file5"},{"photo_id":"1399646828","filename":"file2"},{"photo_id":"1399646830","filename":"file4"},{"photo_id":"1399646827","filename":"file1"},{"photo_id":"1399646826","filename":"file0"},{"photo_id":"1399646829","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646829":["hashtag1","hashtag2"]},{"1399646832":["hashtag1","hashtag2"]},{"1399646826":["hashtag1","hashtag2"]},{"1399646828":["hashtag1","hashtag2"]},{"1399646830":["hashtag1","hashtag2"]},{"1399646827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646829, 1399646832, 1399646826, 1399646828, 1399646830, 1399646827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49905276298523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:32:42.251464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_26_1594.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_30_3891.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_31_1726.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_33_1627.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_35_1560.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_37_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_26_1594.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_30_3891.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_31_1726.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_33_1627.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_35_1560.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_37_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646841","1399646844","1399646838","1399646840","1399646843","1399646842"],"photo_ids_order":["1399646838","1399646840","1399646841","1399646842","1399646843","1399646844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb22a085cbc9fa55788b07cd35d14770.jpg","text":"TemporaryFile(/tmp/multipartBody5095064709442452291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884822974,"filename":"image_06112025_16_22_31_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/16/4449f364cb8caac88268c2b61502b202.jpg","text":"TemporaryFile(/tmp/multipartBody2759761149725025918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884822974,"filename":"image_06112025_16_22_37_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/16/33688f63077c03cc7f1e7df96aad2c50.jpg","text":"TemporaryFile(/tmp/multipartBody5529603360562885821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884822974,"filename":"image_06112025_16_22_26_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/944cd40c28d3c7fd48f80fb5044b6dca.jpg","text":"TemporaryFile(/tmp/multipartBody6476109864593188278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884822974,"filename":"image_06112025_16_22_30_3891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69dc146e8afd892aa4a238c103003c9a.jpg","text":"TemporaryFile(/tmp/multipartBody8747072805300691493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884822974,"filename":"image_06112025_16_22_35_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/16/f384b672b264ef8bd2f7f82dbffa6e82.jpg","text":"TemporaryFile(/tmp/multipartBody3074090370992758493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884822974,"filename":"image_06112025_16_22_33_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646841","file1":"1399646840","file0":"1399646838","file4":"1399646843","file5":"1399646844","file3":"1399646842"},"map_files_photo_id_array":[{"photo_id":"1399646844","filename":"file5"},{"photo_id":"1399646841","filename":"file2"},{"photo_id":"1399646843","filename":"file4"},{"photo_id":"1399646840","filename":"file1"},{"photo_id":"1399646838","filename":"file0"},{"photo_id":"1399646842","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399646841":["hashtag1","hashtag2"]},{"1399646844":["hashtag1","hashtag2"]},{"1399646838":["hashtag1","hashtag2"]},{"1399646840":["hashtag1","hashtag2"]},{"1399646843":["hashtag1","hashtag2"]},{"1399646842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399646841, 1399646844, 1399646838, 1399646840, 1399646843, 1399646842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.191630363464355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:33:22.651157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_34_10550.jpg', '/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_44_9861.jpg', '/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_54_9705.jpg', '/home/pi/Desktop/images/16122025/12/22/image_16122025_12_23_05_10707.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_14_9740.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_24_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_34_10550.jpg
/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_44_9861.jpg
/home/pi/Desktop/images/16122025/12/22/image_16122025_12_22_54_9705.jpg
/home/pi/Desktop/images/16122025/12/22/image_16122025_12_23_05_10707.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_14_9740.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_24_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646865","1399646882","1399646867","1399646890","1399646857","1399646854"],"photo_ids_order":["1399646854","1399646857","1399646865","1399646867","1399646882","1399646890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b5cf424da3bb08e2ade824d2a5f4100.jpg","text":"TemporaryFile(/tmp/multipartBody8236809430026244625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884863335,"filename":"image_16122025_12_22_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/16/107cda39c9e2c458f05edb70fd46ebf0.jpg","text":"TemporaryFile(/tmp/multipartBody955724771743430105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884863335,"filename":"image_16122025_12_23_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f38e4b281bfea8166e972302135a9729.jpg","text":"TemporaryFile(/tmp/multipartBody853271478437243413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884863335,"filename":"image_16122025_12_23_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee557a3ada4f07a98c0190f1e93c5c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1245376155999409540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884863335,"filename":"image_16122025_12_23_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/16/7f7e1041ee55e935b7a8d82e64cac070.jpg","text":"TemporaryFile(/tmp/multipartBody8774899968131631458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884863335,"filename":"image_16122025_12_22_44_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93008564a823c39afb10830bd3ff56f7.jpg","text":"TemporaryFile(/tmp/multipartBody6213189438732139091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884863335,"filename":"image_16122025_12_22_34_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646865","file1":"1399646857","file0":"1399646854","file4":"1399646882","file5":"1399646890","file3":"1399646867"},"map_files_photo_id_array":[{"photo_id":"1399646890","filename":"file5"},{"photo_id":"1399646865","filename":"file2"},{"photo_id":"1399646882","filename":"file4"},{"photo_id":"1399646857","filename":"file1"},{"photo_id":"1399646854","filename":"file0"},{"photo_id":"1399646867","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646865":["hashtag1","hashtag2"]},{"1399646882":["hashtag1","hashtag2"]},{"1399646867":["hashtag1","hashtag2"]},{"1399646890":["hashtag1","hashtag2"]},{"1399646857":["hashtag1","hashtag2"]},{"1399646854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646865, 1399646882, 1399646867, 1399646890, 1399646857, 1399646854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02438545227051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:34:03.419909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_34_10322.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_44_9804.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_54_9834.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_24_04_10174.jpg', '/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_14_9666.jpg', '/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_24_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_34_10322.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_44_9804.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_54_9834.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_24_04_10174.jpg
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_14_9666.jpg
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_24_10588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.655956506729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:34:12.689447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:34:22.731615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_34_10322.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_44_9804.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_54_9834.jpg', '/home/pi/Desktop/images/16122025/12/23/image_16122025_12_24_04_10174.jpg', '/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_14_9666.jpg', '/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_24_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_34_10322.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_44_9804.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_23_54_9834.jpg
/home/pi/Desktop/images/16122025/12/23/image_16122025_12_24_04_10174.jpg
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_14_9666.jpg
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_24_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399646898","1399646970","1399647006","1399647086","1399646933","1399647043"],"photo_ids_order":["1399646898","1399646933","1399646970","1399647006","1399647043","1399647086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f420ec62b26cfae787d81e016fa7f37b.jpg","text":"TemporaryFile(/tmp/multipartBody5642811604122076732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884923391,"filename":"image_16122025_12_23_34_10322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1d93cec66c34cbe7efd42299611e1be.jpg","text":"TemporaryFile(/tmp/multipartBody1784138967493132368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884923391,"filename":"image_16122025_12_23_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/16/c8fefcc0a16e400f753094a7253f1481.jpg","text":"TemporaryFile(/tmp/multipartBody2343053150029360225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884923391,"filename":"image_16122025_12_24_04_10174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bd72334cf2ef32d16f5275c2dfc7550.jpg","text":"TemporaryFile(/tmp/multipartBody3491219076995210668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884923391,"filename":"image_16122025_12_24_24_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/829bfdefa10b719fc3ebde068a1cd916.jpg","text":"TemporaryFile(/tmp/multipartBody4406147926319862041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884923391,"filename":"image_16122025_12_23_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f86dd4bc6ec97164a84a1c079cca4c4.jpg","text":"TemporaryFile(/tmp/multipartBody784096724802914196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884923391,"filename":"image_16122025_12_24_14_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399646970","file1":"1399646933","file0":"1399646898","file4":"1399647043","file5":"1399647086","file3":"1399647006"},"map_files_photo_id_array":[{"photo_id":"1399647086","filename":"file5"},{"photo_id":"1399646970","filename":"file2"},{"photo_id":"1399647043","filename":"file4"},{"photo_id":"1399646933","filename":"file1"},{"photo_id":"1399646898","filename":"file0"},{"photo_id":"1399647006","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399646898":["hashtag1","hashtag2"]},{"1399646970":["hashtag1","hashtag2"]},{"1399647006":["hashtag1","hashtag2"]},{"1399647086":["hashtag1","hashtag2"]},{"1399646933":["hashtag1","hashtag2"]},{"1399647043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399646898, 1399646970, 1399647006, 1399647086, 1399646933, 1399647043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.248136043548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:35:02.688563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_35_10158.jpg', '/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_44_9719.jpg', '/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_54_9679.jpg', '/home/pi/Desktop/images/16122025/12/24/image_16122025_12_25_04_9691.jpg', '/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_24_9730.jpg', '/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_34_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_35_10158.jpg
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_44_9719.jpg
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_24_54_9679.jpg
/home/pi/Desktop/images/16122025/12/24/image_16122025_12_25_04_9691.jpg
/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_24_9730.jpg
/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399647171","1399647120","1399647179","1399647119","1399647196","1399647136"],"photo_ids_order":["1399647119","1399647120","1399647136","1399647171","1399647179","1399647196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c45a3b8be3283c3b9732f206c01b6edd.jpg","text":"TemporaryFile(/tmp/multipartBody5866838161734862942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884963429,"filename":"image_16122025_12_25_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/16/724abe10384668d6155c2048232e8d26.jpg","text":"TemporaryFile(/tmp/multipartBody3510433894058105645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884963429,"filename":"image_16122025_12_24_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/16/e1a3ab743fcd9a9d1f6e7d036575b034.jpg","text":"TemporaryFile(/tmp/multipartBody3985388790212003706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884963429,"filename":"image_16122025_12_25_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/291d7ec8da25935a7afb11d8c542e890.jpg","text":"TemporaryFile(/tmp/multipartBody3918037577652103176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884963429,"filename":"image_16122025_12_24_35_10158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5054422d009430c845f71972c3b21d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3518796593759285862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884963429,"filename":"image_16122025_12_25_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/16/a0ec63ee0ec7cc7f7262c9f8740ae375.jpg","text":"TemporaryFile(/tmp/multipartBody1389198170601545526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765884963429,"filename":"image_16122025_12_24_54_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647136","file1":"1399647120","file0":"1399647119","file4":"1399647179","file5":"1399647196","file3":"1399647171"},"map_files_photo_id_array":[{"photo_id":"1399647196","filename":"file5"},{"photo_id":"1399647136","filename":"file2"},{"photo_id":"1399647179","filename":"file4"},{"photo_id":"1399647120","filename":"file1"},{"photo_id":"1399647119","filename":"file0"},{"photo_id":"1399647171","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399647171":["hashtag1","hashtag2"]},{"1399647120":["hashtag1","hashtag2"]},{"1399647179":["hashtag1","hashtag2"]},{"1399647119":["hashtag1","hashtag2"]},{"1399647196":["hashtag1","hashtag2"]},{"1399647136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399647171, 1399647120, 1399647179, 1399647119, 1399647196, 1399647136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61954998970032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:35:41.905408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_39_1629.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_40_1649.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_43_2880.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_47_3642.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_49_2556.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_52_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_39_1629.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_40_1649.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_43_2880.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_47_3642.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_49_2556.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_52_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399647234","1399647236","1399647230","1399647233","1399647235","1399647238"],"photo_ids_order":["1399647230","1399647233","1399647234","1399647235","1399647236","1399647238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/633297de0a73df9806c4cd9a375af87d.jpg","text":"TemporaryFile(/tmp/multipartBody8650023264830600875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885002665,"filename":"image_06112025_16_22_43_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/16/a55da93ef4d52d9646fa069aeed36c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5977162627007567771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885002665,"filename":"image_06112025_16_22_49_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/16/273cc66e53e581c3aa933d06571f50dc.jpg","text":"TemporaryFile(/tmp/multipartBody3139725689554574925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885002665,"filename":"image_06112025_16_22_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/16/ed5a9ef281392742763648d83ebb2d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1692828763039503922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885002665,"filename":"image_06112025_16_22_40_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f23e5936fc2cff7f44e722b0d48dfdd5.jpg","text":"TemporaryFile(/tmp/multipartBody71063391261305585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885002665,"filename":"image_06112025_16_22_47_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/16/f1b95a2fce7e6cd75307e184036f32d7.jpg","text":"TemporaryFile(/tmp/multipartBody3975749643162491707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885002665,"filename":"image_06112025_16_22_52_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647234","file1":"1399647233","file0":"1399647230","file4":"1399647236","file5":"1399647238","file3":"1399647235"},"map_files_photo_id_array":[{"photo_id":"1399647238","filename":"file5"},{"photo_id":"1399647234","filename":"file2"},{"photo_id":"1399647236","filename":"file4"},{"photo_id":"1399647233","filename":"file1"},{"photo_id":"1399647230","filename":"file0"},{"photo_id":"1399647235","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399647234":["hashtag1","hashtag2"]},{"1399647236":["hashtag1","hashtag2"]},{"1399647230":["hashtag1","hashtag2"]},{"1399647233":["hashtag1","hashtag2"]},{"1399647235":["hashtag1","hashtag2"]},{"1399647238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399647234, 1399647236, 1399647230, 1399647233, 1399647235, 1399647238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3027663230896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:36:22.148055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_45_10773.jpg', '/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_54_9675.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_15_10746.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_24_9609.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_34_9860.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_45_10773.jpg
/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_54_9675.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_15_10746.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_24_9609.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_34_9860.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_44_9743.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5828137397766113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:36:32.137075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:36:42.153665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_56_3743.jpg', '/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_58_2535.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_02_3595.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_05_2766.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_08_2818.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_16_8418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_56_3743.jpg
/home/pi/Desktop/images/06112025/16/22/image_06112025_16_22_58_2535.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_02_3595.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_05_2766.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_08_2818.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_16_8418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399647258","1399647273","1399647266","1399647254","1399647257","1399647259"],"photo_ids_order":["1399647254","1399647257","1399647258","1399647259","1399647266","1399647273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3ed986a9e61fc580df820d178aeeda4.jpg","text":"TemporaryFile(/tmp/multipartBody7948163883993569044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885062916,"filename":"image_06112025_16_23_02_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1e336f5714f5ca2eb048894d7d9ab470.jpg","text":"TemporaryFile(/tmp/multipartBody8837291974568660965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885062916,"filename":"image_06112025_16_23_16_8418.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e328376d7c0f7aba4cfbf5f3bc6fd0ec.jpg","text":"TemporaryFile(/tmp/multipartBody3521720920929123191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885062916,"filename":"image_06112025_16_23_08_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/16/d9cbec8b6f5ccaede9e767d346d4aedc.jpg","text":"TemporaryFile(/tmp/multipartBody905107267814268775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885062916,"filename":"image_06112025_16_22_56_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/16/bc6631d8aa667f5589d24f8ed0673f84.jpg","text":"TemporaryFile(/tmp/multipartBody3383267756871187772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885062916,"filename":"image_06112025_16_22_58_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd5297702708c2d82c5e93837239c21e.jpg","text":"TemporaryFile(/tmp/multipartBody8647685056613802675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885062916,"filename":"image_06112025_16_23_05_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647258","file1":"1399647257","file0":"1399647254","file4":"1399647266","file5":"1399647273","file3":"1399647259"},"map_files_photo_id_array":[{"photo_id":"1399647273","filename":"file5"},{"photo_id":"1399647258","filename":"file2"},{"photo_id":"1399647266","filename":"file4"},{"photo_id":"1399647257","filename":"file1"},{"photo_id":"1399647254","filename":"file0"},{"photo_id":"1399647259","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399647258":["hashtag1","hashtag2"]},{"1399647273":["hashtag1","hashtag2"]},{"1399647266":["hashtag1","hashtag2"]},{"1399647254":["hashtag1","hashtag2"]},{"1399647257":["hashtag1","hashtag2"]},{"1399647259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399647258, 1399647273, 1399647266, 1399647254, 1399647257, 1399647259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47986459732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:37:25.282314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_45_10773.jpg', '/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_54_9675.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_15_10746.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_24_9609.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_34_9860.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_45_10773.jpg
/home/pi/Desktop/images/16122025/12/25/image_16122025_12_25_54_9675.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_15_10746.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_24_9609.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_34_9860.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_44_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399647432","1399647443","1399647410","1399647481","1399647466","1399647406"],"photo_ids_order":["1399647406","1399647410","1399647432","1399647443","1399647466","1399647481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af42d0e8a93dd27277650999c118390c.jpg","text":"TemporaryFile(/tmp/multipartBody9137956866233155322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885105920,"filename":"image_16122025_12_26_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a5ad0012ebd9343cc4499dd76f71279.jpg","text":"TemporaryFile(/tmp/multipartBody992308488781987903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885105920,"filename":"image_16122025_12_26_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/16/2f61465a4261575d3cbf4eaf57accaec.jpg","text":"TemporaryFile(/tmp/multipartBody7148092165201903596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885105920,"filename":"image_16122025_12_25_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79c7c1b0b9a5ddf8fdf33f2f1e9eb331.jpg","text":"TemporaryFile(/tmp/multipartBody2118748159730121388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885105920,"filename":"image_16122025_12_26_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/16/1ecf60ccfe105129ecadccd82e988624.jpg","text":"TemporaryFile(/tmp/multipartBody7279747976430485407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885105920,"filename":"image_16122025_12_26_34_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e282fe87c40f584fcedc468d1f1751f.jpg","text":"TemporaryFile(/tmp/multipartBody8752276910006697545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885105920,"filename":"image_16122025_12_25_45_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647432","file1":"1399647410","file0":"1399647406","file4":"1399647466","file5":"1399647481","file3":"1399647443"},"map_files_photo_id_array":[{"photo_id":"1399647481","filename":"file5"},{"photo_id":"1399647432","filename":"file2"},{"photo_id":"1399647466","filename":"file4"},{"photo_id":"1399647410","filename":"file1"},{"photo_id":"1399647406","filename":"file0"},{"photo_id":"1399647443","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399647432":["hashtag1","hashtag2"]},{"1399647443":["hashtag1","hashtag2"]},{"1399647410":["hashtag1","hashtag2"]},{"1399647481":["hashtag1","hashtag2"]},{"1399647466":["hashtag1","hashtag2"]},{"1399647406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399647432, 1399647443, 1399647410, 1399647481, 1399647466, 1399647406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57742190361023 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-16 12:38:12.525622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:38:22.538783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_54_9986.jpg', '/home/pi/Desktop/images/16122025/12/26/image_16122025_12_27_04_10603.jpg', '/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_14_9683.jpg', '/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_24_9685.jpg', '/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_34_10613.jpg', '/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_26_54_9986.jpg
/home/pi/Desktop/images/16122025/12/26/image_16122025_12_27_04_10603.jpg
/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_14_9683.jpg
/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_24_9685.jpg
/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_34_10613.jpg
/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_44_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":["1399647600","1399647743","1399647746","1399647701","1399647748","1399647672"],"photo_ids_order":["1399647600","1399647672","1399647701","1399647743","1399647746","1399647748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f67bd2ece5963a6033b83a50f31adad.jpg","text":"TemporaryFile(/tmp/multipartBody6370564452931424666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885163229,"filename":"image_16122025_12_26_54_9986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e061de80856f7a13ce8912a70418f247.jpg","text":"TemporaryFile(/tmp/multipartBody5827745968680044159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885163229,"filename":"image_16122025_12_27_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8c89bc1f400799c771f78ef72a09a5e.jpg","text":"TemporaryFile(/tmp/multipartBody682843620190958433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885163229,"filename":"image_16122025_12_27_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53cf7f1e6afd852267e73ec66bdadf6c.jpg","text":"TemporaryFile(/tmp/multipartBody8441436854164011059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885163229,"filename":"image_16122025_12_27_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/16/0d5daba711d6ea0e87ed73edd19d1744.jpg","text":"TemporaryFile(/tmp/multipartBody8030868263774657987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885163229,"filename":"image_16122025_12_27_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62c49ce64bd5c3e60288da6ad6951a50.jpg","text":"TemporaryFile(/tmp/multipartBody1212855198335364397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885163229,"filename":"image_16122025_12_27_04_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647701","file1":"1399647672","file0":"1399647600","file4":"1399647746","file5":"1399647748","file3":"1399647743"},"map_files_photo_id_array":[{"photo_id":"1399647748","filename":"file5"},{"photo_id":"1399647701","filename":"file2"},{"photo_id":"1399647746","filename":"file4"},{"photo_id":"1399647672","filename":"file1"},{"photo_id":"1399647600","filename":"file0"},{"photo_id":"1399647743","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399647600":["hashtag1","hashtag2"]},{"1399647743":["hashtag1","hashtag2"]},{"1399647746":["hashtag1","hashtag2"]},{"1399647701":["hashtag1","hashtag2"]},{"1399647748":["hashtag1","hashtag2"]},{"1399647672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399647600, 1399647743, 1399647746, 1399647701, 1399647748, 1399647672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.33200478553772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:39:22.841731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_54_9676.jpg', '/home/pi/Desktop/images/16122025/12/27/image_16122025_12_28_05_10846.jpg', '/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_14_9727.jpg', '/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_34_9933.jpg', '/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_45_10748.jpg', '/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_54_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/27/image_16122025_12_27_54_9676.jpg
/home/pi/Desktop/images/16122025/12/27/image_16122025_12_28_05_10846.jpg
/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_14_9727.jpg
/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_34_9933.jpg
/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_45_10748.jpg
/home/pi/Desktop/images/16122025/12/28/image_16122025_12_28_54_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399647791","1399647806","1399647800","1399647803","1399647793","1399647795"],"photo_ids_order":["1399647791","1399647793","1399647795","1399647800","1399647803","1399647806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21d42021f0e119fc22bfdc48894ef03e.jpg","text":"TemporaryFile(/tmp/multipartBody7505115950236672997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885223488,"filename":"image_16122025_12_27_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c4f9250a7427e992ebcef26a0a1e836.jpg","text":"TemporaryFile(/tmp/multipartBody661698784828508751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885223488,"filename":"image_16122025_12_28_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/16/2a24b00e0fa6905937398d28bbf79cef.jpg","text":"TemporaryFile(/tmp/multipartBody5794829291137521643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885223488,"filename":"image_16122025_12_28_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/16/9a29dd5dc0a0cd95679695d43883972a.jpg","text":"TemporaryFile(/tmp/multipartBody6683185380434556677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885223488,"filename":"image_16122025_12_28_45_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d57f147696a274012ba86a6cb96ecd4c.jpg","text":"TemporaryFile(/tmp/multipartBody7377211999501981426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885223488,"filename":"image_16122025_12_28_05_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1df7d4883e0dba7093df28e4de7310f1.jpg","text":"TemporaryFile(/tmp/multipartBody2417398638890071287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885223488,"filename":"image_16122025_12_28_14_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647795","file1":"1399647793","file0":"1399647791","file4":"1399647803","file5":"1399647806","file3":"1399647800"},"map_files_photo_id_array":[{"photo_id":"1399647806","filename":"file5"},{"photo_id":"1399647795","filename":"file2"},{"photo_id":"1399647803","filename":"file4"},{"photo_id":"1399647793","filename":"file1"},{"photo_id":"1399647791","filename":"file0"},{"photo_id":"1399647800","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399647791":["hashtag1","hashtag2"]},{"1399647806":["hashtag1","hashtag2"]},{"1399647800":["hashtag1","hashtag2"]},{"1399647803":["hashtag1","hashtag2"]},{"1399647793":["hashtag1","hashtag2"]},{"1399647795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399647791, 1399647806, 1399647800, 1399647803, 1399647793, 1399647795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64792060852051 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-16 12:40:11.960214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:40:21.980026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/28/image_16122025_12_29_04_9850.jpg', '/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_14_9706.jpg', '/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_24_9771.jpg', '/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_34_10696.jpg', '/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_44_9855.jpg', '/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_54_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/28/image_16122025_12_29_04_9850.jpg
/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_14_9706.jpg
/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_24_9771.jpg
/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_34_10696.jpg
/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_44_9855.jpg
/home/pi/Desktop/images/16122025/12/29/image_16122025_12_29_54_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":["1399647840","1399647816","1399647842","1399647836","1399647845","1399647838"],"photo_ids_order":["1399647816","1399647836","1399647838","1399647840","1399647842","1399647845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2052845353c18d4859658394b7975947.jpg","text":"TemporaryFile(/tmp/multipartBody1230994172375816141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885282625,"filename":"image_16122025_12_29_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/16/a8ed3b3fad48dd29694732202234358d.jpg","text":"TemporaryFile(/tmp/multipartBody1818567362079436683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885282625,"filename":"image_16122025_12_29_04_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb1297ed981c88c756d2aba93fd91d01.jpg","text":"TemporaryFile(/tmp/multipartBody3130017357712481465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885282625,"filename":"image_16122025_12_29_44_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84ccbca36e0d4b2d23b738fe32de5a4e.jpg","text":"TemporaryFile(/tmp/multipartBody5276690716249233185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885282625,"filename":"image_16122025_12_29_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/16/8d7faef0015e6831c5c369295500473b.jpg","text":"TemporaryFile(/tmp/multipartBody3210208243816650981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885282625,"filename":"image_16122025_12_29_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16ad880fb3cbec907cac4b0a52aa1497.jpg","text":"TemporaryFile(/tmp/multipartBody4427993043825442800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885282625,"filename":"image_16122025_12_29_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647838","file1":"1399647836","file0":"1399647816","file4":"1399647842","file5":"1399647845","file3":"1399647840"},"map_files_photo_id_array":[{"photo_id":"1399647845","filename":"file5"},{"photo_id":"1399647838","filename":"file2"},{"photo_id":"1399647842","filename":"file4"},{"photo_id":"1399647836","filename":"file1"},{"photo_id":"1399647816","filename":"file0"},{"photo_id":"1399647840","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399647840":["hashtag1","hashtag2"]},{"1399647816":["hashtag1","hashtag2"]},{"1399647842":["hashtag1","hashtag2"]},{"1399647836":["hashtag1","hashtag2"]},{"1399647845":["hashtag1","hashtag2"]},{"1399647838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399647840, 1399647816, 1399647842, 1399647836, 1399647845, 1399647838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00833225250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:41:02.964684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/30/image_16122025_12_30_25_10721.jpg', '/home/pi/Desktop/images/16122025/12/30/image_16122025_12_30_45_9683.jpg', '/home/pi/Desktop/images/16122025/12/30/image_16122025_12_30_55_10786.jpg', '/home/pi/Desktop/images/16122025/12/30/image_16122025_12_31_05_9690.jpg', '/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_15_9613.jpg', '/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_25_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/30/image_16122025_12_30_25_10721.jpg
/home/pi/Desktop/images/16122025/12/30/image_16122025_12_30_45_9683.jpg
/home/pi/Desktop/images/16122025/12/30/image_16122025_12_30_55_10786.jpg
/home/pi/Desktop/images/16122025/12/30/image_16122025_12_31_05_9690.jpg
/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_15_9613.jpg
/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_25_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399647852","1399647855","1399647849","1399647851","1399647853","1399647850"],"photo_ids_order":["1399647849","1399647850","1399647851","1399647852","1399647853","1399647855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/110b294bff25383ecc533a0889a0f7d3.jpg","text":"TemporaryFile(/tmp/multipartBody2685953890137874844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885323734,"filename":"image_16122025_12_31_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06401a8b279903492ee131c2b891dbd5.jpg","text":"TemporaryFile(/tmp/multipartBody5681671558488995779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885323734,"filename":"image_16122025_12_31_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/16/617afaa498c0538d1e567b2c4a2730f8.jpg","text":"TemporaryFile(/tmp/multipartBody5825277144365127803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885323734,"filename":"image_16122025_12_30_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8175f5d16f1d86735b3e681305f5a55a.jpg","text":"TemporaryFile(/tmp/multipartBody1621900898987835871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885323734,"filename":"image_16122025_12_30_55_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b5068858b663e2146473ab00a3e51415.jpg","text":"TemporaryFile(/tmp/multipartBody8313346509352399616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885323734,"filename":"image_16122025_12_31_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/16/ec36af67259546bbb9e7166f0b9ba512.jpg","text":"TemporaryFile(/tmp/multipartBody8944324649850576758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885323734,"filename":"image_16122025_12_30_45_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399647851","file1":"1399647850","file0":"1399647849","file4":"1399647853","file5":"1399647855","file3":"1399647852"},"map_files_photo_id_array":[{"photo_id":"1399647855","filename":"file5"},{"photo_id":"1399647851","filename":"file2"},{"photo_id":"1399647853","filename":"file4"},{"photo_id":"1399647850","filename":"file1"},{"photo_id":"1399647849","filename":"file0"},{"photo_id":"1399647852","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399647852":["hashtag1","hashtag2"]},{"1399647855":["hashtag1","hashtag2"]},{"1399647849":["hashtag1","hashtag2"]},{"1399647851":["hashtag1","hashtag2"]},{"1399647853":["hashtag1","hashtag2"]},{"1399647850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399647852, 1399647855, 1399647849, 1399647851, 1399647853, 1399647850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.435131311416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:41:42.260633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_25_9037.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_27_1654.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_28_1541.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_30_1592.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_32_1729.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_33_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_25_9037.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_27_1654.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_28_1541.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_30_1592.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_32_1729.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_33_1651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5959031581878662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:42:02.947127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_35_9837.jpg', '/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_45_9640.jpg', '/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_55_9677.jpg', '/home/pi/Desktop/images/16122025/12/31/image_16122025_12_32_05_10752.jpg', '/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_15_9830.jpg', '/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_25_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_35_9837.jpg
/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_45_9640.jpg
/home/pi/Desktop/images/16122025/12/31/image_16122025_12_31_55_9677.jpg
/home/pi/Desktop/images/16122025/12/31/image_16122025_12_32_05_10752.jpg
/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_15_9830.jpg
/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_25_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399647966","1399648031","1399648100","1399648066","1399648000","1399648137"],"photo_ids_order":["1399647966","1399648000","1399648031","1399648066","1399648100","1399648137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c43b867d186b6b38442cab80a4126081.jpg","text":"TemporaryFile(/tmp/multipartBody336755861876788385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885383644,"filename":"image_16122025_12_31_35_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90d1686a4aaf3c297d4126572e359a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3664636909807599694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885383644,"filename":"image_16122025_12_31_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/16/62640360c497d2931ca3a8f176e29545.jpg","text":"TemporaryFile(/tmp/multipartBody3751433347502457940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885383644,"filename":"image_16122025_12_32_15_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcbd12c368769338123c68f6c17f1640.jpg","text":"TemporaryFile(/tmp/multipartBody3809014503580387530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885383644,"filename":"image_16122025_12_32_05_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a71ed4ad676f7fc1beeeab651a197c27.jpg","text":"TemporaryFile(/tmp/multipartBody6421080568764650574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885383644,"filename":"image_16122025_12_31_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e43615bf23db9a59a53b3aa093834b0d.jpg","text":"TemporaryFile(/tmp/multipartBody2318042816974472865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885383644,"filename":"image_16122025_12_32_25_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399648031","file1":"1399648000","file0":"1399647966","file4":"1399648100","file5":"1399648137","file3":"1399648066"},"map_files_photo_id_array":[{"photo_id":"1399648137","filename":"file5"},{"photo_id":"1399648031","filename":"file2"},{"photo_id":"1399648100","filename":"file4"},{"photo_id":"1399648000","filename":"file1"},{"photo_id":"1399647966","filename":"file0"},{"photo_id":"1399648066","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399647966":["hashtag1","hashtag2"]},{"1399648031":["hashtag1","hashtag2"]},{"1399648100":["hashtag1","hashtag2"]},{"1399648066":["hashtag1","hashtag2"]},{"1399648000":["hashtag1","hashtag2"]},{"1399648137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399647966, 1399648031, 1399648100, 1399648066, 1399648000, 1399648137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.622881174087524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:42:42.528135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_25_9037.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_27_1654.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_28_1541.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_30_1592.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_32_1729.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_33_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_25_9037.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_27_1654.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_28_1541.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_30_1592.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_32_1729.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_33_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":["1399648349","1399648424","1399648384","1399648459","1399648315","1399648278"],"photo_ids_order":["1399648278","1399648315","1399648349","1399648384","1399648424","1399648459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c1facaac43cd09ae345a283cba9d955.jpg","text":"TemporaryFile(/tmp/multipartBody4531495774026789105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885423120,"filename":"image_06112025_16_23_28_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/16/94d6f4a0379633860c1e55ba4ffde5bf.jpg","text":"TemporaryFile(/tmp/multipartBody3843665169844624448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885423120,"filename":"image_06112025_16_23_32_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39ddb3603a3a78510af71ace84487242.jpg","text":"TemporaryFile(/tmp/multipartBody129913206687271937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885423120,"filename":"image_06112025_16_23_30_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3324bdf7d034956669303ff390ee9bf7.jpg","text":"TemporaryFile(/tmp/multipartBody9088253599589571058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885423120,"filename":"image_06112025_16_23_33_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/118f841addd9e7c8a414a34ad2d02328.jpg","text":"TemporaryFile(/tmp/multipartBody3114062553960200371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885423120,"filename":"image_06112025_16_23_27_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/16/e688d0d69cf87ba508589cb440e3ea0b.jpg","text":"TemporaryFile(/tmp/multipartBody2448325448500832705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885423120,"filename":"image_06112025_16_23_25_9037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399648349","file1":"1399648315","file0":"1399648278","file4":"1399648424","file5":"1399648459","file3":"1399648384"},"map_files_photo_id_array":[{"photo_id":"1399648459","filename":"file5"},{"photo_id":"1399648349","filename":"file2"},{"photo_id":"1399648424","filename":"file4"},{"photo_id":"1399648315","filename":"file1"},{"photo_id":"1399648278","filename":"file0"},{"photo_id":"1399648384","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399648349":["hashtag1","hashtag2"]},{"1399648424":["hashtag1","hashtag2"]},{"1399648384":["hashtag1","hashtag2"]},{"1399648459":["hashtag1","hashtag2"]},{"1399648315":["hashtag1","hashtag2"]},{"1399648278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399648349, 1399648424, 1399648384, 1399648459, 1399648315, 1399648278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32779335975647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:43:22.755840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_35_10656.jpg', '/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_45_9802.jpg', '/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_55_9766.jpg', '/home/pi/Desktop/images/16122025/12/32/image_16122025_12_33_05_9780.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_15_9867.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_25_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_35_10656.jpg
/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_45_9802.jpg
/home/pi/Desktop/images/16122025/12/32/image_16122025_12_32_55_9766.jpg
/home/pi/Desktop/images/16122025/12/32/image_16122025_12_33_05_9780.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_15_9867.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_25_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399648672","1399648594","1399648744","1399648708","1399648785","1399648632"],"photo_ids_order":["1399648594","1399648632","1399648672","1399648708","1399648744","1399648785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5efd6dbf188aab8d8b9e4ecd42ff92ff.jpg","text":"TemporaryFile(/tmp/multipartBody2324421416370264553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885463454,"filename":"image_16122025_12_32_55_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/16/cf4ffce96714f4caabebdc5bda594363.jpg","text":"TemporaryFile(/tmp/multipartBody5726846169029248511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885463454,"filename":"image_16122025_12_32_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef41207d7750572c140a2c0941160132.jpg","text":"TemporaryFile(/tmp/multipartBody9029124969444655509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885463454,"filename":"image_16122025_12_33_15_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/16/77c7330b46e5ef6d7eefb74970a85feb.jpg","text":"TemporaryFile(/tmp/multipartBody7598461308478628737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885463454,"filename":"image_16122025_12_33_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/16/1448bb396fb5cfaa2afd009d1c9ca8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3326956140704055194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885463454,"filename":"image_16122025_12_33_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/16/2686168b6d2fd9cc22c6f0d74ba8f907.jpg","text":"TemporaryFile(/tmp/multipartBody2768212540387460707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885463454,"filename":"image_16122025_12_32_45_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399648672","file1":"1399648632","file0":"1399648594","file4":"1399648744","file5":"1399648785","file3":"1399648708"},"map_files_photo_id_array":[{"photo_id":"1399648785","filename":"file5"},{"photo_id":"1399648672","filename":"file2"},{"photo_id":"1399648744","filename":"file4"},{"photo_id":"1399648632","filename":"file1"},{"photo_id":"1399648594","filename":"file0"},{"photo_id":"1399648708","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399648672":["hashtag1","hashtag2"]},{"1399648594":["hashtag1","hashtag2"]},{"1399648744":["hashtag1","hashtag2"]},{"1399648708":["hashtag1","hashtag2"]},{"1399648785":["hashtag1","hashtag2"]},{"1399648632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399648672, 1399648594, 1399648744, 1399648708, 1399648785, 1399648632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70648431777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:44:02.688064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_35_9732.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_45_9660.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_55_9823.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_34_05_10627.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_15_9706.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_25_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_35_9732.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_45_9660.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_55_9823.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_34_05_10627.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_15_9706.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_25_9840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6123135089874268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:44:12.122192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:44:22.060645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_35_9732.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_45_9660.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_55_9823.jpg', '/home/pi/Desktop/images/16122025/12/33/image_16122025_12_34_05_10627.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_15_9706.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_25_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_35_9732.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_45_9660.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_33_55_9823.jpg
/home/pi/Desktop/images/16122025/12/33/image_16122025_12_34_05_10627.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_15_9706.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_25_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399648934","1399648958","1399648937","1399648948","1399648953","1399648950"],"photo_ids_order":["1399648934","1399648937","1399648948","1399648950","1399648953","1399648958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cd842b1317b0c1a1374341a4fc80b54.jpg","text":"TemporaryFile(/tmp/multipartBody3211936694464849731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885522758,"filename":"image_16122025_12_33_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/16/0b7f4e4fcd6ad96c988c3b4eef62aeb7.jpg","text":"TemporaryFile(/tmp/multipartBody5903132917617635320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885522758,"filename":"image_16122025_12_34_25_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/629b1f4528d9228d48b358204c2e381a.jpg","text":"TemporaryFile(/tmp/multipartBody5965347772219765002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885522758,"filename":"image_16122025_12_33_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/730f07e4d627695a9e0b3107fe65d1fe.jpg","text":"TemporaryFile(/tmp/multipartBody1790860282844928222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885522758,"filename":"image_16122025_12_33_55_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/16/b327f9c501c7d39c05cb5dcfd4e93787.jpg","text":"TemporaryFile(/tmp/multipartBody8512909445185051930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885522758,"filename":"image_16122025_12_34_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b5d64fdbe051ca0a5a7757c5201481e6.jpg","text":"TemporaryFile(/tmp/multipartBody4300430592840290458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885522758,"filename":"image_16122025_12_34_05_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399648948","file1":"1399648937","file0":"1399648934","file4":"1399648953","file5":"1399648958","file3":"1399648950"},"map_files_photo_id_array":[{"photo_id":"1399648958","filename":"file5"},{"photo_id":"1399648948","filename":"file2"},{"photo_id":"1399648953","filename":"file4"},{"photo_id":"1399648937","filename":"file1"},{"photo_id":"1399648934","filename":"file0"},{"photo_id":"1399648950","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399648934":["hashtag1","hashtag2"]},{"1399648958":["hashtag1","hashtag2"]},{"1399648937":["hashtag1","hashtag2"]},{"1399648948":["hashtag1","hashtag2"]},{"1399648953":["hashtag1","hashtag2"]},{"1399648950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399648934, 1399648958, 1399648937, 1399648948, 1399648953, 1399648950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87356877326965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:45:02.879840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_35_9663.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_55_9713.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_35_05_9799.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_15_10720.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_25_9654.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_35_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_35_9663.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_55_9713.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_35_05_9799.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_15_10720.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_25_9654.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_35_9565.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.644749641418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:45:12.337606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:45:22.322556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_35_9663.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_55_9713.jpg', '/home/pi/Desktop/images/16122025/12/34/image_16122025_12_35_05_9799.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_15_10720.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_25_9654.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_35_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_35_9663.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_34_55_9713.jpg
/home/pi/Desktop/images/16122025/12/34/image_16122025_12_35_05_9799.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_15_10720.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_25_9654.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_35_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":["1399649201","1399649204","1399649194","1399649196","1399649193","1399649198"],"photo_ids_order":["1399649193","1399649194","1399649196","1399649198","1399649201","1399649204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb494b69c7e1b05a605940fa1c049d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7609864492508890087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885582972,"filename":"image_16122025_12_35_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f1c236fffdf45af3cf04c5988633cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4591228655914765447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885582972,"filename":"image_16122025_12_35_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/16/4780068eb231520267c7301966ba6e26.jpg","text":"TemporaryFile(/tmp/multipartBody4884723964963098780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885582972,"filename":"image_16122025_12_34_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/16/ae04d95d7a0eeff88b985045cc30fbfe.jpg","text":"TemporaryFile(/tmp/multipartBody1058698999770960490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885582972,"filename":"image_16122025_12_35_05_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02aa1665b11cc24c7ed0a5addac088fb.jpg","text":"TemporaryFile(/tmp/multipartBody6420058672181990041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885582972,"filename":"image_16122025_12_34_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/16/d7d0b81e756d79fc653484b5aacf1968.jpg","text":"TemporaryFile(/tmp/multipartBody2794260746758534086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885582972,"filename":"image_16122025_12_35_15_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399649196","file1":"1399649194","file0":"1399649193","file4":"1399649201","file5":"1399649204","file3":"1399649198"},"map_files_photo_id_array":[{"photo_id":"1399649204","filename":"file5"},{"photo_id":"1399649196","filename":"file2"},{"photo_id":"1399649201","filename":"file4"},{"photo_id":"1399649194","filename":"file1"},{"photo_id":"1399649193","filename":"file0"},{"photo_id":"1399649198","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399649201":["hashtag1","hashtag2"]},{"1399649204":["hashtag1","hashtag2"]},{"1399649194":["hashtag1","hashtag2"]},{"1399649196":["hashtag1","hashtag2"]},{"1399649193":["hashtag1","hashtag2"]},{"1399649198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399649201, 1399649204, 1399649194, 1399649196, 1399649193, 1399649198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1119921207428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:46:02.977293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_45_10791.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_55_9909.jpg', '/home/pi/Desktop/images/16122025/12/35/image_16122025_12_36_05_9718.jpg', '/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_15_9673.jpg', '/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_25_10714.jpg', '/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_35_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_45_10791.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_35_55_9909.jpg
/home/pi/Desktop/images/16122025/12/35/image_16122025_12_36_05_9718.jpg
/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_15_9673.jpg
/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_25_10714.jpg
/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_35_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399649378","1399649386","1399649377","1399649451","1399649310","1399649381"],"photo_ids_order":["1399649310","1399649377","1399649378","1399649381","1399649386","1399649451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c170b24401a743980b414ee104cf5aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4629448500117888983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885623657,"filename":"image_16122025_12_36_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ebe49791ae5d22bc186be0cdb0db1b4.jpg","text":"TemporaryFile(/tmp/multipartBody2440628627531899407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885623657,"filename":"image_16122025_12_36_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b7fc44bc356829effd1d8618c4af604.jpg","text":"TemporaryFile(/tmp/multipartBody774625412062308352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885623657,"filename":"image_16122025_12_35_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/16/6491d592a242ab6397041acd3482fa72.jpg","text":"TemporaryFile(/tmp/multipartBody2802784796823265176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885623657,"filename":"image_16122025_12_36_35_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a98def5c29e0004f87ba119e5824d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2916810545271399046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885623657,"filename":"image_16122025_12_35_45_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/333a274581ae8c737b3755ab4bd0445a.jpg","text":"TemporaryFile(/tmp/multipartBody2882996136682764277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885623657,"filename":"image_16122025_12_36_15_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399649378","file1":"1399649377","file0":"1399649310","file4":"1399649386","file5":"1399649451","file3":"1399649381"},"map_files_photo_id_array":[{"photo_id":"1399649451","filename":"file5"},{"photo_id":"1399649378","filename":"file2"},{"photo_id":"1399649386","filename":"file4"},{"photo_id":"1399649377","filename":"file1"},{"photo_id":"1399649310","filename":"file0"},{"photo_id":"1399649381","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399649378":["hashtag1","hashtag2"]},{"1399649386":["hashtag1","hashtag2"]},{"1399649377":["hashtag1","hashtag2"]},{"1399649451":["hashtag1","hashtag2"]},{"1399649310":["hashtag1","hashtag2"]},{"1399649381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399649378, 1399649386, 1399649377, 1399649451, 1399649310, 1399649381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.37533402442932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:47:21.969952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_45_9622.jpg', '/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_55_9937.jpg', '/home/pi/Desktop/images/16122025/12/36/image_16122025_12_37_05_10730.jpg', '/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_15_9650.jpg', '/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_25_9662.jpg', '/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_34_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_45_9622.jpg
/home/pi/Desktop/images/16122025/12/36/image_16122025_12_36_55_9937.jpg
/home/pi/Desktop/images/16122025/12/36/image_16122025_12_37_05_10730.jpg
/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_15_9650.jpg
/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_25_9662.jpg
/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_34_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":["1399649575","1399649578","1399649608","1399649586","1399649577","1399649591"],"photo_ids_order":["1399649575","1399649577","1399649578","1399649586","1399649591","1399649608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2709f2b67ed6cdd02991c3f8d2eecb15.jpg","text":"TemporaryFile(/tmp/multipartBody7647099899431009986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885702628,"filename":"image_16122025_12_36_45_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/16/55dceb8559e6597e635af259d936bda1.jpg","text":"TemporaryFile(/tmp/multipartBody7185697777885235831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885702628,"filename":"image_16122025_12_37_05_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/595b94a92170afde1b62c5e41eaa9ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7275237158888498780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885702628,"filename":"image_16122025_12_37_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7044153ef351caf44a5f0c19c2989cd.jpg","text":"TemporaryFile(/tmp/multipartBody4201372595132776484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885702628,"filename":"image_16122025_12_37_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/16/42bc5c2ad2a80070a33c5e264a28fbdc.jpg","text":"TemporaryFile(/tmp/multipartBody9137889308711438602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885702628,"filename":"image_16122025_12_36_55_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54853f5eb18a93ed64a75e9da81e3aec.jpg","text":"TemporaryFile(/tmp/multipartBody3596614889413829198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885702628,"filename":"image_16122025_12_37_25_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399649578","file1":"1399649577","file0":"1399649575","file4":"1399649591","file5":"1399649608","file3":"1399649586"},"map_files_photo_id_array":[{"photo_id":"1399649608","filename":"file5"},{"photo_id":"1399649578","filename":"file2"},{"photo_id":"1399649591","filename":"file4"},{"photo_id":"1399649577","filename":"file1"},{"photo_id":"1399649575","filename":"file0"},{"photo_id":"1399649586","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399649575":["hashtag1","hashtag2"]},{"1399649578":["hashtag1","hashtag2"]},{"1399649608":["hashtag1","hashtag2"]},{"1399649586":["hashtag1","hashtag2"]},{"1399649577":["hashtag1","hashtag2"]},{"1399649591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399649575, 1399649578, 1399649608, 1399649586, 1399649577, 1399649591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.464338541030884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:48:02.595386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_45_10754.jpg', '/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_55_9757.jpg', '/home/pi/Desktop/images/16122025/12/37/image_16122025_12_38_05_9602.jpg', '/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_15_10635.jpg', '/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_25_9711.jpg', '/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_35_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_45_10754.jpg
/home/pi/Desktop/images/16122025/12/37/image_16122025_12_37_55_9757.jpg
/home/pi/Desktop/images/16122025/12/37/image_16122025_12_38_05_9602.jpg
/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_15_10635.jpg
/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_25_9711.jpg
/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_35_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399649630","1399649627","1399649632","1399649629","1399649623","1399649628"],"photo_ids_order":["1399649623","1399649627","1399649628","1399649629","1399649630","1399649632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/476300fe8b46ee41ae47ddce7289c7fa.jpg","text":"TemporaryFile(/tmp/multipartBody7463796468385329213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885743332,"filename":"image_16122025_12_38_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/16/bd004630355e28a6d6032687546c69e2.jpg","text":"TemporaryFile(/tmp/multipartBody3959999897282774550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885743332,"filename":"image_16122025_12_37_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/16/7e2d1e57ac3c61565459770e8067384c.jpg","text":"TemporaryFile(/tmp/multipartBody705163300375361396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885743332,"filename":"image_16122025_12_38_35_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77c39315bd3902c1e7f1a9f1cdcaf241.jpg","text":"TemporaryFile(/tmp/multipartBody1403279944910600115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885743332,"filename":"image_16122025_12_38_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ede4861314adec8140920d28c45a2438.jpg","text":"TemporaryFile(/tmp/multipartBody742918231271931707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885743332,"filename":"image_16122025_12_37_45_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/16/b1483915b5423a4c02dad90fc5c582cc.jpg","text":"TemporaryFile(/tmp/multipartBody3093186982971925747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885743332,"filename":"image_16122025_12_38_05_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399649628","file1":"1399649627","file0":"1399649623","file4":"1399649630","file5":"1399649632","file3":"1399649629"},"map_files_photo_id_array":[{"photo_id":"1399649632","filename":"file5"},{"photo_id":"1399649628","filename":"file2"},{"photo_id":"1399649630","filename":"file4"},{"photo_id":"1399649627","filename":"file1"},{"photo_id":"1399649623","filename":"file0"},{"photo_id":"1399649629","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399649630":["hashtag1","hashtag2"]},{"1399649627":["hashtag1","hashtag2"]},{"1399649632":["hashtag1","hashtag2"]},{"1399649629":["hashtag1","hashtag2"]},{"1399649623":["hashtag1","hashtag2"]},{"1399649628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399649630, 1399649627, 1399649632, 1399649629, 1399649623, 1399649628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46307444572449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:48:42.258156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_35_1637.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_36_1657.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_38_1527.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_41_2709.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_43_2641.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_46_2831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_35_1637.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_36_1657.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_38_1527.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_41_2709.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_43_2641.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_46_2831.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6044354438781738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:49:03.382436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_45_10137.jpg', '/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_55_9714.jpg', '/home/pi/Desktop/images/16122025/12/38/image_16122025_12_39_05_10664.jpg', '/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_15_9799.jpg', '/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_25_9799.jpg', '/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_35_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_45_10137.jpg
/home/pi/Desktop/images/16122025/12/38/image_16122025_12_38_55_9714.jpg
/home/pi/Desktop/images/16122025/12/38/image_16122025_12_39_05_10664.jpg
/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_15_9799.jpg
/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_25_9799.jpg
/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_35_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":["1399649782","1399649785","1399649821","1399649783","1399649864","1399649858"],"photo_ids_order":["1399649782","1399649783","1399649785","1399649821","1399649858","1399649864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b1dd1f74e58b82c39cd3e6210ab81ee.jpg","text":"TemporaryFile(/tmp/multipartBody4367095226502082956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885804211,"filename":"image_16122025_12_38_45_10137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6d80c777147662b33176586df1c0b9e.jpg","text":"TemporaryFile(/tmp/multipartBody372150074111248699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885804211,"filename":"image_16122025_12_39_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be1c1a13f2f0ed705ab1bcb7fafe706c.jpg","text":"TemporaryFile(/tmp/multipartBody3398756984388624739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885804211,"filename":"image_16122025_12_39_15_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e4676bce8f1f4fc4f7f0d1310293b71.jpg","text":"TemporaryFile(/tmp/multipartBody5805766086063131102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885804211,"filename":"image_16122025_12_38_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/16/746a5c7b7564f42065b9197aaa6e7b5b.jpg","text":"TemporaryFile(/tmp/multipartBody4884510753282898916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885804211,"filename":"image_16122025_12_39_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/16/30274674761ac5d8223fab57f923deda.jpg","text":"TemporaryFile(/tmp/multipartBody9038829112734971456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885804211,"filename":"image_16122025_12_39_25_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399649785","file1":"1399649783","file0":"1399649782","file4":"1399649858","file5":"1399649864","file3":"1399649821"},"map_files_photo_id_array":[{"photo_id":"1399649864","filename":"file5"},{"photo_id":"1399649785","filename":"file2"},{"photo_id":"1399649858","filename":"file4"},{"photo_id":"1399649783","filename":"file1"},{"photo_id":"1399649782","filename":"file0"},{"photo_id":"1399649821","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399649782":["hashtag1","hashtag2"]},{"1399649785":["hashtag1","hashtag2"]},{"1399649821":["hashtag1","hashtag2"]},{"1399649783":["hashtag1","hashtag2"]},{"1399649864":["hashtag1","hashtag2"]},{"1399649858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399649782, 1399649785, 1399649821, 1399649783, 1399649864, 1399649858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56610727310181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:49:42.434019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_35_1637.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_36_1657.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_38_1527.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_41_2709.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_43_2641.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_46_2831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_35_1637.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_36_1657.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_38_1527.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_41_2709.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_43_2641.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_46_2831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399649912","1399650005","1399649908","1399649943","1399649904","1399649891"],"photo_ids_order":["1399649891","1399649904","1399649908","1399649912","1399649943","1399650005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d576013470d87354b1bce7b244b1c16e.jpg","text":"TemporaryFile(/tmp/multipartBody5557497325745737979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885843055,"filename":"image_06112025_16_23_41_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8d180a53846e4ea9ac5f7a7b5e1a0b2.jpg","text":"TemporaryFile(/tmp/multipartBody32549974482724187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885843055,"filename":"image_06112025_16_23_46_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/16/9034b2fedadd788848e1b9faaae39dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5440042047742308416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885843055,"filename":"image_06112025_16_23_38_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/16/6af697b857da714736c7d3f939d3acd0.jpg","text":"TemporaryFile(/tmp/multipartBody6665300100409132990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885843055,"filename":"image_06112025_16_23_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/16/775e77a34d5b966c515a318e8bbe5e55.jpg","text":"TemporaryFile(/tmp/multipartBody6875105176241109597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885843055,"filename":"image_06112025_16_23_36_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/16/7725d27f24f6f81c4591378233a2a923.jpg","text":"TemporaryFile(/tmp/multipartBody3891075854173927087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885843055,"filename":"image_06112025_16_23_35_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399649908","file1":"1399649904","file0":"1399649891","file4":"1399649943","file5":"1399650005","file3":"1399649912"},"map_files_photo_id_array":[{"photo_id":"1399650005","filename":"file5"},{"photo_id":"1399649908","filename":"file2"},{"photo_id":"1399649943","filename":"file4"},{"photo_id":"1399649904","filename":"file1"},{"photo_id":"1399649891","filename":"file0"},{"photo_id":"1399649912","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399649912":["hashtag1","hashtag2"]},{"1399650005":["hashtag1","hashtag2"]},{"1399649908":["hashtag1","hashtag2"]},{"1399649943":["hashtag1","hashtag2"]},{"1399649904":["hashtag1","hashtag2"]},{"1399649891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399649912, 1399650005, 1399649908, 1399649943, 1399649904, 1399649891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82011890411377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:50:22.690328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_45_10695.jpg', '/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_55_9585.jpg', '/home/pi/Desktop/images/16122025/12/39/image_16122025_12_40_05_9732.jpg', '/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_15_9927.jpg', '/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_25_10828.jpg', '/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_35_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_45_10695.jpg
/home/pi/Desktop/images/16122025/12/39/image_16122025_12_39_55_9585.jpg
/home/pi/Desktop/images/16122025/12/39/image_16122025_12_40_05_9732.jpg
/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_15_9927.jpg
/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_25_10828.jpg
/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_35_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650039","1399650044","1399650041","1399650049","1399650046","1399650042"],"photo_ids_order":["1399650039","1399650041","1399650042","1399650044","1399650046","1399650049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/230d6ba98e785f7a5358c8921fc95d79.jpg","text":"TemporaryFile(/tmp/multipartBody7737535994846022654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885883345,"filename":"image_16122025_12_39_45_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/16/ad0a30bfdc3251a1c91b1772de371bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1684702259018951967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885883345,"filename":"image_16122025_12_40_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/16/9923984e1e3152dc25b1533a3cc0e599.jpg","text":"TemporaryFile(/tmp/multipartBody4366659940072322218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885883345,"filename":"image_16122025_12_39_55_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca5c877d1f45e51b399ceb91516398aa.jpg","text":"TemporaryFile(/tmp/multipartBody7362040200450585146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885883345,"filename":"image_16122025_12_40_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/16/a9ad1b11464de8b5eb12b0570028d5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2101716835240873823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885883345,"filename":"image_16122025_12_40_25_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88e6df39d42dae7b025a45c5d1ec6071.jpg","text":"TemporaryFile(/tmp/multipartBody6798219948796642286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885883345,"filename":"image_16122025_12_40_05_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650042","file1":"1399650041","file0":"1399650039","file4":"1399650046","file5":"1399650049","file3":"1399650044"},"map_files_photo_id_array":[{"photo_id":"1399650049","filename":"file5"},{"photo_id":"1399650042","filename":"file2"},{"photo_id":"1399650046","filename":"file4"},{"photo_id":"1399650041","filename":"file1"},{"photo_id":"1399650039","filename":"file0"},{"photo_id":"1399650044","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399650039":["hashtag1","hashtag2"]},{"1399650044":["hashtag1","hashtag2"]},{"1399650041":["hashtag1","hashtag2"]},{"1399650049":["hashtag1","hashtag2"]},{"1399650046":["hashtag1","hashtag2"]},{"1399650042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399650039, 1399650044, 1399650041, 1399650049, 1399650046, 1399650042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47544002532959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:51:02.684317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_45_9628.jpg', '/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_55_10689.jpg', '/home/pi/Desktop/images/16122025/12/40/image_16122025_12_41_05_9845.jpg', '/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_15_9720.jpg', '/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_25_9686.jpg', '/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_35_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_45_9628.jpg
/home/pi/Desktop/images/16122025/12/40/image_16122025_12_40_55_10689.jpg
/home/pi/Desktop/images/16122025/12/40/image_16122025_12_41_05_9845.jpg
/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_15_9720.jpg
/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_25_9686.jpg
/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_35_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":["1399650092","1399650105","1399650091","1399650139","1399650180","1399650090"],"photo_ids_order":["1399650090","1399650091","1399650092","1399650105","1399650139","1399650180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50c899508a3049a8da2c20a2b04f809e.jpg","text":"TemporaryFile(/tmp/multipartBody2052573208302897766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885923410,"filename":"image_16122025_12_41_05_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af95629a41f23fee2ef22b20cdfa0cce.jpg","text":"TemporaryFile(/tmp/multipartBody5759951204071237137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885923410,"filename":"image_16122025_12_41_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/16/1d6234f461b136e6328ac8b36df07c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2302622931999680137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885923410,"filename":"image_16122025_12_40_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4ea45d8ca7fb84cab5e7d15653d0223.jpg","text":"TemporaryFile(/tmp/multipartBody3253444729603253331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885923410,"filename":"image_16122025_12_41_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/16/bbd442b7d19f02ffb56725bd0cd28e84.jpg","text":"TemporaryFile(/tmp/multipartBody8139015425713612817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885923410,"filename":"image_16122025_12_41_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc9488f6bfd81603569d9d86d77ba600.jpg","text":"TemporaryFile(/tmp/multipartBody6882706147408702750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885923410,"filename":"image_16122025_12_40_45_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650092","file1":"1399650091","file0":"1399650090","file4":"1399650139","file5":"1399650180","file3":"1399650105"},"map_files_photo_id_array":[{"photo_id":"1399650180","filename":"file5"},{"photo_id":"1399650092","filename":"file2"},{"photo_id":"1399650139","filename":"file4"},{"photo_id":"1399650091","filename":"file1"},{"photo_id":"1399650090","filename":"file0"},{"photo_id":"1399650105","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399650092":["hashtag1","hashtag2"]},{"1399650105":["hashtag1","hashtag2"]},{"1399650091":["hashtag1","hashtag2"]},{"1399650139":["hashtag1","hashtag2"]},{"1399650180":["hashtag1","hashtag2"]},{"1399650090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399650092, 1399650105, 1399650091, 1399650139, 1399650180, 1399650090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87483072280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:51:41.939507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_53_7082.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_55_1532.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_57_1724.jpg', '/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_58_1637.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_02_3772.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_06_4340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_53_7082.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_55_1532.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_57_1724.jpg
/home/pi/Desktop/images/06112025/16/23/image_06112025_16_23_58_1637.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_02_3772.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_06_4340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650309","1399650303","1399650329","1399650310","1399650354","1399650306"],"photo_ids_order":["1399650303","1399650306","1399650309","1399650310","1399650329","1399650354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85a0082e32d44c0b8afc79bc4b03c948.jpg","text":"TemporaryFile(/tmp/multipartBody3819509237360255698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885962653,"filename":"image_06112025_16_23_57_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/16/03a9550d49ca0052a685d3c92b77de69.jpg","text":"TemporaryFile(/tmp/multipartBody7002182765589434798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885962653,"filename":"image_06112025_16_23_53_7082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f2e5827bd7545b7be8b744cde8e55ee.jpg","text":"TemporaryFile(/tmp/multipartBody4159784629454311991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885962653,"filename":"image_06112025_16_24_02_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/16/d2f459157e687c99bc0f79d14e359ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5698507119657218493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885962653,"filename":"image_06112025_16_23_58_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dca3ab2e80b52a6a332393cd8f1bd891.jpg","text":"TemporaryFile(/tmp/multipartBody3025869761591293178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885962653,"filename":"image_06112025_16_24_06_4340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71a9e05f69aa9143856533935617d9ed.jpg","text":"TemporaryFile(/tmp/multipartBody6640818673966307366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765885962653,"filename":"image_06112025_16_23_55_1532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650309","file1":"1399650306","file0":"1399650303","file4":"1399650329","file5":"1399650354","file3":"1399650310"},"map_files_photo_id_array":[{"photo_id":"1399650354","filename":"file5"},{"photo_id":"1399650309","filename":"file2"},{"photo_id":"1399650329","filename":"file4"},{"photo_id":"1399650306","filename":"file1"},{"photo_id":"1399650303","filename":"file0"},{"photo_id":"1399650310","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399650309":["hashtag1","hashtag2"]},{"1399650303":["hashtag1","hashtag2"]},{"1399650329":["hashtag1","hashtag2"]},{"1399650310":["hashtag1","hashtag2"]},{"1399650354":["hashtag1","hashtag2"]},{"1399650306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399650309, 1399650303, 1399650329, 1399650310, 1399650354, 1399650306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71124815940857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:52:22.340425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_55_10677.jpg', '/home/pi/Desktop/images/16122025/12/41/image_16122025_12_42_05_9707.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_15_9749.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_25_9955.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_35_9693.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_45_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_55_10677.jpg
/home/pi/Desktop/images/16122025/12/41/image_16122025_12_42_05_9707.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_15_9749.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_25_9955.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_35_9693.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_45_10694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5556704998016357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:52:32.208178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:52:42.191551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_08_1773.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_11_2636.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_13_2546.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_17_4019.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_23_5819.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_25_1990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_08_1773.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_11_2636.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_13_2546.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_17_4019.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_23_5819.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_25_1990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650782","1399650779","1399650769","1399650625","1399650700","1399650735"],"photo_ids_order":["1399650625","1399650700","1399650735","1399650769","1399650779","1399650782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36ea43bd830bce4d568cde5a1035a7e8.jpg","text":"TemporaryFile(/tmp/multipartBody8425769442175069102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886022895,"filename":"image_06112025_16_24_25_1990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74ce4542519f623c13885277d5bc9391.jpg","text":"TemporaryFile(/tmp/multipartBody8320560222845343895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886022895,"filename":"image_06112025_16_24_23_5819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7e109c9368d6d40cf4106d6db8832b3.jpg","text":"TemporaryFile(/tmp/multipartBody7887778621486689462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886022895,"filename":"image_06112025_16_24_17_4019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dfa8c58f591e695ad9671f001cc53c96.jpg","text":"TemporaryFile(/tmp/multipartBody633032893709657495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886022895,"filename":"image_06112025_16_24_08_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38ee2d944de57218b780fe3e57e71d57.jpg","text":"TemporaryFile(/tmp/multipartBody7900546492764343438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886022895,"filename":"image_06112025_16_24_11_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e099b28095b0942915f17feeb2afc358.jpg","text":"TemporaryFile(/tmp/multipartBody1267229496988630993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886022895,"filename":"image_06112025_16_24_13_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650735","file1":"1399650700","file0":"1399650625","file4":"1399650779","file5":"1399650782","file3":"1399650769"},"map_files_photo_id_array":[{"photo_id":"1399650782","filename":"file5"},{"photo_id":"1399650735","filename":"file2"},{"photo_id":"1399650779","filename":"file4"},{"photo_id":"1399650700","filename":"file1"},{"photo_id":"1399650625","filename":"file0"},{"photo_id":"1399650769","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399650782":["hashtag1","hashtag2"]},{"1399650779":["hashtag1","hashtag2"]},{"1399650769":["hashtag1","hashtag2"]},{"1399650625":["hashtag1","hashtag2"]},{"1399650700":["hashtag1","hashtag2"]},{"1399650735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399650782, 1399650779, 1399650769, 1399650625, 1399650700, 1399650735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39943504333496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:53:22.411189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_55_10677.jpg', '/home/pi/Desktop/images/16122025/12/41/image_16122025_12_42_05_9707.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_15_9749.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_25_9955.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_35_9693.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_45_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/41/image_16122025_12_41_55_10677.jpg
/home/pi/Desktop/images/16122025/12/41/image_16122025_12_42_05_9707.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_15_9749.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_25_9955.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_35_9693.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_45_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650785","1399650830","1399650809","1399650790","1399650796","1399650816"],"photo_ids_order":["1399650785","1399650790","1399650796","1399650809","1399650816","1399650830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6266e9a4da56b6127b2b109ec0851040.jpg","text":"TemporaryFile(/tmp/multipartBody1152646676041352182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886063068,"filename":"image_16122025_12_41_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/16/bac107b853e2603e8f06ed1d6e54b9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4120633293327036100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886063068,"filename":"image_16122025_12_42_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee63e8a07300d88f6eea2c6c9c8905c7.jpg","text":"TemporaryFile(/tmp/multipartBody5641957109506197792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886063068,"filename":"image_16122025_12_42_25_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/16/927bde6bcd29f9d573ad891e2ad71351.jpg","text":"TemporaryFile(/tmp/multipartBody7745574797026337826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886063068,"filename":"image_16122025_12_42_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbe286fd6f70d3de1a955c3dfcb82af9.jpg","text":"TemporaryFile(/tmp/multipartBody8734989709999494542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886063068,"filename":"image_16122025_12_42_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47623528c22764f1c4d86cd10c2a0277.jpg","text":"TemporaryFile(/tmp/multipartBody6170756272001093998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886063068,"filename":"image_16122025_12_42_35_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650796","file1":"1399650790","file0":"1399650785","file4":"1399650816","file5":"1399650830","file3":"1399650809"},"map_files_photo_id_array":[{"photo_id":"1399650830","filename":"file5"},{"photo_id":"1399650796","filename":"file2"},{"photo_id":"1399650816","filename":"file4"},{"photo_id":"1399650790","filename":"file1"},{"photo_id":"1399650785","filename":"file0"},{"photo_id":"1399650809","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399650785":["hashtag1","hashtag2"]},{"1399650830":["hashtag1","hashtag2"]},{"1399650809":["hashtag1","hashtag2"]},{"1399650790":["hashtag1","hashtag2"]},{"1399650796":["hashtag1","hashtag2"]},{"1399650816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399650785, 1399650830, 1399650809, 1399650790, 1399650796, 1399650816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40600395202637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:54:03.192820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_55_9772.jpg', '/home/pi/Desktop/images/16122025/12/42/image_16122025_12_43_05_9582.jpg', '/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_15_10791.jpg', '/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_25_9733.jpg', '/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_35_9637.jpg', '/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_45_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_42_55_9772.jpg
/home/pi/Desktop/images/16122025/12/42/image_16122025_12_43_05_9582.jpg
/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_15_10791.jpg
/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_25_9733.jpg
/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_35_9637.jpg
/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_45_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":["1399650836","1399650838","1399650832","1399650840","1399650834","1399650837"],"photo_ids_order":["1399650832","1399650834","1399650836","1399650837","1399650838","1399650840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a869cb0218dd7cebf14d9964db820fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3241679411509085505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886103919,"filename":"image_16122025_12_43_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/16/6455a8c4d82c5731cfbf68aa243a05bf.jpg","text":"TemporaryFile(/tmp/multipartBody2228898169741313236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886103919,"filename":"image_16122025_12_43_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3bbd1319fbc377297b597b7001dc690f.jpg","text":"TemporaryFile(/tmp/multipartBody8353895944677027877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886103919,"filename":"image_16122025_12_42_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0cc5023fff51028de44a92f1e8db59c.jpg","text":"TemporaryFile(/tmp/multipartBody8541480349357938532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886103919,"filename":"image_16122025_12_43_45_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/16/e3b0768d41c8bbc7965b725b41313ec5.jpg","text":"TemporaryFile(/tmp/multipartBody216374657277852595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886103919,"filename":"image_16122025_12_43_05_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f488e29e2c3e05d252210fd4bf1aed6c.jpg","text":"TemporaryFile(/tmp/multipartBody5904708673349116111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886103919,"filename":"image_16122025_12_43_25_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650836","file1":"1399650834","file0":"1399650832","file4":"1399650838","file5":"1399650840","file3":"1399650837"},"map_files_photo_id_array":[{"photo_id":"1399650840","filename":"file5"},{"photo_id":"1399650836","filename":"file2"},{"photo_id":"1399650838","filename":"file4"},{"photo_id":"1399650834","filename":"file1"},{"photo_id":"1399650832","filename":"file0"},{"photo_id":"1399650837","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399650836":["hashtag1","hashtag2"]},{"1399650838":["hashtag1","hashtag2"]},{"1399650832":["hashtag1","hashtag2"]},{"1399650840":["hashtag1","hashtag2"]},{"1399650834":["hashtag1","hashtag2"]},{"1399650837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399650836, 1399650838, 1399650832, 1399650840, 1399650834, 1399650837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07186841964722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:54:42.568246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_27_1545.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_28_1604.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_32_3519.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_34_2754.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_37_2669.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_40_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_27_1545.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_28_1604.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_32_3519.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_34_2754.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_37_2669.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_40_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650851","1399650845","1399650848","1399650847","1399650850","1399650849"],"photo_ids_order":["1399650845","1399650847","1399650848","1399650849","1399650850","1399650851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf90c096e78dff5ae4ba4afb4c621ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7778652534546174004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886143273,"filename":"image_06112025_16_24_40_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e54ee79fc3b1a85324a91ed272477e4b.jpg","text":"TemporaryFile(/tmp/multipartBody815020357705934357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886143273,"filename":"image_06112025_16_24_27_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80a156b0d52549e58454f5c6fad27278.jpg","text":"TemporaryFile(/tmp/multipartBody6204880218366753397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886143273,"filename":"image_06112025_16_24_32_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/16/cd83884c5f42aa8aaba63a1f81382a57.jpg","text":"TemporaryFile(/tmp/multipartBody7798069485791974819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886143273,"filename":"image_06112025_16_24_28_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/16/3c176c6d1c768cdda4a2b7303e89fa9a.jpg","text":"TemporaryFile(/tmp/multipartBody4418066212042407836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886143273,"filename":"image_06112025_16_24_37_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/16/c27456bc329a9dddc95f8c9f6d2e146e.jpg","text":"TemporaryFile(/tmp/multipartBody1045255981631008312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886143273,"filename":"image_06112025_16_24_34_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650848","file1":"1399650847","file0":"1399650845","file4":"1399650850","file5":"1399650851","file3":"1399650849"},"map_files_photo_id_array":[{"photo_id":"1399650851","filename":"file5"},{"photo_id":"1399650848","filename":"file2"},{"photo_id":"1399650850","filename":"file4"},{"photo_id":"1399650847","filename":"file1"},{"photo_id":"1399650845","filename":"file0"},{"photo_id":"1399650849","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399650851":["hashtag1","hashtag2"]},{"1399650845":["hashtag1","hashtag2"]},{"1399650848":["hashtag1","hashtag2"]},{"1399650847":["hashtag1","hashtag2"]},{"1399650850":["hashtag1","hashtag2"]},{"1399650849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399650851, 1399650845, 1399650848, 1399650847, 1399650850, 1399650849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34410238265991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:55:21.798054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_55_10709.jpg', '/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_15_9704.jpg', '/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_25_9733.jpg', '/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_35_10924.jpg', '/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_45_9653.jpg', '/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_55_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/43/image_16122025_12_43_55_10709.jpg
/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_15_9704.jpg
/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_25_9733.jpg
/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_35_10924.jpg
/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_45_9653.jpg
/home/pi/Desktop/images/16122025/12/44/image_16122025_12_44_55_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650863","1399650866","1399650854","1399650856","1399650859","1399650852"],"photo_ids_order":["1399650852","1399650854","1399650856","1399650859","1399650863","1399650866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59c0d3af6969784dadb106f6b110727d.jpg","text":"TemporaryFile(/tmp/multipartBody4563092452132010672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886182441,"filename":"image_16122025_12_44_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/16/7ee5427a7c64aff9147690c2a4cdc92e.jpg","text":"TemporaryFile(/tmp/multipartBody7187478328118052779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886182441,"filename":"image_16122025_12_44_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35d286bde1978a22be0d774702bda56e.jpg","text":"TemporaryFile(/tmp/multipartBody3484892567313472164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886182441,"filename":"image_16122025_12_44_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bfcabd29f4d09a444eccf38c7ad2f5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2181224085161789360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886182441,"filename":"image_16122025_12_44_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d528a9d551b62a8ab519f44a7f5679c5.jpg","text":"TemporaryFile(/tmp/multipartBody7298927649796637883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886182441,"filename":"image_16122025_12_44_35_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/16/0bd87032785c25f9e1f17e88ba27b9b6.jpg","text":"TemporaryFile(/tmp/multipartBody989448777757268938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886182441,"filename":"image_16122025_12_43_55_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650856","file1":"1399650854","file0":"1399650852","file4":"1399650863","file5":"1399650866","file3":"1399650859"},"map_files_photo_id_array":[{"photo_id":"1399650866","filename":"file5"},{"photo_id":"1399650856","filename":"file2"},{"photo_id":"1399650863","filename":"file4"},{"photo_id":"1399650854","filename":"file1"},{"photo_id":"1399650852","filename":"file0"},{"photo_id":"1399650859","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399650863":["hashtag1","hashtag2"]},{"1399650866":["hashtag1","hashtag2"]},{"1399650854":["hashtag1","hashtag2"]},{"1399650856":["hashtag1","hashtag2"]},{"1399650859":["hashtag1","hashtag2"]},{"1399650852":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399650863, 1399650866, 1399650854, 1399650856, 1399650859, 1399650852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24304795265198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:56:02.605201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/44/image_16122025_12_45_05_10618.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_15_9635.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_35_10640.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_45_9779.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_55_9636.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_46_05_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/44/image_16122025_12_45_05_10618.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_15_9635.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_35_10640.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_45_9779.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_55_9636.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_46_05_9633.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6348133087158203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 12:56:12.165265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 12:56:22.189150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/44/image_16122025_12_45_05_10618.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_15_9635.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_35_10640.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_45_9779.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_55_9636.jpg', '/home/pi/Desktop/images/16122025/12/45/image_16122025_12_46_05_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/44/image_16122025_12_45_05_10618.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_15_9635.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_35_10640.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_45_9779.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_45_55_9636.jpg
/home/pi/Desktop/images/16122025/12/45/image_16122025_12_46_05_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650884","1399650878","1399650880","1399650882","1399650876","1399650888"],"photo_ids_order":["1399650876","1399650878","1399650880","1399650882","1399650884","1399650888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd972930f876003a6888cd3172dd953e.jpg","text":"TemporaryFile(/tmp/multipartBody655931170696217754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886242836,"filename":"image_16122025_12_45_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/16/5b3efdda0666e29c7691fc563415d697.jpg","text":"TemporaryFile(/tmp/multipartBody5937742476942915688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886242836,"filename":"image_16122025_12_45_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/187a6834e23ff4cf69cfb7a8e5f975b6.jpg","text":"TemporaryFile(/tmp/multipartBody8709593951367215742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886242836,"filename":"image_16122025_12_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/16/a599c14b918c3a76623c7e7c1e08697c.jpg","text":"TemporaryFile(/tmp/multipartBody5568827764402167498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886242836,"filename":"image_16122025_12_45_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/16/1a1685c9e49feec51a1dcbb9f2edba3c.jpg","text":"TemporaryFile(/tmp/multipartBody7459517378629654183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886242836,"filename":"image_16122025_12_45_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/757f7bf2633f99e341b590839bead9dc.jpg","text":"TemporaryFile(/tmp/multipartBody4934047317585023028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886242836,"filename":"image_16122025_12_46_05_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650880","file1":"1399650878","file0":"1399650876","file4":"1399650884","file5":"1399650888","file3":"1399650882"},"map_files_photo_id_array":[{"photo_id":"1399650888","filename":"file5"},{"photo_id":"1399650880","filename":"file2"},{"photo_id":"1399650884","filename":"file4"},{"photo_id":"1399650878","filename":"file1"},{"photo_id":"1399650876","filename":"file0"},{"photo_id":"1399650882","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399650884":["hashtag1","hashtag2"]},{"1399650878":["hashtag1","hashtag2"]},{"1399650880":["hashtag1","hashtag2"]},{"1399650882":["hashtag1","hashtag2"]},{"1399650876":["hashtag1","hashtag2"]},{"1399650888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399650884, 1399650878, 1399650880, 1399650882, 1399650876, 1399650888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94986343383789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:57:03.116440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_15_10617.jpg', '/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_25_9657.jpg', '/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_35_10574.jpg', '/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_45_9658.jpg', '/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_55_9830.jpg', '/home/pi/Desktop/images/16122025/12/46/image_16122025_12_47_05_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_15_10617.jpg
/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_25_9657.jpg
/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_35_10574.jpg
/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_45_9658.jpg
/home/pi/Desktop/images/16122025/12/46/image_16122025_12_46_55_9830.jpg
/home/pi/Desktop/images/16122025/12/46/image_16122025_12_47_05_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650893","1399650890","1399650892","1399650895","1399650889","1399650891"],"photo_ids_order":["1399650889","1399650890","1399650891","1399650892","1399650893","1399650895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27e5ebefbd5ff653e24de84990399dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2516708455963395882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886283831,"filename":"image_16122025_12_46_55_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e25f71c0f9b20cd8ae0b0ba1c8ebc6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1516354464884997164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886283831,"filename":"image_16122025_12_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/16/1934548d16445f84390579a4b548e897.jpg","text":"TemporaryFile(/tmp/multipartBody5191653890797031369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886283831,"filename":"image_16122025_12_46_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/16/03f4a051d8d01e78c43ac2c57145ad2b.jpg","text":"TemporaryFile(/tmp/multipartBody3880010663081016094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886283831,"filename":"image_16122025_12_47_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c66257902e6b2a4b04474344236f29c2.jpg","text":"TemporaryFile(/tmp/multipartBody7733198289101729805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886283831,"filename":"image_16122025_12_46_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/16/7aea0b92f1089b1c45a2ebd2e433f58f.jpg","text":"TemporaryFile(/tmp/multipartBody4522131626411506414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886283831,"filename":"image_16122025_12_46_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650891","file1":"1399650890","file0":"1399650889","file4":"1399650893","file5":"1399650895","file3":"1399650892"},"map_files_photo_id_array":[{"photo_id":"1399650895","filename":"file5"},{"photo_id":"1399650891","filename":"file2"},{"photo_id":"1399650893","filename":"file4"},{"photo_id":"1399650890","filename":"file1"},{"photo_id":"1399650889","filename":"file0"},{"photo_id":"1399650892","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399650893":["hashtag1","hashtag2"]},{"1399650890":["hashtag1","hashtag2"]},{"1399650892":["hashtag1","hashtag2"]},{"1399650895":["hashtag1","hashtag2"]},{"1399650889":["hashtag1","hashtag2"]},{"1399650891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399650893, 1399650890, 1399650892, 1399650895, 1399650889, 1399650891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63054919242859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:57:42.445136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_43_3544.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_46_2623.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_50_3653.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_52_2708.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_55_2572.jpg', '/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_59_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_43_3544.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_46_2623.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_50_3653.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_52_2708.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_55_2572.jpg
/home/pi/Desktop/images/06112025/16/24/image_06112025_16_24_59_3787.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399650918","1399650917","1399650905","1399650901","1399650910","1399650904"],"photo_ids_order":["1399650901","1399650904","1399650905","1399650910","1399650917","1399650918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/936d3fb28b082c8a38cd0a7574c2d96e.jpg","text":"TemporaryFile(/tmp/multipartBody407458386529046708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886323152,"filename":"image_06112025_16_24_59_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/16/1a0c8d0037ec8d5c12b1ca063a4460d5.jpg","text":"TemporaryFile(/tmp/multipartBody3756086522508216088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886323152,"filename":"image_06112025_16_24_55_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f4b1157cbbeef53c7ba2d4b5ac84be0.jpg","text":"TemporaryFile(/tmp/multipartBody3558394340597598438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886323152,"filename":"image_06112025_16_24_50_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/16/5813e5b2a6a003a4b952dfb685a16fd3.jpg","text":"TemporaryFile(/tmp/multipartBody5203081242025191168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886323152,"filename":"image_06112025_16_24_43_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/527657cdd715643cf8d6fe9fc1b0f1f3.jpg","text":"TemporaryFile(/tmp/multipartBody5569017907908752412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886323152,"filename":"image_06112025_16_24_52_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/16/eef92e313cec3afdf0b0b2254a2b97f1.jpg","text":"TemporaryFile(/tmp/multipartBody3233725493309185042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886323152,"filename":"image_06112025_16_24_46_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399650905","file1":"1399650904","file0":"1399650901","file4":"1399650917","file5":"1399650918","file3":"1399650910"},"map_files_photo_id_array":[{"photo_id":"1399650918","filename":"file5"},{"photo_id":"1399650905","filename":"file2"},{"photo_id":"1399650917","filename":"file4"},{"photo_id":"1399650904","filename":"file1"},{"photo_id":"1399650901","filename":"file0"},{"photo_id":"1399650910","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399650918":["hashtag1","hashtag2"]},{"1399650917":["hashtag1","hashtag2"]},{"1399650905":["hashtag1","hashtag2"]},{"1399650901":["hashtag1","hashtag2"]},{"1399650910":["hashtag1","hashtag2"]},{"1399650904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399650918, 1399650917, 1399650905, 1399650901, 1399650910, 1399650904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91496682167053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 12:59:02.957587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_15_10713.jpg', '/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_25_9704.jpg', '/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_35_9632.jpg', '/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_45_10720.jpg', '/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_55_9683.jpg', '/home/pi/Desktop/images/16122025/12/47/image_16122025_12_48_05_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_15_10713.jpg
/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_25_9704.jpg
/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_35_9632.jpg
/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_45_10720.jpg
/home/pi/Desktop/images/16122025/12/47/image_16122025_12_47_55_9683.jpg
/home/pi/Desktop/images/16122025/12/47/image_16122025_12_48_05_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":["1399651106","1399651150","1399651075","1399651015","1399651039","1399651018"],"photo_ids_order":["1399651015","1399651018","1399651039","1399651075","1399651106","1399651150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0963f52f864254e694ade27559ff3c33.jpg","text":"TemporaryFile(/tmp/multipartBody5243300680365291272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886403778,"filename":"image_16122025_12_47_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/16/1799b00796fb8379109bc22f4999c72e.jpg","text":"TemporaryFile(/tmp/multipartBody5048093931774249146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886403778,"filename":"image_16122025_12_48_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/16/a3f406b89f859efbbe7c5141f4b6ce78.jpg","text":"TemporaryFile(/tmp/multipartBody3439184687391346192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886403778,"filename":"image_16122025_12_47_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b58da850cee106f294260999a5acfabf.jpg","text":"TemporaryFile(/tmp/multipartBody8855053307763536849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886403778,"filename":"image_16122025_12_47_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/953673d3e9137b907a6ff3e4f799997e.jpg","text":"TemporaryFile(/tmp/multipartBody4606244556756731700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886403778,"filename":"image_16122025_12_47_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/16/19fdb3478978cb7a001ca7653ac2c840.jpg","text":"TemporaryFile(/tmp/multipartBody8980842519183885905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886403778,"filename":"image_16122025_12_47_25_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399651039","file1":"1399651018","file0":"1399651015","file4":"1399651106","file5":"1399651150","file3":"1399651075"},"map_files_photo_id_array":[{"photo_id":"1399651150","filename":"file5"},{"photo_id":"1399651039","filename":"file2"},{"photo_id":"1399651106","filename":"file4"},{"photo_id":"1399651018","filename":"file1"},{"photo_id":"1399651015","filename":"file0"},{"photo_id":"1399651075","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399651106":["hashtag1","hashtag2"]},{"1399651150":["hashtag1","hashtag2"]},{"1399651075":["hashtag1","hashtag2"]},{"1399651015":["hashtag1","hashtag2"]},{"1399651039":["hashtag1","hashtag2"]},{"1399651018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399651106, 1399651150, 1399651075, 1399651015, 1399651039, 1399651018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07042908668518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 12:59:41.931720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_07_3011.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_11_3819.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_13_2610.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_16_2593.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_20_3708.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_07_3011.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_11_3819.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_13_2610.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_16_2593.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_20_3708.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_22_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399651373","1399651529","1399651678","1399651456","1399651716","1399651605"],"photo_ids_order":["1399651373","1399651456","1399651529","1399651605","1399651678","1399651716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6be8a91807792a69a58071bd32b19e20.jpg","text":"TemporaryFile(/tmp/multipartBody5109559949232210282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886442650,"filename":"image_06112025_16_25_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/16/82a229973701310236db2c9f82b180b5.jpg","text":"TemporaryFile(/tmp/multipartBody3722046456949422752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886442650,"filename":"image_06112025_16_25_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0362af55db263e19a991f34751aae16.jpg","text":"TemporaryFile(/tmp/multipartBody405987679548948884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886442650,"filename":"image_06112025_16_25_20_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/16/e4c492a1351dfe154541ed7411dd487e.jpg","text":"TemporaryFile(/tmp/multipartBody7285559082093726371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886442650,"filename":"image_06112025_16_25_11_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0928446fbb556239cf46f1dea7ef5715.jpg","text":"TemporaryFile(/tmp/multipartBody4082131177039255793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886442650,"filename":"image_06112025_16_25_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e0fd487daed2873e33ca09e45cb4846.jpg","text":"TemporaryFile(/tmp/multipartBody2929306934049511508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886442650,"filename":"image_06112025_16_25_16_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399651529","file1":"1399651456","file0":"1399651373","file4":"1399651678","file5":"1399651716","file3":"1399651605"},"map_files_photo_id_array":[{"photo_id":"1399651716","filename":"file5"},{"photo_id":"1399651529","filename":"file2"},{"photo_id":"1399651678","filename":"file4"},{"photo_id":"1399651456","filename":"file1"},{"photo_id":"1399651373","filename":"file0"},{"photo_id":"1399651605","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399651373":["hashtag1","hashtag2"]},{"1399651529":["hashtag1","hashtag2"]},{"1399651678":["hashtag1","hashtag2"]},{"1399651456":["hashtag1","hashtag2"]},{"1399651716":["hashtag1","hashtag2"]},{"1399651605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399651373, 1399651529, 1399651678, 1399651456, 1399651716, 1399651605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9399836063385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:00:22.154176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_15_10612.jpg', '/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_25_9792.jpg', '/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_35_9803.jpg', '/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_45_9770.jpg', '/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_55_9740.jpg', '/home/pi/Desktop/images/16122025/12/48/image_16122025_12_49_05_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_15_10612.jpg
/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_25_9792.jpg
/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_35_9803.jpg
/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_45_9770.jpg
/home/pi/Desktop/images/16122025/12/48/image_16122025_12_48_55_9740.jpg
/home/pi/Desktop/images/16122025/12/48/image_16122025_12_49_05_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399651909","1399652040","1399652028","1399652045","1399651979","1399652042"],"photo_ids_order":["1399651909","1399651979","1399652028","1399652040","1399652042","1399652045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dcfeceeaf8d8dad1e3240848b2974cb7.jpg","text":"TemporaryFile(/tmp/multipartBody8428960841125456832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886482829,"filename":"image_16122025_12_48_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/16/4cf2a060de54ab00bcaed31c8433e783.jpg","text":"TemporaryFile(/tmp/multipartBody1961070188662748003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886482829,"filename":"image_16122025_12_48_45_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68670e5af1af2b256ab80ccec292324f.jpg","text":"TemporaryFile(/tmp/multipartBody7795340471436835665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886482829,"filename":"image_16122025_12_48_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/16/e2b97b4fe5a62338c196ab380b959886.jpg","text":"TemporaryFile(/tmp/multipartBody8450726220308228830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886482829,"filename":"image_16122025_12_49_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b53727a1ba9f87467da53c31c25a235.jpg","text":"TemporaryFile(/tmp/multipartBody1275941807010283497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886482829,"filename":"image_16122025_12_48_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3eeaedb7b6a57ab8718a1a732a829e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2100662714881818255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886482829,"filename":"image_16122025_12_48_55_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399652028","file1":"1399651979","file0":"1399651909","file4":"1399652042","file5":"1399652045","file3":"1399652040"},"map_files_photo_id_array":[{"photo_id":"1399652045","filename":"file5"},{"photo_id":"1399652028","filename":"file2"},{"photo_id":"1399652042","filename":"file4"},{"photo_id":"1399651979","filename":"file1"},{"photo_id":"1399651909","filename":"file0"},{"photo_id":"1399652040","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399651909":["hashtag1","hashtag2"]},{"1399652040":["hashtag1","hashtag2"]},{"1399652028":["hashtag1","hashtag2"]},{"1399652045":["hashtag1","hashtag2"]},{"1399651979":["hashtag1","hashtag2"]},{"1399652042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399651909, 1399652040, 1399652028, 1399652045, 1399651979, 1399652042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.985530614852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:01:03.050247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_15_9703.jpg', '/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_25_9689.jpg', '/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_35_10723.jpg', '/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_45_9695.jpg', '/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_55_9903.jpg', '/home/pi/Desktop/images/16122025/12/49/image_16122025_12_50_05_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_15_9703.jpg
/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_25_9689.jpg
/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_35_10723.jpg
/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_45_9695.jpg
/home/pi/Desktop/images/16122025/12/49/image_16122025_12_49_55_9903.jpg
/home/pi/Desktop/images/16122025/12/49/image_16122025_12_50_05_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399652178","1399652070","1399652189","1399652106","1399652186","1399652141"],"photo_ids_order":["1399652070","1399652106","1399652141","1399652178","1399652186","1399652189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60481664951806efe140263029106b28.jpg","text":"TemporaryFile(/tmp/multipartBody6359727126840370249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886523773,"filename":"image_16122025_12_49_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/16/fe319e093bb370008c1cac03361375e1.jpg","text":"TemporaryFile(/tmp/multipartBody4496169902001605004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886523773,"filename":"image_16122025_12_49_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/16/da26c505d46ab1279681c64b1e1252c3.jpg","text":"TemporaryFile(/tmp/multipartBody7711151736157252641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886523773,"filename":"image_16122025_12_50_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/681dbb625babe353451e2a63db16622e.jpg","text":"TemporaryFile(/tmp/multipartBody1656930783941539172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886523773,"filename":"image_16122025_12_49_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e66921a06978f4a266181f93976835f4.jpg","text":"TemporaryFile(/tmp/multipartBody9041042176745241607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886523773,"filename":"image_16122025_12_49_55_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/16/fc36783e5721ca4c11ba7cfa7074d984.jpg","text":"TemporaryFile(/tmp/multipartBody7684996587921568881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886523773,"filename":"image_16122025_12_49_35_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399652141","file1":"1399652106","file0":"1399652070","file4":"1399652186","file5":"1399652189","file3":"1399652178"},"map_files_photo_id_array":[{"photo_id":"1399652189","filename":"file5"},{"photo_id":"1399652141","filename":"file2"},{"photo_id":"1399652186","filename":"file4"},{"photo_id":"1399652106","filename":"file1"},{"photo_id":"1399652070","filename":"file0"},{"photo_id":"1399652178","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399652178":["hashtag1","hashtag2"]},{"1399652070":["hashtag1","hashtag2"]},{"1399652189":["hashtag1","hashtag2"]},{"1399652106":["hashtag1","hashtag2"]},{"1399652186":["hashtag1","hashtag2"]},{"1399652141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399652178, 1399652070, 1399652189, 1399652106, 1399652186, 1399652141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.127381563186646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:01:42.296870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_25_2707.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_29_3720.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_32_2827.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_34_2500.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_38_3763.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_41_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_25_2707.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_29_3720.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_32_2827.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_34_2500.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_38_3763.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_41_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399652455","1399652490","1399652340","1399652421","1399652384","1399652273"],"photo_ids_order":["1399652273","1399652340","1399652384","1399652421","1399652455","1399652490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd78d40f830551de92030750245878f6.jpg","text":"TemporaryFile(/tmp/multipartBody7740690648396223539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886563008,"filename":"image_06112025_16_25_38_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/16/b88f3d294c64c552680e59faf9407936.jpg","text":"TemporaryFile(/tmp/multipartBody7731397788554862153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886563008,"filename":"image_06112025_16_25_41_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/16/56b9740ca4dcdf922c3c22a83ba8da0b.jpg","text":"TemporaryFile(/tmp/multipartBody4277208532776307947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886563008,"filename":"image_06112025_16_25_29_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/16/9a8d0567c02b97094119d0c492634683.jpg","text":"TemporaryFile(/tmp/multipartBody1913404542132955870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886563008,"filename":"image_06112025_16_25_34_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/16/e151474044472f27cdeb9be78b637940.jpg","text":"TemporaryFile(/tmp/multipartBody6646726394032735518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886563008,"filename":"image_06112025_16_25_32_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/16/09dcb4991e380a5baaded85d15bc8eda.jpg","text":"TemporaryFile(/tmp/multipartBody6991384962979177126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886563008,"filename":"image_06112025_16_25_25_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399652384","file1":"1399652340","file0":"1399652273","file4":"1399652455","file5":"1399652490","file3":"1399652421"},"map_files_photo_id_array":[{"photo_id":"1399652490","filename":"file5"},{"photo_id":"1399652384","filename":"file2"},{"photo_id":"1399652455","filename":"file4"},{"photo_id":"1399652340","filename":"file1"},{"photo_id":"1399652273","filename":"file0"},{"photo_id":"1399652421","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399652455":["hashtag1","hashtag2"]},{"1399652490":["hashtag1","hashtag2"]},{"1399652340":["hashtag1","hashtag2"]},{"1399652421":["hashtag1","hashtag2"]},{"1399652384":["hashtag1","hashtag2"]},{"1399652273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399652455, 1399652490, 1399652340, 1399652421, 1399652384, 1399652273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33977270126343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:02:22.595102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_15_10771.jpg', '/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_25_9648.jpg', '/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_35_9640.jpg', '/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_45_9866.jpg', '/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_55_10720.jpg', '/home/pi/Desktop/images/16122025/12/50/image_16122025_12_51_05_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_15_10771.jpg
/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_25_9648.jpg
/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_35_9640.jpg
/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_45_9866.jpg
/home/pi/Desktop/images/16122025/12/50/image_16122025_12_50_55_10720.jpg
/home/pi/Desktop/images/16122025/12/50/image_16122025_12_51_05_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":["1399652904","1399652975","1399653119","1399653047","1399652828","1399652756"],"photo_ids_order":["1399652756","1399652828","1399652904","1399652975","1399653047","1399653119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21138b387ff38c54833171e499182b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6701116944630142781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886603256,"filename":"image_16122025_12_50_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/16/5339694cfb3de6e1f68a2631032180ed.jpg","text":"TemporaryFile(/tmp/multipartBody1033291989623267946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886603256,"filename":"image_16122025_12_50_45_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/16/a4a412bc7b641f7aabc4dbeb88d0ab55.jpg","text":"TemporaryFile(/tmp/multipartBody6183592923903387450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886603256,"filename":"image_16122025_12_51_05_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/899c9b524df9b07b364634325b608646.jpg","text":"TemporaryFile(/tmp/multipartBody4302077376377016994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886603256,"filename":"image_16122025_12_50_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/16/d5339d515768ccfadb32c35c072cd373.jpg","text":"TemporaryFile(/tmp/multipartBody7598493649993639153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886603256,"filename":"image_16122025_12_50_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/16/fd2f8e07feb1ed2d7b09981a7afa5fde.jpg","text":"TemporaryFile(/tmp/multipartBody5254349035389646614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886603256,"filename":"image_16122025_12_50_15_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399652904","file1":"1399652828","file0":"1399652756","file4":"1399653047","file5":"1399653119","file3":"1399652975"},"map_files_photo_id_array":[{"photo_id":"1399653119","filename":"file5"},{"photo_id":"1399652904","filename":"file2"},{"photo_id":"1399653047","filename":"file4"},{"photo_id":"1399652828","filename":"file1"},{"photo_id":"1399652756","filename":"file0"},{"photo_id":"1399652975","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399652904":["hashtag1","hashtag2"]},{"1399652975":["hashtag1","hashtag2"]},{"1399653119":["hashtag1","hashtag2"]},{"1399653047":["hashtag1","hashtag2"]},{"1399652828":["hashtag1","hashtag2"]},{"1399652756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399652904, 1399652975, 1399653119, 1399653047, 1399652828, 1399652756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47536778450012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:03:03.332813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_15_10496.jpg', '/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_25_9590.jpg', '/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_35_9641.jpg', '/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_45_10142.jpg', '/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_55_10716.jpg', '/home/pi/Desktop/images/16122025/12/51/image_16122025_12_52_05_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_15_10496.jpg
/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_25_9590.jpg
/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_35_9641.jpg
/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_45_10142.jpg
/home/pi/Desktop/images/16122025/12/51/image_16122025_12_51_55_10716.jpg
/home/pi/Desktop/images/16122025/12/51/image_16122025_12_52_05_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399653445","1399653412","1399653498","1399653297","1399653575","1399653370"],"photo_ids_order":["1399653297","1399653370","1399653412","1399653445","1399653498","1399653575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/046af66b62677becf643b4acb15a98a9.jpg","text":"TemporaryFile(/tmp/multipartBody5326971386362597337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886644087,"filename":"image_16122025_12_51_45_10142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a689c11da734d354b935c0fc7068f20a.jpg","text":"TemporaryFile(/tmp/multipartBody519806379941614947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886644087,"filename":"image_16122025_12_51_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/16/c575f0355bb2a84b2895d872cba83da0.jpg","text":"TemporaryFile(/tmp/multipartBody3286211180791840399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886644087,"filename":"image_16122025_12_51_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7c432c97452c2aa69adc26a44c7b7da.jpg","text":"TemporaryFile(/tmp/multipartBody1186132540464282472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886644087,"filename":"image_16122025_12_51_15_10496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cce10273c4471c8c704b2fd379fae4ab.jpg","text":"TemporaryFile(/tmp/multipartBody3768851083561530836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886644087,"filename":"image_16122025_12_52_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c62f550689083ce933f0a3b4c8d0f436.jpg","text":"TemporaryFile(/tmp/multipartBody8159676739410185421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886644087,"filename":"image_16122025_12_51_25_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399653412","file1":"1399653370","file0":"1399653297","file4":"1399653498","file5":"1399653575","file3":"1399653445"},"map_files_photo_id_array":[{"photo_id":"1399653575","filename":"file5"},{"photo_id":"1399653412","filename":"file2"},{"photo_id":"1399653498","filename":"file4"},{"photo_id":"1399653370","filename":"file1"},{"photo_id":"1399653297","filename":"file0"},{"photo_id":"1399653445","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399653445":["hashtag1","hashtag2"]},{"1399653412":["hashtag1","hashtag2"]},{"1399653498":["hashtag1","hashtag2"]},{"1399653297":["hashtag1","hashtag2"]},{"1399653575":["hashtag1","hashtag2"]},{"1399653370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399653445, 1399653412, 1399653498, 1399653297, 1399653575, 1399653370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94062042236328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:03:42.904479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_43_2660.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_47_3697.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_50_2788.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_52_2766.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_55_2718.jpg', '/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_59_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_43_2660.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_47_3697.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_50_2788.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_52_2766.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_55_2718.jpg
/home/pi/Desktop/images/06112025/16/25/image_06112025_16_25_59_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399653670","1399653666","1399653669","1399653656","1399653668","1399653667"],"photo_ids_order":["1399653656","1399653666","1399653667","1399653668","1399653669","1399653670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa92b5d624c41002aebc3e1907fe6e52.jpg","text":"TemporaryFile(/tmp/multipartBody2211958488889186347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886683626,"filename":"image_06112025_16_25_59_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/16/12364ef641b65ef48079bf1d8a57aacb.jpg","text":"TemporaryFile(/tmp/multipartBody2422525657598922300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886683626,"filename":"image_06112025_16_25_47_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/16/002d5d9e7c078f76dd3603a041c5c3d3.jpg","text":"TemporaryFile(/tmp/multipartBody3456390706559173929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886683626,"filename":"image_06112025_16_25_55_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/16/81ae9f53885ce0abb456e0c17418bbca.jpg","text":"TemporaryFile(/tmp/multipartBody4226009767651149990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886683626,"filename":"image_06112025_16_25_43_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf2c6ae062384b91a3d50595343fa1b4.jpg","text":"TemporaryFile(/tmp/multipartBody716781974508353180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886683626,"filename":"image_06112025_16_25_52_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3bbcc1d32c50f0dc793aecf766f8c26.jpg","text":"TemporaryFile(/tmp/multipartBody4205890220377474448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886683626,"filename":"image_06112025_16_25_50_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399653667","file1":"1399653666","file0":"1399653656","file4":"1399653669","file5":"1399653670","file3":"1399653668"},"map_files_photo_id_array":[{"photo_id":"1399653670","filename":"file5"},{"photo_id":"1399653667","filename":"file2"},{"photo_id":"1399653669","filename":"file4"},{"photo_id":"1399653666","filename":"file1"},{"photo_id":"1399653656","filename":"file0"},{"photo_id":"1399653668","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399653670":["hashtag1","hashtag2"]},{"1399653666":["hashtag1","hashtag2"]},{"1399653669":["hashtag1","hashtag2"]},{"1399653656":["hashtag1","hashtag2"]},{"1399653668":["hashtag1","hashtag2"]},{"1399653667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399653670, 1399653666, 1399653669, 1399653656, 1399653668, 1399653667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.523590326309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:04:22.202263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_15_9851.jpg', '/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_25_9780.jpg', '/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_35_10637.jpg', '/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_45_9855.jpg', '/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_55_9637.jpg', '/home/pi/Desktop/images/16122025/12/52/image_16122025_12_53_05_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_15_9851.jpg
/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_25_9780.jpg
/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_35_10637.jpg
/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_45_9855.jpg
/home/pi/Desktop/images/16122025/12/52/image_16122025_12_52_55_9637.jpg
/home/pi/Desktop/images/16122025/12/52/image_16122025_12_53_05_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":["1399653955","1399653841","1399653897","1399653767","1399653871","1399653803"],"photo_ids_order":["1399653767","1399653803","1399653841","1399653871","1399653897","1399653955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da59cb8593cb5376a6f9f62257e15fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8764036959807135420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886722856,"filename":"image_16122025_12_53_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e58456fc56692332836af4adff321b67.jpg","text":"TemporaryFile(/tmp/multipartBody3163260441047578938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886722856,"filename":"image_16122025_12_52_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/16/7d351ffb98a36e8e63fb5c73806c5ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8946810772998939485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886722856,"filename":"image_16122025_12_52_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/16/1827e2777b73741ffb61e5acad71c27a.jpg","text":"TemporaryFile(/tmp/multipartBody2562720146090038506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886722856,"filename":"image_16122025_12_52_15_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0213debd192467cd2161e564c5449d86.jpg","text":"TemporaryFile(/tmp/multipartBody1274238159321027226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886722856,"filename":"image_16122025_12_52_45_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90eb3eb681b5b0b5a0a6bece04b41cb3.jpg","text":"TemporaryFile(/tmp/multipartBody1191455101527663111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886722856,"filename":"image_16122025_12_52_25_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399653841","file1":"1399653803","file0":"1399653767","file4":"1399653897","file5":"1399653955","file3":"1399653871"},"map_files_photo_id_array":[{"photo_id":"1399653955","filename":"file5"},{"photo_id":"1399653841","filename":"file2"},{"photo_id":"1399653897","filename":"file4"},{"photo_id":"1399653803","filename":"file1"},{"photo_id":"1399653767","filename":"file0"},{"photo_id":"1399653871","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399653955":["hashtag1","hashtag2"]},{"1399653841":["hashtag1","hashtag2"]},{"1399653897":["hashtag1","hashtag2"]},{"1399653767":["hashtag1","hashtag2"]},{"1399653871":["hashtag1","hashtag2"]},{"1399653803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399653955, 1399653841, 1399653897, 1399653767, 1399653871, 1399653803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98321890830994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:05:03.080696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_15_10746.jpg', '/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_25_9800.jpg', '/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_35_9752.jpg', '/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_45_10617.jpg', '/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_55_9784.jpg', '/home/pi/Desktop/images/16122025/12/53/image_16122025_12_54_05_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_15_10746.jpg
/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_25_9800.jpg
/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_35_9752.jpg
/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_45_10617.jpg
/home/pi/Desktop/images/16122025/12/53/image_16122025_12_53_55_9784.jpg
/home/pi/Desktop/images/16122025/12/53/image_16122025_12_54_05_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399654161","1399654199","1399654271","1399654355","1399654235","1399654310"],"photo_ids_order":["1399654161","1399654199","1399654235","1399654271","1399654310","1399654355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3fe873968ec626a82c216da8ae3ef67.jpg","text":"TemporaryFile(/tmp/multipartBody7524928036197353025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886763876,"filename":"image_16122025_12_53_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1a9dadaf7d0f006957186d9fea78733.jpg","text":"TemporaryFile(/tmp/multipartBody7874608855261257469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886763876,"filename":"image_16122025_12_53_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/16/6912c03de33ea7537ccf5c300e3faca5.jpg","text":"TemporaryFile(/tmp/multipartBody2864568420147281532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886763876,"filename":"image_16122025_12_53_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/688dbafb3541591339d0acf41b0f1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6416969789385602097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886763876,"filename":"image_16122025_12_54_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/16/f2f7ec6985a97dc81a9d25d93ac29bac.jpg","text":"TemporaryFile(/tmp/multipartBody4086508615931056610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886763876,"filename":"image_16122025_12_53_35_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80d0cb0068f1ddce906116ef3d9e42b3.jpg","text":"TemporaryFile(/tmp/multipartBody208684869003853800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886763876,"filename":"image_16122025_12_53_55_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654235","file1":"1399654199","file0":"1399654161","file4":"1399654310","file5":"1399654355","file3":"1399654271"},"map_files_photo_id_array":[{"photo_id":"1399654355","filename":"file5"},{"photo_id":"1399654235","filename":"file2"},{"photo_id":"1399654310","filename":"file4"},{"photo_id":"1399654199","filename":"file1"},{"photo_id":"1399654161","filename":"file0"},{"photo_id":"1399654271","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399654161":["hashtag1","hashtag2"]},{"1399654199":["hashtag1","hashtag2"]},{"1399654271":["hashtag1","hashtag2"]},{"1399654355":["hashtag1","hashtag2"]},{"1399654235":["hashtag1","hashtag2"]},{"1399654310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399654161, 1399654199, 1399654271, 1399654355, 1399654235, 1399654310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.312578201293945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:05:42.390165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_01_2652.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_04_2536.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_10_2680.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_14_3644.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_16_2605.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_19_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_01_2652.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_04_2536.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_10_2680.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_14_3644.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_16_2605.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_19_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399654860","1399654629","1399654568","1399654760","1399654802","1399654700"],"photo_ids_order":["1399654568","1399654629","1399654700","1399654760","1399654802","1399654860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/401c2e34327ec24a2c5af1ab293fb06e.jpg","text":"TemporaryFile(/tmp/multipartBody2465557989662678681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886803105,"filename":"image_06112025_16_26_19_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/16/48ecf135a955c63d96085e2b0f361bf7.jpg","text":"TemporaryFile(/tmp/multipartBody8928775346949092018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886803105,"filename":"image_06112025_16_26_04_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/16/172dfc52965eed40d78b43633a6badaf.jpg","text":"TemporaryFile(/tmp/multipartBody2879114826380743076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886803105,"filename":"image_06112025_16_26_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/16/dacda58a09f54b17938227ea7c217e57.jpg","text":"TemporaryFile(/tmp/multipartBody2917168170136250283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886803105,"filename":"image_06112025_16_26_14_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/16/5c3946a7a04e60aad67876058113d893.jpg","text":"TemporaryFile(/tmp/multipartBody8714032800260230910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886803105,"filename":"image_06112025_16_26_16_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc9b6dbdba246dccb355cc7c3da55cdb.jpg","text":"TemporaryFile(/tmp/multipartBody1772221173548705567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886803105,"filename":"image_06112025_16_26_10_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654700","file1":"1399654629","file0":"1399654568","file4":"1399654802","file5":"1399654860","file3":"1399654760"},"map_files_photo_id_array":[{"photo_id":"1399654860","filename":"file5"},{"photo_id":"1399654700","filename":"file2"},{"photo_id":"1399654802","filename":"file4"},{"photo_id":"1399654629","filename":"file1"},{"photo_id":"1399654568","filename":"file0"},{"photo_id":"1399654760","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399654860":["hashtag1","hashtag2"]},{"1399654629":["hashtag1","hashtag2"]},{"1399654568":["hashtag1","hashtag2"]},{"1399654760":["hashtag1","hashtag2"]},{"1399654802":["hashtag1","hashtag2"]},{"1399654700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399654860, 1399654629, 1399654568, 1399654760, 1399654802, 1399654700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75314950942993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:06:22.629814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_15_9816.jpg', '/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_25_9637.jpg', '/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_35_10674.jpg', '/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_45_9818.jpg', '/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_55_9747.jpg', '/home/pi/Desktop/images/16122025/12/54/image_16122025_12_55_05_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_15_9816.jpg
/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_25_9637.jpg
/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_35_10674.jpg
/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_45_9818.jpg
/home/pi/Desktop/images/16122025/12/54/image_16122025_12_54_55_9747.jpg
/home/pi/Desktop/images/16122025/12/54/image_16122025_12_55_05_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399654869","1399654866","1399654871","1399654865","1399654876","1399654873"],"photo_ids_order":["1399654865","1399654866","1399654869","1399654871","1399654873","1399654876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5765f6186daed739354977c79f0fb1bf.jpg","text":"TemporaryFile(/tmp/multipartBody3381240543490667133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886843300,"filename":"image_16122025_12_54_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/16/944e3da68be814fc33ed5b3f59dda9de.jpg","text":"TemporaryFile(/tmp/multipartBody1530803165345295561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886843300,"filename":"image_16122025_12_54_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbc171d217ee9f773582692ab49022dc.jpg","text":"TemporaryFile(/tmp/multipartBody2580555538725636987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886843300,"filename":"image_16122025_12_54_45_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/16/a76026b4b32f1fc754e7ac7b0c9bbaf6.jpg","text":"TemporaryFile(/tmp/multipartBody635514723942931670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886843300,"filename":"image_16122025_12_54_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/16/d5d581f5677591ba96cec942dcb8add7.jpg","text":"TemporaryFile(/tmp/multipartBody533453817958242639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886843300,"filename":"image_16122025_12_55_05_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88b339b68dbef1ed153c0cfe71deac06.jpg","text":"TemporaryFile(/tmp/multipartBody1673451055705307780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886843300,"filename":"image_16122025_12_54_55_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654869","file1":"1399654866","file0":"1399654865","file4":"1399654873","file5":"1399654876","file3":"1399654871"},"map_files_photo_id_array":[{"photo_id":"1399654876","filename":"file5"},{"photo_id":"1399654869","filename":"file2"},{"photo_id":"1399654873","filename":"file4"},{"photo_id":"1399654866","filename":"file1"},{"photo_id":"1399654865","filename":"file0"},{"photo_id":"1399654871","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399654869":["hashtag1","hashtag2"]},{"1399654866":["hashtag1","hashtag2"]},{"1399654871":["hashtag1","hashtag2"]},{"1399654865":["hashtag1","hashtag2"]},{"1399654876":["hashtag1","hashtag2"]},{"1399654873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399654869, 1399654866, 1399654871, 1399654865, 1399654876, 1399654873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.954553842544556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:07:02.495628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_15_10640.jpg', '/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_25_9611.jpg', '/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_35_9852.jpg', '/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_45_10594.jpg', '/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_55_9695.jpg', '/home/pi/Desktop/images/16122025/12/55/image_16122025_12_56_05_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_15_10640.jpg
/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_25_9611.jpg
/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_35_9852.jpg
/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_45_10594.jpg
/home/pi/Desktop/images/16122025/12/55/image_16122025_12_55_55_9695.jpg
/home/pi/Desktop/images/16122025/12/55/image_16122025_12_56_05_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":["1399654881","1399654878","1399654883","1399654877","1399654880","1399654879"],"photo_ids_order":["1399654877","1399654878","1399654879","1399654880","1399654881","1399654883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0943a17d337776ed756376ae35d4ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1533313297704155463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886883250,"filename":"image_16122025_12_55_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a00be5df9802d0f173204ceb00376a71.jpg","text":"TemporaryFile(/tmp/multipartBody6538680719194204076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886883250,"filename":"image_16122025_12_55_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/16/31a9a08cca294b058893392557eec21a.jpg","text":"TemporaryFile(/tmp/multipartBody8820687466351518548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886883250,"filename":"image_16122025_12_56_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84520d90fcfaffab00800b1e5b81398f.jpg","text":"TemporaryFile(/tmp/multipartBody5737370991179430994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886883250,"filename":"image_16122025_12_55_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e294e457f0c4acbb14f0c5f1c75f879.jpg","text":"TemporaryFile(/tmp/multipartBody1049762903650394698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886883250,"filename":"image_16122025_12_55_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd8018a920b0778cb9ad9d57a1b95a46.jpg","text":"TemporaryFile(/tmp/multipartBody7335547571023911147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886883250,"filename":"image_16122025_12_55_35_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654879","file1":"1399654878","file0":"1399654877","file4":"1399654881","file5":"1399654883","file3":"1399654880"},"map_files_photo_id_array":[{"photo_id":"1399654883","filename":"file5"},{"photo_id":"1399654879","filename":"file2"},{"photo_id":"1399654881","filename":"file4"},{"photo_id":"1399654878","filename":"file1"},{"photo_id":"1399654877","filename":"file0"},{"photo_id":"1399654880","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399654881":["hashtag1","hashtag2"]},{"1399654878":["hashtag1","hashtag2"]},{"1399654883":["hashtag1","hashtag2"]},{"1399654877":["hashtag1","hashtag2"]},{"1399654880":["hashtag1","hashtag2"]},{"1399654879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399654881, 1399654878, 1399654883, 1399654877, 1399654880, 1399654879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42434024810791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:07:41.996164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_23_3712.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_26_2761.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_28_2789.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_33_5006.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_42_8671.jpg', '/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_58_15597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_23_3712.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_26_2761.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_28_2789.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_33_5006.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_42_8671.jpg
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_58_15597.jpg
 val : 1 : upload photos 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":["1399654893","1399654895","1399654888","1399654897","1399654891","1399654899"],"photo_ids_order":["1399654888","1399654891","1399654893","1399654895","1399654897","1399654899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/901e54dd33798f2de678e96da353c41a.jpg","text":"TemporaryFile(/tmp/multipartBody8061582329353321610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886922702,"filename":"image_06112025_16_26_28_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/16/1ae60d4c40932d233d4abe44b231f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody3924983188549196923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886922702,"filename":"image_06112025_16_26_33_5006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10fc4cf3f1a21b3de4632c1174180e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1799381423548659631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886922702,"filename":"image_06112025_16_26_23_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/16/0eb64a0ee48a743d045ed9560d8eb50f.jpg","text":"TemporaryFile(/tmp/multipartBody2296928072144570936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886922702,"filename":"image_06112025_16_26_42_8671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a5e9345e2ca672fe3ab8c60added213.jpg","text":"TemporaryFile(/tmp/multipartBody8475818658876878992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886922702,"filename":"image_06112025_16_26_26_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/16/d2e7af11c01cc43ed539ec2885bf6557.jpg","text":"TemporaryFile(/tmp/multipartBody7258975397078156683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765886922702,"filename":"image_06112025_16_26_58_15597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654893","file1":"1399654891","file0":"1399654888","file4":"1399654897","file5":"1399654899","file3":"1399654895"},"map_files_photo_id_array":[{"photo_id":"1399654899","filename":"file5"},{"photo_id":"1399654893","filename":"file2"},{"photo_id":"1399654897","filename":"file4"},{"photo_id":"1399654891","filename":"file1"},{"photo_id":"1399654888","filename":"file0"},{"photo_id":"1399654895","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399654893":["hashtag1","hashtag2"]},{"1399654895":["hashtag1","hashtag2"]},{"1399654888":["hashtag1","hashtag2"]},{"1399654897":["hashtag1","hashtag2"]},{"1399654891":["hashtag1","hashtag2"]},{"1399654899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399654893, 1399654895, 1399654888, 1399654897, 1399654891, 1399654899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.08662390708923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:09:03.534693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_15_9902.jpg', '/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_25_10670.jpg', '/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_35_9672.jpg', '/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_45_9821.jpg', '/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_55_9723.jpg', '/home/pi/Desktop/images/16122025/12/56/image_16122025_12_57_05_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_15_9902.jpg
/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_25_10670.jpg
/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_35_9672.jpg
/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_45_9821.jpg
/home/pi/Desktop/images/16122025/12/56/image_16122025_12_56_55_9723.jpg
/home/pi/Desktop/images/16122025/12/56/image_16122025_12_57_05_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399654911","1399654905","1399654908","1399654907","1399654906","1399654909"],"photo_ids_order":["1399654905","1399654906","1399654907","1399654908","1399654909","1399654911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dacfec9fb1a5d46306eb6d5d12924336.jpg","text":"TemporaryFile(/tmp/multipartBody960961642852415593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887004390,"filename":"image_16122025_12_57_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81ae582650f26924fff50009b45cc4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7075980016794937461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887004390,"filename":"image_16122025_12_56_15_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d67b9970eb5c31f45c50582d90cc0347.jpg","text":"TemporaryFile(/tmp/multipartBody1682847700724161138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887004390,"filename":"image_16122025_12_56_45_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/16/de0cfda40f0098747319f1e0836132e6.jpg","text":"TemporaryFile(/tmp/multipartBody9103291079076877535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887004390,"filename":"image_16122025_12_56_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/16/f590697ff36850eaec79d345f1bbc114.jpg","text":"TemporaryFile(/tmp/multipartBody3021780413561414538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887004390,"filename":"image_16122025_12_56_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/16/34d52250807f50e99f39a3d296de0a48.jpg","text":"TemporaryFile(/tmp/multipartBody2128943727530854058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887004390,"filename":"image_16122025_12_56_55_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654907","file1":"1399654906","file0":"1399654905","file4":"1399654909","file5":"1399654911","file3":"1399654908"},"map_files_photo_id_array":[{"photo_id":"1399654911","filename":"file5"},{"photo_id":"1399654907","filename":"file2"},{"photo_id":"1399654909","filename":"file4"},{"photo_id":"1399654906","filename":"file1"},{"photo_id":"1399654905","filename":"file0"},{"photo_id":"1399654908","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399654911":["hashtag1","hashtag2"]},{"1399654905":["hashtag1","hashtag2"]},{"1399654908":["hashtag1","hashtag2"]},{"1399654907":["hashtag1","hashtag2"]},{"1399654906":["hashtag1","hashtag2"]},{"1399654909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399654911, 1399654905, 1399654908, 1399654907, 1399654906, 1399654909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.744916915893555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:09:42.479152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_59_1723.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_01_1724.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_17_16437.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_19_1746.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_21_1636.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_23_1807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/26/image_06112025_16_26_59_1723.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_01_1724.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_17_16437.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_19_1746.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_21_1636.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_23_1807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399654953","1399654941","1399654917","1399654919","1399654939","1399654936"],"photo_ids_order":["1399654917","1399654919","1399654936","1399654939","1399654941","1399654953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/377359fccb67a8ea7ccae0c2a804747b.jpg","text":"TemporaryFile(/tmp/multipartBody7178406751818903704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887043198,"filename":"image_06112025_16_27_23_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/16/4a3eac2f74fdb88336bd4125c6baaa8b.jpg","text":"TemporaryFile(/tmp/multipartBody3552014487630997600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887043198,"filename":"image_06112025_16_27_21_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/16/f3ee4cf448b4bf7c89196c2bec1c446e.jpg","text":"TemporaryFile(/tmp/multipartBody7326294609572128670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887043198,"filename":"image_06112025_16_26_59_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edbf0e96221a75b9e942285a1646b8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2704482013834815752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887043198,"filename":"image_06112025_16_27_01_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37c100c34cd097834923a1eff95e00fc.jpg","text":"TemporaryFile(/tmp/multipartBody3701162069316860553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887043198,"filename":"image_06112025_16_27_19_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12c741f79ba67e7ff0c102d30616945f.jpg","text":"TemporaryFile(/tmp/multipartBody1193147447385870148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887043198,"filename":"image_06112025_16_27_17_16437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654936","file1":"1399654919","file0":"1399654917","file4":"1399654941","file5":"1399654953","file3":"1399654939"},"map_files_photo_id_array":[{"photo_id":"1399654953","filename":"file5"},{"photo_id":"1399654936","filename":"file2"},{"photo_id":"1399654941","filename":"file4"},{"photo_id":"1399654919","filename":"file1"},{"photo_id":"1399654917","filename":"file0"},{"photo_id":"1399654939","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399654953":["hashtag1","hashtag2"]},{"1399654941":["hashtag1","hashtag2"]},{"1399654917":["hashtag1","hashtag2"]},{"1399654919":["hashtag1","hashtag2"]},{"1399654939":["hashtag1","hashtag2"]},{"1399654936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399654953, 1399654941, 1399654917, 1399654919, 1399654939, 1399654936)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.06379985809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:10:32.757160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:10:42.734700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_25_1826.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_26_1664.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_28_1546.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_29_1660.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_31_1728.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_33_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_25_1826.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_26_1664.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_28_1546.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_29_1660.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_31_1728.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_33_1532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399654974","1399654977","1399654976","1399654979","1399654981","1399654978"],"photo_ids_order":["1399654974","1399654976","1399654977","1399654978","1399654979","1399654981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06a0786d1d72075348715f3c218c77a2.jpg","text":"TemporaryFile(/tmp/multipartBody684139138731740289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887103453,"filename":"image_06112025_16_27_25_1826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b84d7182f19769c5df2cce788d9e273.jpg","text":"TemporaryFile(/tmp/multipartBody5863764307563359934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887103453,"filename":"image_06112025_16_27_28_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/16/89fe29ee14f6e7137aef7b9b01223a4d.jpg","text":"TemporaryFile(/tmp/multipartBody5884798138912329296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887103453,"filename":"image_06112025_16_27_26_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f49bfc010bbb23208a7929c42707d5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2959464683147653227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887103453,"filename":"image_06112025_16_27_31_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/16/5e8202a1f0620aaca9ba7ec661e1ce85.jpg","text":"TemporaryFile(/tmp/multipartBody5553787173063820380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887103453,"filename":"image_06112025_16_27_33_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/16/58f55a8f367c33663b9d523ba66f43d2.jpg","text":"TemporaryFile(/tmp/multipartBody5444166904849332630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887103453,"filename":"image_06112025_16_27_29_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399654977","file1":"1399654976","file0":"1399654974","file4":"1399654979","file5":"1399654981","file3":"1399654978"},"map_files_photo_id_array":[{"photo_id":"1399654981","filename":"file5"},{"photo_id":"1399654977","filename":"file2"},{"photo_id":"1399654979","filename":"file4"},{"photo_id":"1399654976","filename":"file1"},{"photo_id":"1399654974","filename":"file0"},{"photo_id":"1399654978","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399654974":["hashtag1","hashtag2"]},{"1399654977":["hashtag1","hashtag2"]},{"1399654976":["hashtag1","hashtag2"]},{"1399654979":["hashtag1","hashtag2"]},{"1399654981":["hashtag1","hashtag2"]},{"1399654978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399654974, 1399654977, 1399654976, 1399654979, 1399654981, 1399654978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71510648727417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:11:21.999485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_15_9633.jpg', '/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_25_9702.jpg', '/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_35_10764.jpg', '/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_45_9678.jpg', '/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_55_9650.jpg', '/home/pi/Desktop/images/16122025/12/57/image_16122025_12_58_05_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_15_9633.jpg
/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_25_9702.jpg
/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_35_10764.jpg
/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_45_9678.jpg
/home/pi/Desktop/images/16122025/12/57/image_16122025_12_57_55_9650.jpg
/home/pi/Desktop/images/16122025/12/57/image_16122025_12_58_05_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":["1399655022","1399655025","1399655019","1399655030","1399655014","1399654998"],"photo_ids_order":["1399654998","1399655014","1399655019","1399655022","1399655025","1399655030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eebc7a3de3da8de6759d8de330cf5191.jpg","text":"TemporaryFile(/tmp/multipartBody8120213234437403099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887142709,"filename":"image_16122025_12_57_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c05a9c248724270ab7bb38536f23f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8587956545621861705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887142709,"filename":"image_16122025_12_57_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75d36ccf7ae29dbf8dcdb69f126bd290.jpg","text":"TemporaryFile(/tmp/multipartBody5787085358382697711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887142709,"filename":"image_16122025_12_57_35_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02829c5e5695152cc2796c9a1b7597cd.jpg","text":"TemporaryFile(/tmp/multipartBody3297504202948344592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887142709,"filename":"image_16122025_12_58_05_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9fa377577adb38e4fde539c46ce9ac73.jpg","text":"TemporaryFile(/tmp/multipartBody458574871193787374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887142709,"filename":"image_16122025_12_57_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/16/a9909e75556536264c461a2e5ae9aebc.jpg","text":"TemporaryFile(/tmp/multipartBody6200873896596691765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887142709,"filename":"image_16122025_12_57_15_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655019","file1":"1399655014","file0":"1399654998","file4":"1399655025","file5":"1399655030","file3":"1399655022"},"map_files_photo_id_array":[{"photo_id":"1399655030","filename":"file5"},{"photo_id":"1399655019","filename":"file2"},{"photo_id":"1399655025","filename":"file4"},{"photo_id":"1399655014","filename":"file1"},{"photo_id":"1399654998","filename":"file0"},{"photo_id":"1399655022","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655022":["hashtag1","hashtag2"]},{"1399655025":["hashtag1","hashtag2"]},{"1399655019":["hashtag1","hashtag2"]},{"1399655030":["hashtag1","hashtag2"]},{"1399655014":["hashtag1","hashtag2"]},{"1399654998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655022, 1399655025, 1399655019, 1399655030, 1399655014, 1399654998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.899012088775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:12:02.676547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_15_9759.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_25_9822.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_35_9872.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_45_9662.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_55_10740.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_59_05_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_15_9759.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_25_9822.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_35_9872.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_45_9662.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_55_10740.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_59_05_9837.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5858480930328369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:12:12.110842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:12:22.157743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_15_9759.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_25_9822.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_35_9872.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_45_9662.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_55_10740.jpg', '/home/pi/Desktop/images/16122025/12/58/image_16122025_12_59_05_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_15_9759.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_25_9822.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_35_9872.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_45_9662.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_58_55_10740.jpg
/home/pi/Desktop/images/16122025/12/58/image_16122025_12_59_05_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":["1399655043","1399655037","1399655045","1399655039","1399655048","1399655041"],"photo_ids_order":["1399655037","1399655039","1399655041","1399655043","1399655045","1399655048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad87d0457be6a8b9d0c82ad1af3ed014.jpg","text":"TemporaryFile(/tmp/multipartBody824903149936128016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887202882,"filename":"image_16122025_12_58_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10dd04c8b2b08b4c330a31fb6079df80.jpg","text":"TemporaryFile(/tmp/multipartBody6597667319070619410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887202882,"filename":"image_16122025_12_58_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a658fd4bf78351d1ee79ca0ca53e5bb.jpg","text":"TemporaryFile(/tmp/multipartBody5436715745846009521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887202882,"filename":"image_16122025_12_58_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/16/46da0aa4a9e682a2c005288f6061f7ed.jpg","text":"TemporaryFile(/tmp/multipartBody1994796029532688762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887202882,"filename":"image_16122025_12_58_25_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d69cb926fe09b98de3810ec055375ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2317058374745508381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887202882,"filename":"image_16122025_12_59_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/16/17a849763a4c3aec80c91dc2db4cd2b1.jpg","text":"TemporaryFile(/tmp/multipartBody1596894046474264895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887202882,"filename":"image_16122025_12_58_35_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655041","file1":"1399655039","file0":"1399655037","file4":"1399655045","file5":"1399655048","file3":"1399655043"},"map_files_photo_id_array":[{"photo_id":"1399655048","filename":"file5"},{"photo_id":"1399655041","filename":"file2"},{"photo_id":"1399655045","filename":"file4"},{"photo_id":"1399655039","filename":"file1"},{"photo_id":"1399655037","filename":"file0"},{"photo_id":"1399655043","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655043":["hashtag1","hashtag2"]},{"1399655037":["hashtag1","hashtag2"]},{"1399655045":["hashtag1","hashtag2"]},{"1399655039":["hashtag1","hashtag2"]},{"1399655048":["hashtag1","hashtag2"]},{"1399655041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655043, 1399655037, 1399655045, 1399655039, 1399655048, 1399655041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86521863937378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:13:03.091635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_15_9801.jpg', '/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_25_9820.jpg', '/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_35_10720.jpg', '/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_45_9786.jpg', '/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_55_10093.jpg', '/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_14_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_15_9801.jpg
/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_25_9820.jpg
/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_35_10720.jpg
/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_45_9786.jpg
/home/pi/Desktop/images/16122025/12/59/image_16122025_12_59_55_10093.jpg
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_14_10052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655051","1399655054","1399655056","1399655050","1399655053","1399655052"],"photo_ids_order":["1399655050","1399655051","1399655052","1399655053","1399655054","1399655056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1551a411bcc3f7e7cf5a20708a3a5a40.jpg","text":"TemporaryFile(/tmp/multipartBody386332721488739954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887243849,"filename":"image_16122025_12_59_25_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f42564e607109b5c64710b80bbf88b39.jpg","text":"TemporaryFile(/tmp/multipartBody3353238262577437468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887243849,"filename":"image_16122025_12_59_55_10093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca132528bece9de3e4d4d2d330d6eddf.jpg","text":"TemporaryFile(/tmp/multipartBody8197935584179048964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887243849,"filename":"image_16122025_13_00_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bcd98ec174cca13c27bdac03d21dde8d.jpg","text":"TemporaryFile(/tmp/multipartBody2889421285404563888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887243849,"filename":"image_16122025_12_59_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/16/61ed3aaeb4f51251d9384e964bd096de.jpg","text":"TemporaryFile(/tmp/multipartBody1680303062252892283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887243849,"filename":"image_16122025_12_59_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/16/d201de89ea041eaa9cc6be17d214f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody3944333179705051068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887243849,"filename":"image_16122025_12_59_35_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655052","file1":"1399655051","file0":"1399655050","file4":"1399655054","file5":"1399655056","file3":"1399655053"},"map_files_photo_id_array":[{"photo_id":"1399655056","filename":"file5"},{"photo_id":"1399655052","filename":"file2"},{"photo_id":"1399655054","filename":"file4"},{"photo_id":"1399655051","filename":"file1"},{"photo_id":"1399655050","filename":"file0"},{"photo_id":"1399655053","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655051":["hashtag1","hashtag2"]},{"1399655054":["hashtag1","hashtag2"]},{"1399655056":["hashtag1","hashtag2"]},{"1399655050":["hashtag1","hashtag2"]},{"1399655053":["hashtag1","hashtag2"]},{"1399655052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655051, 1399655054, 1399655056, 1399655050, 1399655053, 1399655052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72331714630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:13:42.460978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_34_1853.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_36_1629.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_38_1665.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_39_1649.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_41_1605.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_43_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_34_1853.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_36_1629.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_38_1665.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_39_1649.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_41_1605.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_43_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":["1399655061","1399655066","1399655069","1399655068","1399655065","1399655067"],"photo_ids_order":["1399655061","1399655065","1399655066","1399655067","1399655068","1399655069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8d15d646c912d711e209483aa80ab01.jpg","text":"TemporaryFile(/tmp/multipartBody2159565452484758651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887283199,"filename":"image_06112025_16_27_34_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/16/3ceb3834f6083b302260119e66b33ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7406347713178491852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887283199,"filename":"image_06112025_16_27_38_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2c01d2ecc4d40ca5fd86cb65e3175f31.jpg","text":"TemporaryFile(/tmp/multipartBody5176386434914542415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887283199,"filename":"image_06112025_16_27_43_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/16/93773cab43f7895a764eec31ba29c37a.jpg","text":"TemporaryFile(/tmp/multipartBody971547484167117396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887283199,"filename":"image_06112025_16_27_41_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16a470e0264dd876f4d00f624a933512.jpg","text":"TemporaryFile(/tmp/multipartBody2316863013072498091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887283199,"filename":"image_06112025_16_27_36_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/16/943f8aa017dac6a03d919b3394599b35.jpg","text":"TemporaryFile(/tmp/multipartBody4520917692857191467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887283199,"filename":"image_06112025_16_27_39_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655066","file1":"1399655065","file0":"1399655061","file4":"1399655068","file5":"1399655069","file3":"1399655067"},"map_files_photo_id_array":[{"photo_id":"1399655069","filename":"file5"},{"photo_id":"1399655066","filename":"file2"},{"photo_id":"1399655068","filename":"file4"},{"photo_id":"1399655065","filename":"file1"},{"photo_id":"1399655061","filename":"file0"},{"photo_id":"1399655067","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655061":["hashtag1","hashtag2"]},{"1399655066":["hashtag1","hashtag2"]},{"1399655069":["hashtag1","hashtag2"]},{"1399655068":["hashtag1","hashtag2"]},{"1399655065":["hashtag1","hashtag2"]},{"1399655067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655061, 1399655066, 1399655069, 1399655068, 1399655065, 1399655067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0388457775116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:14:22.553666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_25_10805.jpg', '/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_35_9791.jpg', '/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_44_9585.jpg', '/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_54_9873.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_05_10552.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_25_10805.jpg
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_35_9791.jpg
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_44_9585.jpg
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_54_9873.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_05_10552.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_14_9700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5832533836364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:14:32.684565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:14:42.647632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_44_1755.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_46_1672.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_48_1609.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_49_1730.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_51_1665.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_53_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_44_1755.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_46_1672.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_48_1609.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_49_1730.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_51_1665.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_53_1553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655124","1399655103","1399655096","1399655119","1399655104","1399655113"],"photo_ids_order":["1399655096","1399655103","1399655104","1399655113","1399655119","1399655124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd58d9f3b0034bd8473cb0139a2ab1cd.jpg","text":"TemporaryFile(/tmp/multipartBody6925934764489789752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887354473,"filename":"image_06112025_16_27_53_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/16/3fcbdf9839e6a6a6a5e4b208cae6b1b6.jpg","text":"TemporaryFile(/tmp/multipartBody7462800148510628072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887354473,"filename":"image_06112025_16_27_46_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/16/1a3111bed62e6c0a74b722d3175ddcbc.jpg","text":"TemporaryFile(/tmp/multipartBody423084029636964702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887354473,"filename":"image_06112025_16_27_44_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69d1153d9c18e4533fcc50942d0f2914.jpg","text":"TemporaryFile(/tmp/multipartBody3225218064848863303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887354473,"filename":"image_06112025_16_27_51_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25ee857b6fd930c47c39861380893f50.jpg","text":"TemporaryFile(/tmp/multipartBody5447758709566884496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887354473,"filename":"image_06112025_16_27_48_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/16/bb6a09f771a70997dbc47475593b4dd2.jpg","text":"TemporaryFile(/tmp/multipartBody158137774027450153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887354473,"filename":"image_06112025_16_27_49_1730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655104","file1":"1399655103","file0":"1399655096","file4":"1399655119","file5":"1399655124","file3":"1399655113"},"map_files_photo_id_array":[{"photo_id":"1399655124","filename":"file5"},{"photo_id":"1399655104","filename":"file2"},{"photo_id":"1399655119","filename":"file4"},{"photo_id":"1399655103","filename":"file1"},{"photo_id":"1399655096","filename":"file0"},{"photo_id":"1399655113","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655124":["hashtag1","hashtag2"]},{"1399655103":["hashtag1","hashtag2"]},{"1399655096":["hashtag1","hashtag2"]},{"1399655119":["hashtag1","hashtag2"]},{"1399655104":["hashtag1","hashtag2"]},{"1399655113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655124, 1399655103, 1399655096, 1399655119, 1399655104, 1399655113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.83977293968201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:15:32.751981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:15:42.697763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_55_2457.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_57_1528.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_59_1843.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_01_2609.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_04_2677.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_07_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_55_2457.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_57_1528.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_59_1843.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_01_2609.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_04_2677.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_07_3698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5942668914794922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:16:02.356167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 13:16:11.966840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:16:21.867022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_25_10805.jpg', '/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_35_9791.jpg', '/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_44_9585.jpg', '/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_54_9873.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_05_10552.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_25_10805.jpg
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_35_9791.jpg
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_44_9585.jpg
/home/pi/Desktop/images/16122025/13/00/image_16122025_13_00_54_9873.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_05_10552.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_14_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655139","1399655147","1399655141","1399655143","1399655137","1399655145"],"photo_ids_order":["1399655137","1399655139","1399655141","1399655143","1399655145","1399655147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/727ad7b4d869d6a09197de9bc86bd248.jpg","text":"TemporaryFile(/tmp/multipartBody1326606478468370201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887442476,"filename":"image_16122025_13_00_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/784355703ecf3c02a2caca37264c8c1c.jpg","text":"TemporaryFile(/tmp/multipartBody2243491902474277074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887442476,"filename":"image_16122025_13_01_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/16/415cddddcb46832fa618eb5f4a866dae.jpg","text":"TemporaryFile(/tmp/multipartBody8884505416532517887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887442476,"filename":"image_16122025_13_00_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/16/ff85656cc3e32ec20f2e6fd67b47a171.jpg","text":"TemporaryFile(/tmp/multipartBody6610531272354801395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887442476,"filename":"image_16122025_13_00_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/16/e763f9ddb6c7adfc4360adf5a028c789.jpg","text":"TemporaryFile(/tmp/multipartBody7464773632811621388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887442476,"filename":"image_16122025_13_00_25_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/16/5013d905bd9a9f9b315fe2da9120a56d.jpg","text":"TemporaryFile(/tmp/multipartBody8653375925433716222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887442476,"filename":"image_16122025_13_01_05_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655141","file1":"1399655139","file0":"1399655137","file4":"1399655145","file5":"1399655147","file3":"1399655143"},"map_files_photo_id_array":[{"photo_id":"1399655147","filename":"file5"},{"photo_id":"1399655141","filename":"file2"},{"photo_id":"1399655145","filename":"file4"},{"photo_id":"1399655139","filename":"file1"},{"photo_id":"1399655137","filename":"file0"},{"photo_id":"1399655143","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655139":["hashtag1","hashtag2"]},{"1399655147":["hashtag1","hashtag2"]},{"1399655141":["hashtag1","hashtag2"]},{"1399655143":["hashtag1","hashtag2"]},{"1399655137":["hashtag1","hashtag2"]},{"1399655145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655139, 1399655147, 1399655141, 1399655143, 1399655137, 1399655145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54167318344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:17:02.919962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_24_9721.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_35_10899.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_45_9709.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_55_9950.jpg', '/home/pi/Desktop/images/16122025/13/01/image_16122025_13_02_04_9704.jpg', '/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_24_9721.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_35_10899.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_45_9709.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_01_55_9950.jpg
/home/pi/Desktop/images/16122025/13/01/image_16122025_13_02_04_9704.jpg
/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_14_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655150","1399655153","1399655155","1399655149","1399655152","1399655151"],"photo_ids_order":["1399655149","1399655150","1399655151","1399655152","1399655153","1399655155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c2b0cfef357d5a0397a0b9214113ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8704446646426002297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887483706,"filename":"image_16122025_13_01_35_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/16/3c1218f9e62b898eada2d8a2a42e38c7.jpg","text":"TemporaryFile(/tmp/multipartBody29486161761592716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887483706,"filename":"image_16122025_13_02_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/16/c31622b805ff1b4bffd4c8b94aa3be05.jpg","text":"TemporaryFile(/tmp/multipartBody5811499650199312575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887483706,"filename":"image_16122025_13_02_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/56f3c9f57316aeb26edc00382ffba64d.jpg","text":"TemporaryFile(/tmp/multipartBody5465645316166046472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887483706,"filename":"image_16122025_13_01_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd32885c91097d63bc3427adddfc17ee.jpg","text":"TemporaryFile(/tmp/multipartBody1068982767687730612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887483706,"filename":"image_16122025_13_01_55_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/16/7d0bc2119ebfbbb79e2b02e5839ddf08.jpg","text":"TemporaryFile(/tmp/multipartBody8128832433644162379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887483706,"filename":"image_16122025_13_01_45_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655151","file1":"1399655150","file0":"1399655149","file4":"1399655153","file5":"1399655155","file3":"1399655152"},"map_files_photo_id_array":[{"photo_id":"1399655155","filename":"file5"},{"photo_id":"1399655151","filename":"file2"},{"photo_id":"1399655153","filename":"file4"},{"photo_id":"1399655150","filename":"file1"},{"photo_id":"1399655149","filename":"file0"},{"photo_id":"1399655152","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655150":["hashtag1","hashtag2"]},{"1399655153":["hashtag1","hashtag2"]},{"1399655155":["hashtag1","hashtag2"]},{"1399655149":["hashtag1","hashtag2"]},{"1399655152":["hashtag1","hashtag2"]},{"1399655151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655150, 1399655153, 1399655155, 1399655149, 1399655152, 1399655151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72152829170227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:17:42.116993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_55_2457.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_57_1528.jpg', '/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_59_1843.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_01_2609.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_04_2677.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_07_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_55_2457.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_57_1528.jpg
/home/pi/Desktop/images/06112025/16/27/image_06112025_16_27_59_1843.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_01_2609.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_04_2677.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_07_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655160","1399655165","1399655168","1399655167","1399655163","1399655166"],"photo_ids_order":["1399655160","1399655163","1399655165","1399655166","1399655167","1399655168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c5c07300b015780e15ca0a358ed2c78.jpg","text":"TemporaryFile(/tmp/multipartBody8944022663662091235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887522706,"filename":"image_06112025_16_27_55_2457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10d28782a112282eb05322ebd7402901.jpg","text":"TemporaryFile(/tmp/multipartBody9053955165553837260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887522706,"filename":"image_06112025_16_27_59_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/16/477a6ea35ed93ba3f56dc40995e3f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody5511165871916221002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887522706,"filename":"image_06112025_16_28_07_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/16/81428f4b841fe21a24a700dea10e9efe.jpg","text":"TemporaryFile(/tmp/multipartBody9186517310463018824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887522706,"filename":"image_06112025_16_28_04_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/16/43720dc23445ad31765feacf8eb6c394.jpg","text":"TemporaryFile(/tmp/multipartBody5526651898366705566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887522706,"filename":"image_06112025_16_27_57_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/16/f58700bac76df27540719b7f613a4bac.jpg","text":"TemporaryFile(/tmp/multipartBody5410700242932383431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887522706,"filename":"image_06112025_16_28_01_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655165","file1":"1399655163","file0":"1399655160","file4":"1399655167","file5":"1399655168","file3":"1399655166"},"map_files_photo_id_array":[{"photo_id":"1399655168","filename":"file5"},{"photo_id":"1399655165","filename":"file2"},{"photo_id":"1399655167","filename":"file4"},{"photo_id":"1399655163","filename":"file1"},{"photo_id":"1399655160","filename":"file0"},{"photo_id":"1399655166","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655160":["hashtag1","hashtag2"]},{"1399655165":["hashtag1","hashtag2"]},{"1399655168":["hashtag1","hashtag2"]},{"1399655167":["hashtag1","hashtag2"]},{"1399655163":["hashtag1","hashtag2"]},{"1399655166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655160, 1399655165, 1399655168, 1399655167, 1399655163, 1399655166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83944344520569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:18:22.356019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_25_10742.jpg', '/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_35_9749.jpg', '/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_44_9782.jpg', '/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_54_9639.jpg', '/home/pi/Desktop/images/16122025/13/02/image_16122025_13_03_05_10665.jpg', '/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_25_10742.jpg
/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_35_9749.jpg
/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_44_9782.jpg
/home/pi/Desktop/images/16122025/13/02/image_16122025_13_02_54_9639.jpg
/home/pi/Desktop/images/16122025/13/02/image_16122025_13_03_05_10665.jpg
/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_14_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655175","1399655169","1399655177","1399655171","1399655173","1399655170"],"photo_ids_order":["1399655169","1399655170","1399655171","1399655173","1399655175","1399655177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1388727e4aa8c50a5005baa984963527.jpg","text":"TemporaryFile(/tmp/multipartBody2467363488952061730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887563019,"filename":"image_16122025_13_03_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b667b11bc3111e1756942eb6c46795c.jpg","text":"TemporaryFile(/tmp/multipartBody8102973184015319055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887563019,"filename":"image_16122025_13_02_25_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d381f5ac7fa9afb7d70ca29b2c907127.jpg","text":"TemporaryFile(/tmp/multipartBody5202997871943487727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887563019,"filename":"image_16122025_13_03_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ed28b4e7200220a0932f6c7dbd2fa3c0.jpg","text":"TemporaryFile(/tmp/multipartBody1994397860968950092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887563019,"filename":"image_16122025_13_02_44_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/16/784d340b66899ac6d3df9f134f0aa89e.jpg","text":"TemporaryFile(/tmp/multipartBody6533641567656959347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887563019,"filename":"image_16122025_13_02_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf0d8da64aaa96ddfdb801114e8c60ea.jpg","text":"TemporaryFile(/tmp/multipartBody7229717356091227244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887563019,"filename":"image_16122025_13_02_35_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655171","file1":"1399655170","file0":"1399655169","file4":"1399655175","file5":"1399655177","file3":"1399655173"},"map_files_photo_id_array":[{"photo_id":"1399655177","filename":"file5"},{"photo_id":"1399655171","filename":"file2"},{"photo_id":"1399655175","filename":"file4"},{"photo_id":"1399655170","filename":"file1"},{"photo_id":"1399655169","filename":"file0"},{"photo_id":"1399655173","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655175":["hashtag1","hashtag2"]},{"1399655169":["hashtag1","hashtag2"]},{"1399655177":["hashtag1","hashtag2"]},{"1399655171":["hashtag1","hashtag2"]},{"1399655173":["hashtag1","hashtag2"]},{"1399655170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655175, 1399655169, 1399655177, 1399655171, 1399655173, 1399655170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77612376213074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:19:03.387156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_24_9727.jpg', '/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_34_9958.jpg', '/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_45_10732.jpg', '/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_54_9605.jpg', '/home/pi/Desktop/images/16122025/13/03/image_16122025_13_04_04_9680.jpg', '/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_15_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_24_9727.jpg
/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_34_9958.jpg
/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_45_10732.jpg
/home/pi/Desktop/images/16122025/13/03/image_16122025_13_03_54_9605.jpg
/home/pi/Desktop/images/16122025/13/03/image_16122025_13_04_04_9680.jpg
/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_15_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655183","1399655185","1399655188","1399655181","1399655184","1399655187"],"photo_ids_order":["1399655181","1399655183","1399655184","1399655185","1399655187","1399655188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9979ec4544ad74b675c2f3567b90a33.jpg","text":"TemporaryFile(/tmp/multipartBody4509912071642656210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887604191,"filename":"image_16122025_13_03_34_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80227351546fa376d1529eddec50c345.jpg","text":"TemporaryFile(/tmp/multipartBody4142524485267950474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887604191,"filename":"image_16122025_13_03_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/16/d57c0be4f6a11236be25e24ebc736971.jpg","text":"TemporaryFile(/tmp/multipartBody9006859647307364054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887604191,"filename":"image_16122025_13_04_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9ff00cae4a399e2954eb2c56d59f725.jpg","text":"TemporaryFile(/tmp/multipartBody7770408145415161731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887604191,"filename":"image_16122025_13_03_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/16/71081ad61cf04ccf4fb30801cd0e12cc.jpg","text":"TemporaryFile(/tmp/multipartBody8051819327503475094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887604191,"filename":"image_16122025_13_03_45_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf173cb6a339554bdd38c07495496cd6.jpg","text":"TemporaryFile(/tmp/multipartBody1641181474870042637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887604191,"filename":"image_16122025_13_04_04_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655184","file1":"1399655183","file0":"1399655181","file4":"1399655187","file5":"1399655188","file3":"1399655185"},"map_files_photo_id_array":[{"photo_id":"1399655188","filename":"file5"},{"photo_id":"1399655184","filename":"file2"},{"photo_id":"1399655187","filename":"file4"},{"photo_id":"1399655183","filename":"file1"},{"photo_id":"1399655181","filename":"file0"},{"photo_id":"1399655185","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655183":["hashtag1","hashtag2"]},{"1399655185":["hashtag1","hashtag2"]},{"1399655188":["hashtag1","hashtag2"]},{"1399655181":["hashtag1","hashtag2"]},{"1399655184":["hashtag1","hashtag2"]},{"1399655187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655183, 1399655185, 1399655188, 1399655181, 1399655184, 1399655187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5963397026062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:19:42.625005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_10_2598.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_13_2716.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_16_3466.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_19_2601.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_22_3538.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_25_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_10_2598.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_13_2716.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_16_3466.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_19_2601.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_22_3538.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_25_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":["1399655198","1399655201","1399655196","1399655200","1399655199","1399655193"],"photo_ids_order":["1399655193","1399655196","1399655198","1399655199","1399655200","1399655201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ded7a421d6b11ba640c808f635e0ef4.jpg","text":"TemporaryFile(/tmp/multipartBody209755644180687891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887643333,"filename":"image_06112025_16_28_16_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/16/feda0220f811ff0428fa7cd46eb6cc45.jpg","text":"TemporaryFile(/tmp/multipartBody3464414423178426077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887643333,"filename":"image_06112025_16_28_25_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/16/b16564738d991978db99d107359ca891.jpg","text":"TemporaryFile(/tmp/multipartBody813155874750586151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887643333,"filename":"image_06112025_16_28_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/16/815d9e065002f654a2477335acea7d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6132529890830551933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887643333,"filename":"image_06112025_16_28_22_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/16/49e88e8c6b4d9b4fa5c8070fa0130b16.jpg","text":"TemporaryFile(/tmp/multipartBody5983569655525944652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887643333,"filename":"image_06112025_16_28_19_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3ad7018109b1f17da4b07167d294d96.jpg","text":"TemporaryFile(/tmp/multipartBody6069156149123139338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887643333,"filename":"image_06112025_16_28_10_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655198","file1":"1399655196","file0":"1399655193","file4":"1399655200","file5":"1399655201","file3":"1399655199"},"map_files_photo_id_array":[{"photo_id":"1399655201","filename":"file5"},{"photo_id":"1399655198","filename":"file2"},{"photo_id":"1399655200","filename":"file4"},{"photo_id":"1399655196","filename":"file1"},{"photo_id":"1399655193","filename":"file0"},{"photo_id":"1399655199","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655198":["hashtag1","hashtag2"]},{"1399655201":["hashtag1","hashtag2"]},{"1399655196":["hashtag1","hashtag2"]},{"1399655200":["hashtag1","hashtag2"]},{"1399655199":["hashtag1","hashtag2"]},{"1399655193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655198, 1399655201, 1399655196, 1399655200, 1399655199, 1399655193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97562026977539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:20:21.879200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_25_9948.jpg', '/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_35_9737.jpg', '/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_44_9718.jpg', '/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_55_10756.jpg', '/home/pi/Desktop/images/16122025/13/04/image_16122025_13_05_05_9643.jpg', '/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_14_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_25_9948.jpg
/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_35_9737.jpg
/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_44_9718.jpg
/home/pi/Desktop/images/16122025/13/04/image_16122025_13_04_55_10756.jpg
/home/pi/Desktop/images/16122025/13/04/image_16122025_13_05_05_9643.jpg
/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_14_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655211","1399655205","1399655213","1399655207","1399655216","1399655209"],"photo_ids_order":["1399655205","1399655207","1399655209","1399655211","1399655213","1399655216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5e0fb597b0fe32ee79b005cdc001972.jpg","text":"TemporaryFile(/tmp/multipartBody8001414801772080328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887682527,"filename":"image_16122025_13_04_55_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/16/4c99543759c1dd3be41186bdf9610ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3764541069008191163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887682527,"filename":"image_16122025_13_04_25_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/16/d90a2d0bee38e19f2ab1798f0e407d23.jpg","text":"TemporaryFile(/tmp/multipartBody7808289025709954710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887682527,"filename":"image_16122025_13_05_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a78d3b38c94a76d03aec9c492eeec0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5233688625372083166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887682527,"filename":"image_16122025_13_04_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d0735b89d46c715ffbf009d6e5cfe32.jpg","text":"TemporaryFile(/tmp/multipartBody2863206400711264678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887682527,"filename":"image_16122025_13_05_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/16/024cb411680e8a57bb7e3b7f6da32496.jpg","text":"TemporaryFile(/tmp/multipartBody4607207171927968019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887682527,"filename":"image_16122025_13_04_44_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655209","file1":"1399655207","file0":"1399655205","file4":"1399655213","file5":"1399655216","file3":"1399655211"},"map_files_photo_id_array":[{"photo_id":"1399655216","filename":"file5"},{"photo_id":"1399655209","filename":"file2"},{"photo_id":"1399655213","filename":"file4"},{"photo_id":"1399655207","filename":"file1"},{"photo_id":"1399655205","filename":"file0"},{"photo_id":"1399655211","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655211":["hashtag1","hashtag2"]},{"1399655205":["hashtag1","hashtag2"]},{"1399655213":["hashtag1","hashtag2"]},{"1399655207":["hashtag1","hashtag2"]},{"1399655216":["hashtag1","hashtag2"]},{"1399655209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655211, 1399655205, 1399655213, 1399655207, 1399655216, 1399655209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7088303565979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:21:02.779633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_24_9711.jpg', '/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_35_10732.jpg', '/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_45_9901.jpg', '/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_55_9714.jpg', '/home/pi/Desktop/images/16122025/13/05/image_16122025_13_06_04_9652.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_15_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_24_9711.jpg
/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_35_10732.jpg
/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_45_9901.jpg
/home/pi/Desktop/images/16122025/13/05/image_16122025_13_05_55_9714.jpg
/home/pi/Desktop/images/16122025/13/05/image_16122025_13_06_04_9652.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_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":["1399655226","1399655223","1399655225","1399655219","1399655221","1399655227"],"photo_ids_order":["1399655219","1399655221","1399655223","1399655225","1399655226","1399655227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31afb5937ca992095bef4fb9aad93974.jpg","text":"TemporaryFile(/tmp/multipartBody5293212020827697223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887723510,"filename":"image_16122025_13_06_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25356de651f974508b51cdb9713a5288.jpg","text":"TemporaryFile(/tmp/multipartBody5538291669279828171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887723510,"filename":"image_16122025_13_05_45_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/16/7b9096a80383f2383b2dc693a77761ee.jpg","text":"TemporaryFile(/tmp/multipartBody8173261757619562504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887723510,"filename":"image_16122025_13_05_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/16/d42c1086dc1cbc638745b7e0bcc52738.jpg","text":"TemporaryFile(/tmp/multipartBody1920956570102724433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887723510,"filename":"image_16122025_13_05_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ca8dfbf0b27dce0bc1c95ad9a27c452.jpg","text":"TemporaryFile(/tmp/multipartBody86080540600435421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887723510,"filename":"image_16122025_13_05_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/16/1026fde83a2029e680105f9cf31e5594.jpg","text":"TemporaryFile(/tmp/multipartBody597195296936442921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887723510,"filename":"image_16122025_13_06_15_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655223","file1":"1399655221","file0":"1399655219","file4":"1399655226","file5":"1399655227","file3":"1399655225"},"map_files_photo_id_array":[{"photo_id":"1399655227","filename":"file5"},{"photo_id":"1399655223","filename":"file2"},{"photo_id":"1399655226","filename":"file4"},{"photo_id":"1399655221","filename":"file1"},{"photo_id":"1399655219","filename":"file0"},{"photo_id":"1399655225","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655226":["hashtag1","hashtag2"]},{"1399655223":["hashtag1","hashtag2"]},{"1399655225":["hashtag1","hashtag2"]},{"1399655219":["hashtag1","hashtag2"]},{"1399655221":["hashtag1","hashtag2"]},{"1399655227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655226, 1399655223, 1399655225, 1399655219, 1399655221, 1399655227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.041829347610474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:21:42.195465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_28_2697.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_48_19685.jpg', '/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_51_3098.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_11_20325.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_13_1666.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_16_1759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_28_2697.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_48_19685.jpg
/home/pi/Desktop/images/06112025/16/28/image_06112025_16_28_51_3098.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_11_20325.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_13_1666.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_16_1759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655229","1399655238","1399655237","1399655240","1399655234","1399655233"],"photo_ids_order":["1399655229","1399655233","1399655234","1399655237","1399655238","1399655240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66a1c1de1c5b98950cd76192fa7d8e50.jpg","text":"TemporaryFile(/tmp/multipartBody2920044465482919922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887762897,"filename":"image_06112025_16_28_28_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/16/3a1e703577b78c40bca6df3b7911dffd.jpg","text":"TemporaryFile(/tmp/multipartBody3869940778398810174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887762897,"filename":"image_06112025_16_29_13_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e9cea4ba3cc18ca0a54db642a0ad700.jpg","text":"TemporaryFile(/tmp/multipartBody2512704586140685114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887762897,"filename":"image_06112025_16_29_11_20325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e61bdcc7d3611d0b880c8700f4d5e0bc.jpg","text":"TemporaryFile(/tmp/multipartBody1570042835454501472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887762897,"filename":"image_06112025_16_29_16_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/16/4875532ca4a9718d88f10674af51e1dc.jpg","text":"TemporaryFile(/tmp/multipartBody2550380707259812406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887762897,"filename":"image_06112025_16_28_51_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5e31cd2fd67b3701f26bacc9d3c228a.jpg","text":"TemporaryFile(/tmp/multipartBody7205767032283603329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887762897,"filename":"image_06112025_16_28_48_19685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655234","file1":"1399655233","file0":"1399655229","file4":"1399655238","file5":"1399655240","file3":"1399655237"},"map_files_photo_id_array":[{"photo_id":"1399655240","filename":"file5"},{"photo_id":"1399655234","filename":"file2"},{"photo_id":"1399655238","filename":"file4"},{"photo_id":"1399655233","filename":"file1"},{"photo_id":"1399655229","filename":"file0"},{"photo_id":"1399655237","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655229":["hashtag1","hashtag2"]},{"1399655238":["hashtag1","hashtag2"]},{"1399655237":["hashtag1","hashtag2"]},{"1399655240":["hashtag1","hashtag2"]},{"1399655234":["hashtag1","hashtag2"]},{"1399655233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655229, 1399655238, 1399655237, 1399655240, 1399655234, 1399655233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.827075242996216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:22:22.473080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_25_9568.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_34_9761.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_44_9810.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_55_10704.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_07_05_10199.jpg', '/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_25_9568.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_34_9761.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_44_9810.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_55_10704.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_07_05_10199.jpg
/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_15_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.5434653759002686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:22:32.471044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:22:45.510205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_18_1688.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_19_1678.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_21_1680.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_23_1622.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_24_1503.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_26_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_18_1688.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_19_1678.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_21_1680.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_23_1622.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_24_1503.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_26_1631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655253","1399655256","1399655255","1399655258","1399655254","1399655257"],"photo_ids_order":["1399655253","1399655254","1399655255","1399655256","1399655257","1399655258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5741587acf874e1e00aede838eb68773.jpg","text":"TemporaryFile(/tmp/multipartBody9026273554104108109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887826243,"filename":"image_06112025_16_29_18_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93a2ccdd156a1078a9bd562f76222884.jpg","text":"TemporaryFile(/tmp/multipartBody8572733904364612852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887826243,"filename":"image_06112025_16_29_23_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/16/e5d8788e5cb16deaf53a31510906077c.jpg","text":"TemporaryFile(/tmp/multipartBody831801890002427926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887826243,"filename":"image_06112025_16_29_21_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02bbb5792fb44d3bf8c00cf0be5494ea.jpg","text":"TemporaryFile(/tmp/multipartBody5732953038749645835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887826243,"filename":"image_06112025_16_29_26_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f389e599b26463da1260df5fc8eee1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2596282772329179501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887826243,"filename":"image_06112025_16_29_19_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/16/d67598e2bb2bf1967ecf57cb6a22bf59.jpg","text":"TemporaryFile(/tmp/multipartBody3228511512474074086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887826243,"filename":"image_06112025_16_29_24_1503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655255","file1":"1399655254","file0":"1399655253","file4":"1399655257","file5":"1399655258","file3":"1399655256"},"map_files_photo_id_array":[{"photo_id":"1399655258","filename":"file5"},{"photo_id":"1399655255","filename":"file2"},{"photo_id":"1399655257","filename":"file4"},{"photo_id":"1399655254","filename":"file1"},{"photo_id":"1399655253","filename":"file0"},{"photo_id":"1399655256","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655253":["hashtag1","hashtag2"]},{"1399655256":["hashtag1","hashtag2"]},{"1399655255":["hashtag1","hashtag2"]},{"1399655258":["hashtag1","hashtag2"]},{"1399655254":["hashtag1","hashtag2"]},{"1399655257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655253, 1399655256, 1399655255, 1399655258, 1399655254, 1399655257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43620681762695 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-16 13:23:32.756888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:23:42.715203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_28_1949.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_29_1524.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_31_1751.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_33_1659.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_34_1530.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_36_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_28_1949.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_29_1524.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_31_1751.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_33_1659.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_34_1530.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_36_1639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5951271057128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:24:02.563928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_25_9568.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_34_9761.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_44_9810.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_55_10704.jpg', '/home/pi/Desktop/images/16122025/13/06/image_16122025_13_07_05_10199.jpg', '/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_25_9568.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_34_9761.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_44_9810.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_06_55_10704.jpg
/home/pi/Desktop/images/16122025/13/06/image_16122025_13_07_05_10199.jpg
/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_15_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655274","1399655268","1399655270","1399655272","1399655269","1399655271"],"photo_ids_order":["1399655268","1399655269","1399655270","1399655271","1399655272","1399655274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c72479e12c856e2595fd5450b3f726e.jpg","text":"TemporaryFile(/tmp/multipartBody5178506926102145376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887903308,"filename":"image_16122025_13_07_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e3dc6ad39350b51a2f307c996ce41f0.jpg","text":"TemporaryFile(/tmp/multipartBody4877498130087592420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887903308,"filename":"image_16122025_13_06_25_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/16/9df92bafc778926e26b86b3d2e6e5a13.jpg","text":"TemporaryFile(/tmp/multipartBody4467063762155121215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887903308,"filename":"image_16122025_13_06_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/16/a8fa1ddd4b1d8c9605cbd0c9881f2738.jpg","text":"TemporaryFile(/tmp/multipartBody5424387705897769138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887903308,"filename":"image_16122025_13_07_05_10199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52c4b9fec1a4d914febe22d2768cb279.jpg","text":"TemporaryFile(/tmp/multipartBody5910616739747024386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887903308,"filename":"image_16122025_13_06_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d0f096f4d18bb0ad99a1e7a3b69d33b.jpg","text":"TemporaryFile(/tmp/multipartBody6220812853779123779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887903308,"filename":"image_16122025_13_06_55_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655270","file1":"1399655269","file0":"1399655268","file4":"1399655272","file5":"1399655274","file3":"1399655271"},"map_files_photo_id_array":[{"photo_id":"1399655274","filename":"file5"},{"photo_id":"1399655270","filename":"file2"},{"photo_id":"1399655272","filename":"file4"},{"photo_id":"1399655269","filename":"file1"},{"photo_id":"1399655268","filename":"file0"},{"photo_id":"1399655271","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655274":["hashtag1","hashtag2"]},{"1399655268":["hashtag1","hashtag2"]},{"1399655270":["hashtag1","hashtag2"]},{"1399655272":["hashtag1","hashtag2"]},{"1399655269":["hashtag1","hashtag2"]},{"1399655271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655274, 1399655268, 1399655270, 1399655272, 1399655269, 1399655271)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.06523537635803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:25:03.001574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_25_9825.jpg', '/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_34_9789.jpg', '/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_44_10007.jpg', '/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_55_10701.jpg', '/home/pi/Desktop/images/16122025/13/07/image_16122025_13_08_05_9690.jpg', '/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_15_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_25_9825.jpg
/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_34_9789.jpg
/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_44_10007.jpg
/home/pi/Desktop/images/16122025/13/07/image_16122025_13_07_55_10701.jpg
/home/pi/Desktop/images/16122025/13/07/image_16122025_13_08_05_9690.jpg
/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_15_9939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655282","1399655285","1399655284","1399655287","1399655281","1399655283"],"photo_ids_order":["1399655281","1399655282","1399655283","1399655284","1399655285","1399655287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73dccb7df3a2741a5eba809226c1729e.jpg","text":"TemporaryFile(/tmp/multipartBody7455316065792490782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887963694,"filename":"image_16122025_13_07_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/16/107bdb87865c8af39a692957b5efafae.jpg","text":"TemporaryFile(/tmp/multipartBody5006106215480004948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887963694,"filename":"image_16122025_13_08_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/202613bfec06e10308d969077d6ead2c.jpg","text":"TemporaryFile(/tmp/multipartBody6515202283071501005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887963694,"filename":"image_16122025_13_07_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/16/cfa7e101672bce387516620ab8f46fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1738702329161008140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887963694,"filename":"image_16122025_13_08_15_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8af27c12d4585c55b047a428e1dd5e8.jpg","text":"TemporaryFile(/tmp/multipartBody3142619642442205219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887963694,"filename":"image_16122025_13_07_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/16/2e7737c4c23e8f0e8e6c1c0266ae022a.jpg","text":"TemporaryFile(/tmp/multipartBody179149240559093270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765887963694,"filename":"image_16122025_13_07_44_10007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655283","file1":"1399655282","file0":"1399655281","file4":"1399655285","file5":"1399655287","file3":"1399655284"},"map_files_photo_id_array":[{"photo_id":"1399655287","filename":"file5"},{"photo_id":"1399655283","filename":"file2"},{"photo_id":"1399655285","filename":"file4"},{"photo_id":"1399655282","filename":"file1"},{"photo_id":"1399655281","filename":"file0"},{"photo_id":"1399655284","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655282":["hashtag1","hashtag2"]},{"1399655285":["hashtag1","hashtag2"]},{"1399655284":["hashtag1","hashtag2"]},{"1399655287":["hashtag1","hashtag2"]},{"1399655281":["hashtag1","hashtag2"]},{"1399655283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655282, 1399655285, 1399655284, 1399655287, 1399655281, 1399655283)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.91318392753601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:26:03.119439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_25_9934.jpg', '/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_34_9527.jpg', '/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_45_10773.jpg', '/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_55_9760.jpg', '/home/pi/Desktop/images/16122025/13/08/image_16122025_13_09_04_9790.jpg', '/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_14_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_25_9934.jpg
/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_34_9527.jpg
/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_45_10773.jpg
/home/pi/Desktop/images/16122025/13/08/image_16122025_13_08_55_9760.jpg
/home/pi/Desktop/images/16122025/13/08/image_16122025_13_09_04_9790.jpg
/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_14_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":["1399655307","1399655301","1399655304","1399655299","1399655303","1399655298"],"photo_ids_order":["1399655298","1399655299","1399655301","1399655303","1399655304","1399655307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dfb155b2e0ef66865ab3d8ae8b48923d.jpg","text":"TemporaryFile(/tmp/multipartBody3379157720033299171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888023800,"filename":"image_16122025_13_09_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/16/43ad9489fde9e84ff8c15f7d2f3d4c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6041942836444959480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888023800,"filename":"image_16122025_13_08_45_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6cb6920a2c31ff5d0dd5721d50517031.jpg","text":"TemporaryFile(/tmp/multipartBody3652538206343178772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888023800,"filename":"image_16122025_13_09_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fc9a0c4949e371be00faf0005b81efd.jpg","text":"TemporaryFile(/tmp/multipartBody3342813047987328372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888023800,"filename":"image_16122025_13_08_34_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8c3687afade0097e79d2861dc9643af.jpg","text":"TemporaryFile(/tmp/multipartBody7732135363812766992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888023800,"filename":"image_16122025_13_08_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1433974055775c16a73dbefc11f961c.jpg","text":"TemporaryFile(/tmp/multipartBody2469393560292394289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888023800,"filename":"image_16122025_13_08_25_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655301","file1":"1399655299","file0":"1399655298","file4":"1399655304","file5":"1399655307","file3":"1399655303"},"map_files_photo_id_array":[{"photo_id":"1399655307","filename":"file5"},{"photo_id":"1399655301","filename":"file2"},{"photo_id":"1399655304","filename":"file4"},{"photo_id":"1399655299","filename":"file1"},{"photo_id":"1399655298","filename":"file0"},{"photo_id":"1399655303","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655307":["hashtag1","hashtag2"]},{"1399655301":["hashtag1","hashtag2"]},{"1399655304":["hashtag1","hashtag2"]},{"1399655299":["hashtag1","hashtag2"]},{"1399655303":["hashtag1","hashtag2"]},{"1399655298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655307, 1399655301, 1399655304, 1399655299, 1399655303, 1399655298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43332815170288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:26:42.737265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_28_1949.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_29_1524.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_31_1751.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_33_1659.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_34_1530.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_36_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_28_1949.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_29_1524.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_31_1751.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_33_1659.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_34_1530.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_36_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655316","1399655318","1399655312","1399655315","1399655314","1399655317"],"photo_ids_order":["1399655312","1399655314","1399655315","1399655316","1399655317","1399655318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c452eb5f5bd56f170a1f4abba4d67a94.jpg","text":"TemporaryFile(/tmp/multipartBody8743210205439840474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888063352,"filename":"image_06112025_16_29_33_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/16/0186c8ccf32621fa3e3ae35420b85e01.jpg","text":"TemporaryFile(/tmp/multipartBody3233437106896790235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888063352,"filename":"image_06112025_16_29_36_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/16/a9ae13503de006592d5d567d3b166b54.jpg","text":"TemporaryFile(/tmp/multipartBody510838185114390605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888063352,"filename":"image_06112025_16_29_28_1949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/029cdca5bfd945e10bd543f543ab5548.jpg","text":"TemporaryFile(/tmp/multipartBody5846501845056033412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888063352,"filename":"image_06112025_16_29_31_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/16/2e15eaf9c4daf1383169fbe71ebc4ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5400017327222135550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888063352,"filename":"image_06112025_16_29_29_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/16/9b66010256693691952c9898b2962ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8115450416785908948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888063352,"filename":"image_06112025_16_29_34_1530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655315","file1":"1399655314","file0":"1399655312","file4":"1399655317","file5":"1399655318","file3":"1399655316"},"map_files_photo_id_array":[{"photo_id":"1399655318","filename":"file5"},{"photo_id":"1399655315","filename":"file2"},{"photo_id":"1399655317","filename":"file4"},{"photo_id":"1399655314","filename":"file1"},{"photo_id":"1399655312","filename":"file0"},{"photo_id":"1399655316","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655316":["hashtag1","hashtag2"]},{"1399655318":["hashtag1","hashtag2"]},{"1399655312":["hashtag1","hashtag2"]},{"1399655315":["hashtag1","hashtag2"]},{"1399655314":["hashtag1","hashtag2"]},{"1399655317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655316, 1399655318, 1399655312, 1399655315, 1399655314, 1399655317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10887289047241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:27:21.894609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_25_10704.jpg', '/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_35_9676.jpg', '/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_55_9758.jpg', '/home/pi/Desktop/images/16122025/13/09/image_16122025_13_10_05_9895.jpg', '/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_14_9574.jpg', '/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_24_9972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_25_10704.jpg
/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_35_9676.jpg
/home/pi/Desktop/images/16122025/13/09/image_16122025_13_09_55_9758.jpg
/home/pi/Desktop/images/16122025/13/09/image_16122025_13_10_05_9895.jpg
/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_14_9574.jpg
/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_24_9972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655325","1399655319","1399655330","1399655327","1399655321","1399655323"],"photo_ids_order":["1399655319","1399655321","1399655323","1399655325","1399655327","1399655330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af9a861098156a4d1423507d2b528b46.jpg","text":"TemporaryFile(/tmp/multipartBody6342476146646236602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888102502,"filename":"image_16122025_13_10_05_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8688384001ce1e59402e482750817984.jpg","text":"TemporaryFile(/tmp/multipartBody5169430356757071318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888102502,"filename":"image_16122025_13_09_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e96371890988ae5d9fae8d374ba3fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5036025008785366990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888102502,"filename":"image_16122025_13_10_24_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/16/ac0b9a5757a6aee8e5dae6570a683d45.jpg","text":"TemporaryFile(/tmp/multipartBody4951647781013485299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888102502,"filename":"image_16122025_13_10_14_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32368361af133f99cb10cf6e03ff4133.jpg","text":"TemporaryFile(/tmp/multipartBody8907666256730991271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888102502,"filename":"image_16122025_13_09_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/16/3cfa6dbf7dd02945b5ae0162dec637c1.jpg","text":"TemporaryFile(/tmp/multipartBody4800080332144445210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888102502,"filename":"image_16122025_13_09_55_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655323","file1":"1399655321","file0":"1399655319","file4":"1399655327","file5":"1399655330","file3":"1399655325"},"map_files_photo_id_array":[{"photo_id":"1399655330","filename":"file5"},{"photo_id":"1399655323","filename":"file2"},{"photo_id":"1399655327","filename":"file4"},{"photo_id":"1399655321","filename":"file1"},{"photo_id":"1399655319","filename":"file0"},{"photo_id":"1399655325","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655325":["hashtag1","hashtag2"]},{"1399655319":["hashtag1","hashtag2"]},{"1399655330":["hashtag1","hashtag2"]},{"1399655327":["hashtag1","hashtag2"]},{"1399655321":["hashtag1","hashtag2"]},{"1399655323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655325, 1399655319, 1399655330, 1399655327, 1399655321, 1399655323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0778226852417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:28:02.531947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_35_10728.jpg', '/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_45_9679.jpg', '/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_54_9626.jpg', '/home/pi/Desktop/images/16122025/13/10/image_16122025_13_11_04_9971.jpg', '/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_15_10692.jpg', '/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_25_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_35_10728.jpg
/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_45_9679.jpg
/home/pi/Desktop/images/16122025/13/10/image_16122025_13_10_54_9626.jpg
/home/pi/Desktop/images/16122025/13/10/image_16122025_13_11_04_9971.jpg
/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_15_10692.jpg
/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_25_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655334","1399655337","1399655336","1399655339","1399655333","1399655335"],"photo_ids_order":["1399655333","1399655334","1399655335","1399655336","1399655337","1399655339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19047653706befa8774a9d3a8b6a348d.jpg","text":"TemporaryFile(/tmp/multipartBody3134200397662246065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888143202,"filename":"image_16122025_13_10_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d041fe42e65d5c9bead84a2090faccb.jpg","text":"TemporaryFile(/tmp/multipartBody1242243221219397550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888143202,"filename":"image_16122025_13_11_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/16/e27a0eda656abc405b7e23acfdb94a34.jpg","text":"TemporaryFile(/tmp/multipartBody2919182195324509386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888143202,"filename":"image_16122025_13_11_04_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/56171b4e5310dc74948583e3786d3234.jpg","text":"TemporaryFile(/tmp/multipartBody4736093801723521741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888143202,"filename":"image_16122025_13_11_25_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee00e1b7471add58869336f374580d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3997557054760796372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888143202,"filename":"image_16122025_13_10_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e142ccf9f370a157a28be665e43a9188.jpg","text":"TemporaryFile(/tmp/multipartBody2395168792234141956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888143202,"filename":"image_16122025_13_10_54_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655335","file1":"1399655334","file0":"1399655333","file4":"1399655337","file5":"1399655339","file3":"1399655336"},"map_files_photo_id_array":[{"photo_id":"1399655339","filename":"file5"},{"photo_id":"1399655335","filename":"file2"},{"photo_id":"1399655337","filename":"file4"},{"photo_id":"1399655334","filename":"file1"},{"photo_id":"1399655333","filename":"file0"},{"photo_id":"1399655336","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655334":["hashtag1","hashtag2"]},{"1399655337":["hashtag1","hashtag2"]},{"1399655336":["hashtag1","hashtag2"]},{"1399655339":["hashtag1","hashtag2"]},{"1399655333":["hashtag1","hashtag2"]},{"1399655335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655334, 1399655337, 1399655336, 1399655339, 1399655333, 1399655335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98542666435242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:28:42.069356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_38_1820.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_39_1695.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_41_1719.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_43_1528.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_44_1704.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_46_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_38_1820.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_39_1695.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_41_1719.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_43_1528.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_44_1704.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_46_1563.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6024763584136963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:29:03.271325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_34_9915.jpg', '/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_44_9835.jpg', '/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_54_9772.jpg', '/home/pi/Desktop/images/16122025/13/11/image_16122025_13_12_05_10708.jpg', '/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_15_9764.jpg', '/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_24_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_34_9915.jpg
/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_44_9835.jpg
/home/pi/Desktop/images/16122025/13/11/image_16122025_13_11_54_9772.jpg
/home/pi/Desktop/images/16122025/13/11/image_16122025_13_12_05_10708.jpg
/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_15_9764.jpg
/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_24_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655352","1399655355","1399655351","1399655353","1399655356","1399655358"],"photo_ids_order":["1399655351","1399655352","1399655353","1399655355","1399655356","1399655358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f78059c1d00d9017d8f6503fe7c2843f.jpg","text":"TemporaryFile(/tmp/multipartBody6152158854809126563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888204064,"filename":"image_16122025_13_11_44_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16649a274ae6c0c45e74b72d8b1f0299.jpg","text":"TemporaryFile(/tmp/multipartBody4347063469827189271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888204064,"filename":"image_16122025_13_12_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/16/df73e9c854e09e922fb2c937bed6fa14.jpg","text":"TemporaryFile(/tmp/multipartBody5771542099134008507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888204064,"filename":"image_16122025_13_11_34_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b231a3e0db984e44f190689a1ca006c3.jpg","text":"TemporaryFile(/tmp/multipartBody6650494987830030212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888204064,"filename":"image_16122025_13_11_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35760056ed3eb8736763a3a89b801e52.jpg","text":"TemporaryFile(/tmp/multipartBody4842241310578323497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888204064,"filename":"image_16122025_13_12_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77f074ed2c0f60647bc8e061706eacca.jpg","text":"TemporaryFile(/tmp/multipartBody809381232152503126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888204064,"filename":"image_16122025_13_12_24_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655353","file1":"1399655352","file0":"1399655351","file4":"1399655356","file5":"1399655358","file3":"1399655355"},"map_files_photo_id_array":[{"photo_id":"1399655358","filename":"file5"},{"photo_id":"1399655353","filename":"file2"},{"photo_id":"1399655356","filename":"file4"},{"photo_id":"1399655352","filename":"file1"},{"photo_id":"1399655351","filename":"file0"},{"photo_id":"1399655355","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655352":["hashtag1","hashtag2"]},{"1399655355":["hashtag1","hashtag2"]},{"1399655351":["hashtag1","hashtag2"]},{"1399655353":["hashtag1","hashtag2"]},{"1399655356":["hashtag1","hashtag2"]},{"1399655358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655352, 1399655355, 1399655351, 1399655353, 1399655356, 1399655358)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.4249312877655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:30:02.961064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_35_10794.jpg', '/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_45_9921.jpg', '/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_55_9816.jpg', '/home/pi/Desktop/images/16122025/13/12/image_16122025_13_13_05_9824.jpg', '/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_14_9676.jpg', '/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_25_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_35_10794.jpg
/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_45_9921.jpg
/home/pi/Desktop/images/16122025/13/12/image_16122025_13_12_55_9816.jpg
/home/pi/Desktop/images/16122025/13/12/image_16122025_13_13_05_9824.jpg
/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_14_9676.jpg
/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_25_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":["1399655373","1399655367","1399655369","1399655371","1399655368","1399655370"],"photo_ids_order":["1399655367","1399655368","1399655369","1399655370","1399655371","1399655373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b5bea2ae62839042599d4a9c643e9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3169682350215772753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888263636,"filename":"image_16122025_13_13_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/16/d98d5656e8102974c908c84ffc0d4e56.jpg","text":"TemporaryFile(/tmp/multipartBody1968227811507900805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888263636,"filename":"image_16122025_13_12_35_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/527a21d98315dd7e52536b5258520ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5574168875534021734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888263636,"filename":"image_16122025_13_12_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/16/2ac26b37cc64fe036cd06cc891b011be.jpg","text":"TemporaryFile(/tmp/multipartBody2558036080363440036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888263636,"filename":"image_16122025_13_13_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a24651b504275800fbdc72615d7780a.jpg","text":"TemporaryFile(/tmp/multipartBody3190865606544201881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888263636,"filename":"image_16122025_13_12_45_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f371926f30bc238c833aa1f82e80539.jpg","text":"TemporaryFile(/tmp/multipartBody8057636844644830559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888263636,"filename":"image_16122025_13_13_05_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655369","file1":"1399655368","file0":"1399655367","file4":"1399655371","file5":"1399655373","file3":"1399655370"},"map_files_photo_id_array":[{"photo_id":"1399655373","filename":"file5"},{"photo_id":"1399655369","filename":"file2"},{"photo_id":"1399655371","filename":"file4"},{"photo_id":"1399655368","filename":"file1"},{"photo_id":"1399655367","filename":"file0"},{"photo_id":"1399655370","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655373":["hashtag1","hashtag2"]},{"1399655367":["hashtag1","hashtag2"]},{"1399655369":["hashtag1","hashtag2"]},{"1399655371":["hashtag1","hashtag2"]},{"1399655368":["hashtag1","hashtag2"]},{"1399655370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655373, 1399655367, 1399655369, 1399655371, 1399655368, 1399655370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80041837692261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:30:42.453071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_38_1820.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_39_1695.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_41_1719.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_43_1528.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_44_1704.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_46_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_38_1820.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_39_1695.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_41_1719.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_43_1528.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_44_1704.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_46_1563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655381","1399655384","1399655378","1399655383","1399655382","1399655385"],"photo_ids_order":["1399655378","1399655381","1399655382","1399655383","1399655384","1399655385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4d205fca9501bbcc8cb214ae6bf754b.jpg","text":"TemporaryFile(/tmp/multipartBody9167111364239460068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888303041,"filename":"image_06112025_16_29_39_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/16/5130a0d3e261e84b1898db4008d4aa31.jpg","text":"TemporaryFile(/tmp/multipartBody685159743286329206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888303041,"filename":"image_06112025_16_29_44_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/16/f737da4915d26021939c31933464cd26.jpg","text":"TemporaryFile(/tmp/multipartBody727733439599925885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888303041,"filename":"image_06112025_16_29_38_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c7aeca6ab8119746b74f95340ff0dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7814482742960072744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888303041,"filename":"image_06112025_16_29_43_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/16/ba17036e241364e15b182f302b98c34e.jpg","text":"TemporaryFile(/tmp/multipartBody6685798144280486462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888303041,"filename":"image_06112025_16_29_41_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/16/48fc00cb4affb5aff2390e3b7e4c5671.jpg","text":"TemporaryFile(/tmp/multipartBody7982598984121666961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888303041,"filename":"image_06112025_16_29_46_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655382","file1":"1399655381","file0":"1399655378","file4":"1399655384","file5":"1399655385","file3":"1399655383"},"map_files_photo_id_array":[{"photo_id":"1399655385","filename":"file5"},{"photo_id":"1399655382","filename":"file2"},{"photo_id":"1399655384","filename":"file4"},{"photo_id":"1399655381","filename":"file1"},{"photo_id":"1399655378","filename":"file0"},{"photo_id":"1399655383","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655381":["hashtag1","hashtag2"]},{"1399655384":["hashtag1","hashtag2"]},{"1399655378":["hashtag1","hashtag2"]},{"1399655383":["hashtag1","hashtag2"]},{"1399655382":["hashtag1","hashtag2"]},{"1399655385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655381, 1399655384, 1399655378, 1399655383, 1399655382, 1399655385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93941950798035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:31:22.844769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_35_9765.jpg', '/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_44_9576.jpg', '/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_55_10696.jpg', '/home/pi/Desktop/images/16122025/13/13/image_16122025_13_14_05_10040.jpg', '/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_15_9825.jpg', '/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_24_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_35_9765.jpg
/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_44_9576.jpg
/home/pi/Desktop/images/16122025/13/13/image_16122025_13_13_55_10696.jpg
/home/pi/Desktop/images/16122025/13/13/image_16122025_13_14_05_10040.jpg
/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_15_9825.jpg
/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_24_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655393","1399655387","1399655395","1399655398","1399655389","1399655391"],"photo_ids_order":["1399655387","1399655389","1399655391","1399655393","1399655395","1399655398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b611132122983a41ef6579f8f09ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody6455109198326359561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888343486,"filename":"image_16122025_13_14_05_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1e2b7ac99e093b4693598627ded09a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2486370319455271214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888343486,"filename":"image_16122025_13_13_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/16/c3d2ac95e5f4991e0bdb1c70fb78144f.jpg","text":"TemporaryFile(/tmp/multipartBody8891393955709379076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888343486,"filename":"image_16122025_13_14_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/16/f00395adc90d028f04881cae201c63c1.jpg","text":"TemporaryFile(/tmp/multipartBody5466736459276946850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888343486,"filename":"image_16122025_13_14_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/16/a26218da5561ac67e3587cff30c4726e.jpg","text":"TemporaryFile(/tmp/multipartBody5775853199246671276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888343486,"filename":"image_16122025_13_13_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33da76dea0e87295af38c3c4e3f3aeaa.jpg","text":"TemporaryFile(/tmp/multipartBody896619105390796021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888343486,"filename":"image_16122025_13_13_55_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655391","file1":"1399655389","file0":"1399655387","file4":"1399655395","file5":"1399655398","file3":"1399655393"},"map_files_photo_id_array":[{"photo_id":"1399655398","filename":"file5"},{"photo_id":"1399655391","filename":"file2"},{"photo_id":"1399655395","filename":"file4"},{"photo_id":"1399655389","filename":"file1"},{"photo_id":"1399655387","filename":"file0"},{"photo_id":"1399655393","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655393":["hashtag1","hashtag2"]},{"1399655387":["hashtag1","hashtag2"]},{"1399655395":["hashtag1","hashtag2"]},{"1399655398":["hashtag1","hashtag2"]},{"1399655389":["hashtag1","hashtag2"]},{"1399655391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655393, 1399655387, 1399655395, 1399655398, 1399655389, 1399655391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93548822402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:32:02.371038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_34_9848.jpg', '/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_45_10700.jpg', '/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_55_9749.jpg', '/home/pi/Desktop/images/16122025/13/14/image_16122025_13_15_05_9802.jpg', '/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_14_9687.jpg', '/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_25_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_34_9848.jpg
/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_45_10700.jpg
/home/pi/Desktop/images/16122025/13/14/image_16122025_13_14_55_9749.jpg
/home/pi/Desktop/images/16122025/13/14/image_16122025_13_15_05_9802.jpg
/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_14_9687.jpg
/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_25_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655400","1399655403","1399655405","1399655408","1399655402","1399655401"],"photo_ids_order":["1399655400","1399655401","1399655402","1399655403","1399655405","1399655408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8772e8c38746e53b6ed2aec0396f2da.jpg","text":"TemporaryFile(/tmp/multipartBody3174570683012006464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888383017,"filename":"image_16122025_13_14_34_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/16/0fe8b21bbc2c2def6bc0fa7729f81cbf.jpg","text":"TemporaryFile(/tmp/multipartBody5885355660011429072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888383017,"filename":"image_16122025_13_15_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/16/2bd6c824c7bcededb9824db88af00c22.jpg","text":"TemporaryFile(/tmp/multipartBody1273646654882187130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888383017,"filename":"image_16122025_13_15_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/16/4a3f428c55905b990823810c98e7528f.jpg","text":"TemporaryFile(/tmp/multipartBody8857931554993448726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888383017,"filename":"image_16122025_13_15_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96cacea1293c693786882bc7910a180c.jpg","text":"TemporaryFile(/tmp/multipartBody7529133787927857633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888383017,"filename":"image_16122025_13_14_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95e8eca5d645f372ec0575caaf24903c.jpg","text":"TemporaryFile(/tmp/multipartBody5313415218036421893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888383017,"filename":"image_16122025_13_14_45_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655402","file1":"1399655401","file0":"1399655400","file4":"1399655405","file5":"1399655408","file3":"1399655403"},"map_files_photo_id_array":[{"photo_id":"1399655408","filename":"file5"},{"photo_id":"1399655402","filename":"file2"},{"photo_id":"1399655405","filename":"file4"},{"photo_id":"1399655401","filename":"file1"},{"photo_id":"1399655400","filename":"file0"},{"photo_id":"1399655403","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655400":["hashtag1","hashtag2"]},{"1399655403":["hashtag1","hashtag2"]},{"1399655405":["hashtag1","hashtag2"]},{"1399655408":["hashtag1","hashtag2"]},{"1399655402":["hashtag1","hashtag2"]},{"1399655401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655400, 1399655403, 1399655405, 1399655408, 1399655402, 1399655401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.100794076919556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:32:41.821910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_48_1594.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_49_1899.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_51_1603.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_53_1668.jpg', '/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_55_2620.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_08_3016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_48_1594.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_49_1899.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_51_1603.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_53_1668.jpg
/home/pi/Desktop/images/06112025/16/29/image_06112025_16_29_55_2620.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_08_3016.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655418","1399655417","1399655420","1399655413","1399655422","1399655416"],"photo_ids_order":["1399655413","1399655416","1399655417","1399655418","1399655420","1399655422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cb7130d8bdbc141e468637c85bcd7a4.jpg","text":"TemporaryFile(/tmp/multipartBody5417190523051086338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888422543,"filename":"image_06112025_16_29_53_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/16/abd9067beceedd0627a37346aa750a95.jpg","text":"TemporaryFile(/tmp/multipartBody382650319248881296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888422543,"filename":"image_06112025_16_29_51_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/16/66237024d1cdfacee71b9f8a0bf57775.jpg","text":"TemporaryFile(/tmp/multipartBody627042053620875372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888422543,"filename":"image_06112025_16_29_55_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3bfcccef7e5cee910cdd325ae3003d76.jpg","text":"TemporaryFile(/tmp/multipartBody1263302614986989949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888422543,"filename":"image_06112025_16_29_48_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/16/ed773bafd2af16299b692c40e8026391.jpg","text":"TemporaryFile(/tmp/multipartBody8448657355984732154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888422543,"filename":"image_06112025_16_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/16/5d9a3a1db2dbc4d31a1e80bdce2cb531.jpg","text":"TemporaryFile(/tmp/multipartBody5632832634766263033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888422543,"filename":"image_06112025_16_29_49_1899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655417","file1":"1399655416","file0":"1399655413","file4":"1399655420","file5":"1399655422","file3":"1399655418"},"map_files_photo_id_array":[{"photo_id":"1399655422","filename":"file5"},{"photo_id":"1399655417","filename":"file2"},{"photo_id":"1399655420","filename":"file4"},{"photo_id":"1399655416","filename":"file1"},{"photo_id":"1399655413","filename":"file0"},{"photo_id":"1399655418","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655418":["hashtag1","hashtag2"]},{"1399655417":["hashtag1","hashtag2"]},{"1399655420":["hashtag1","hashtag2"]},{"1399655413":["hashtag1","hashtag2"]},{"1399655422":["hashtag1","hashtag2"]},{"1399655416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655418, 1399655417, 1399655420, 1399655413, 1399655422, 1399655416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.043509006500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:33:22.151756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_34_9392.jpg', '/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_45_10641.jpg', '/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_55_9544.jpg', '/home/pi/Desktop/images/16122025/13/15/image_16122025_13_16_04_9696.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_14_10104.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_24_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_34_9392.jpg
/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_45_10641.jpg
/home/pi/Desktop/images/16122025/13/15/image_16122025_13_15_55_9544.jpg
/home/pi/Desktop/images/16122025/13/15/image_16122025_13_16_04_9696.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_14_10104.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_24_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":["1399655433","1399655435","1399655438","1399655426","1399655431","1399655428"],"photo_ids_order":["1399655426","1399655428","1399655431","1399655433","1399655435","1399655438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9ee4e0548db03c68a703340f5b43bfb4.jpg","text":"TemporaryFile(/tmp/multipartBody2433609217547048368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888462785,"filename":"image_16122025_13_16_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/16/3d21a030ff4b246f69c510817c956e04.jpg","text":"TemporaryFile(/tmp/multipartBody3116398264735564859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888462785,"filename":"image_16122025_13_16_14_10104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0032cf9f006b7b5b0a0feb2040d3367.jpg","text":"TemporaryFile(/tmp/multipartBody8517982419146374202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888462785,"filename":"image_16122025_13_16_24_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/863a965280a56a0d283448d43f482afd.jpg","text":"TemporaryFile(/tmp/multipartBody2043111058718902845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888462785,"filename":"image_16122025_13_15_34_9392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bf21bf21dcaaa70d557f662db90b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody6175858931060856223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888462785,"filename":"image_16122025_13_15_55_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/16/adaf81993332c7648554828ce3e2e715.jpg","text":"TemporaryFile(/tmp/multipartBody5885186434902882226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888462785,"filename":"image_16122025_13_15_45_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655431","file1":"1399655428","file0":"1399655426","file4":"1399655435","file5":"1399655438","file3":"1399655433"},"map_files_photo_id_array":[{"photo_id":"1399655438","filename":"file5"},{"photo_id":"1399655431","filename":"file2"},{"photo_id":"1399655435","filename":"file4"},{"photo_id":"1399655428","filename":"file1"},{"photo_id":"1399655426","filename":"file0"},{"photo_id":"1399655433","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655433":["hashtag1","hashtag2"]},{"1399655435":["hashtag1","hashtag2"]},{"1399655438":["hashtag1","hashtag2"]},{"1399655426":["hashtag1","hashtag2"]},{"1399655431":["hashtag1","hashtag2"]},{"1399655428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655433, 1399655435, 1399655438, 1399655426, 1399655431, 1399655428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99460244178772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:34:03.244617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_35_10502.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_44_9682.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_54_9835.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_17_05_10654.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_14_9692.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_24_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_35_10502.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_44_9682.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_54_9835.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_17_05_10654.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_14_9692.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_24_9596.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6113121509552002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:34:12.474558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:34:22.530357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_35_10502.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_44_9682.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_54_9835.jpg', '/home/pi/Desktop/images/16122025/13/16/image_16122025_13_17_05_10654.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_14_9692.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_24_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_35_10502.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_44_9682.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_16_54_9835.jpg
/home/pi/Desktop/images/16122025/13/16/image_16122025_13_17_05_10654.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_14_9692.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_24_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":["1399655451","1399655453","1399655447","1399655455","1399655449","1399655457"],"photo_ids_order":["1399655447","1399655449","1399655451","1399655453","1399655455","1399655457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c82ae1d7c8a10ee5c011573d28468cd.jpg","text":"TemporaryFile(/tmp/multipartBody7009359922379293654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888523245,"filename":"image_16122025_13_16_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/16/1b614dad12bcaf1b7758e336a4ae79de.jpg","text":"TemporaryFile(/tmp/multipartBody7127439041130846244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888523245,"filename":"image_16122025_13_17_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4abcac0c8caa11cbede567dd2e318e06.jpg","text":"TemporaryFile(/tmp/multipartBody6181277100243364613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888523245,"filename":"image_16122025_13_16_35_10502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1670d087fffbae22a0d11ca7c6dafe1.jpg","text":"TemporaryFile(/tmp/multipartBody8430085839779134097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888523245,"filename":"image_16122025_13_17_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/535dad8066947dbadf6b93963c290fb4.jpg","text":"TemporaryFile(/tmp/multipartBody110888255487011018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888523245,"filename":"image_16122025_13_16_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3cc3b4f6326bdc13bc27409a80e752e.jpg","text":"TemporaryFile(/tmp/multipartBody9160041818390678651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888523245,"filename":"image_16122025_13_17_24_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655451","file1":"1399655449","file0":"1399655447","file4":"1399655455","file5":"1399655457","file3":"1399655453"},"map_files_photo_id_array":[{"photo_id":"1399655457","filename":"file5"},{"photo_id":"1399655451","filename":"file2"},{"photo_id":"1399655455","filename":"file4"},{"photo_id":"1399655449","filename":"file1"},{"photo_id":"1399655447","filename":"file0"},{"photo_id":"1399655453","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655451":["hashtag1","hashtag2"]},{"1399655453":["hashtag1","hashtag2"]},{"1399655447":["hashtag1","hashtag2"]},{"1399655455":["hashtag1","hashtag2"]},{"1399655449":["hashtag1","hashtag2"]},{"1399655457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655451, 1399655453, 1399655447, 1399655455, 1399655449, 1399655457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99262046813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:35:03.378869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_35_10635.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_44_9603.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_54_9822.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_18_05_10741.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_15_10198.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_25_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_35_10635.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_44_9603.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_54_9822.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_18_05_10741.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_15_10198.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_25_9715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5807855129241943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:35:12.652306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:35:22.695132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_35_10635.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_44_9603.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_54_9822.jpg', '/home/pi/Desktop/images/16122025/13/17/image_16122025_13_18_05_10741.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_15_10198.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_25_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_35_10635.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_44_9603.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_17_54_9822.jpg
/home/pi/Desktop/images/16122025/13/17/image_16122025_13_18_05_10741.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_15_10198.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_25_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":["1399655472","1399655466","1399655476","1399655470","1399655464","1399655467"],"photo_ids_order":["1399655464","1399655466","1399655467","1399655470","1399655472","1399655476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3da38648f18f857208d8bf15ae071f0e.jpg","text":"TemporaryFile(/tmp/multipartBody718205625886369164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888583323,"filename":"image_16122025_13_18_15_10198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c33fd3b6a4ee480887483be2d0a40b44.jpg","text":"TemporaryFile(/tmp/multipartBody2955336165169886195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888583323,"filename":"image_16122025_13_17_44_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/16/b3c4bd366737a24d9740d9e5e968c495.jpg","text":"TemporaryFile(/tmp/multipartBody7090464867047209156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888583323,"filename":"image_16122025_13_18_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c8d03738660b0879e591601dd7e52c5.jpg","text":"TemporaryFile(/tmp/multipartBody7847553626658287085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888583323,"filename":"image_16122025_13_18_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/16/7a7cbe3d35b8aa17de59f30513837890.jpg","text":"TemporaryFile(/tmp/multipartBody4736928228548471763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888583323,"filename":"image_16122025_13_17_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b2033c217667b7e7a29150c82bcba1b.jpg","text":"TemporaryFile(/tmp/multipartBody2704114870036878525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888583323,"filename":"image_16122025_13_17_54_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655467","file1":"1399655466","file0":"1399655464","file4":"1399655472","file5":"1399655476","file3":"1399655470"},"map_files_photo_id_array":[{"photo_id":"1399655476","filename":"file5"},{"photo_id":"1399655467","filename":"file2"},{"photo_id":"1399655472","filename":"file4"},{"photo_id":"1399655466","filename":"file1"},{"photo_id":"1399655464","filename":"file0"},{"photo_id":"1399655470","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655472":["hashtag1","hashtag2"]},{"1399655466":["hashtag1","hashtag2"]},{"1399655476":["hashtag1","hashtag2"]},{"1399655470":["hashtag1","hashtag2"]},{"1399655464":["hashtag1","hashtag2"]},{"1399655467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655472, 1399655466, 1399655476, 1399655470, 1399655464, 1399655467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95056223869324 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-16 13:36:14.453897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:36:24.449638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_35_9802.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_45_9934.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_54_9714.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_19_05_10811.jpg', '/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_15_9836.jpg', '/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_25_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_35_9802.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_45_9934.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_54_9714.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_19_05_10811.jpg
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_15_9836.jpg
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_25_9775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.570087194442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:36:34.293125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:36:44.323342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_12_3610.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_15_3326.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_18_2669.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_27_9357.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_36_8989.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_38_1824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_12_3610.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_15_3326.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_18_2669.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_27_9357.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_36_8989.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_38_1824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655517","1399655516","1399655519","1399655513","1399655515","1399655518"],"photo_ids_order":["1399655513","1399655515","1399655516","1399655517","1399655518","1399655519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/630d67016de34e90d8383d6984030182.jpg","text":"TemporaryFile(/tmp/multipartBody5917917281799932089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888665102,"filename":"image_06112025_16_30_27_9357.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c3ae7da6d85e7c3a1716a2f3b6ecedd.jpg","text":"TemporaryFile(/tmp/multipartBody2317342479201196078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888665102,"filename":"image_06112025_16_30_18_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/16/6c6585a6c7b8fa05157624b3d004658d.jpg","text":"TemporaryFile(/tmp/multipartBody3746738374407192506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888665102,"filename":"image_06112025_16_30_38_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/16/54ded67d4137039e7d60caa9e1a3ee68.jpg","text":"TemporaryFile(/tmp/multipartBody2469213268852643163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888665102,"filename":"image_06112025_16_30_12_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/16/1dc7de7c1966b5ed01cc7b68658c4c08.jpg","text":"TemporaryFile(/tmp/multipartBody2651929449198599393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888665102,"filename":"image_06112025_16_30_15_3326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f9b6e995b35a6883acbbfa18e5497b1.jpg","text":"TemporaryFile(/tmp/multipartBody6072660964406969342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888665102,"filename":"image_06112025_16_30_36_8989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655516","file1":"1399655515","file0":"1399655513","file4":"1399655518","file5":"1399655519","file3":"1399655517"},"map_files_photo_id_array":[{"photo_id":"1399655519","filename":"file5"},{"photo_id":"1399655516","filename":"file2"},{"photo_id":"1399655518","filename":"file4"},{"photo_id":"1399655515","filename":"file1"},{"photo_id":"1399655513","filename":"file0"},{"photo_id":"1399655517","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655517":["hashtag1","hashtag2"]},{"1399655516":["hashtag1","hashtag2"]},{"1399655519":["hashtag1","hashtag2"]},{"1399655513":["hashtag1","hashtag2"]},{"1399655515":["hashtag1","hashtag2"]},{"1399655518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655517, 1399655516, 1399655519, 1399655513, 1399655515, 1399655518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.943620443344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:37:22.520576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_35_9802.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_45_9934.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_54_9714.jpg', '/home/pi/Desktop/images/16122025/13/18/image_16122025_13_19_05_10811.jpg', '/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_15_9836.jpg', '/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_25_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_35_9802.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_45_9934.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_18_54_9714.jpg
/home/pi/Desktop/images/16122025/13/18/image_16122025_13_19_05_10811.jpg
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_15_9836.jpg
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_25_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655523","1399655526","1399655520","1399655528","1399655531","1399655524"],"photo_ids_order":["1399655520","1399655523","1399655524","1399655526","1399655528","1399655531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1c0899174373fb391288ea8b9c7c595.jpg","text":"TemporaryFile(/tmp/multipartBody6704335372031432880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888703159,"filename":"image_16122025_13_18_45_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/16/2b24fa2062f84847875890ab565dd0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1073297051639058106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888703159,"filename":"image_16122025_13_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/16/4c32e46159ab1c85e8ef025cb6ef8b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6869916459595306964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888703159,"filename":"image_16122025_13_18_35_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f72526274c888f103fa74cfb6d277d1.jpg","text":"TemporaryFile(/tmp/multipartBody1310821472472917610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888703159,"filename":"image_16122025_13_19_15_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98a33d9f3ada14222dbfbbfd8d07c99b.jpg","text":"TemporaryFile(/tmp/multipartBody5493340341465807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888703159,"filename":"image_16122025_13_19_25_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8125afafe1d0618dcf194ac66c7a5ff.jpg","text":"TemporaryFile(/tmp/multipartBody4421183346442503096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888703159,"filename":"image_16122025_13_18_54_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655524","file1":"1399655523","file0":"1399655520","file4":"1399655528","file5":"1399655531","file3":"1399655526"},"map_files_photo_id_array":[{"photo_id":"1399655531","filename":"file5"},{"photo_id":"1399655524","filename":"file2"},{"photo_id":"1399655528","filename":"file4"},{"photo_id":"1399655523","filename":"file1"},{"photo_id":"1399655520","filename":"file0"},{"photo_id":"1399655526","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655523":["hashtag1","hashtag2"]},{"1399655526":["hashtag1","hashtag2"]},{"1399655520":["hashtag1","hashtag2"]},{"1399655528":["hashtag1","hashtag2"]},{"1399655531":["hashtag1","hashtag2"]},{"1399655524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655523, 1399655526, 1399655520, 1399655528, 1399655531, 1399655524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68609809875488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:38:07.316266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_34_9755.jpg', '/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_44_9832.jpg', '/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_54_9845.jpg', '/home/pi/Desktop/images/16122025/13/19/image_16122025_13_20_05_10673.jpg', '/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_15_9754.jpg', '/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_24_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_34_9755.jpg
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_44_9832.jpg
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_19_54_9845.jpg
/home/pi/Desktop/images/16122025/13/19/image_16122025_13_20_05_10673.jpg
/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_15_9754.jpg
/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_24_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655538","1399655535","1399655540","1399655534","1399655542","1399655536"],"photo_ids_order":["1399655534","1399655535","1399655536","1399655538","1399655540","1399655542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/806e01eb7c91fe5ef263b5dc28b2ec68.jpg","text":"TemporaryFile(/tmp/multipartBody8830822463697253536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888750626,"filename":"image_16122025_13_20_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6b071f5f321856454ea48e32f3ff812.jpg","text":"TemporaryFile(/tmp/multipartBody2173018754122957769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888750626,"filename":"image_16122025_13_19_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ada83913c8928ff8a080506f8163cca2.jpg","text":"TemporaryFile(/tmp/multipartBody1685319360717506103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888750626,"filename":"image_16122025_13_20_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b99969c5cd54c17cefdf67acc1bfafed.jpg","text":"TemporaryFile(/tmp/multipartBody5550548142168359218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888750626,"filename":"image_16122025_13_19_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/16/614722987f973e612970db4f5ec0ced3.jpg","text":"TemporaryFile(/tmp/multipartBody5892365301678400463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888750626,"filename":"image_16122025_13_20_24_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0deb4c18fad8121b6355d4b093330030.jpg","text":"TemporaryFile(/tmp/multipartBody1853300096285227506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888750626,"filename":"image_16122025_13_19_54_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655536","file1":"1399655535","file0":"1399655534","file4":"1399655540","file5":"1399655542","file3":"1399655538"},"map_files_photo_id_array":[{"photo_id":"1399655542","filename":"file5"},{"photo_id":"1399655536","filename":"file2"},{"photo_id":"1399655540","filename":"file4"},{"photo_id":"1399655535","filename":"file1"},{"photo_id":"1399655534","filename":"file0"},{"photo_id":"1399655538","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655538":["hashtag1","hashtag2"]},{"1399655535":["hashtag1","hashtag2"]},{"1399655540":["hashtag1","hashtag2"]},{"1399655534":["hashtag1","hashtag2"]},{"1399655542":["hashtag1","hashtag2"]},{"1399655536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655538, 1399655535, 1399655540, 1399655534, 1399655542, 1399655536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92180132865906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:39:06.067849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_35_10744.jpg', '/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_45_9644.jpg', '/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_54_9711.jpg', '/home/pi/Desktop/images/16122025/13/20/image_16122025_13_21_04_9667.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_15_10686.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_25_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_35_10744.jpg
/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_45_9644.jpg
/home/pi/Desktop/images/16122025/13/20/image_16122025_13_20_54_9711.jpg
/home/pi/Desktop/images/16122025/13/20/image_16122025_13_21_04_9667.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_15_10686.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_25_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655550","1399655547","1399655552","1399655549","1399655554","1399655548"],"photo_ids_order":["1399655547","1399655548","1399655549","1399655550","1399655552","1399655554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50b91ed5aa7587967d06e3599481d762.jpg","text":"TemporaryFile(/tmp/multipartBody2032869196078111154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888806702,"filename":"image_16122025_13_21_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/16/2f70874c9b7015a5dcf705f0458dcc25.jpg","text":"TemporaryFile(/tmp/multipartBody7571395746887325992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888806702,"filename":"image_16122025_13_20_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d626513731c0b30ea5aae712a25a2ae.jpg","text":"TemporaryFile(/tmp/multipartBody9178046399192772555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888806702,"filename":"image_16122025_13_21_15_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/16/3f1f5857ad330b507758039418cd55f0.jpg","text":"TemporaryFile(/tmp/multipartBody800934298737329242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888806702,"filename":"image_16122025_13_20_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/16/12463d0dfba9a21cc442f9ac9dfeb10c.jpg","text":"TemporaryFile(/tmp/multipartBody7182873585417615281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888806702,"filename":"image_16122025_13_21_25_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e81c2064f1e995e50871e776bcda58ce.jpg","text":"TemporaryFile(/tmp/multipartBody5721773088025117603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888806702,"filename":"image_16122025_13_20_45_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655549","file1":"1399655548","file0":"1399655547","file4":"1399655552","file5":"1399655554","file3":"1399655550"},"map_files_photo_id_array":[{"photo_id":"1399655554","filename":"file5"},{"photo_id":"1399655549","filename":"file2"},{"photo_id":"1399655552","filename":"file4"},{"photo_id":"1399655548","filename":"file1"},{"photo_id":"1399655547","filename":"file0"},{"photo_id":"1399655550","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655550":["hashtag1","hashtag2"]},{"1399655547":["hashtag1","hashtag2"]},{"1399655552":["hashtag1","hashtag2"]},{"1399655549":["hashtag1","hashtag2"]},{"1399655554":["hashtag1","hashtag2"]},{"1399655548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655550, 1399655547, 1399655552, 1399655549, 1399655554, 1399655548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.421127796173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:40:02.437759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_34_9688.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_45_10760.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_55_9770.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_22_05_9691.jpg', '/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_14_9681.jpg', '/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_25_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_34_9688.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_45_10760.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_55_9770.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_22_05_9691.jpg
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_14_9681.jpg
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_25_10753.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5499844551086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:40:11.911480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:40:21.995899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_34_9688.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_45_10760.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_55_9770.jpg', '/home/pi/Desktop/images/16122025/13/21/image_16122025_13_22_05_9691.jpg', '/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_14_9681.jpg', '/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_25_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_34_9688.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_45_10760.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_21_55_9770.jpg
/home/pi/Desktop/images/16122025/13/21/image_16122025_13_22_05_9691.jpg
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_14_9681.jpg
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_25_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655582","1399655579","1399655576","1399655572","1399655569","1399655574"],"photo_ids_order":["1399655569","1399655572","1399655574","1399655576","1399655579","1399655582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4efc24f6ffd05e9de929e681da13b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody447727966001060895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888882722,"filename":"image_16122025_13_22_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/16/6a3d639fdfaf5489c40345f6efff2411.jpg","text":"TemporaryFile(/tmp/multipartBody149793735635328729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888882722,"filename":"image_16122025_13_22_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/16/a63afec9f247777deb5cc5f6c6edc6e4.jpg","text":"TemporaryFile(/tmp/multipartBody5498707371970522930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888882722,"filename":"image_16122025_13_22_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bfc77f704095ae149fede1d221f60297.jpg","text":"TemporaryFile(/tmp/multipartBody5056210896989479022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888882722,"filename":"image_16122025_13_21_45_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/16/b27959a4513668160baa8518da1b00e9.jpg","text":"TemporaryFile(/tmp/multipartBody3315971312025599262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888882722,"filename":"image_16122025_13_21_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4aea028d78bff793ba2b5674673bd3a.jpg","text":"TemporaryFile(/tmp/multipartBody2445300590328619151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888882722,"filename":"image_16122025_13_21_55_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655574","file1":"1399655572","file0":"1399655569","file4":"1399655579","file5":"1399655582","file3":"1399655576"},"map_files_photo_id_array":[{"photo_id":"1399655582","filename":"file5"},{"photo_id":"1399655574","filename":"file2"},{"photo_id":"1399655579","filename":"file4"},{"photo_id":"1399655572","filename":"file1"},{"photo_id":"1399655569","filename":"file0"},{"photo_id":"1399655576","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655582":["hashtag1","hashtag2"]},{"1399655579":["hashtag1","hashtag2"]},{"1399655576":["hashtag1","hashtag2"]},{"1399655572":["hashtag1","hashtag2"]},{"1399655569":["hashtag1","hashtag2"]},{"1399655574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655582, 1399655579, 1399655576, 1399655572, 1399655569, 1399655574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64026927947998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:41:02.886457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_35_9911.jpg', '/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_45_9665.jpg', '/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_54_9766.jpg', '/home/pi/Desktop/images/16122025/13/22/image_16122025_13_23_05_10697.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_15_9633.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_24_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_35_9911.jpg
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_45_9665.jpg
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_22_54_9766.jpg
/home/pi/Desktop/images/16122025/13/22/image_16122025_13_23_05_10697.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_15_9633.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_24_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655585","1399655584","1399655587","1399655586","1399655589","1399655583"],"photo_ids_order":["1399655583","1399655584","1399655585","1399655586","1399655587","1399655589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cfd82a8157f3099746ee521df0149e5.jpg","text":"TemporaryFile(/tmp/multipartBody1453954449357512684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888923629,"filename":"image_16122025_13_22_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/16/2afe147518cdfd07cc085319f0da3f12.jpg","text":"TemporaryFile(/tmp/multipartBody9087830182620398863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888923629,"filename":"image_16122025_13_22_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/16/96d03838b23de79736492b751fd1770b.jpg","text":"TemporaryFile(/tmp/multipartBody3008869533281182649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888923629,"filename":"image_16122025_13_23_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/16/709ef02272185a273bb577822cf2e432.jpg","text":"TemporaryFile(/tmp/multipartBody2482140159739019170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888923629,"filename":"image_16122025_13_23_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/16/48f8a405ffee283b4c623251313dc3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3254543279333377681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888923629,"filename":"image_16122025_13_23_24_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e56d1c740cf70f6ffd63fbffcf186d4a.jpg","text":"TemporaryFile(/tmp/multipartBody864515898315385631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888923629,"filename":"image_16122025_13_22_35_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655585","file1":"1399655584","file0":"1399655583","file4":"1399655587","file5":"1399655589","file3":"1399655586"},"map_files_photo_id_array":[{"photo_id":"1399655589","filename":"file5"},{"photo_id":"1399655585","filename":"file2"},{"photo_id":"1399655587","filename":"file4"},{"photo_id":"1399655584","filename":"file1"},{"photo_id":"1399655583","filename":"file0"},{"photo_id":"1399655586","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655585":["hashtag1","hashtag2"]},{"1399655584":["hashtag1","hashtag2"]},{"1399655587":["hashtag1","hashtag2"]},{"1399655586":["hashtag1","hashtag2"]},{"1399655589":["hashtag1","hashtag2"]},{"1399655583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655585, 1399655584, 1399655587, 1399655586, 1399655589, 1399655583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38257884979248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:41:42.190879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_39_1482.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_41_1683.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_43_1802.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_45_1728.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_46_1714.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_48_1823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_39_1482.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_41_1683.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_43_1802.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_45_1728.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_46_1714.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_48_1823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655637","1399655630","1399655612","1399655641","1399655614","1399655640"],"photo_ids_order":["1399655612","1399655614","1399655630","1399655637","1399655640","1399655641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b054873c062c00b94fa44876bd177f66.jpg","text":"TemporaryFile(/tmp/multipartBody5787212724363609463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888962915,"filename":"image_06112025_16_30_45_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/16/9cbc24ca76dbf53e4529ac0507d1b338.jpg","text":"TemporaryFile(/tmp/multipartBody7740078212757856674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888962915,"filename":"image_06112025_16_30_43_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/16/387688b67636fb02a01bd4eb0e359bcc.jpg","text":"TemporaryFile(/tmp/multipartBody1665004663404908765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888962915,"filename":"image_06112025_16_30_39_1482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c76a86e412d8e527eee7bac6ce3625eb.jpg","text":"TemporaryFile(/tmp/multipartBody4941430313919081357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888962915,"filename":"image_06112025_16_30_48_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e99bb5c9118fc8516cce9ea9a0399516.jpg","text":"TemporaryFile(/tmp/multipartBody3224333743650075161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888962915,"filename":"image_06112025_16_30_41_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4e4a1ae74cd4efee682356521e624bb.jpg","text":"TemporaryFile(/tmp/multipartBody7556918512303818376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765888962915,"filename":"image_06112025_16_30_46_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655630","file1":"1399655614","file0":"1399655612","file4":"1399655640","file5":"1399655641","file3":"1399655637"},"map_files_photo_id_array":[{"photo_id":"1399655641","filename":"file5"},{"photo_id":"1399655630","filename":"file2"},{"photo_id":"1399655640","filename":"file4"},{"photo_id":"1399655614","filename":"file1"},{"photo_id":"1399655612","filename":"file0"},{"photo_id":"1399655637","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655637":["hashtag1","hashtag2"]},{"1399655630":["hashtag1","hashtag2"]},{"1399655612":["hashtag1","hashtag2"]},{"1399655641":["hashtag1","hashtag2"]},{"1399655614":["hashtag1","hashtag2"]},{"1399655640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655637, 1399655630, 1399655612, 1399655641, 1399655614, 1399655640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25101089477539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:42:22.438304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_35_10761.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_45_10519.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_55_9578.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_24_05_9766.jpg', '/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_15_9798.jpg', '/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_24_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_35_10761.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_45_10519.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_55_9578.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_24_05_9766.jpg
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_15_9798.jpg
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_24_9861.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.534557580947876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:42:32.570042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:42:42.400067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_50_1795.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_51_1576.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_53_1911.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_56_2615.jpg', '/home/pi/Desktop/images/06112025/16/30/image_06112025_16_31_00_3705.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_03_3420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_50_1795.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_51_1576.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_53_1911.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_30_56_2615.jpg
/home/pi/Desktop/images/06112025/16/30/image_06112025_16_31_00_3705.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_03_3420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655658","1399655657","1399655656","1399655659","1399655653","1399655655"],"photo_ids_order":["1399655653","1399655655","1399655656","1399655657","1399655658","1399655659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89d53ffbea611740a9e59b6c1d0dab36.jpg","text":"TemporaryFile(/tmp/multipartBody1028333479935250843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889023126,"filename":"image_06112025_16_31_00_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be9731644ea72ad506f25cc32e60791f.jpg","text":"TemporaryFile(/tmp/multipartBody5229620221715107617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889023126,"filename":"image_06112025_16_30_56_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78f8f1ca701f623227722316a9a3f665.jpg","text":"TemporaryFile(/tmp/multipartBody6310877549248298990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889023126,"filename":"image_06112025_16_30_53_1911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98e6ce02d2fc5d2079f1fc6592d47ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5807819438564413643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889023126,"filename":"image_06112025_16_31_03_3420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4c3c369757980ea582006a9ab1a0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody8945748190909374265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889023126,"filename":"image_06112025_16_30_50_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/16/02ac18cbd1a9268f512c22a50617c958.jpg","text":"TemporaryFile(/tmp/multipartBody1609909592617076696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889023126,"filename":"image_06112025_16_30_51_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655656","file1":"1399655655","file0":"1399655653","file4":"1399655658","file5":"1399655659","file3":"1399655657"},"map_files_photo_id_array":[{"photo_id":"1399655659","filename":"file5"},{"photo_id":"1399655656","filename":"file2"},{"photo_id":"1399655658","filename":"file4"},{"photo_id":"1399655655","filename":"file1"},{"photo_id":"1399655653","filename":"file0"},{"photo_id":"1399655657","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655658":["hashtag1","hashtag2"]},{"1399655657":["hashtag1","hashtag2"]},{"1399655656":["hashtag1","hashtag2"]},{"1399655659":["hashtag1","hashtag2"]},{"1399655653":["hashtag1","hashtag2"]},{"1399655655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655658, 1399655657, 1399655656, 1399655659, 1399655653, 1399655655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78453493118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:43:22.636073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_35_10761.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_45_10519.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_55_9578.jpg', '/home/pi/Desktop/images/16122025/13/23/image_16122025_13_24_05_9766.jpg', '/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_15_9798.jpg', '/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_24_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_35_10761.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_45_10519.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_23_55_9578.jpg
/home/pi/Desktop/images/16122025/13/23/image_16122025_13_24_05_9766.jpg
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_15_9798.jpg
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_24_9861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655663","1399655669","1399655671","1399655665","1399655667","1399655661"],"photo_ids_order":["1399655661","1399655663","1399655665","1399655667","1399655669","1399655671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d44fe909522521e7c9c62b957f40039.jpg","text":"TemporaryFile(/tmp/multipartBody8033435705379005072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889063272,"filename":"image_16122025_13_23_45_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5b5e7e91a6e1f281ec1e4b8542b3b06.jpg","text":"TemporaryFile(/tmp/multipartBody597462125344269035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889063272,"filename":"image_16122025_13_24_15_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/581de8a2ffa1bccf43e9db80549a8877.jpg","text":"TemporaryFile(/tmp/multipartBody247891619032780234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889063272,"filename":"image_16122025_13_24_24_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f69a5df988739f88a7d9dc89f3e01ec.jpg","text":"TemporaryFile(/tmp/multipartBody5688543172836007191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889063272,"filename":"image_16122025_13_23_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/16/961e5ab6ca6b9ddf0d8a8d27d5ee5533.jpg","text":"TemporaryFile(/tmp/multipartBody1052207952291572991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889063272,"filename":"image_16122025_13_24_05_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0613111f6680bfd8351f445c2606e103.jpg","text":"TemporaryFile(/tmp/multipartBody752419447052359840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889063272,"filename":"image_16122025_13_23_35_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655665","file1":"1399655663","file0":"1399655661","file4":"1399655669","file5":"1399655671","file3":"1399655667"},"map_files_photo_id_array":[{"photo_id":"1399655671","filename":"file5"},{"photo_id":"1399655665","filename":"file2"},{"photo_id":"1399655669","filename":"file4"},{"photo_id":"1399655663","filename":"file1"},{"photo_id":"1399655661","filename":"file0"},{"photo_id":"1399655667","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655663":["hashtag1","hashtag2"]},{"1399655669":["hashtag1","hashtag2"]},{"1399655671":["hashtag1","hashtag2"]},{"1399655665":["hashtag1","hashtag2"]},{"1399655667":["hashtag1","hashtag2"]},{"1399655661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655663, 1399655669, 1399655671, 1399655665, 1399655667, 1399655661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32022500038147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:44:02.789098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_34_9716.jpg', '/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_44_9997.jpg', '/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_55_10769.jpg', '/home/pi/Desktop/images/16122025/13/24/image_16122025_13_25_05_9562.jpg', '/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_14_9747.jpg', '/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_24_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_34_9716.jpg
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_44_9997.jpg
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_24_55_10769.jpg
/home/pi/Desktop/images/16122025/13/24/image_16122025_13_25_05_9562.jpg
/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_14_9747.jpg
/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_24_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655680","1399655677","1399655679","1399655673","1399655682","1399655676"],"photo_ids_order":["1399655673","1399655676","1399655677","1399655679","1399655680","1399655682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64127c0652927d26db6b2c89a6dae37f.jpg","text":"TemporaryFile(/tmp/multipartBody7406262672943735297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889103442,"filename":"image_16122025_13_25_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/16/dc55701e1c8e15e2fb06a3ca663aaffd.jpg","text":"TemporaryFile(/tmp/multipartBody6663232948612209774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889103442,"filename":"image_16122025_13_24_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/16/953303f6aabf61c74739b857e9dbbc57.jpg","text":"TemporaryFile(/tmp/multipartBody6111156872234511739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889103442,"filename":"image_16122025_13_25_05_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9eca72fe39b779982248220358a6e253.jpg","text":"TemporaryFile(/tmp/multipartBody6455570430568939814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889103442,"filename":"image_16122025_13_24_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7ff8ef335a9207aaaf1220edc8bfab4.jpg","text":"TemporaryFile(/tmp/multipartBody2137275200757042905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889103442,"filename":"image_16122025_13_25_24_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/16/6bfd5e93789d92f9eac72fed01369d52.jpg","text":"TemporaryFile(/tmp/multipartBody5783216888306772037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889103442,"filename":"image_16122025_13_24_44_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655677","file1":"1399655676","file0":"1399655673","file4":"1399655680","file5":"1399655682","file3":"1399655679"},"map_files_photo_id_array":[{"photo_id":"1399655682","filename":"file5"},{"photo_id":"1399655677","filename":"file2"},{"photo_id":"1399655680","filename":"file4"},{"photo_id":"1399655676","filename":"file1"},{"photo_id":"1399655673","filename":"file0"},{"photo_id":"1399655679","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655680":["hashtag1","hashtag2"]},{"1399655677":["hashtag1","hashtag2"]},{"1399655679":["hashtag1","hashtag2"]},{"1399655673":["hashtag1","hashtag2"]},{"1399655682":["hashtag1","hashtag2"]},{"1399655676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655680, 1399655677, 1399655679, 1399655673, 1399655682, 1399655676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.572534799575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:44:41.891680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_06_2665.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_08_2657.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_11_2610.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_15_3645.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_17_2760.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_22_4666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_06_2665.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_08_2657.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_11_2610.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_15_3645.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_17_2760.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_22_4666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655693","1399655692","1399655695","1399655691","1399655694","1399655688"],"photo_ids_order":["1399655688","1399655691","1399655692","1399655693","1399655694","1399655695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a09eb8fdfb1d9672c148034150f4c9a.jpg","text":"TemporaryFile(/tmp/multipartBody7471892079800061596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889142604,"filename":"image_06112025_16_31_15_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f80a3c99655c2e5b1fc909f930a71c33.jpg","text":"TemporaryFile(/tmp/multipartBody609708354569186316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889142604,"filename":"image_06112025_16_31_11_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/16/1375e814faee5b79d91dd5a4817866a9.jpg","text":"TemporaryFile(/tmp/multipartBody5735698720591792987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889142604,"filename":"image_06112025_16_31_22_4666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/638ae566d4b7b42615f651d170ac4e60.jpg","text":"TemporaryFile(/tmp/multipartBody2603871449997416757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889142604,"filename":"image_06112025_16_31_08_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80a3d7ec20f3adccb59944afc73153f3.jpg","text":"TemporaryFile(/tmp/multipartBody4715069738471595209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889142604,"filename":"image_06112025_16_31_17_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77e8e13024fcdfec256540a1842d38b9.jpg","text":"TemporaryFile(/tmp/multipartBody8890925381385350223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889142604,"filename":"image_06112025_16_31_06_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655692","file1":"1399655691","file0":"1399655688","file4":"1399655694","file5":"1399655695","file3":"1399655693"},"map_files_photo_id_array":[{"photo_id":"1399655695","filename":"file5"},{"photo_id":"1399655692","filename":"file2"},{"photo_id":"1399655694","filename":"file4"},{"photo_id":"1399655691","filename":"file1"},{"photo_id":"1399655688","filename":"file0"},{"photo_id":"1399655693","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655693":["hashtag1","hashtag2"]},{"1399655692":["hashtag1","hashtag2"]},{"1399655695":["hashtag1","hashtag2"]},{"1399655691":["hashtag1","hashtag2"]},{"1399655694":["hashtag1","hashtag2"]},{"1399655688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655693, 1399655692, 1399655695, 1399655691, 1399655694, 1399655688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.278284311294556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:45:22.142478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_35_10851.jpg', '/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_44_9217.jpg', '/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_55_10741.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_04_9490.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_14_9849.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_25_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_35_10851.jpg
/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_44_9217.jpg
/home/pi/Desktop/images/16122025/13/25/image_16122025_13_25_55_10741.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_04_9490.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_14_9849.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_25_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655730","1399655712","1399655750","1399655720","1399655723","1399655743"],"photo_ids_order":["1399655712","1399655720","1399655723","1399655730","1399655743","1399655750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70a576cfb9211d8171ede6aa144fc8a0.jpg","text":"TemporaryFile(/tmp/multipartBody8159006563534437185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889182770,"filename":"image_16122025_13_26_04_9490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b015f7f5771c3887a49d32dd85acc72c.jpg","text":"TemporaryFile(/tmp/multipartBody2293233306693720645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889182770,"filename":"image_16122025_13_25_35_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/460a3a18bbc28d0ccb5a7b0551c4512f.jpg","text":"TemporaryFile(/tmp/multipartBody8028487837581691099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889182770,"filename":"image_16122025_13_26_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa53de9770f1beb1c2baed9a60737b47.jpg","text":"TemporaryFile(/tmp/multipartBody7144027167993374377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889182770,"filename":"image_16122025_13_25_44_9217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36b166cfab8f8ec983c8aec079857cfb.jpg","text":"TemporaryFile(/tmp/multipartBody847243554923898160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889182770,"filename":"image_16122025_13_25_55_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/65b38889310c3ba87cd8598b46d75869.jpg","text":"TemporaryFile(/tmp/multipartBody6659316074993698010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889182770,"filename":"image_16122025_13_26_14_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655723","file1":"1399655720","file0":"1399655712","file4":"1399655743","file5":"1399655750","file3":"1399655730"},"map_files_photo_id_array":[{"photo_id":"1399655750","filename":"file5"},{"photo_id":"1399655723","filename":"file2"},{"photo_id":"1399655743","filename":"file4"},{"photo_id":"1399655720","filename":"file1"},{"photo_id":"1399655712","filename":"file0"},{"photo_id":"1399655730","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655730":["hashtag1","hashtag2"]},{"1399655712":["hashtag1","hashtag2"]},{"1399655750":["hashtag1","hashtag2"]},{"1399655720":["hashtag1","hashtag2"]},{"1399655723":["hashtag1","hashtag2"]},{"1399655743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655730, 1399655712, 1399655750, 1399655720, 1399655723, 1399655743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.466928243637085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:46:02.723963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_35_9537.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_44_9649.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_55_10820.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_27_04_9395.jpg', '/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_15_10440.jpg', '/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_35_9537.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_44_9649.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_55_10820.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_27_04_9395.jpg
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_15_10440.jpg
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_24_9634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6020419597625732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:46:12.265144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:46:22.337493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_35_9537.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_44_9649.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_55_10820.jpg', '/home/pi/Desktop/images/16122025/13/26/image_16122025_13_27_04_9395.jpg', '/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_15_10440.jpg', '/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_35_9537.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_44_9649.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_26_55_10820.jpg
/home/pi/Desktop/images/16122025/13/26/image_16122025_13_27_04_9395.jpg
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_15_10440.jpg
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_24_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655763","1399655757","1399655765","1399655759","1399655768","1399655761"],"photo_ids_order":["1399655757","1399655759","1399655761","1399655763","1399655765","1399655768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bb67f33915e38b183ca194e6a682d19.jpg","text":"TemporaryFile(/tmp/multipartBody3538440750355729299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889242968,"filename":"image_16122025_13_27_04_9395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9c8a2fced80400bb18a518ebef6e823.jpg","text":"TemporaryFile(/tmp/multipartBody366795934649137826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889242968,"filename":"image_16122025_13_26_35_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/274e957c74731b68e487d9a57775ebef.jpg","text":"TemporaryFile(/tmp/multipartBody111080162476006286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889242968,"filename":"image_16122025_13_27_15_10440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73dba2967a4123b105c1b9a71005d7dd.jpg","text":"TemporaryFile(/tmp/multipartBody9187238388887409815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889242968,"filename":"image_16122025_13_26_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91fed019cf1780b4a6521c0b1d13cd29.jpg","text":"TemporaryFile(/tmp/multipartBody8459365410119233529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889242968,"filename":"image_16122025_13_27_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12e99fbb5192e28a5de25c3a0336c022.jpg","text":"TemporaryFile(/tmp/multipartBody4093814538260937897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889242968,"filename":"image_16122025_13_26_55_10820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655761","file1":"1399655759","file0":"1399655757","file4":"1399655765","file5":"1399655768","file3":"1399655763"},"map_files_photo_id_array":[{"photo_id":"1399655768","filename":"file5"},{"photo_id":"1399655761","filename":"file2"},{"photo_id":"1399655765","filename":"file4"},{"photo_id":"1399655759","filename":"file1"},{"photo_id":"1399655757","filename":"file0"},{"photo_id":"1399655763","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655763":["hashtag1","hashtag2"]},{"1399655757":["hashtag1","hashtag2"]},{"1399655765":["hashtag1","hashtag2"]},{"1399655759":["hashtag1","hashtag2"]},{"1399655768":["hashtag1","hashtag2"]},{"1399655761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655763, 1399655757, 1399655765, 1399655759, 1399655768, 1399655761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66382670402527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:47:03.391565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_34_9855.jpg', '/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_45_10717.jpg', '/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_55_9739.jpg', '/home/pi/Desktop/images/16122025/13/27/image_16122025_13_28_05_9885.jpg', '/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_14_9681.jpg', '/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_24_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_34_9855.jpg
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_45_10717.jpg
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_27_55_9739.jpg
/home/pi/Desktop/images/16122025/13/27/image_16122025_13_28_05_9885.jpg
/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_14_9681.jpg
/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_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":["1399655771","1399655773","1399655770","1399655778","1399655772","1399655775"],"photo_ids_order":["1399655770","1399655771","1399655772","1399655773","1399655775","1399655778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ead2ffd2308cb1b6e7ba7169eba438d.jpg","text":"TemporaryFile(/tmp/multipartBody8922861787220446838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889284112,"filename":"image_16122025_13_27_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/772b9d2e90ec76b948d3247800cdf165.jpg","text":"TemporaryFile(/tmp/multipartBody3383558852949173533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889284112,"filename":"image_16122025_13_28_05_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/16/9b8a61ef3944335de7c3990ce3bbb0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3214495514272255034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889284112,"filename":"image_16122025_13_27_34_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68f9372d1932b7cd7d63b5e3f24fd333.jpg","text":"TemporaryFile(/tmp/multipartBody4892469126432006947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889284112,"filename":"image_16122025_13_28_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/16/fcfebcaa8582b38cd72ee186d6799d12.jpg","text":"TemporaryFile(/tmp/multipartBody3184871676383422541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889284112,"filename":"image_16122025_13_27_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ea1a90fcdcb928ac2105a54ccda6d4d.jpg","text":"TemporaryFile(/tmp/multipartBody6867699910271910086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889284112,"filename":"image_16122025_13_28_14_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655772","file1":"1399655771","file0":"1399655770","file4":"1399655775","file5":"1399655778","file3":"1399655773"},"map_files_photo_id_array":[{"photo_id":"1399655778","filename":"file5"},{"photo_id":"1399655772","filename":"file2"},{"photo_id":"1399655775","filename":"file4"},{"photo_id":"1399655771","filename":"file1"},{"photo_id":"1399655770","filename":"file0"},{"photo_id":"1399655773","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655771":["hashtag1","hashtag2"]},{"1399655773":["hashtag1","hashtag2"]},{"1399655770":["hashtag1","hashtag2"]},{"1399655778":["hashtag1","hashtag2"]},{"1399655772":["hashtag1","hashtag2"]},{"1399655775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655771, 1399655773, 1399655770, 1399655778, 1399655772, 1399655775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.747726917266846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:47:42.623535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_31_8809.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_33_1688.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_49_16030.jpg', '/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_50_1731.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_12_3018.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_15_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_31_8809.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_33_1688.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_49_16030.jpg
/home/pi/Desktop/images/06112025/16/31/image_06112025_16_31_50_1731.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_12_3018.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_15_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655795","1399655808","1399655810","1399655806","1399655809","1399655787"],"photo_ids_order":["1399655787","1399655795","1399655806","1399655808","1399655809","1399655810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1042aa717ac3ba5cad91c97acbb2c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody9221257298041374820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889323332,"filename":"image_06112025_16_31_33_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/16/fea69198ce3a27d822910326d6413387.jpg","text":"TemporaryFile(/tmp/multipartBody8341805664255899460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889323332,"filename":"image_06112025_16_31_50_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/16/b8ecee278debf9ae0d09f31afc78d10a.jpg","text":"TemporaryFile(/tmp/multipartBody3577938428043023958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889323332,"filename":"image_06112025_16_33_15_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/16/bf1c5a4158e96381903b086970e43c7d.jpg","text":"TemporaryFile(/tmp/multipartBody4047435221539550380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889323332,"filename":"image_06112025_16_31_49_16030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb597863e87d251eb886756a3460b7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3146309606166824691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889323332,"filename":"image_06112025_16_33_12_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6569223472168c9bcf7bce048e6e1ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7320215618285801348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889323332,"filename":"image_06112025_16_31_31_8809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655806","file1":"1399655795","file0":"1399655787","file4":"1399655809","file5":"1399655810","file3":"1399655808"},"map_files_photo_id_array":[{"photo_id":"1399655810","filename":"file5"},{"photo_id":"1399655806","filename":"file2"},{"photo_id":"1399655809","filename":"file4"},{"photo_id":"1399655795","filename":"file1"},{"photo_id":"1399655787","filename":"file0"},{"photo_id":"1399655808","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655795":["hashtag1","hashtag2"]},{"1399655808":["hashtag1","hashtag2"]},{"1399655810":["hashtag1","hashtag2"]},{"1399655806":["hashtag1","hashtag2"]},{"1399655809":["hashtag1","hashtag2"]},{"1399655787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655795, 1399655808, 1399655810, 1399655806, 1399655809, 1399655787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69929814338684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:48:21.871256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_35_10765.jpg', '/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_45_9966.jpg', '/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_55_9825.jpg', '/home/pi/Desktop/images/16122025/13/28/image_16122025_13_29_05_9821.jpg', '/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_14_9835.jpg', '/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_24_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_35_10765.jpg
/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_45_9966.jpg
/home/pi/Desktop/images/16122025/13/28/image_16122025_13_28_55_9825.jpg
/home/pi/Desktop/images/16122025/13/28/image_16122025_13_29_05_9821.jpg
/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_14_9835.jpg
/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_24_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":["1399655814","1399655811","1399655822","1399655816","1399655818","1399655812"],"photo_ids_order":["1399655811","1399655812","1399655814","1399655816","1399655818","1399655822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a86629f9ff6fda95a50d8faff3b24620.jpg","text":"TemporaryFile(/tmp/multipartBody1379885916972097956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889362497,"filename":"image_16122025_13_28_55_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4bc12d855df60a4b1b90e262ab7e8ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6119254923507835939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889362497,"filename":"image_16122025_13_28_35_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07e8458589dbc2e9293c113bce3d42b2.jpg","text":"TemporaryFile(/tmp/multipartBody6006760417203167392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889362497,"filename":"image_16122025_13_29_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/16/13ffa481090892c85153fe3cd4a5f5fa.jpg","text":"TemporaryFile(/tmp/multipartBody3398402572016883462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889362497,"filename":"image_16122025_13_29_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/16/98b23f035c3f997c1fcd1d9db1c32b75.jpg","text":"TemporaryFile(/tmp/multipartBody282139806679021370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889362497,"filename":"image_16122025_13_29_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78415e7875d5f0c931c5259a1a03950c.jpg","text":"TemporaryFile(/tmp/multipartBody6098046621769343288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889362497,"filename":"image_16122025_13_28_45_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655814","file1":"1399655812","file0":"1399655811","file4":"1399655818","file5":"1399655822","file3":"1399655816"},"map_files_photo_id_array":[{"photo_id":"1399655822","filename":"file5"},{"photo_id":"1399655814","filename":"file2"},{"photo_id":"1399655818","filename":"file4"},{"photo_id":"1399655812","filename":"file1"},{"photo_id":"1399655811","filename":"file0"},{"photo_id":"1399655816","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655814":["hashtag1","hashtag2"]},{"1399655811":["hashtag1","hashtag2"]},{"1399655822":["hashtag1","hashtag2"]},{"1399655816":["hashtag1","hashtag2"]},{"1399655818":["hashtag1","hashtag2"]},{"1399655812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655814, 1399655811, 1399655822, 1399655816, 1399655818, 1399655812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33461236953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:49:02.825453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_35_10739.jpg', '/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_44_9579.jpg', '/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_54_9947.jpg', '/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_15_10056.jpg', '/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_24_9965.jpg', '/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_35_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_35_10739.jpg
/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_44_9579.jpg
/home/pi/Desktop/images/16122025/13/29/image_16122025_13_29_54_9947.jpg
/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_15_10056.jpg
/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_24_9965.jpg
/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_35_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655835","1399655831","1399655828","1399655830","1399655833","1399655832"],"photo_ids_order":["1399655828","1399655830","1399655831","1399655832","1399655833","1399655835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/917b85b8ee800b6a9bbe25751c0d76bb.jpg","text":"TemporaryFile(/tmp/multipartBody4049822577257815421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889403614,"filename":"image_16122025_13_30_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/16/cb38ee47ce9beea66108c4e9c282df2d.jpg","text":"TemporaryFile(/tmp/multipartBody4787387073772887042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889403614,"filename":"image_16122025_13_29_54_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/16/348e2cdd955f3a0726dd939d39c10908.jpg","text":"TemporaryFile(/tmp/multipartBody6551252988351717315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889403614,"filename":"image_16122025_13_29_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e61b16ef705b9671a95beb75b272263.jpg","text":"TemporaryFile(/tmp/multipartBody2310533880905255629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889403614,"filename":"image_16122025_13_29_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b442b8e351a24490a46243b902787cd.jpg","text":"TemporaryFile(/tmp/multipartBody6343437489437166481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889403614,"filename":"image_16122025_13_30_24_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/729dbb9206b2735f5c6fb3ad060317d9.jpg","text":"TemporaryFile(/tmp/multipartBody3457371625007683049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889403614,"filename":"image_16122025_13_30_15_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655831","file1":"1399655830","file0":"1399655828","file4":"1399655833","file5":"1399655835","file3":"1399655832"},"map_files_photo_id_array":[{"photo_id":"1399655835","filename":"file5"},{"photo_id":"1399655831","filename":"file2"},{"photo_id":"1399655833","filename":"file4"},{"photo_id":"1399655830","filename":"file1"},{"photo_id":"1399655828","filename":"file0"},{"photo_id":"1399655832","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655835":["hashtag1","hashtag2"]},{"1399655831":["hashtag1","hashtag2"]},{"1399655828":["hashtag1","hashtag2"]},{"1399655830":["hashtag1","hashtag2"]},{"1399655833":["hashtag1","hashtag2"]},{"1399655832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655835, 1399655831, 1399655828, 1399655830, 1399655833, 1399655832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16273736953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:49:42.097693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_18_2550.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_23_5586.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_25_1645.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_27_1703.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_30_3536.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_33_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_18_2550.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_23_5586.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_25_1645.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_27_1703.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_30_3536.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_33_2721.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6431260108947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:50:02.679672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_45_9700.jpg', '/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_55_9600.jpg', '/home/pi/Desktop/images/16122025/13/30/image_16122025_13_31_05_10762.jpg', '/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_15_9827.jpg', '/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_25_9773.jpg', '/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_35_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_45_9700.jpg
/home/pi/Desktop/images/16122025/13/30/image_16122025_13_30_55_9600.jpg
/home/pi/Desktop/images/16122025/13/30/image_16122025_13_31_05_10762.jpg
/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_15_9827.jpg
/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_25_9773.jpg
/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_35_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":["1399655849","1399655848","1399655851","1399655850","1399655853","1399655847"],"photo_ids_order":["1399655847","1399655848","1399655849","1399655850","1399655851","1399655853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9da097a95286afe71a780aa898c6ec44.jpg","text":"TemporaryFile(/tmp/multipartBody1055391612424400250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889463381,"filename":"image_16122025_13_31_05_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3d38b37ae9bd79e24bfc2f74287cbcb.jpg","text":"TemporaryFile(/tmp/multipartBody8840009161362942202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889463381,"filename":"image_16122025_13_30_55_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71c4ee7587d11de2996572c285515293.jpg","text":"TemporaryFile(/tmp/multipartBody2901659433971849740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889463381,"filename":"image_16122025_13_31_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a67a0e25bc5626ea79dd3973d2142e8.jpg","text":"TemporaryFile(/tmp/multipartBody8234578476476966487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889463381,"filename":"image_16122025_13_31_15_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/16/42e4e88e6ea859da7d220140c1f7a136.jpg","text":"TemporaryFile(/tmp/multipartBody6140562366951267623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889463381,"filename":"image_16122025_13_31_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/16/a4752aaae621015d12fda5f05c1f2366.jpg","text":"TemporaryFile(/tmp/multipartBody5160279823100982532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889463381,"filename":"image_16122025_13_30_45_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655849","file1":"1399655848","file0":"1399655847","file4":"1399655851","file5":"1399655853","file3":"1399655850"},"map_files_photo_id_array":[{"photo_id":"1399655853","filename":"file5"},{"photo_id":"1399655849","filename":"file2"},{"photo_id":"1399655851","filename":"file4"},{"photo_id":"1399655848","filename":"file1"},{"photo_id":"1399655847","filename":"file0"},{"photo_id":"1399655850","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655849":["hashtag1","hashtag2"]},{"1399655848":["hashtag1","hashtag2"]},{"1399655851":["hashtag1","hashtag2"]},{"1399655850":["hashtag1","hashtag2"]},{"1399655853":["hashtag1","hashtag2"]},{"1399655847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655849, 1399655848, 1399655851, 1399655850, 1399655853, 1399655847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.562384605407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:50:42.231581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_18_2550.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_23_5586.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_25_1645.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_27_1703.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_30_3536.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_33_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_18_2550.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_23_5586.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_25_1645.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_27_1703.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_30_3536.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_33_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655862","1399655861","1399655864","1399655863","1399655865","1399655859"],"photo_ids_order":["1399655859","1399655861","1399655862","1399655863","1399655864","1399655865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c7a71a61303b90d25896f638271dc40.jpg","text":"TemporaryFile(/tmp/multipartBody861227275025980015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889502827,"filename":"image_06112025_16_33_25_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/16/9a12a4ca450f7c185f8e3083988b383a.jpg","text":"TemporaryFile(/tmp/multipartBody7363115251490589019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889502827,"filename":"image_06112025_16_33_23_5586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f36c5d05b298986775a4bfe04cbfc73.jpg","text":"TemporaryFile(/tmp/multipartBody8462519753126825684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889502827,"filename":"image_06112025_16_33_30_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/487624bcab4ce6ed9c3e7a18db254f55.jpg","text":"TemporaryFile(/tmp/multipartBody3493003091870164821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889502827,"filename":"image_06112025_16_33_27_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/16/e10dc4ab0fdadcdbc8945f25e094435f.jpg","text":"TemporaryFile(/tmp/multipartBody6544041347745021114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889502827,"filename":"image_06112025_16_33_33_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/16/7740f8728b0f01e12291ddd3a076061d.jpg","text":"TemporaryFile(/tmp/multipartBody4988963915882904364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889502827,"filename":"image_06112025_16_33_18_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655862","file1":"1399655861","file0":"1399655859","file4":"1399655864","file5":"1399655865","file3":"1399655863"},"map_files_photo_id_array":[{"photo_id":"1399655865","filename":"file5"},{"photo_id":"1399655862","filename":"file2"},{"photo_id":"1399655864","filename":"file4"},{"photo_id":"1399655861","filename":"file1"},{"photo_id":"1399655859","filename":"file0"},{"photo_id":"1399655863","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655862":["hashtag1","hashtag2"]},{"1399655861":["hashtag1","hashtag2"]},{"1399655864":["hashtag1","hashtag2"]},{"1399655863":["hashtag1","hashtag2"]},{"1399655865":["hashtag1","hashtag2"]},{"1399655859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655862, 1399655861, 1399655864, 1399655863, 1399655865, 1399655859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.184353828430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:51:22.521058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_45_10594.jpg', '/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_55_9810.jpg', '/home/pi/Desktop/images/16122025/13/31/image_16122025_13_32_05_9646.jpg', '/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_15_10756.jpg', '/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_25_9581.jpg', '/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_35_10194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_45_10594.jpg
/home/pi/Desktop/images/16122025/13/31/image_16122025_13_31_55_9810.jpg
/home/pi/Desktop/images/16122025/13/31/image_16122025_13_32_05_9646.jpg
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_15_10756.jpg
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_25_9581.jpg
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_35_10194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655870","1399655867","1399655872","1399655877","1399655874","1399655868"],"photo_ids_order":["1399655867","1399655868","1399655870","1399655872","1399655874","1399655877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2724074d45e838ff3bd2db3833927d94.jpg","text":"TemporaryFile(/tmp/multipartBody1819365559688463341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889543159,"filename":"image_16122025_13_32_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/574c87fa50d5ed2088db50f8cc7aaf38.jpg","text":"TemporaryFile(/tmp/multipartBody1556187177463472036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889543159,"filename":"image_16122025_13_31_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97184e85ef214bf78176141c48ffa249.jpg","text":"TemporaryFile(/tmp/multipartBody4069883022645617306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889543159,"filename":"image_16122025_13_32_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c89d4e81bce0e1caad454f4a95dccd3a.jpg","text":"TemporaryFile(/tmp/multipartBody8094775437425610393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889543159,"filename":"image_16122025_13_32_35_10194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/874d9fd7b78b1ca1e18753fad2898626.jpg","text":"TemporaryFile(/tmp/multipartBody5534155599287394851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889543159,"filename":"image_16122025_13_32_25_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/16/e733492663e6ed32ab2c281c02332734.jpg","text":"TemporaryFile(/tmp/multipartBody7334846791253863685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889543159,"filename":"image_16122025_13_31_55_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655870","file1":"1399655868","file0":"1399655867","file4":"1399655874","file5":"1399655877","file3":"1399655872"},"map_files_photo_id_array":[{"photo_id":"1399655877","filename":"file5"},{"photo_id":"1399655870","filename":"file2"},{"photo_id":"1399655874","filename":"file4"},{"photo_id":"1399655868","filename":"file1"},{"photo_id":"1399655867","filename":"file0"},{"photo_id":"1399655872","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655870":["hashtag1","hashtag2"]},{"1399655867":["hashtag1","hashtag2"]},{"1399655872":["hashtag1","hashtag2"]},{"1399655877":["hashtag1","hashtag2"]},{"1399655874":["hashtag1","hashtag2"]},{"1399655868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655870, 1399655867, 1399655872, 1399655877, 1399655874, 1399655868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.765686988830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:52:03.216024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_47_11980.jpg', '/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_55_7632.jpg', '/home/pi/Desktop/images/16122025/13/32/image_16122025_13_33_05_10591.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_15_9760.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_25_9632.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_35_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_47_11980.jpg
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_55_7632.jpg
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_33_05_10591.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_15_9760.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_25_9632.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_35_10752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5433366298675537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 13:52:12.738517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:52:22.712742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_47_11980.jpg', '/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_55_7632.jpg', '/home/pi/Desktop/images/16122025/13/32/image_16122025_13_33_05_10591.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_15_9760.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_25_9632.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_35_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_47_11980.jpg
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_32_55_7632.jpg
/home/pi/Desktop/images/16122025/13/32/image_16122025_13_33_05_10591.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_15_9760.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_25_9632.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_35_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":["1399655894","1399655888","1399655897","1399655890","1399655892","1399655886"],"photo_ids_order":["1399655886","1399655888","1399655890","1399655892","1399655894","1399655897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fdb40b9db8392c654a98515c197b01f3.jpg","text":"TemporaryFile(/tmp/multipartBody3997333561996654420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889603341,"filename":"image_16122025_13_33_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/16/c19e6ca303ce9a6bd05afa5b088c0fe3.jpg","text":"TemporaryFile(/tmp/multipartBody1072259412953643211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889603341,"filename":"image_16122025_13_32_55_7632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a9f88c2931b3488f4f67e31f91aff8f.jpg","text":"TemporaryFile(/tmp/multipartBody9019663565992253870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889603341,"filename":"image_16122025_13_33_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e6d80fabfd5cf708653b7c531ee37937.jpg","text":"TemporaryFile(/tmp/multipartBody8210600899151484352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889603341,"filename":"image_16122025_13_33_05_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0d293e1fe69d0df4fa865ea1d82287f.jpg","text":"TemporaryFile(/tmp/multipartBody6091564602172769066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889603341,"filename":"image_16122025_13_33_15_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d4c3102f70bc7b043f7c887e0177a75.jpg","text":"TemporaryFile(/tmp/multipartBody1373111306715927599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889603341,"filename":"image_16122025_13_32_47_11980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655890","file1":"1399655888","file0":"1399655886","file4":"1399655894","file5":"1399655897","file3":"1399655892"},"map_files_photo_id_array":[{"photo_id":"1399655897","filename":"file5"},{"photo_id":"1399655890","filename":"file2"},{"photo_id":"1399655894","filename":"file4"},{"photo_id":"1399655888","filename":"file1"},{"photo_id":"1399655886","filename":"file0"},{"photo_id":"1399655892","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655894":["hashtag1","hashtag2"]},{"1399655888":["hashtag1","hashtag2"]},{"1399655897":["hashtag1","hashtag2"]},{"1399655890":["hashtag1","hashtag2"]},{"1399655892":["hashtag1","hashtag2"]},{"1399655886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655894, 1399655888, 1399655897, 1399655890, 1399655892, 1399655886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74099111557007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:53:02.708341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_45_9598.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_55_9840.jpg', '/home/pi/Desktop/images/16122025/13/33/image_16122025_13_34_05_9893.jpg', '/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_15_10679.jpg', '/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_25_9656.jpg', '/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_35_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_45_9598.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_33_55_9840.jpg
/home/pi/Desktop/images/16122025/13/33/image_16122025_13_34_05_9893.jpg
/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_15_10679.jpg
/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_25_9656.jpg
/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_35_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655901","1399655904","1399655900","1399655899","1399655902","1399655898"],"photo_ids_order":["1399655898","1399655899","1399655900","1399655901","1399655902","1399655904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/add29f18c46a3e4937abb8fecd236dd4.jpg","text":"TemporaryFile(/tmp/multipartBody8233769827498098535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889643411,"filename":"image_16122025_13_34_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe9979fb58b2df9df342c1eede9e69a0.jpg","text":"TemporaryFile(/tmp/multipartBody2079034110992343656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889643411,"filename":"image_16122025_13_34_35_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/204097061e284d504215714f7742a60f.jpg","text":"TemporaryFile(/tmp/multipartBody6992511863312197894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889643411,"filename":"image_16122025_13_34_05_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea5e3a3988321be1977e8f6111f9e21c.jpg","text":"TemporaryFile(/tmp/multipartBody1010294923063833298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889643411,"filename":"image_16122025_13_33_55_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0543739749e80dc0bfb67e7c188a4158.jpg","text":"TemporaryFile(/tmp/multipartBody7209013368490550623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889643411,"filename":"image_16122025_13_34_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7000d8c1a5f265c37f03c1360989dd5b.jpg","text":"TemporaryFile(/tmp/multipartBody8047831956579633436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889643411,"filename":"image_16122025_13_33_45_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655900","file1":"1399655899","file0":"1399655898","file4":"1399655902","file5":"1399655904","file3":"1399655901"},"map_files_photo_id_array":[{"photo_id":"1399655904","filename":"file5"},{"photo_id":"1399655900","filename":"file2"},{"photo_id":"1399655902","filename":"file4"},{"photo_id":"1399655899","filename":"file1"},{"photo_id":"1399655898","filename":"file0"},{"photo_id":"1399655901","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655901":["hashtag1","hashtag2"]},{"1399655904":["hashtag1","hashtag2"]},{"1399655900":["hashtag1","hashtag2"]},{"1399655899":["hashtag1","hashtag2"]},{"1399655902":["hashtag1","hashtag2"]},{"1399655898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655901, 1399655904, 1399655900, 1399655899, 1399655902, 1399655898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04278111457825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:53:42.022322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_36_2752.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_42_5810.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_43_1520.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_45_1636.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_55_10332.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_57_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_36_2752.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_42_5810.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_43_1520.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_45_1636.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_55_10332.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_57_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655913","1399655916","1399655919","1399655921","1399655909","1399655917"],"photo_ids_order":["1399655909","1399655913","1399655916","1399655917","1399655919","1399655921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/678a7f166f0633221f0264f433a758ae.jpg","text":"TemporaryFile(/tmp/multipartBody4780431377840487961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889682755,"filename":"image_06112025_16_33_42_5810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e2f6b37bc156c3ebae8268c13c39128b.jpg","text":"TemporaryFile(/tmp/multipartBody1377163662310934939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889682755,"filename":"image_06112025_16_33_43_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/16/d75698d3db3bdbb7e3f28f9c587546f0.jpg","text":"TemporaryFile(/tmp/multipartBody5618192476927084905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889682755,"filename":"image_06112025_16_33_55_10332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1f120c34b35b4d40e12fccbfe8339cf.jpg","text":"TemporaryFile(/tmp/multipartBody7021060434638517724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889682755,"filename":"image_06112025_16_33_57_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/16/d0c8536a3c4d8f77849f4db8d41c193e.jpg","text":"TemporaryFile(/tmp/multipartBody3940483102964377122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889682755,"filename":"image_06112025_16_33_36_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/16/a792fda2c01d2d521f1c365e1bbf7646.jpg","text":"TemporaryFile(/tmp/multipartBody7148522737388984236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889682755,"filename":"image_06112025_16_33_45_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655916","file1":"1399655913","file0":"1399655909","file4":"1399655919","file5":"1399655921","file3":"1399655917"},"map_files_photo_id_array":[{"photo_id":"1399655921","filename":"file5"},{"photo_id":"1399655916","filename":"file2"},{"photo_id":"1399655919","filename":"file4"},{"photo_id":"1399655913","filename":"file1"},{"photo_id":"1399655909","filename":"file0"},{"photo_id":"1399655917","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655913":["hashtag1","hashtag2"]},{"1399655916":["hashtag1","hashtag2"]},{"1399655919":["hashtag1","hashtag2"]},{"1399655921":["hashtag1","hashtag2"]},{"1399655909":["hashtag1","hashtag2"]},{"1399655917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655913, 1399655916, 1399655919, 1399655921, 1399655909, 1399655917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89671540260315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:54:22.357774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_45_9786.jpg', '/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_55_10670.jpg', '/home/pi/Desktop/images/16122025/13/34/image_16122025_13_35_05_9674.jpg', '/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_15_9722.jpg', '/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_25_10664.jpg', '/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_35_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_45_9786.jpg
/home/pi/Desktop/images/16122025/13/34/image_16122025_13_34_55_10670.jpg
/home/pi/Desktop/images/16122025/13/34/image_16122025_13_35_05_9674.jpg
/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_15_9722.jpg
/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_25_10664.jpg
/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_35_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655925","1399655924","1399655927","1399655935","1399655929","1399655931"],"photo_ids_order":["1399655924","1399655925","1399655927","1399655929","1399655931","1399655935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4340244f6de8bce7d18a7f9805c108a5.jpg","text":"TemporaryFile(/tmp/multipartBody623901145887243239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889722983,"filename":"image_16122025_13_34_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb115b141f662ad54d4f132de4ff2f46.jpg","text":"TemporaryFile(/tmp/multipartBody4352950968487856458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889722983,"filename":"image_16122025_13_34_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/16/e63a954eaa72f4cdf155ec844bc0f385.jpg","text":"TemporaryFile(/tmp/multipartBody2977180076238379692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889722983,"filename":"image_16122025_13_35_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/16/e02aed86cd6c62cc32b8abbe31302e37.jpg","text":"TemporaryFile(/tmp/multipartBody2693799186452111488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889722983,"filename":"image_16122025_13_35_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/16/ceed6f1be3fe9bf7d52861180139cd81.jpg","text":"TemporaryFile(/tmp/multipartBody1060092691029737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889722983,"filename":"image_16122025_13_35_15_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/16/eacdbce9e039f62b9225c59de51f5a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1863487134685417213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889722983,"filename":"image_16122025_13_35_25_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655927","file1":"1399655925","file0":"1399655924","file4":"1399655931","file5":"1399655935","file3":"1399655929"},"map_files_photo_id_array":[{"photo_id":"1399655935","filename":"file5"},{"photo_id":"1399655927","filename":"file2"},{"photo_id":"1399655931","filename":"file4"},{"photo_id":"1399655925","filename":"file1"},{"photo_id":"1399655924","filename":"file0"},{"photo_id":"1399655929","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655925":["hashtag1","hashtag2"]},{"1399655924":["hashtag1","hashtag2"]},{"1399655927":["hashtag1","hashtag2"]},{"1399655935":["hashtag1","hashtag2"]},{"1399655929":["hashtag1","hashtag2"]},{"1399655931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655925, 1399655924, 1399655927, 1399655935, 1399655929, 1399655931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01156401634216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:55:03.103846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_45_9640.jpg', '/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_55_10662.jpg', '/home/pi/Desktop/images/16122025/13/35/image_16122025_13_36_05_9624.jpg', '/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_15_9736.jpg', '/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_25_10676.jpg', '/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_35_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_45_9640.jpg
/home/pi/Desktop/images/16122025/13/35/image_16122025_13_35_55_10662.jpg
/home/pi/Desktop/images/16122025/13/35/image_16122025_13_36_05_9624.jpg
/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_15_9736.jpg
/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_25_10676.jpg
/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_35_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655943","1399655945","1399655948","1399655941","1399655944","1399655946"],"photo_ids_order":["1399655941","1399655943","1399655944","1399655945","1399655946","1399655948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d763edf2d7688f503a0d0cccb42cd9d6.jpg","text":"TemporaryFile(/tmp/multipartBody3630982327992692145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889763835,"filename":"image_16122025_13_35_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/16/1f9f0d1392fb559aeffa6cdd3c98cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody4740987428760440326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889763835,"filename":"image_16122025_13_36_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d733f417933242d412653735e65822c8.jpg","text":"TemporaryFile(/tmp/multipartBody4277693986238703842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889763835,"filename":"image_16122025_13_36_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac6dd982c64fa56665092b5cb7bfccd9.jpg","text":"TemporaryFile(/tmp/multipartBody3904772354815762492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889763835,"filename":"image_16122025_13_35_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73d314c65081c2c313723ba3dbac3263.jpg","text":"TemporaryFile(/tmp/multipartBody5180557998562472274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889763835,"filename":"image_16122025_13_36_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6cebc14bb38af95d3b6167b312ea16e6.jpg","text":"TemporaryFile(/tmp/multipartBody511640397160971867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889763835,"filename":"image_16122025_13_36_25_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655944","file1":"1399655943","file0":"1399655941","file4":"1399655946","file5":"1399655948","file3":"1399655945"},"map_files_photo_id_array":[{"photo_id":"1399655948","filename":"file5"},{"photo_id":"1399655944","filename":"file2"},{"photo_id":"1399655946","filename":"file4"},{"photo_id":"1399655943","filename":"file1"},{"photo_id":"1399655941","filename":"file0"},{"photo_id":"1399655945","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655943":["hashtag1","hashtag2"]},{"1399655945":["hashtag1","hashtag2"]},{"1399655948":["hashtag1","hashtag2"]},{"1399655941":["hashtag1","hashtag2"]},{"1399655944":["hashtag1","hashtag2"]},{"1399655946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655943, 1399655945, 1399655948, 1399655941, 1399655944, 1399655946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23842144012451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:55:42.491748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_58_1582.jpg', '/home/pi/Desktop/images/06112025/16/33/image_06112025_16_34_00_1591.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_10_9835.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_11_1639.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_13_1517.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_15_1790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_33_58_1582.jpg
/home/pi/Desktop/images/06112025/16/33/image_06112025_16_34_00_1591.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_10_9835.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_11_1639.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_13_1517.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_15_1790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655961","1399655955","1399655957","1399655953","1399655959","1399655958"],"photo_ids_order":["1399655953","1399655955","1399655957","1399655958","1399655959","1399655961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c2f4177be146f368cc7f23cf61d708a.jpg","text":"TemporaryFile(/tmp/multipartBody7945532336544474364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889803211,"filename":"image_06112025_16_34_15_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d838aa6f750d95cd3e1102bc2be3b9cd.jpg","text":"TemporaryFile(/tmp/multipartBody8612479286776564288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889803211,"filename":"image_06112025_16_34_00_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b57fb2d00bfbf8dbed4737f821e358d3.jpg","text":"TemporaryFile(/tmp/multipartBody3200791004982918515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889803211,"filename":"image_06112025_16_34_10_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/16/31fa3271a4c0f168731693ec4a03b61d.jpg","text":"TemporaryFile(/tmp/multipartBody8891377298670781522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889803211,"filename":"image_06112025_16_33_58_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c2904a8b54846892f6d9631baefa0dd.jpg","text":"TemporaryFile(/tmp/multipartBody9142317293230479158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889803211,"filename":"image_06112025_16_34_13_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/16/ba254578c75e8dda38dbdbb9dba1c588.jpg","text":"TemporaryFile(/tmp/multipartBody8320673700120756730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889803211,"filename":"image_06112025_16_34_11_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655957","file1":"1399655955","file0":"1399655953","file4":"1399655959","file5":"1399655961","file3":"1399655958"},"map_files_photo_id_array":[{"photo_id":"1399655961","filename":"file5"},{"photo_id":"1399655957","filename":"file2"},{"photo_id":"1399655959","filename":"file4"},{"photo_id":"1399655955","filename":"file1"},{"photo_id":"1399655953","filename":"file0"},{"photo_id":"1399655958","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655961":["hashtag1","hashtag2"]},{"1399655955":["hashtag1","hashtag2"]},{"1399655957":["hashtag1","hashtag2"]},{"1399655953":["hashtag1","hashtag2"]},{"1399655959":["hashtag1","hashtag2"]},{"1399655958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655961, 1399655955, 1399655957, 1399655953, 1399655959, 1399655958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77081632614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 13:56:22.810653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_45_9685.jpg', '/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_55_10636.jpg', '/home/pi/Desktop/images/16122025/13/36/image_16122025_13_37_05_9687.jpg', '/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_15_9747.jpg', '/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_25_10567.jpg', '/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_35_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_45_9685.jpg
/home/pi/Desktop/images/16122025/13/36/image_16122025_13_36_55_10636.jpg
/home/pi/Desktop/images/16122025/13/36/image_16122025_13_37_05_9687.jpg
/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_15_9747.jpg
/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_25_10567.jpg
/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_35_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655969","1399655971","1399655965","1399655974","1399655964","1399655967"],"photo_ids_order":["1399655964","1399655965","1399655967","1399655969","1399655971","1399655974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e5bc2f226fcfe9c68454453a78af4fc.jpg","text":"TemporaryFile(/tmp/multipartBody739347026400051337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889843477,"filename":"image_16122025_13_37_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/16/492e9442da12dd040756079ff94f050d.jpg","text":"TemporaryFile(/tmp/multipartBody8595563990820878268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889843477,"filename":"image_16122025_13_37_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/16/d752399ef6cf9a70134c0c4f7921c624.jpg","text":"TemporaryFile(/tmp/multipartBody6267589872380579509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889843477,"filename":"image_16122025_13_36_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/031517e74f30a021885c4edfca8a3928.jpg","text":"TemporaryFile(/tmp/multipartBody8674035426977514353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889843477,"filename":"image_16122025_13_37_35_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/16/aaf6c4c5938cafa4a3dbdd3c29e99e93.jpg","text":"TemporaryFile(/tmp/multipartBody8377201842716337826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889843477,"filename":"image_16122025_13_36_45_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/16/655dd5d9ba44d3ba39fe17f3dd660922.jpg","text":"TemporaryFile(/tmp/multipartBody6628414047019036404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889843477,"filename":"image_16122025_13_37_05_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655967","file1":"1399655965","file0":"1399655964","file4":"1399655971","file5":"1399655974","file3":"1399655969"},"map_files_photo_id_array":[{"photo_id":"1399655974","filename":"file5"},{"photo_id":"1399655967","filename":"file2"},{"photo_id":"1399655971","filename":"file4"},{"photo_id":"1399655965","filename":"file1"},{"photo_id":"1399655964","filename":"file0"},{"photo_id":"1399655969","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655969":["hashtag1","hashtag2"]},{"1399655971":["hashtag1","hashtag2"]},{"1399655965":["hashtag1","hashtag2"]},{"1399655974":["hashtag1","hashtag2"]},{"1399655964":["hashtag1","hashtag2"]},{"1399655967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655969, 1399655971, 1399655965, 1399655974, 1399655964, 1399655967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.889365434646606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:57:02.724334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_45_9797.jpg', '/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_55_9680.jpg', '/home/pi/Desktop/images/16122025/13/37/image_16122025_13_38_05_10667.jpg', '/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_15_9670.jpg', '/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_25_9603.jpg', '/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_35_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_45_9797.jpg
/home/pi/Desktop/images/16122025/13/37/image_16122025_13_37_55_9680.jpg
/home/pi/Desktop/images/16122025/13/37/image_16122025_13_38_05_10667.jpg
/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_15_9670.jpg
/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_25_9603.jpg
/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_35_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655978","1399655980","1399655977","1399655982","1399655976","1399655979"],"photo_ids_order":["1399655976","1399655977","1399655978","1399655979","1399655980","1399655982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a09f86a2780258f7f0a389129ea3e9a2.jpg","text":"TemporaryFile(/tmp/multipartBody6437503940348415123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889883477,"filename":"image_16122025_13_38_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/16/83b5fdc2262821efe0fde89d1047071e.jpg","text":"TemporaryFile(/tmp/multipartBody6794630721547081784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889883477,"filename":"image_16122025_13_38_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ea6f2e8fe7f98ab1411d33cf2669f17.jpg","text":"TemporaryFile(/tmp/multipartBody9168544777889482156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889883477,"filename":"image_16122025_13_37_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/16/b1a78ef8915608d456675048a2a14c6e.jpg","text":"TemporaryFile(/tmp/multipartBody435611382940957442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889883477,"filename":"image_16122025_13_38_35_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c49b1da2705679938d9408b209bca7c.jpg","text":"TemporaryFile(/tmp/multipartBody1615743430092111218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889883477,"filename":"image_16122025_13_37_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/16/4e5d291cdbaacd619d0659d19506889a.jpg","text":"TemporaryFile(/tmp/multipartBody5829024154477404262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889883477,"filename":"image_16122025_13_38_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655978","file1":"1399655977","file0":"1399655976","file4":"1399655980","file5":"1399655982","file3":"1399655979"},"map_files_photo_id_array":[{"photo_id":"1399655982","filename":"file5"},{"photo_id":"1399655978","filename":"file2"},{"photo_id":"1399655980","filename":"file4"},{"photo_id":"1399655977","filename":"file1"},{"photo_id":"1399655976","filename":"file0"},{"photo_id":"1399655979","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399655978":["hashtag1","hashtag2"]},{"1399655980":["hashtag1","hashtag2"]},{"1399655977":["hashtag1","hashtag2"]},{"1399655982":["hashtag1","hashtag2"]},{"1399655976":["hashtag1","hashtag2"]},{"1399655979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399655978, 1399655980, 1399655977, 1399655982, 1399655976, 1399655979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.270819664001465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 13:57:41.942369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_16_1714.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_18_1639.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_20_1733.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_21_1816.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_28_6075.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_29_1595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_16_1714.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_18_1639.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_20_1733.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_21_1816.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_28_6075.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_29_1595.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399655993","1399655987","1399655990","1399655992","1399655995","1399655994"],"photo_ids_order":["1399655987","1399655990","1399655992","1399655993","1399655994","1399655995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b1f625ab041fd5c415b67ff938107ce.jpg","text":"TemporaryFile(/tmp/multipartBody57061651821846818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889922652,"filename":"image_06112025_16_34_21_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a26e86a6a153f5f5f7ce170da4678454.jpg","text":"TemporaryFile(/tmp/multipartBody8031097706432805073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889922652,"filename":"image_06112025_16_34_16_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/16/ab95eed76a57a80ce8266e20c37c547c.jpg","text":"TemporaryFile(/tmp/multipartBody2471368229347310453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889922652,"filename":"image_06112025_16_34_18_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/16/b2aaa8fa2d76ee5b81eea2351446a1ff.jpg","text":"TemporaryFile(/tmp/multipartBody772223053523939822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889922652,"filename":"image_06112025_16_34_20_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbdda2add154d2cafd33252e65ee5314.jpg","text":"TemporaryFile(/tmp/multipartBody5182540780890386989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889922652,"filename":"image_06112025_16_34_29_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/16/e1e7296bb02f1f22b435588aaee68900.jpg","text":"TemporaryFile(/tmp/multipartBody8569987455106621840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765889922652,"filename":"image_06112025_16_34_28_6075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399655992","file1":"1399655990","file0":"1399655987","file4":"1399655994","file5":"1399655995","file3":"1399655993"},"map_files_photo_id_array":[{"photo_id":"1399655995","filename":"file5"},{"photo_id":"1399655992","filename":"file2"},{"photo_id":"1399655994","filename":"file4"},{"photo_id":"1399655990","filename":"file1"},{"photo_id":"1399655987","filename":"file0"},{"photo_id":"1399655993","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399655993":["hashtag1","hashtag2"]},{"1399655987":["hashtag1","hashtag2"]},{"1399655990":["hashtag1","hashtag2"]},{"1399655992":["hashtag1","hashtag2"]},{"1399655995":["hashtag1","hashtag2"]},{"1399655994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399655993, 1399655987, 1399655990, 1399655992, 1399655995, 1399655994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.243847608566284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 13:59:03.189021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_45_9658.jpg', '/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_55_9909.jpg', '/home/pi/Desktop/images/16122025/13/38/image_16122025_13_39_04_9605.jpg', '/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_15_10810.jpg', '/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_25_9851.jpg', '/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_35_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_45_9658.jpg
/home/pi/Desktop/images/16122025/13/38/image_16122025_13_38_55_9909.jpg
/home/pi/Desktop/images/16122025/13/38/image_16122025_13_39_04_9605.jpg
/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_15_10810.jpg
/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_25_9851.jpg
/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_35_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399656300","1399656394","1399656397","1399656396","1399656378","1399656339"],"photo_ids_order":["1399656300","1399656339","1399656378","1399656394","1399656396","1399656397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5fb791236efa63dc8bd17c1ec04daca.jpg","text":"TemporaryFile(/tmp/multipartBody1189039257244637369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890003945,"filename":"image_16122025_13_38_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/16/7ecd6984c4061d07accb7aac9ea5bdb3.jpg","text":"TemporaryFile(/tmp/multipartBody8951660894735941813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890003945,"filename":"image_16122025_13_39_15_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/16/b313d8b0a52efe55aae5f00e75f85667.jpg","text":"TemporaryFile(/tmp/multipartBody3087980863064000739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890003945,"filename":"image_16122025_13_39_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/255b972558191e24e5790df454bbdc26.jpg","text":"TemporaryFile(/tmp/multipartBody2710174986760197660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890003945,"filename":"image_16122025_13_39_25_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/16/f28842cf668b5080abbaa15474dd8d24.jpg","text":"TemporaryFile(/tmp/multipartBody6714460185004606180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890003945,"filename":"image_16122025_13_39_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/16/73a599fe78cb0f8bc8cfad0aa3329a76.jpg","text":"TemporaryFile(/tmp/multipartBody8929672098619591704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890003945,"filename":"image_16122025_13_38_55_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399656378","file1":"1399656339","file0":"1399656300","file4":"1399656396","file5":"1399656397","file3":"1399656394"},"map_files_photo_id_array":[{"photo_id":"1399656397","filename":"file5"},{"photo_id":"1399656378","filename":"file2"},{"photo_id":"1399656396","filename":"file4"},{"photo_id":"1399656339","filename":"file1"},{"photo_id":"1399656300","filename":"file0"},{"photo_id":"1399656394","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399656300":["hashtag1","hashtag2"]},{"1399656394":["hashtag1","hashtag2"]},{"1399656397":["hashtag1","hashtag2"]},{"1399656396":["hashtag1","hashtag2"]},{"1399656378":["hashtag1","hashtag2"]},{"1399656339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399656300, 1399656394, 1399656397, 1399656396, 1399656378, 1399656339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77573585510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:00:03.071695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_45_10186.jpg', '/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_55_9702.jpg', '/home/pi/Desktop/images/16122025/13/39/image_16122025_13_40_05_10667.jpg', '/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_15_9655.jpg', '/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_25_9661.jpg', '/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_35_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_45_10186.jpg
/home/pi/Desktop/images/16122025/13/39/image_16122025_13_39_55_9702.jpg
/home/pi/Desktop/images/16122025/13/39/image_16122025_13_40_05_10667.jpg
/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_15_9655.jpg
/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_25_9661.jpg
/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_35_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399656581","1399656575","1399656542","1399656613","1399656594","1399656540"],"photo_ids_order":["1399656540","1399656542","1399656575","1399656581","1399656594","1399656613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/55b1a459296c02abe3f7cfdfc7809c22.jpg","text":"TemporaryFile(/tmp/multipartBody2443968131763005970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890063752,"filename":"image_16122025_13_40_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54da424494b8afc3c1c184d8d3e7352e.jpg","text":"TemporaryFile(/tmp/multipartBody5868994327113834094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890063752,"filename":"image_16122025_13_40_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/16/d490531cfa495a2ab3983cd6d4c44f47.jpg","text":"TemporaryFile(/tmp/multipartBody1007292236799827779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890063752,"filename":"image_16122025_13_39_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6355237daaaec84babdc874892e499d.jpg","text":"TemporaryFile(/tmp/multipartBody9064760846637455248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890063752,"filename":"image_16122025_13_40_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/693dc6663da9aba38f783ea71c110250.jpg","text":"TemporaryFile(/tmp/multipartBody9083876400164612743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890063752,"filename":"image_16122025_13_40_25_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/16/cf76c448818c9e6e0f14b1272a094473.jpg","text":"TemporaryFile(/tmp/multipartBody5201440650790492436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890063752,"filename":"image_16122025_13_39_45_10186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399656575","file1":"1399656542","file0":"1399656540","file4":"1399656594","file5":"1399656613","file3":"1399656581"},"map_files_photo_id_array":[{"photo_id":"1399656613","filename":"file5"},{"photo_id":"1399656575","filename":"file2"},{"photo_id":"1399656594","filename":"file4"},{"photo_id":"1399656542","filename":"file1"},{"photo_id":"1399656540","filename":"file0"},{"photo_id":"1399656581","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399656581":["hashtag1","hashtag2"]},{"1399656575":["hashtag1","hashtag2"]},{"1399656542":["hashtag1","hashtag2"]},{"1399656613":["hashtag1","hashtag2"]},{"1399656594":["hashtag1","hashtag2"]},{"1399656540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399656581, 1399656575, 1399656542, 1399656613, 1399656594, 1399656540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47419309616089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:00:42.757818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_41_12169.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_53_11795.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_56_1556.jpg', '/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_58_1633.jpg', '/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_07_3301.jpg', '/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_10_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_41_12169.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_53_11795.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_56_1556.jpg
/home/pi/Desktop/images/06112025/16/34/image_06112025_16_34_58_1633.jpg
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_07_3301.jpg
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_10_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399656698","1399656620","1399656623","1399656657","1399656621","1399656618"],"photo_ids_order":["1399656618","1399656620","1399656621","1399656623","1399656657","1399656698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50883f86d99f2615fef7290783a15695.jpg","text":"TemporaryFile(/tmp/multipartBody2650535966903368170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890103485,"filename":"image_06112025_16_37_10_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/16/75ef9a57df8a5c7c9c45aeb55bb77704.jpg","text":"TemporaryFile(/tmp/multipartBody8807721355568527219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890103485,"filename":"image_06112025_16_34_53_11795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2316b05094a7d8148ebc336742467139.jpg","text":"TemporaryFile(/tmp/multipartBody3877349193779883712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890103485,"filename":"image_06112025_16_34_58_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/16/596662745cfa00ebd60e354b47953ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6456350742216052068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890103485,"filename":"image_06112025_16_37_07_3301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb7ddf680b1690591ce685ca32a85a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3280657087768825349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890103485,"filename":"image_06112025_16_34_56_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/16/8eea5785162754629b503c16b4646385.jpg","text":"TemporaryFile(/tmp/multipartBody1709216702405349384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890103485,"filename":"image_06112025_16_34_41_12169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399656621","file1":"1399656620","file0":"1399656618","file4":"1399656657","file5":"1399656698","file3":"1399656623"},"map_files_photo_id_array":[{"photo_id":"1399656698","filename":"file5"},{"photo_id":"1399656621","filename":"file2"},{"photo_id":"1399656657","filename":"file4"},{"photo_id":"1399656620","filename":"file1"},{"photo_id":"1399656618","filename":"file0"},{"photo_id":"1399656623","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399656698":["hashtag1","hashtag2"]},{"1399656620":["hashtag1","hashtag2"]},{"1399656623":["hashtag1","hashtag2"]},{"1399656657":["hashtag1","hashtag2"]},{"1399656621":["hashtag1","hashtag2"]},{"1399656618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399656698, 1399656620, 1399656623, 1399656657, 1399656621, 1399656618)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.435699224472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:01:32.046173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:01:42.000082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_42_31356.jpg', '/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_43_1722.jpg', '/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_55_11847.jpg', '/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_57_1755.jpg', '/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_59_1678.jpg', '/home/pi/Desktop/images/06112025/16/37/image_06112025_16_38_00_1544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_42_31356.jpg
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_43_1722.jpg
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_55_11847.jpg
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_57_1755.jpg
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_37_59_1678.jpg
/home/pi/Desktop/images/06112025/16/37/image_06112025_16_38_00_1544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657142","1399657100","1399656989","1399657027","1399657181","1399657064"],"photo_ids_order":["1399656989","1399657027","1399657064","1399657100","1399657142","1399657181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2548db9cebfebfcbdda3a2e97998cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2999524263736767374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890162720,"filename":"image_06112025_16_37_59_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4bcbc3a44ec8c30b125666f965d3165.jpg","text":"TemporaryFile(/tmp/multipartBody5373449583111535076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890162720,"filename":"image_06112025_16_37_57_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/419b1a9bef0c95e30b73f05e79a77da8.jpg","text":"TemporaryFile(/tmp/multipartBody5457122487115198319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890162720,"filename":"image_06112025_16_37_42_31356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f4d006cbd7c901b0c3ebc84a7477835b.jpg","text":"TemporaryFile(/tmp/multipartBody6392299336504688426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890162720,"filename":"image_06112025_16_37_43_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9c563bfe6b780b6a0c5531af6878c86.jpg","text":"TemporaryFile(/tmp/multipartBody8984345406836862218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890162720,"filename":"image_06112025_16_38_00_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/16/d2f615c867d43e91de89c01f72a88ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2669918269346800169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890162720,"filename":"image_06112025_16_37_55_11847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657064","file1":"1399657027","file0":"1399656989","file4":"1399657142","file5":"1399657181","file3":"1399657100"},"map_files_photo_id_array":[{"photo_id":"1399657181","filename":"file5"},{"photo_id":"1399657064","filename":"file2"},{"photo_id":"1399657142","filename":"file4"},{"photo_id":"1399657027","filename":"file1"},{"photo_id":"1399656989","filename":"file0"},{"photo_id":"1399657100","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399657142":["hashtag1","hashtag2"]},{"1399657100":["hashtag1","hashtag2"]},{"1399656989":["hashtag1","hashtag2"]},{"1399657027":["hashtag1","hashtag2"]},{"1399657181":["hashtag1","hashtag2"]},{"1399657064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399657142, 1399657100, 1399656989, 1399657027, 1399657181, 1399657064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.321502447128296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:02:22.341444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_45_9377.jpg', '/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_55_9804.jpg', '/home/pi/Desktop/images/16122025/13/40/image_16122025_13_41_05_10876.jpg', '/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_15_9775.jpg', '/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_25_9625.jpg', '/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_35_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_45_9377.jpg
/home/pi/Desktop/images/16122025/13/40/image_16122025_13_40_55_9804.jpg
/home/pi/Desktop/images/16122025/13/40/image_16122025_13_41_05_10876.jpg
/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_15_9775.jpg
/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_25_9625.jpg
/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_35_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657415","1399657387","1399657420","1399657417","1399657350","1399657311"],"photo_ids_order":["1399657311","1399657350","1399657387","1399657415","1399657417","1399657420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8653b5e59c985e20afe22e8f4a8e3077.jpg","text":"TemporaryFile(/tmp/multipartBody1518717770129198623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890202969,"filename":"image_16122025_13_41_15_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1bcc78d7a785decf257769206d8ea73.jpg","text":"TemporaryFile(/tmp/multipartBody8815625388818484991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890202969,"filename":"image_16122025_13_41_05_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e72932b959d3d75e45c018ad1c41602e.jpg","text":"TemporaryFile(/tmp/multipartBody5044772733113844911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890202969,"filename":"image_16122025_13_41_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f386595e8cc1252e5044651a299cbfd7.jpg","text":"TemporaryFile(/tmp/multipartBody8113867411009311030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890202969,"filename":"image_16122025_13_41_25_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4ccce6e82bdfd86686d93579d702bef.jpg","text":"TemporaryFile(/tmp/multipartBody5755356118121363138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890202969,"filename":"image_16122025_13_40_55_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe76c8dde1b1c699fa5c091181fe13aa.jpg","text":"TemporaryFile(/tmp/multipartBody6217581352373966593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890202969,"filename":"image_16122025_13_40_45_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657387","file1":"1399657350","file0":"1399657311","file4":"1399657417","file5":"1399657420","file3":"1399657415"},"map_files_photo_id_array":[{"photo_id":"1399657420","filename":"file5"},{"photo_id":"1399657387","filename":"file2"},{"photo_id":"1399657417","filename":"file4"},{"photo_id":"1399657350","filename":"file1"},{"photo_id":"1399657311","filename":"file0"},{"photo_id":"1399657415","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399657415":["hashtag1","hashtag2"]},{"1399657387":["hashtag1","hashtag2"]},{"1399657420":["hashtag1","hashtag2"]},{"1399657417":["hashtag1","hashtag2"]},{"1399657350":["hashtag1","hashtag2"]},{"1399657311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399657415, 1399657387, 1399657420, 1399657417, 1399657350, 1399657311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89388132095337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:03:03.111049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_45_10693.jpg', '/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_55_9675.jpg', '/home/pi/Desktop/images/16122025/13/41/image_16122025_13_42_05_9700.jpg', '/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_15_10749.jpg', '/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_25_9698.jpg', '/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_35_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_45_10693.jpg
/home/pi/Desktop/images/16122025/13/41/image_16122025_13_41_55_9675.jpg
/home/pi/Desktop/images/16122025/13/41/image_16122025_13_42_05_9700.jpg
/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_15_10749.jpg
/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_25_9698.jpg
/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_35_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657439","1399657430","1399657433","1399657432","1399657473","1399657431"],"photo_ids_order":["1399657430","1399657431","1399657432","1399657433","1399657439","1399657473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/200a592aa7356d11bcaafe28ea76dd2c.jpg","text":"TemporaryFile(/tmp/multipartBody7859034740422148847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890243788,"filename":"image_16122025_13_42_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/16/ed331b954a9fb0d411a3d2dc8fc1d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody4968950223830363356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890243788,"filename":"image_16122025_13_41_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/16/2a8fb9496ce81c60da190e1d5303c005.jpg","text":"TemporaryFile(/tmp/multipartBody972194046414577440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890243788,"filename":"image_16122025_13_42_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23d6b447a7bf80346ef1f663dc774beb.jpg","text":"TemporaryFile(/tmp/multipartBody9067020461484500322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890243788,"filename":"image_16122025_13_42_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/16/74d64b4659045fd6654cad03ec3154f3.jpg","text":"TemporaryFile(/tmp/multipartBody1928868397126649319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890243788,"filename":"image_16122025_13_42_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/16/67e6f8db72a41661db17fd4bac922b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8927094683794558847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890243788,"filename":"image_16122025_13_41_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657432","file1":"1399657431","file0":"1399657430","file4":"1399657439","file5":"1399657473","file3":"1399657433"},"map_files_photo_id_array":[{"photo_id":"1399657473","filename":"file5"},{"photo_id":"1399657432","filename":"file2"},{"photo_id":"1399657439","filename":"file4"},{"photo_id":"1399657431","filename":"file1"},{"photo_id":"1399657430","filename":"file0"},{"photo_id":"1399657433","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399657439":["hashtag1","hashtag2"]},{"1399657430":["hashtag1","hashtag2"]},{"1399657433":["hashtag1","hashtag2"]},{"1399657432":["hashtag1","hashtag2"]},{"1399657473":["hashtag1","hashtag2"]},{"1399657431":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399657439, 1399657430, 1399657433, 1399657432, 1399657473, 1399657431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04076600074768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:03:42.504725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_02_1512.jpg', '/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_07_5600.jpg', '/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_09_1729.jpg', '/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_11_1838.jpg', '/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_31_20218.jpg', '/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_49_18081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_02_1512.jpg
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_07_5600.jpg
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_09_1729.jpg
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_11_1838.jpg
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_31_20218.jpg
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_49_18081.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657609","1399657695","1399657668","1399657677","1399657647","1399657676"],"photo_ids_order":["1399657609","1399657647","1399657668","1399657676","1399657677","1399657695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0259a200a558996a706074c96ef4ef28.jpg","text":"TemporaryFile(/tmp/multipartBody7235024671378806963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890283271,"filename":"image_06112025_16_38_02_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/16/eed968e229b7efc6d80ba49f55083034.jpg","text":"TemporaryFile(/tmp/multipartBody1413201140485411617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890283271,"filename":"image_06112025_16_38_49_18081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6820e42dab83ae960893665c3bbc1cb6.jpg","text":"TemporaryFile(/tmp/multipartBody2749240520351484639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890283271,"filename":"image_06112025_16_38_09_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/16/2caf77f66d9199d7f335c84101db672b.jpg","text":"TemporaryFile(/tmp/multipartBody3239351207000755679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890283271,"filename":"image_06112025_16_38_31_20218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e789c74e1f783ed0b53584eaaa4c402.jpg","text":"TemporaryFile(/tmp/multipartBody8048718370848239734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890283271,"filename":"image_06112025_16_38_07_5600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95bf69bf3c455f06494da2483b14d645.jpg","text":"TemporaryFile(/tmp/multipartBody7077828283034922937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890283271,"filename":"image_06112025_16_38_11_1838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657668","file1":"1399657647","file0":"1399657609","file4":"1399657677","file5":"1399657695","file3":"1399657676"},"map_files_photo_id_array":[{"photo_id":"1399657695","filename":"file5"},{"photo_id":"1399657668","filename":"file2"},{"photo_id":"1399657677","filename":"file4"},{"photo_id":"1399657647","filename":"file1"},{"photo_id":"1399657609","filename":"file0"},{"photo_id":"1399657676","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399657609":["hashtag1","hashtag2"]},{"1399657695":["hashtag1","hashtag2"]},{"1399657668":["hashtag1","hashtag2"]},{"1399657677":["hashtag1","hashtag2"]},{"1399657647":["hashtag1","hashtag2"]},{"1399657676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399657609, 1399657695, 1399657668, 1399657677, 1399657647, 1399657676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.912018060684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:04:22.815803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_45_10757.jpg', '/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_55_9637.jpg', '/home/pi/Desktop/images/16122025/13/42/image_16122025_13_43_05_9659.jpg', '/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_15_9830.jpg', '/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_25_10774.jpg', '/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_35_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_45_10757.jpg
/home/pi/Desktop/images/16122025/13/42/image_16122025_13_42_55_9637.jpg
/home/pi/Desktop/images/16122025/13/42/image_16122025_13_43_05_9659.jpg
/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_15_9830.jpg
/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_25_10774.jpg
/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_35_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657763","1399657765","1399657767","1399657770","1399657758","1399657775"],"photo_ids_order":["1399657758","1399657763","1399657765","1399657767","1399657770","1399657775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0136d1cdc9a0cbb7b8eb22d217ce002e.jpg","text":"TemporaryFile(/tmp/multipartBody7040192239125290989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890323449,"filename":"image_16122025_13_42_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/16/af6d6c928616e8ef65c22c8b2a24abb6.jpg","text":"TemporaryFile(/tmp/multipartBody5062960147957659611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890323449,"filename":"image_16122025_13_43_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/16/e364e64349113f95e3e815b23e8b1435.jpg","text":"TemporaryFile(/tmp/multipartBody1835367087598608400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890323449,"filename":"image_16122025_13_43_15_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d4e348fcf1d6f0391e329659477ebf2.jpg","text":"TemporaryFile(/tmp/multipartBody123071868679423414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890323449,"filename":"image_16122025_13_43_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/16/0d31f33da49bb1e3dde94610d36bb75b.jpg","text":"TemporaryFile(/tmp/multipartBody8528802779059520570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890323449,"filename":"image_16122025_13_42_45_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/16/1ff96e631625cdea9306cd8e17c622a6.jpg","text":"TemporaryFile(/tmp/multipartBody1367439277957115102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890323449,"filename":"image_16122025_13_43_35_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657765","file1":"1399657763","file0":"1399657758","file4":"1399657770","file5":"1399657775","file3":"1399657767"},"map_files_photo_id_array":[{"photo_id":"1399657775","filename":"file5"},{"photo_id":"1399657765","filename":"file2"},{"photo_id":"1399657770","filename":"file4"},{"photo_id":"1399657763","filename":"file1"},{"photo_id":"1399657758","filename":"file0"},{"photo_id":"1399657767","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399657763":["hashtag1","hashtag2"]},{"1399657765":["hashtag1","hashtag2"]},{"1399657767":["hashtag1","hashtag2"]},{"1399657770":["hashtag1","hashtag2"]},{"1399657758":["hashtag1","hashtag2"]},{"1399657775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399657763, 1399657765, 1399657767, 1399657770, 1399657758, 1399657775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11225080490112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:05:02.711262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_45_9666.jpg', '/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_55_10690.jpg', '/home/pi/Desktop/images/16122025/13/43/image_16122025_13_44_05_9809.jpg', '/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_15_9679.jpg', '/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_25_9725.jpg', '/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_35_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_45_9666.jpg
/home/pi/Desktop/images/16122025/13/43/image_16122025_13_43_55_10690.jpg
/home/pi/Desktop/images/16122025/13/43/image_16122025_13_44_05_9809.jpg
/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_15_9679.jpg
/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_25_9725.jpg
/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_35_10832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657789","1399657783","1399657791","1399657785","1399657788","1399657787"],"photo_ids_order":["1399657783","1399657785","1399657787","1399657788","1399657789","1399657791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab0331a770c5eb84b033e6191eb10e57.jpg","text":"TemporaryFile(/tmp/multipartBody3737046989704633497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890363382,"filename":"image_16122025_13_44_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d3f68eccafacf63f9b8f738a7e81a52.jpg","text":"TemporaryFile(/tmp/multipartBody4465630074361942386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890363382,"filename":"image_16122025_13_43_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/16/7696f4126f532ce61ec2f776a5d6de50.jpg","text":"TemporaryFile(/tmp/multipartBody6549878596518542623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890363382,"filename":"image_16122025_13_44_35_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4497b2728c95fc9d9dd914e4113618f7.jpg","text":"TemporaryFile(/tmp/multipartBody805285908425481321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890363382,"filename":"image_16122025_13_43_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b658e205661cb7d619e190e74a72b25e.jpg","text":"TemporaryFile(/tmp/multipartBody4236468774411800824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890363382,"filename":"image_16122025_13_44_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4472f792c65d422c3c905558ae179e8.jpg","text":"TemporaryFile(/tmp/multipartBody5880265771733520773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890363382,"filename":"image_16122025_13_44_05_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657787","file1":"1399657785","file0":"1399657783","file4":"1399657789","file5":"1399657791","file3":"1399657788"},"map_files_photo_id_array":[{"photo_id":"1399657791","filename":"file5"},{"photo_id":"1399657787","filename":"file2"},{"photo_id":"1399657789","filename":"file4"},{"photo_id":"1399657785","filename":"file1"},{"photo_id":"1399657783","filename":"file0"},{"photo_id":"1399657788","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399657789":["hashtag1","hashtag2"]},{"1399657783":["hashtag1","hashtag2"]},{"1399657791":["hashtag1","hashtag2"]},{"1399657785":["hashtag1","hashtag2"]},{"1399657788":["hashtag1","hashtag2"]},{"1399657787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399657789, 1399657783, 1399657791, 1399657785, 1399657788, 1399657787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.698463439941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:05:42.074240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_51_1626.jpg', '/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_53_1615.jpg', '/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_54_1680.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_07_3884.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_10_2793.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_12_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_51_1626.jpg
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_53_1615.jpg
/home/pi/Desktop/images/06112025/16/38/image_06112025_16_38_54_1680.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_07_3884.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_10_2793.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_12_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":["1399657795","1399657798","1399657801","1399657797","1399657800","1399657799"],"photo_ids_order":["1399657795","1399657797","1399657798","1399657799","1399657800","1399657801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f25ac6144df02f60075f3e35c8addcb.jpg","text":"TemporaryFile(/tmp/multipartBody1937050571220620962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890402774,"filename":"image_06112025_16_38_51_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/16/15e89e534bc92ee88023ccfc43e50d68.jpg","text":"TemporaryFile(/tmp/multipartBody356775084376642233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890402774,"filename":"image_06112025_16_38_54_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/193282f99d7aaf3d7ba42cdf88fb0822.jpg","text":"TemporaryFile(/tmp/multipartBody4575041363276506552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890402774,"filename":"image_06112025_16_41_12_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/16/21346b5e493da074ba4ad2e64f7177a7.jpg","text":"TemporaryFile(/tmp/multipartBody4625640018227331900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890402774,"filename":"image_06112025_16_38_53_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/16/eb4f4f0c66c17be95d7b9d85ef55da95.jpg","text":"TemporaryFile(/tmp/multipartBody849163635984885373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890402774,"filename":"image_06112025_16_41_10_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/16/dc6feab68e766cb59a738fae98d8447e.jpg","text":"TemporaryFile(/tmp/multipartBody7129705523718912363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890402774,"filename":"image_06112025_16_41_07_3884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657798","file1":"1399657797","file0":"1399657795","file4":"1399657800","file5":"1399657801","file3":"1399657799"},"map_files_photo_id_array":[{"photo_id":"1399657801","filename":"file5"},{"photo_id":"1399657798","filename":"file2"},{"photo_id":"1399657800","filename":"file4"},{"photo_id":"1399657797","filename":"file1"},{"photo_id":"1399657795","filename":"file0"},{"photo_id":"1399657799","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399657795":["hashtag1","hashtag2"]},{"1399657798":["hashtag1","hashtag2"]},{"1399657801":["hashtag1","hashtag2"]},{"1399657797":["hashtag1","hashtag2"]},{"1399657800":["hashtag1","hashtag2"]},{"1399657799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399657795, 1399657798, 1399657801, 1399657797, 1399657800, 1399657799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.823187589645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:06:22.397200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_45_9650.jpg', '/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_55_9758.jpg', '/home/pi/Desktop/images/16122025/13/44/image_16122025_13_45_05_9747.jpg', '/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_15_10579.jpg', '/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_25_9824.jpg', '/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_35_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_45_9650.jpg
/home/pi/Desktop/images/16122025/13/44/image_16122025_13_44_55_9758.jpg
/home/pi/Desktop/images/16122025/13/44/image_16122025_13_45_05_9747.jpg
/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_15_10579.jpg
/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_25_9824.jpg
/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_35_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":["1399657814","1399657802","1399657811","1399657807","1399657804","1399657809"],"photo_ids_order":["1399657802","1399657804","1399657807","1399657809","1399657811","1399657814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e438716a2649d60aef7a9db2e11d51f.jpg","text":"TemporaryFile(/tmp/multipartBody7387538928801205053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890443027,"filename":"image_16122025_13_45_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be8cc822d1f0db7858690aae9996a359.jpg","text":"TemporaryFile(/tmp/multipartBody1610182979200620912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890443027,"filename":"image_16122025_13_44_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1a0aef637e1b64594699cdbc83a11de.jpg","text":"TemporaryFile(/tmp/multipartBody8279582003891431439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890443027,"filename":"image_16122025_13_45_25_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/16/301acc00d79fce93da9256c1b9fc468e.jpg","text":"TemporaryFile(/tmp/multipartBody8886139577721117665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890443027,"filename":"image_16122025_13_45_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c06b35ea2629fc797e875150b2f8351.jpg","text":"TemporaryFile(/tmp/multipartBody3051230541446940595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890443027,"filename":"image_16122025_13_44_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ebd9ff78fc7cb997b4af99ab734ab26.jpg","text":"TemporaryFile(/tmp/multipartBody917287187572485054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890443027,"filename":"image_16122025_13_45_15_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657807","file1":"1399657804","file0":"1399657802","file4":"1399657811","file5":"1399657814","file3":"1399657809"},"map_files_photo_id_array":[{"photo_id":"1399657814","filename":"file5"},{"photo_id":"1399657807","filename":"file2"},{"photo_id":"1399657811","filename":"file4"},{"photo_id":"1399657804","filename":"file1"},{"photo_id":"1399657802","filename":"file0"},{"photo_id":"1399657809","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399657814":["hashtag1","hashtag2"]},{"1399657802":["hashtag1","hashtag2"]},{"1399657811":["hashtag1","hashtag2"]},{"1399657807":["hashtag1","hashtag2"]},{"1399657804":["hashtag1","hashtag2"]},{"1399657809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399657814, 1399657802, 1399657811, 1399657807, 1399657804, 1399657809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.709312915802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:07:03.097887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_45_10719.jpg', '/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_55_9583.jpg', '/home/pi/Desktop/images/16122025/13/45/image_16122025_13_46_05_9703.jpg', '/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_15_10619.jpg', '/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_25_9737.jpg', '/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_35_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_45_10719.jpg
/home/pi/Desktop/images/16122025/13/45/image_16122025_13_45_55_9583.jpg
/home/pi/Desktop/images/16122025/13/45/image_16122025_13_46_05_9703.jpg
/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_15_10619.jpg
/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_25_9737.jpg
/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_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":["1399657820","1399657823","1399657817","1399657816","1399657821","1399657818"],"photo_ids_order":["1399657816","1399657817","1399657818","1399657820","1399657821","1399657823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6fe7bf14ac08eed80ee799f0c1b89668.jpg","text":"TemporaryFile(/tmp/multipartBody5559812549142654009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890483789,"filename":"image_16122025_13_46_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0dd8389f965dbcabdf02f2706a8a92a.jpg","text":"TemporaryFile(/tmp/multipartBody3859476433833174720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890483789,"filename":"image_16122025_13_46_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/16/ef1a7274c583e7a7ac9f296afe17f61a.jpg","text":"TemporaryFile(/tmp/multipartBody5936671313624135530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890483789,"filename":"image_16122025_13_45_55_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/16/88bd7a08cdedc3aaea79e6c172c2ff31.jpg","text":"TemporaryFile(/tmp/multipartBody881280130038842319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890483789,"filename":"image_16122025_13_45_45_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b92ac015540af2063fb775619703ea27.jpg","text":"TemporaryFile(/tmp/multipartBody7899589689669831909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890483789,"filename":"image_16122025_13_46_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f1de7e70f32b5de35e2fd054558352c.jpg","text":"TemporaryFile(/tmp/multipartBody5453878940472945984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890483789,"filename":"image_16122025_13_46_05_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657818","file1":"1399657817","file0":"1399657816","file4":"1399657821","file5":"1399657823","file3":"1399657820"},"map_files_photo_id_array":[{"photo_id":"1399657823","filename":"file5"},{"photo_id":"1399657818","filename":"file2"},{"photo_id":"1399657821","filename":"file4"},{"photo_id":"1399657817","filename":"file1"},{"photo_id":"1399657816","filename":"file0"},{"photo_id":"1399657820","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399657820":["hashtag1","hashtag2"]},{"1399657823":["hashtag1","hashtag2"]},{"1399657817":["hashtag1","hashtag2"]},{"1399657816":["hashtag1","hashtag2"]},{"1399657821":["hashtag1","hashtag2"]},{"1399657818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399657820, 1399657823, 1399657817, 1399657816, 1399657821, 1399657818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96377968788147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:07:50.869162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_16_3568.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_19_2812.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_21_2639.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_27_2593.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_30_2914.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_37_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_16_3568.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_19_2812.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_21_2639.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_27_2593.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_30_2914.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_37_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":["1399657882","1399657855","1399657881","1399657883","1399657865","1399657868"],"photo_ids_order":["1399657855","1399657865","1399657868","1399657881","1399657882","1399657883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a521fd6851c32edba16a9fc7e9a8e2d5.jpg","text":"TemporaryFile(/tmp/multipartBody959550765694345287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890531554,"filename":"image_06112025_16_41_30_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/16/5acf22309466ecfbc8df401c83d6aa87.jpg","text":"TemporaryFile(/tmp/multipartBody3319224282002601441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890531554,"filename":"image_06112025_16_41_16_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/16/a0090eedd1e29a61e787ffd983625a57.jpg","text":"TemporaryFile(/tmp/multipartBody1446473589380791019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890531554,"filename":"image_06112025_16_41_27_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/16/e2332132d298af419e4e6b497170dd30.jpg","text":"TemporaryFile(/tmp/multipartBody5110025929013766899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890531554,"filename":"image_06112025_16_41_37_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e56ecdc665abe3ada4d2a25618a7badd.jpg","text":"TemporaryFile(/tmp/multipartBody3580516388099179560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890531554,"filename":"image_06112025_16_41_19_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6963c22ea4b4720490a5e65067f88899.jpg","text":"TemporaryFile(/tmp/multipartBody5700034123200447114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890531554,"filename":"image_06112025_16_41_21_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657868","file1":"1399657865","file0":"1399657855","file4":"1399657882","file5":"1399657883","file3":"1399657881"},"map_files_photo_id_array":[{"photo_id":"1399657883","filename":"file5"},{"photo_id":"1399657868","filename":"file2"},{"photo_id":"1399657882","filename":"file4"},{"photo_id":"1399657865","filename":"file1"},{"photo_id":"1399657855","filename":"file0"},{"photo_id":"1399657881","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399657882":["hashtag1","hashtag2"]},{"1399657855":["hashtag1","hashtag2"]},{"1399657881":["hashtag1","hashtag2"]},{"1399657883":["hashtag1","hashtag2"]},{"1399657865":["hashtag1","hashtag2"]},{"1399657868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399657882, 1399657855, 1399657881, 1399657883, 1399657865, 1399657868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37750434875488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:08:32.047253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:08:42.123854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_39_2648.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_43_3625.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_51_8256.jpg', '/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_53_1517.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_03_10369.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_05_1978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_39_2648.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_43_3625.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_51_8256.jpg
/home/pi/Desktop/images/06112025/16/41/image_06112025_16_41_53_1517.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_03_10369.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_05_1978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657919","1399657912","1399657915","1399657917","1399657926","1399657905"],"photo_ids_order":["1399657905","1399657912","1399657915","1399657917","1399657919","1399657926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6061ec450c71c29d872c09598ed4341d.jpg","text":"TemporaryFile(/tmp/multipartBody8616160385238925682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890582825,"filename":"image_06112025_16_42_03_10369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/567cfd29b53c972961347a12fa097de0.jpg","text":"TemporaryFile(/tmp/multipartBody6923325957352125352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890582825,"filename":"image_06112025_16_41_43_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b7578436bde39988f9a1b013b553863.jpg","text":"TemporaryFile(/tmp/multipartBody919213620744106857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890582825,"filename":"image_06112025_16_41_51_8256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4868adb08e42f9c80f36cb025a48f822.jpg","text":"TemporaryFile(/tmp/multipartBody3094977588451337298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890582825,"filename":"image_06112025_16_41_53_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/16/ddface0b636bb15135763b62fe95e502.jpg","text":"TemporaryFile(/tmp/multipartBody7836835519096628930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890582825,"filename":"image_06112025_16_42_05_1978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce065c416700536d0ec1fe245527fe75.jpg","text":"TemporaryFile(/tmp/multipartBody4339724087578745881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890582825,"filename":"image_06112025_16_41_39_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657915","file1":"1399657912","file0":"1399657905","file4":"1399657919","file5":"1399657926","file3":"1399657917"},"map_files_photo_id_array":[{"photo_id":"1399657926","filename":"file5"},{"photo_id":"1399657915","filename":"file2"},{"photo_id":"1399657919","filename":"file4"},{"photo_id":"1399657912","filename":"file1"},{"photo_id":"1399657905","filename":"file0"},{"photo_id":"1399657917","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399657919":["hashtag1","hashtag2"]},{"1399657912":["hashtag1","hashtag2"]},{"1399657915":["hashtag1","hashtag2"]},{"1399657917":["hashtag1","hashtag2"]},{"1399657926":["hashtag1","hashtag2"]},{"1399657905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399657919, 1399657912, 1399657915, 1399657917, 1399657926, 1399657905)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.90328073501587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:09:32.346290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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
2025-12-16 14:10:08.101710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_45_9837.jpg', '/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_55_10711.jpg', '/home/pi/Desktop/images/16122025/13/46/image_16122025_13_47_05_9782.jpg', '/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_15_9812.jpg', '/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_25_9568.jpg', '/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_35_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_45_9837.jpg
/home/pi/Desktop/images/16122025/13/46/image_16122025_13_46_55_10711.jpg
/home/pi/Desktop/images/16122025/13/46/image_16122025_13_47_05_9782.jpg
/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_15_9812.jpg
/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_25_9568.jpg
/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_35_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399657957","1399657936","1399657956","1399657941","1399657938","1399657952"],"photo_ids_order":["1399657936","1399657938","1399657941","1399657952","1399657956","1399657957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/995fbcda405310519590bfecaefa4ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2696511917031171722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890671092,"filename":"image_16122025_13_47_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/13f175e73327eecbaba03661c004dad7.jpg","text":"TemporaryFile(/tmp/multipartBody8886448081638674985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890671092,"filename":"image_16122025_13_46_45_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ede7c00872100ea323b6ca120f5eff8.jpg","text":"TemporaryFile(/tmp/multipartBody4827257658005532407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890671092,"filename":"image_16122025_13_47_25_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/16/60b8e3e81e56b59bb72714960833b902.jpg","text":"TemporaryFile(/tmp/multipartBody9088006258547086346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890671092,"filename":"image_16122025_13_47_05_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf32fd8b97d5bc0efb0f07a7cc0ebe82.jpg","text":"TemporaryFile(/tmp/multipartBody8123129476083150290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890671092,"filename":"image_16122025_13_46_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf6a3c6a1dec8f16ea883876a424b039.jpg","text":"TemporaryFile(/tmp/multipartBody494031946160478492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890671092,"filename":"image_16122025_13_47_15_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399657941","file1":"1399657938","file0":"1399657936","file4":"1399657956","file5":"1399657957","file3":"1399657952"},"map_files_photo_id_array":[{"photo_id":"1399657957","filename":"file5"},{"photo_id":"1399657941","filename":"file2"},{"photo_id":"1399657956","filename":"file4"},{"photo_id":"1399657938","filename":"file1"},{"photo_id":"1399657936","filename":"file0"},{"photo_id":"1399657952","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399657957":["hashtag1","hashtag2"]},{"1399657936":["hashtag1","hashtag2"]},{"1399657956":["hashtag1","hashtag2"]},{"1399657941":["hashtag1","hashtag2"]},{"1399657938":["hashtag1","hashtag2"]},{"1399657952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399657957, 1399657936, 1399657956, 1399657941, 1399657938, 1399657952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7546284198761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:11:03.635856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_45_9820.jpg', '/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_55_9704.jpg', '/home/pi/Desktop/images/16122025/13/47/image_16122025_13_48_05_10754.jpg', '/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_15_9770.jpg', '/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_25_9580.jpg', '/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_35_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_45_9820.jpg
/home/pi/Desktop/images/16122025/13/47/image_16122025_13_47_55_9704.jpg
/home/pi/Desktop/images/16122025/13/47/image_16122025_13_48_05_10754.jpg
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_15_9770.jpg
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_25_9580.jpg
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_35_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399658023","1399658032","1399658026","1399658029","1399658016","1399658025"],"photo_ids_order":["1399658016","1399658023","1399658025","1399658026","1399658029","1399658032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4d2387271777f595fa1311aace901e8.jpg","text":"TemporaryFile(/tmp/multipartBody6681756452245465680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890726653,"filename":"image_16122025_13_47_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/16/734b8a9c22eca7bb21cc8c6aad0554ed.jpg","text":"TemporaryFile(/tmp/multipartBody1118737871760708794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890726653,"filename":"image_16122025_13_48_35_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8dd36e9056f62eb5856201ba0e27bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2147602213133651339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890726653,"filename":"image_16122025_13_48_15_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d002618542cfabff4436c8415e65e95e.jpg","text":"TemporaryFile(/tmp/multipartBody1340469625121773176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890726653,"filename":"image_16122025_13_48_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/16/569804dd49efd5c3535bb506555aee4b.jpg","text":"TemporaryFile(/tmp/multipartBody1835667247038198896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890726653,"filename":"image_16122025_13_47_45_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/16/2ec68f6964ff28cb16b744b0958193ec.jpg","text":"TemporaryFile(/tmp/multipartBody6714312787869883835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890726653,"filename":"image_16122025_13_48_05_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658025","file1":"1399658023","file0":"1399658016","file4":"1399658029","file5":"1399658032","file3":"1399658026"},"map_files_photo_id_array":[{"photo_id":"1399658032","filename":"file5"},{"photo_id":"1399658025","filename":"file2"},{"photo_id":"1399658029","filename":"file4"},{"photo_id":"1399658023","filename":"file1"},{"photo_id":"1399658016","filename":"file0"},{"photo_id":"1399658026","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399658023":["hashtag1","hashtag2"]},{"1399658032":["hashtag1","hashtag2"]},{"1399658026":["hashtag1","hashtag2"]},{"1399658029":["hashtag1","hashtag2"]},{"1399658016":["hashtag1","hashtag2"]},{"1399658025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399658023, 1399658032, 1399658026, 1399658029, 1399658016, 1399658025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.076059103012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:12:03.104480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_45_10684.jpg', '/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_55_9869.jpg', '/home/pi/Desktop/images/16122025/13/48/image_16122025_13_49_05_9619.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_15_10599.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_25_9650.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_35_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_45_10684.jpg
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_55_9869.jpg
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_49_05_9619.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_15_10599.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_25_9650.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_35_9655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5319664478302002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:12:12.490413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:12:22.529949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_45_10684.jpg', '/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_55_9869.jpg', '/home/pi/Desktop/images/16122025/13/48/image_16122025_13_49_05_9619.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_15_10599.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_25_9650.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_35_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_45_10684.jpg
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_48_55_9869.jpg
/home/pi/Desktop/images/16122025/13/48/image_16122025_13_49_05_9619.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_15_10599.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_25_9650.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_35_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399658050","1399658047","1399658052","1399658058","1399658045","1399658048"],"photo_ids_order":["1399658045","1399658047","1399658048","1399658050","1399658052","1399658058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf0cc35872b1acbab704d44951dcfa50.jpg","text":"TemporaryFile(/tmp/multipartBody8777380832831368723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890803182,"filename":"image_16122025_13_49_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f3e1d62163d67a47aabe80e06ba0c61.jpg","text":"TemporaryFile(/tmp/multipartBody978532410871638137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890803182,"filename":"image_16122025_13_48_55_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/16/5c2afe7a01884705051ebe7e941274fd.jpg","text":"TemporaryFile(/tmp/multipartBody2020086219838848414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890803182,"filename":"image_16122025_13_49_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/16/63e6661aab0ae091af1ae8916f0b3f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5477004194858611136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890803182,"filename":"image_16122025_13_49_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/183f087c41f404359e80dd74a8797ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6523318581832800216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890803182,"filename":"image_16122025_13_48_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e9a57ac36d34243ff1e1fb7b821ce03.jpg","text":"TemporaryFile(/tmp/multipartBody2176739003711087942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890803182,"filename":"image_16122025_13_49_05_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658048","file1":"1399658047","file0":"1399658045","file4":"1399658052","file5":"1399658058","file3":"1399658050"},"map_files_photo_id_array":[{"photo_id":"1399658058","filename":"file5"},{"photo_id":"1399658048","filename":"file2"},{"photo_id":"1399658052","filename":"file4"},{"photo_id":"1399658047","filename":"file1"},{"photo_id":"1399658045","filename":"file0"},{"photo_id":"1399658050","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399658050":["hashtag1","hashtag2"]},{"1399658047":["hashtag1","hashtag2"]},{"1399658052":["hashtag1","hashtag2"]},{"1399658058":["hashtag1","hashtag2"]},{"1399658045":["hashtag1","hashtag2"]},{"1399658048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399658050, 1399658047, 1399658052, 1399658058, 1399658045, 1399658048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94920301437378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:13:03.426930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_45_10745.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_55_9905.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_50_05_9652.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_15_10301.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_25_9267.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_35_10876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_45_10745.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_55_9905.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_50_05_9652.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_15_10301.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_25_9267.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_35_10876.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5411345958709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:13:12.830714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:13:22.763397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_45_10745.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_55_9905.jpg', '/home/pi/Desktop/images/16122025/13/49/image_16122025_13_50_05_9652.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_15_10301.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_25_9267.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_35_10876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_45_10745.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_49_55_9905.jpg
/home/pi/Desktop/images/16122025/13/49/image_16122025_13_50_05_9652.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_15_10301.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_25_9267.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_35_10876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399658143","1399658199","1399658172","1399658352","1399658267","1399658174"],"photo_ids_order":["1399658143","1399658172","1399658174","1399658199","1399658267","1399658352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37947195031a3c96d9226c11c78591c6.jpg","text":"TemporaryFile(/tmp/multipartBody8122077193407556031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890863376,"filename":"image_16122025_13_49_45_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a65b637dec4c52b4989df2987379f1e6.jpg","text":"TemporaryFile(/tmp/multipartBody8825205296120570314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890863376,"filename":"image_16122025_13_50_15_10301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c149b5e20346992fa7951e256348cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7505998526117770797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890863376,"filename":"image_16122025_13_49_55_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/16/bbf3f3495533b0fff0dce8e83918179a.jpg","text":"TemporaryFile(/tmp/multipartBody3850925996664585487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890863376,"filename":"image_16122025_13_50_35_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1d85431d40e7a95ccdc942e2d1825f0.jpg","text":"TemporaryFile(/tmp/multipartBody8842350853860474357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890863376,"filename":"image_16122025_13_50_25_9267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08611cb6298616366048c8b913190537.jpg","text":"TemporaryFile(/tmp/multipartBody104917875428256960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890863376,"filename":"image_16122025_13_50_05_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658174","file1":"1399658172","file0":"1399658143","file4":"1399658267","file5":"1399658352","file3":"1399658199"},"map_files_photo_id_array":[{"photo_id":"1399658352","filename":"file5"},{"photo_id":"1399658174","filename":"file2"},{"photo_id":"1399658267","filename":"file4"},{"photo_id":"1399658172","filename":"file1"},{"photo_id":"1399658143","filename":"file0"},{"photo_id":"1399658199","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399658143":["hashtag1","hashtag2"]},{"1399658199":["hashtag1","hashtag2"]},{"1399658172":["hashtag1","hashtag2"]},{"1399658352":["hashtag1","hashtag2"]},{"1399658267":["hashtag1","hashtag2"]},{"1399658174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399658143, 1399658199, 1399658172, 1399658352, 1399658267, 1399658174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80780816078186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:14:02.748777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_44_9029.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_55_10593.jpg', '/home/pi/Desktop/images/16122025/13/50/image_16122025_13_51_05_9652.jpg', '/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_15_9863.jpg', '/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_25_10685.jpg', '/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_44_9029.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_50_55_10593.jpg
/home/pi/Desktop/images/16122025/13/50/image_16122025_13_51_05_9652.jpg
/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_15_9863.jpg
/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_25_10685.jpg
/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_35_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399658605","1399658604","1399658547","1399658597","1399658633","1399658615"],"photo_ids_order":["1399658547","1399658597","1399658604","1399658605","1399658615","1399658633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a09bc7731eefdffc2aa81e720e1aa157.jpg","text":"TemporaryFile(/tmp/multipartBody5730579492378005464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890903422,"filename":"image_16122025_13_51_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/16/4a103ab833b6dfafd6f5cbc9e5483251.jpg","text":"TemporaryFile(/tmp/multipartBody2184279299684888634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890903422,"filename":"image_16122025_13_51_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/16/ee74fff25f14d3c9b180236f7b1abe76.jpg","text":"TemporaryFile(/tmp/multipartBody6994414127275351144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890903422,"filename":"image_16122025_13_50_44_9029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42dc94eb9477f3d36dcb729f874b2c94.jpg","text":"TemporaryFile(/tmp/multipartBody3753720505331472156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890903422,"filename":"image_16122025_13_50_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd39ec897b5d189efa8cf618f5615b00.jpg","text":"TemporaryFile(/tmp/multipartBody1104390067625087841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890903422,"filename":"image_16122025_13_51_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/16/eb540571956ff993feda98f0d86f8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody6428323211674166757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890903422,"filename":"image_16122025_13_51_25_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658604","file1":"1399658597","file0":"1399658547","file4":"1399658615","file5":"1399658633","file3":"1399658605"},"map_files_photo_id_array":[{"photo_id":"1399658633","filename":"file5"},{"photo_id":"1399658604","filename":"file2"},{"photo_id":"1399658615","filename":"file4"},{"photo_id":"1399658597","filename":"file1"},{"photo_id":"1399658547","filename":"file0"},{"photo_id":"1399658605","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399658605":["hashtag1","hashtag2"]},{"1399658604":["hashtag1","hashtag2"]},{"1399658547":["hashtag1","hashtag2"]},{"1399658597":["hashtag1","hashtag2"]},{"1399658633":["hashtag1","hashtag2"]},{"1399658615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399658605, 1399658604, 1399658547, 1399658597, 1399658633, 1399658615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.649473667144775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:14:42.043464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_07_1548.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_08_1657.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_10_1729.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_12_1619.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_15_1718.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_17_1796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_07_1548.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_08_1657.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_10_1729.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_12_1619.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_15_1718.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_17_1796.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5901007652282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:15:02.932734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_45_9636.jpg', '/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_55_10865.jpg', '/home/pi/Desktop/images/16122025/13/51/image_16122025_13_52_05_9595.jpg', '/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_15_9720.jpg', '/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_25_10646.jpg', '/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_35_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_45_9636.jpg
/home/pi/Desktop/images/16122025/13/51/image_16122025_13_51_55_10865.jpg
/home/pi/Desktop/images/16122025/13/51/image_16122025_13_52_05_9595.jpg
/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_15_9720.jpg
/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_25_10646.jpg
/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_35_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399658662","1399658665","1399658659","1399658661","1399658663","1399658657"],"photo_ids_order":["1399658657","1399658659","1399658661","1399658662","1399658663","1399658665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17f2c1183d04174d51511f098594bcc8.jpg","text":"TemporaryFile(/tmp/multipartBody3977656620234449002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890963644,"filename":"image_16122025_13_52_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/16/ea928e01b50acad377fa44c8f739b033.jpg","text":"TemporaryFile(/tmp/multipartBody476353137962990161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890963644,"filename":"image_16122025_13_52_35_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71f5b825b27fd4ae112bf04c16e8088f.jpg","text":"TemporaryFile(/tmp/multipartBody5709701040273062631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890963644,"filename":"image_16122025_13_51_55_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/16/b313bd669fd5f60910a85eb1befd7cea.jpg","text":"TemporaryFile(/tmp/multipartBody3744427975200593081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890963644,"filename":"image_16122025_13_52_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/16/6c6bcef164752c595dcf7afe4423d8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7308486566624385366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890963644,"filename":"image_16122025_13_52_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/16/7c3d5ba327da158c77ce25bff2448f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4734637391579741627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765890963644,"filename":"image_16122025_13_51_45_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658661","file1":"1399658659","file0":"1399658657","file4":"1399658663","file5":"1399658665","file3":"1399658662"},"map_files_photo_id_array":[{"photo_id":"1399658665","filename":"file5"},{"photo_id":"1399658661","filename":"file2"},{"photo_id":"1399658663","filename":"file4"},{"photo_id":"1399658659","filename":"file1"},{"photo_id":"1399658657","filename":"file0"},{"photo_id":"1399658662","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399658662":["hashtag1","hashtag2"]},{"1399658665":["hashtag1","hashtag2"]},{"1399658659":["hashtag1","hashtag2"]},{"1399658661":["hashtag1","hashtag2"]},{"1399658663":["hashtag1","hashtag2"]},{"1399658657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399658662, 1399658665, 1399658659, 1399658661, 1399658663, 1399658657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95849561691284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:15:42.281179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_07_1548.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_08_1657.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_10_1729.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_12_1619.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_15_1718.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_17_1796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_07_1548.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_08_1657.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_10_1729.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_12_1619.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_15_1718.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_17_1796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399658695","1399658674","1399658694","1399658696","1399658699","1399658684"],"photo_ids_order":["1399658674","1399658684","1399658694","1399658695","1399658696","1399658699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38d54cb43ef595c85f4c1c4ad7973968.jpg","text":"TemporaryFile(/tmp/multipartBody1606626477801929518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891002861,"filename":"image_06112025_16_42_12_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/16/f4aca84e6262e0a7afd3d3ad72fa5cc6.jpg","text":"TemporaryFile(/tmp/multipartBody736132676759849369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891002861,"filename":"image_06112025_16_42_07_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec7d94e8386fa8bfc2b7f2e522b0a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8487414064934585180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891002861,"filename":"image_06112025_16_42_10_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/16/a833eff6893ff3ddd7ab7ad75c88ca50.jpg","text":"TemporaryFile(/tmp/multipartBody3855904671283106846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891002861,"filename":"image_06112025_16_42_15_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/16/bd649a22ab33333ca857cf835af2f0fc.jpg","text":"TemporaryFile(/tmp/multipartBody6825874793426375667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891002861,"filename":"image_06112025_16_42_17_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/16/81196808e2f45de17637d61dfae7135e.jpg","text":"TemporaryFile(/tmp/multipartBody6347293129535115040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891002861,"filename":"image_06112025_16_42_08_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658694","file1":"1399658684","file0":"1399658674","file4":"1399658696","file5":"1399658699","file3":"1399658695"},"map_files_photo_id_array":[{"photo_id":"1399658699","filename":"file5"},{"photo_id":"1399658694","filename":"file2"},{"photo_id":"1399658696","filename":"file4"},{"photo_id":"1399658684","filename":"file1"},{"photo_id":"1399658674","filename":"file0"},{"photo_id":"1399658695","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399658695":["hashtag1","hashtag2"]},{"1399658674":["hashtag1","hashtag2"]},{"1399658694":["hashtag1","hashtag2"]},{"1399658696":["hashtag1","hashtag2"]},{"1399658699":["hashtag1","hashtag2"]},{"1399658684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399658695, 1399658674, 1399658694, 1399658696, 1399658699, 1399658684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89923119544983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:16:22.525119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_45_9727.jpg', '/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_55_9631.jpg', '/home/pi/Desktop/images/16122025/13/52/image_16122025_13_53_05_10694.jpg', '/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_15_9644.jpg', '/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_25_9872.jpg', '/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_35_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_45_9727.jpg
/home/pi/Desktop/images/16122025/13/52/image_16122025_13_52_55_9631.jpg
/home/pi/Desktop/images/16122025/13/52/image_16122025_13_53_05_10694.jpg
/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_15_9644.jpg
/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_25_9872.jpg
/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_35_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":["1399658705","1399658743","1399658703","1399658709","1399658711","1399658708"],"photo_ids_order":["1399658703","1399658705","1399658708","1399658709","1399658711","1399658743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0a923eeda7a3033c939e52874182f6b.jpg","text":"TemporaryFile(/tmp/multipartBody5344556587419642854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891043147,"filename":"image_16122025_13_52_55_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/16/12d45b374b1bf0fcd99c06b926dd07b6.jpg","text":"TemporaryFile(/tmp/multipartBody1502433344263636406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891043147,"filename":"image_16122025_13_53_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ada06f62c378cc145badcff0d8b08577.jpg","text":"TemporaryFile(/tmp/multipartBody6781416659873033210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891043147,"filename":"image_16122025_13_52_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/16/4cc1214e73aa1fa6d44ab8baa40e9494.jpg","text":"TemporaryFile(/tmp/multipartBody57031296119771902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891043147,"filename":"image_16122025_13_53_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96cdcbe9465fe185b79b87e5eb27be07.jpg","text":"TemporaryFile(/tmp/multipartBody7651573476237561981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891043147,"filename":"image_16122025_13_53_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/16/d17fc21bc9619912e33c099382b01853.jpg","text":"TemporaryFile(/tmp/multipartBody2500414590067779277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891043147,"filename":"image_16122025_13_53_05_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658708","file1":"1399658705","file0":"1399658703","file4":"1399658711","file5":"1399658743","file3":"1399658709"},"map_files_photo_id_array":[{"photo_id":"1399658743","filename":"file5"},{"photo_id":"1399658708","filename":"file2"},{"photo_id":"1399658711","filename":"file4"},{"photo_id":"1399658705","filename":"file1"},{"photo_id":"1399658703","filename":"file0"},{"photo_id":"1399658709","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399658705":["hashtag1","hashtag2"]},{"1399658743":["hashtag1","hashtag2"]},{"1399658703":["hashtag1","hashtag2"]},{"1399658709":["hashtag1","hashtag2"]},{"1399658711":["hashtag1","hashtag2"]},{"1399658708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399658705, 1399658743, 1399658703, 1399658709, 1399658711, 1399658708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.614585161209106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:17:02.466728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_45_10632.jpg', '/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_55_9725.jpg', '/home/pi/Desktop/images/16122025/13/53/image_16122025_13_54_05_9656.jpg', '/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_15_10620.jpg', '/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_25_9754.jpg', '/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_35_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_45_10632.jpg
/home/pi/Desktop/images/16122025/13/53/image_16122025_13_53_55_9725.jpg
/home/pi/Desktop/images/16122025/13/53/image_16122025_13_54_05_9656.jpg
/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_15_10620.jpg
/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_25_9754.jpg
/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_35_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":["1399658887","1399658881","1399658877","1399658886","1399658897","1399658884"],"photo_ids_order":["1399658877","1399658881","1399658884","1399658886","1399658887","1399658897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e811bffdf32b5fd4d6f6d0c115f5c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody1276736083396205861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891083127,"filename":"image_16122025_13_54_25_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bd0db88812c7ba4ceb4b1153abcbb86.jpg","text":"TemporaryFile(/tmp/multipartBody3379859792922809973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891083127,"filename":"image_16122025_13_53_55_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38a284cd7e85465907630df6392c02d8.jpg","text":"TemporaryFile(/tmp/multipartBody7079635013921638598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891083127,"filename":"image_16122025_13_53_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6539e31ea41afac18b76fa3be275ff57.jpg","text":"TemporaryFile(/tmp/multipartBody1465223771319444837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891083127,"filename":"image_16122025_13_54_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/16/dd3666be313dcb9db9421c7d1c908e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4222213222741373468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891083127,"filename":"image_16122025_13_54_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b808998f1827f28fa4001b6fb6bea46.jpg","text":"TemporaryFile(/tmp/multipartBody7285036360858900250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891083127,"filename":"image_16122025_13_54_05_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399658884","file1":"1399658881","file0":"1399658877","file4":"1399658887","file5":"1399658897","file3":"1399658886"},"map_files_photo_id_array":[{"photo_id":"1399658897","filename":"file5"},{"photo_id":"1399658884","filename":"file2"},{"photo_id":"1399658887","filename":"file4"},{"photo_id":"1399658881","filename":"file1"},{"photo_id":"1399658877","filename":"file0"},{"photo_id":"1399658886","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399658887":["hashtag1","hashtag2"]},{"1399658881":["hashtag1","hashtag2"]},{"1399658877":["hashtag1","hashtag2"]},{"1399658886":["hashtag1","hashtag2"]},{"1399658897":["hashtag1","hashtag2"]},{"1399658884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399658887, 1399658881, 1399658877, 1399658886, 1399658897, 1399658884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.942975997924805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:17:41.773459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_41_24754.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_43_1669.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_45_1563.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_46_1790.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_48_1492.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_49_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_41_24754.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_43_1669.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_45_1563.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_46_1790.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_48_1492.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_49_1558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659042","1399659045","1399658975","1399659047","1399659032","1399659046"],"photo_ids_order":["1399658975","1399659032","1399659042","1399659045","1399659046","1399659047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57a80c650bf88530fc0f6a83730b21ef.jpg","text":"TemporaryFile(/tmp/multipartBody5193421151097260853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891122457,"filename":"image_06112025_16_42_45_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/16/a6b7ba33b231915a970a15bc5a5310b7.jpg","text":"TemporaryFile(/tmp/multipartBody5076256215312187287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891122457,"filename":"image_06112025_16_42_46_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5d8e5cfeb5a23eb1e2b53fb25adff53.jpg","text":"TemporaryFile(/tmp/multipartBody6508604850407842649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891122457,"filename":"image_06112025_16_42_41_24754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afef420602c2571c4cae1987759b61e2.jpg","text":"TemporaryFile(/tmp/multipartBody1502539389390550695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891122457,"filename":"image_06112025_16_42_49_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/16/9fee7334ee012f5649bd8a80cbf31944.jpg","text":"TemporaryFile(/tmp/multipartBody6420820601778847862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891122457,"filename":"image_06112025_16_42_43_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/16/76a0b59c5833b7596586460480fde90e.jpg","text":"TemporaryFile(/tmp/multipartBody2875301847364601210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891122457,"filename":"image_06112025_16_42_48_1492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659042","file1":"1399659032","file0":"1399658975","file4":"1399659046","file5":"1399659047","file3":"1399659045"},"map_files_photo_id_array":[{"photo_id":"1399659047","filename":"file5"},{"photo_id":"1399659042","filename":"file2"},{"photo_id":"1399659046","filename":"file4"},{"photo_id":"1399659032","filename":"file1"},{"photo_id":"1399658975","filename":"file0"},{"photo_id":"1399659045","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659042":["hashtag1","hashtag2"]},{"1399659045":["hashtag1","hashtag2"]},{"1399658975":["hashtag1","hashtag2"]},{"1399659047":["hashtag1","hashtag2"]},{"1399659032":["hashtag1","hashtag2"]},{"1399659046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659042, 1399659045, 1399658975, 1399659047, 1399659032, 1399659046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97424530982971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:18:22.151306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_45_10776.jpg', '/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_55_9748.jpg', '/home/pi/Desktop/images/16122025/13/54/image_16122025_13_55_05_9746.jpg', '/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_15_9820.jpg', '/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_25_10638.jpg', '/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_35_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_45_10776.jpg
/home/pi/Desktop/images/16122025/13/54/image_16122025_13_54_55_9748.jpg
/home/pi/Desktop/images/16122025/13/54/image_16122025_13_55_05_9746.jpg
/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_15_9820.jpg
/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_25_10638.jpg
/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_35_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659115","1399659112","1399659117","1399659122","1399659119","1399659113"],"photo_ids_order":["1399659112","1399659113","1399659115","1399659117","1399659119","1399659122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5662bcdad61b8d94921277100a4f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3219540124544326736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891162771,"filename":"image_16122025_13_55_05_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29bc00baf4ac4ab71bd36a25c27a4148.jpg","text":"TemporaryFile(/tmp/multipartBody7688420802084350461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891162771,"filename":"image_16122025_13_54_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/16/bb60dddb359faadcf2a7a3bce49352f5.jpg","text":"TemporaryFile(/tmp/multipartBody2551403209692145724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891162771,"filename":"image_16122025_13_55_15_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b73d3eae12bf8b9b6fe2ab6d1521533c.jpg","text":"TemporaryFile(/tmp/multipartBody1684923251666074783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891162771,"filename":"image_16122025_13_55_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f941ebce99141888eb57cd6682f19702.jpg","text":"TemporaryFile(/tmp/multipartBody8184872934668633311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891162771,"filename":"image_16122025_13_55_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/16/db70b14565b3d606ee0ed17a6f1c2a8d.jpg","text":"TemporaryFile(/tmp/multipartBody9141786146618298809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891162771,"filename":"image_16122025_13_54_55_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659115","file1":"1399659113","file0":"1399659112","file4":"1399659119","file5":"1399659122","file3":"1399659117"},"map_files_photo_id_array":[{"photo_id":"1399659122","filename":"file5"},{"photo_id":"1399659115","filename":"file2"},{"photo_id":"1399659119","filename":"file4"},{"photo_id":"1399659113","filename":"file1"},{"photo_id":"1399659112","filename":"file0"},{"photo_id":"1399659117","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659115":["hashtag1","hashtag2"]},{"1399659112":["hashtag1","hashtag2"]},{"1399659117":["hashtag1","hashtag2"]},{"1399659122":["hashtag1","hashtag2"]},{"1399659119":["hashtag1","hashtag2"]},{"1399659113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659115, 1399659112, 1399659117, 1399659122, 1399659119, 1399659113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35729241371155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:19:03.339662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_45_9608.jpg', '/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_55_10793.jpg', '/home/pi/Desktop/images/16122025/13/55/image_16122025_13_56_05_9558.jpg', '/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_15_9690.jpg', '/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_25_10597.jpg', '/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_35_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_45_9608.jpg
/home/pi/Desktop/images/16122025/13/55/image_16122025_13_55_55_10793.jpg
/home/pi/Desktop/images/16122025/13/55/image_16122025_13_56_05_9558.jpg
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_15_9690.jpg
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_25_10597.jpg
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_35_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659127","1399659130","1399659132","1399659126","1399659125","1399659128"],"photo_ids_order":["1399659125","1399659126","1399659127","1399659128","1399659130","1399659132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12e14b9ba2d0cf87ad273ecd8f2704b5.jpg","text":"TemporaryFile(/tmp/multipartBody7859658140551795864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891204078,"filename":"image_16122025_13_56_05_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/16/e896f9eacf4db16f64a2755f781f125a.jpg","text":"TemporaryFile(/tmp/multipartBody7825872871745346163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891204078,"filename":"image_16122025_13_56_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8271f738174b32932fbd8626f0e4834.jpg","text":"TemporaryFile(/tmp/multipartBody3862400307131880969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891204078,"filename":"image_16122025_13_56_35_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee0600e18a4f0f0e59215c4de466307a.jpg","text":"TemporaryFile(/tmp/multipartBody7297707304891136093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891204078,"filename":"image_16122025_13_55_55_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/16/ec06f171ba60d3bc3307968d54bfc553.jpg","text":"TemporaryFile(/tmp/multipartBody2991553798327873908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891204078,"filename":"image_16122025_13_55_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/16/5899d4643c3634675c8a01d8c01b8d38.jpg","text":"TemporaryFile(/tmp/multipartBody3540995320292945687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891204078,"filename":"image_16122025_13_56_15_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659127","file1":"1399659126","file0":"1399659125","file4":"1399659130","file5":"1399659132","file3":"1399659128"},"map_files_photo_id_array":[{"photo_id":"1399659132","filename":"file5"},{"photo_id":"1399659127","filename":"file2"},{"photo_id":"1399659130","filename":"file4"},{"photo_id":"1399659126","filename":"file1"},{"photo_id":"1399659125","filename":"file0"},{"photo_id":"1399659128","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659127":["hashtag1","hashtag2"]},{"1399659130":["hashtag1","hashtag2"]},{"1399659132":["hashtag1","hashtag2"]},{"1399659126":["hashtag1","hashtag2"]},{"1399659125":["hashtag1","hashtag2"]},{"1399659128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659127, 1399659130, 1399659132, 1399659126, 1399659125, 1399659128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0782105922699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:19:42.219040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_51_1636.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_53_1562.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_54_1767.jpg', '/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_59_1592.jpg', '/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_01_1668.jpg', '/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_08_6892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_51_1636.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_53_1562.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_54_1767.jpg
/home/pi/Desktop/images/06112025/16/42/image_06112025_16_42_59_1592.jpg
/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_01_1668.jpg
/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_08_6892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659208","1399659288","1399659324","1399659155","1399659146","1399659244"],"photo_ids_order":["1399659146","1399659155","1399659208","1399659244","1399659288","1399659324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c5f1ce60689bddbaa2d2e97fd3a733e.jpg","text":"TemporaryFile(/tmp/multipartBody2557663438566520897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891242911,"filename":"image_06112025_16_42_54_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/16/9e4addf533fae7d7e8087e1d00c96d34.jpg","text":"TemporaryFile(/tmp/multipartBody8214854654446403058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891242911,"filename":"image_06112025_16_43_01_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/16/4600f9bf858047aee5224e004b909746.jpg","text":"TemporaryFile(/tmp/multipartBody20934404948130295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891242911,"filename":"image_06112025_16_43_08_6892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e85b54ad102d68b224eba96d0fd8e45.jpg","text":"TemporaryFile(/tmp/multipartBody9174182594711409075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891242911,"filename":"image_06112025_16_42_53_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/16/98ff9f1b51479b94b554b6bdb3cfdae8.jpg","text":"TemporaryFile(/tmp/multipartBody6395637619525128458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891242911,"filename":"image_06112025_16_42_51_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/16/860649cf27d15b0ad1287849204d9161.jpg","text":"TemporaryFile(/tmp/multipartBody2483602857517834151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891242911,"filename":"image_06112025_16_42_59_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659208","file1":"1399659155","file0":"1399659146","file4":"1399659288","file5":"1399659324","file3":"1399659244"},"map_files_photo_id_array":[{"photo_id":"1399659324","filename":"file5"},{"photo_id":"1399659208","filename":"file2"},{"photo_id":"1399659288","filename":"file4"},{"photo_id":"1399659155","filename":"file1"},{"photo_id":"1399659146","filename":"file0"},{"photo_id":"1399659244","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659208":["hashtag1","hashtag2"]},{"1399659288":["hashtag1","hashtag2"]},{"1399659324":["hashtag1","hashtag2"]},{"1399659155":["hashtag1","hashtag2"]},{"1399659146":["hashtag1","hashtag2"]},{"1399659244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659208, 1399659288, 1399659324, 1399659155, 1399659146, 1399659244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.572333097457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:20:22.506119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_45_10644.jpg', '/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_55_9634.jpg', '/home/pi/Desktop/images/16122025/13/56/image_16122025_13_57_05_9642.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_15_10692.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_25_9715.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_35_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_45_10644.jpg
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_55_9634.jpg
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_57_05_9642.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_15_10692.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_25_9715.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_35_9563.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5113282203674316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:20:32.485032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:20:42.433615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_10_1746.jpg', '/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_11_1716.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_06_3010.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_10_3766.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_13_2634.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_16_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_10_1746.jpg
/home/pi/Desktop/images/06112025/16/43/image_06112025_16_43_11_1716.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_06_3010.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_10_3766.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_13_2634.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_16_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659511","1399659508","1399659510","1399659506","1399659509","1399659500"],"photo_ids_order":["1399659500","1399659506","1399659508","1399659509","1399659510","1399659511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14201f4c0d25aa2767b51df1989b43ea.jpg","text":"TemporaryFile(/tmp/multipartBody47821125286968588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891303129,"filename":"image_06112025_16_47_16_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0be2df70cc4dc03b0ed0261eca4b9d03.jpg","text":"TemporaryFile(/tmp/multipartBody5503404788827668824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891303129,"filename":"image_06112025_16_47_06_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca67dd1904945f628233331e86c0ac29.jpg","text":"TemporaryFile(/tmp/multipartBody193117672701972998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891303129,"filename":"image_06112025_16_47_13_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/16/9cfdc2502b2d1efa57c4ed967532da84.jpg","text":"TemporaryFile(/tmp/multipartBody3979842257360870728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891303129,"filename":"image_06112025_16_43_11_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/16/8196b5ee554b997736e6b406ad3c49f4.jpg","text":"TemporaryFile(/tmp/multipartBody8436655849147279788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891303129,"filename":"image_06112025_16_47_10_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c45f7bb0f9d0cd578b22ffed9d8f8e81.jpg","text":"TemporaryFile(/tmp/multipartBody7836690084030318493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891303129,"filename":"image_06112025_16_43_10_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659508","file1":"1399659506","file0":"1399659500","file4":"1399659510","file5":"1399659511","file3":"1399659509"},"map_files_photo_id_array":[{"photo_id":"1399659511","filename":"file5"},{"photo_id":"1399659508","filename":"file2"},{"photo_id":"1399659510","filename":"file4"},{"photo_id":"1399659506","filename":"file1"},{"photo_id":"1399659500","filename":"file0"},{"photo_id":"1399659509","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659511":["hashtag1","hashtag2"]},{"1399659508":["hashtag1","hashtag2"]},{"1399659510":["hashtag1","hashtag2"]},{"1399659506":["hashtag1","hashtag2"]},{"1399659509":["hashtag1","hashtag2"]},{"1399659500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659511, 1399659508, 1399659510, 1399659506, 1399659509, 1399659500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05240797996521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:21:22.730380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_45_10644.jpg', '/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_55_9634.jpg', '/home/pi/Desktop/images/16122025/13/56/image_16122025_13_57_05_9642.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_15_10692.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_25_9715.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_35_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_45_10644.jpg
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_56_55_9634.jpg
/home/pi/Desktop/images/16122025/13/56/image_16122025_13_57_05_9642.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_15_10692.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_25_9715.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_35_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":["1399659517","1399659520","1399659514","1399659513","1399659522","1399659518"],"photo_ids_order":["1399659513","1399659514","1399659517","1399659518","1399659520","1399659522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bbfc07bc5376d48d107f86030a31d6b4.jpg","text":"TemporaryFile(/tmp/multipartBody7125442119561725389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891343357,"filename":"image_16122025_13_57_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/16/cf5debcd61bbf131bf1a9ec816cf6718.jpg","text":"TemporaryFile(/tmp/multipartBody4231372967327100703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891343357,"filename":"image_16122025_13_57_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a019752c642bbb2cf79d27a0869d74c5.jpg","text":"TemporaryFile(/tmp/multipartBody6697714249903720492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891343357,"filename":"image_16122025_13_56_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/16/bbd361a3ab5a78d8a0e6f15f20bd5feb.jpg","text":"TemporaryFile(/tmp/multipartBody2435387456230300142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891343357,"filename":"image_16122025_13_56_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/16/f906b1ca52fe93cf4b4f00dc3957ae08.jpg","text":"TemporaryFile(/tmp/multipartBody3414968388508428527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891343357,"filename":"image_16122025_13_57_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/16/2984908717a291fd5127f67b47775673.jpg","text":"TemporaryFile(/tmp/multipartBody5528189339427022970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891343357,"filename":"image_16122025_13_57_15_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659517","file1":"1399659514","file0":"1399659513","file4":"1399659520","file5":"1399659522","file3":"1399659518"},"map_files_photo_id_array":[{"photo_id":"1399659522","filename":"file5"},{"photo_id":"1399659517","filename":"file2"},{"photo_id":"1399659520","filename":"file4"},{"photo_id":"1399659514","filename":"file1"},{"photo_id":"1399659513","filename":"file0"},{"photo_id":"1399659518","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659517":["hashtag1","hashtag2"]},{"1399659520":["hashtag1","hashtag2"]},{"1399659514":["hashtag1","hashtag2"]},{"1399659513":["hashtag1","hashtag2"]},{"1399659522":["hashtag1","hashtag2"]},{"1399659518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659517, 1399659520, 1399659514, 1399659513, 1399659522, 1399659518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95408844947815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:22:02.368005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_45_9844.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_55_10758.jpg', '/home/pi/Desktop/images/16122025/13/57/image_16122025_13_58_05_9705.jpg', '/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_15_9908.jpg', '/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_25_9621.jpg', '/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_45_9844.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_57_55_10758.jpg
/home/pi/Desktop/images/16122025/13/57/image_16122025_13_58_05_9705.jpg
/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_15_9908.jpg
/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_25_9621.jpg
/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_35_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659526","1399659529","1399659531","1399659528","1399659524","1399659527"],"photo_ids_order":["1399659524","1399659526","1399659527","1399659528","1399659529","1399659531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73b4130bd1ccf5887f5cdb1ebd86d283.jpg","text":"TemporaryFile(/tmp/multipartBody4589550814987875979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891383058,"filename":"image_16122025_13_57_55_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e22f628b2f803a007a3a5bb531694a9.jpg","text":"TemporaryFile(/tmp/multipartBody4609529609989691067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891383058,"filename":"image_16122025_13_58_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e84bf946f0106c596046f2ff13406cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3440171084091412163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891383058,"filename":"image_16122025_13_58_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/16/5761f95c30d829c7685f170cb74e1f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1124313546913911187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891383058,"filename":"image_16122025_13_58_15_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8393c149f37363529e576a581011c2cf.jpg","text":"TemporaryFile(/tmp/multipartBody7000937028562904450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891383058,"filename":"image_16122025_13_57_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/16/b34cbe9efb4d4c09f5de310e6195fbf7.jpg","text":"TemporaryFile(/tmp/multipartBody890223043631323174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891383058,"filename":"image_16122025_13_58_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659527","file1":"1399659526","file0":"1399659524","file4":"1399659529","file5":"1399659531","file3":"1399659528"},"map_files_photo_id_array":[{"photo_id":"1399659531","filename":"file5"},{"photo_id":"1399659527","filename":"file2"},{"photo_id":"1399659529","filename":"file4"},{"photo_id":"1399659526","filename":"file1"},{"photo_id":"1399659524","filename":"file0"},{"photo_id":"1399659528","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659526":["hashtag1","hashtag2"]},{"1399659529":["hashtag1","hashtag2"]},{"1399659531":["hashtag1","hashtag2"]},{"1399659528":["hashtag1","hashtag2"]},{"1399659524":["hashtag1","hashtag2"]},{"1399659527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659526, 1399659529, 1399659531, 1399659528, 1399659524, 1399659527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61791634559631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:22:42.013698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_19_3624.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_22_2626.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_25_2748.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_28_3754.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_31_2585.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_33_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_19_3624.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_22_2626.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_25_2748.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_28_3754.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_31_2585.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_33_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":["1399659538","1399659540","1399659543","1399659539","1399659536","1399659541"],"photo_ids_order":["1399659536","1399659538","1399659539","1399659540","1399659541","1399659543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d06af89d826c5d89ae677171b91db0a6.jpg","text":"TemporaryFile(/tmp/multipartBody8100496951602157730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891422713,"filename":"image_06112025_16_47_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1336cbee3ed4f9b3213a1ab468c6749f.jpg","text":"TemporaryFile(/tmp/multipartBody4088589711962886333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891422713,"filename":"image_06112025_16_47_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/16/546743b3102a2d526eb83959002d5f19.jpg","text":"TemporaryFile(/tmp/multipartBody2100104084278547440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891422713,"filename":"image_06112025_16_47_33_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/05788f18f8b22fde549ab914949afc07.jpg","text":"TemporaryFile(/tmp/multipartBody853856277455430852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891422713,"filename":"image_06112025_16_47_25_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98589a4613655e7c9f3527b971ec069a.jpg","text":"TemporaryFile(/tmp/multipartBody8819454657437839011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891422713,"filename":"image_06112025_16_47_19_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d86db5f180b0a088c761e70e3e003ad5.jpg","text":"TemporaryFile(/tmp/multipartBody55066408614949193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891422713,"filename":"image_06112025_16_47_31_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659539","file1":"1399659538","file0":"1399659536","file4":"1399659541","file5":"1399659543","file3":"1399659540"},"map_files_photo_id_array":[{"photo_id":"1399659543","filename":"file5"},{"photo_id":"1399659539","filename":"file2"},{"photo_id":"1399659541","filename":"file4"},{"photo_id":"1399659538","filename":"file1"},{"photo_id":"1399659536","filename":"file0"},{"photo_id":"1399659540","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659538":["hashtag1","hashtag2"]},{"1399659540":["hashtag1","hashtag2"]},{"1399659543":["hashtag1","hashtag2"]},{"1399659539":["hashtag1","hashtag2"]},{"1399659536":["hashtag1","hashtag2"]},{"1399659541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659538, 1399659540, 1399659543, 1399659539, 1399659536, 1399659541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38238310813904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:23:22.335835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_45_9423.jpg', '/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_55_10740.jpg', '/home/pi/Desktop/images/16122025/13/58/image_16122025_13_59_05_9596.jpg', '/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_15_9657.jpg', '/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_25_10668.jpg', '/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_35_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_45_9423.jpg
/home/pi/Desktop/images/16122025/13/58/image_16122025_13_58_55_10740.jpg
/home/pi/Desktop/images/16122025/13/58/image_16122025_13_59_05_9596.jpg
/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_15_9657.jpg
/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_25_10668.jpg
/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_35_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":["1399659550","1399659547","1399659555","1399659560","1399659557","1399659553"],"photo_ids_order":["1399659547","1399659550","1399659553","1399659555","1399659557","1399659560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47c3e7b7c33f97485412ff437ac013d6.jpg","text":"TemporaryFile(/tmp/multipartBody1558217588776856561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891462959,"filename":"image_16122025_13_58_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/16/25c094665468a399b11f0ed0168121a2.jpg","text":"TemporaryFile(/tmp/multipartBody3272804363273014520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891462959,"filename":"image_16122025_13_58_45_9423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8c3cd2f8e36c56d61a0c59f48bd6b3a.jpg","text":"TemporaryFile(/tmp/multipartBody3075082213895376098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891462959,"filename":"image_16122025_13_59_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31a35fe97ac42f738da9a7a3604df5bb.jpg","text":"TemporaryFile(/tmp/multipartBody7642531892062064475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891462959,"filename":"image_16122025_13_59_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/16/808419e6a2bba101dfd1382190d96a01.jpg","text":"TemporaryFile(/tmp/multipartBody5277090534801874429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891462959,"filename":"image_16122025_13_59_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/16/e8ce2e45d3fa5873684c8f3edb9a9823.jpg","text":"TemporaryFile(/tmp/multipartBody8289832070585589981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891462959,"filename":"image_16122025_13_59_05_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659553","file1":"1399659550","file0":"1399659547","file4":"1399659557","file5":"1399659560","file3":"1399659555"},"map_files_photo_id_array":[{"photo_id":"1399659560","filename":"file5"},{"photo_id":"1399659553","filename":"file2"},{"photo_id":"1399659557","filename":"file4"},{"photo_id":"1399659550","filename":"file1"},{"photo_id":"1399659547","filename":"file0"},{"photo_id":"1399659555","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659550":["hashtag1","hashtag2"]},{"1399659547":["hashtag1","hashtag2"]},{"1399659555":["hashtag1","hashtag2"]},{"1399659560":["hashtag1","hashtag2"]},{"1399659557":["hashtag1","hashtag2"]},{"1399659553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659550, 1399659547, 1399659555, 1399659560, 1399659557, 1399659553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.110278367996216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:24:03.257623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_45_9748.jpg', '/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_55_9790.jpg', '/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_15_10504.jpg', '/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_24_9594.jpg', '/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_35_10677.jpg', '/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_45_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_45_9748.jpg
/home/pi/Desktop/images/16122025/13/59/image_16122025_13_59_55_9790.jpg
/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_15_10504.jpg
/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_24_9594.jpg
/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_35_10677.jpg
/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_45_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659565","1399659564","1399659567","1399659569","1399659566","1399659562"],"photo_ids_order":["1399659562","1399659564","1399659565","1399659566","1399659567","1399659569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f667408be8dbb30489ca8e1b7b27a0f.jpg","text":"TemporaryFile(/tmp/multipartBody2900571413573607186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891503979,"filename":"image_16122025_14_00_15_10504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bdc746b0f20948cff567825f19fbbc2c.jpg","text":"TemporaryFile(/tmp/multipartBody2506551905211567901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891503979,"filename":"image_16122025_13_59_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/16/4c6049158a7d6b0f5e3c16899686dd12.jpg","text":"TemporaryFile(/tmp/multipartBody1127999100071385702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891503979,"filename":"image_16122025_14_00_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/16/e5fb8387927cc5377195d063f9f82bad.jpg","text":"TemporaryFile(/tmp/multipartBody246425913629099089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891503979,"filename":"image_16122025_14_00_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/16/41d477f50bd86a27f29c60b15661a7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1401905904747440127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891503979,"filename":"image_16122025_14_00_24_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49caafb9aa525054a09e0c4df0c2def0.jpg","text":"TemporaryFile(/tmp/multipartBody2066173149125793264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891503979,"filename":"image_16122025_13_59_45_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659565","file1":"1399659564","file0":"1399659562","file4":"1399659567","file5":"1399659569","file3":"1399659566"},"map_files_photo_id_array":[{"photo_id":"1399659569","filename":"file5"},{"photo_id":"1399659565","filename":"file2"},{"photo_id":"1399659567","filename":"file4"},{"photo_id":"1399659564","filename":"file1"},{"photo_id":"1399659562","filename":"file0"},{"photo_id":"1399659566","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659565":["hashtag1","hashtag2"]},{"1399659564":["hashtag1","hashtag2"]},{"1399659567":["hashtag1","hashtag2"]},{"1399659569":["hashtag1","hashtag2"]},{"1399659566":["hashtag1","hashtag2"]},{"1399659562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659565, 1399659564, 1399659567, 1399659569, 1399659566, 1399659562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.664406299591064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:24:42.572245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_37_3534.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_40_2630.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_43_3538.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_46_2606.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_51_5316.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_53_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_37_3534.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_40_2630.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_43_3538.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_46_2606.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_51_5316.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_53_1728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659582","1399659579","1399659581","1399659575","1399659578","1399659580"],"photo_ids_order":["1399659575","1399659578","1399659579","1399659580","1399659581","1399659582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59f5df5ff6584b6d57bf22116663c255.jpg","text":"TemporaryFile(/tmp/multipartBody8538693940267660818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891543279,"filename":"image_06112025_16_47_53_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/16/23abbaa2380bbc7091045426313486c5.jpg","text":"TemporaryFile(/tmp/multipartBody5412045979496288338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891543279,"filename":"image_06112025_16_47_43_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/16/f1cd544348c861f1bf8f04d936e9f280.jpg","text":"TemporaryFile(/tmp/multipartBody5880643403365645657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891543279,"filename":"image_06112025_16_47_51_5316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/088f676f53f44c86a01c8832488b45ae.jpg","text":"TemporaryFile(/tmp/multipartBody2110224633584135097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891543279,"filename":"image_06112025_16_47_37_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/16/43fd77df2f550d429fee5e6ce6c5b5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4325563477226839746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891543279,"filename":"image_06112025_16_47_40_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/16/6f397de52142c157bee9336009ec6d77.jpg","text":"TemporaryFile(/tmp/multipartBody7986167366009892287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891543279,"filename":"image_06112025_16_47_46_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659579","file1":"1399659578","file0":"1399659575","file4":"1399659581","file5":"1399659582","file3":"1399659580"},"map_files_photo_id_array":[{"photo_id":"1399659582","filename":"file5"},{"photo_id":"1399659579","filename":"file2"},{"photo_id":"1399659581","filename":"file4"},{"photo_id":"1399659578","filename":"file1"},{"photo_id":"1399659575","filename":"file0"},{"photo_id":"1399659580","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659582":["hashtag1","hashtag2"]},{"1399659579":["hashtag1","hashtag2"]},{"1399659581":["hashtag1","hashtag2"]},{"1399659575":["hashtag1","hashtag2"]},{"1399659578":["hashtag1","hashtag2"]},{"1399659580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659582, 1399659579, 1399659581, 1399659575, 1399659578, 1399659580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54266619682312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:25:21.944668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_55_9692.jpg', '/home/pi/Desktop/images/16122025/14/00/image_16122025_14_01_05_10684.jpg', '/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_15_9771.jpg', '/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_25_9719.jpg', '/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_35_10530.jpg', '/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_44_9236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/00/image_16122025_14_00_55_9692.jpg
/home/pi/Desktop/images/16122025/14/00/image_16122025_14_01_05_10684.jpg
/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_15_9771.jpg
/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_25_9719.jpg
/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_35_10530.jpg
/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_44_9236.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659594","1399659591","1399659585","1399659587","1399659584","1399659589"],"photo_ids_order":["1399659584","1399659585","1399659587","1399659589","1399659591","1399659594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/534e16d74a638b68da7bc0e73a07d675.jpg","text":"TemporaryFile(/tmp/multipartBody3381331566618713130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891582569,"filename":"image_16122025_14_01_44_9236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d46a1f4cdae06d61100b5d045ec52b33.jpg","text":"TemporaryFile(/tmp/multipartBody1868504158962241097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891582569,"filename":"image_16122025_14_01_35_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f7e4d294eec40a66a86c105c888ab67.jpg","text":"TemporaryFile(/tmp/multipartBody4821869738300312548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891582569,"filename":"image_16122025_14_01_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/16/d379138c5445ae51578e62fc600db8a1.jpg","text":"TemporaryFile(/tmp/multipartBody7811546643071881558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891582569,"filename":"image_16122025_14_01_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db7ab642a80594f623ab3f150d89d0c2.jpg","text":"TemporaryFile(/tmp/multipartBody6327234215383195499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891582569,"filename":"image_16122025_14_00_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/832c5d4d66e9601703b0854273edd2be.jpg","text":"TemporaryFile(/tmp/multipartBody6179444226157014455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891582569,"filename":"image_16122025_14_01_25_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659587","file1":"1399659585","file0":"1399659584","file4":"1399659591","file5":"1399659594","file3":"1399659589"},"map_files_photo_id_array":[{"photo_id":"1399659594","filename":"file5"},{"photo_id":"1399659587","filename":"file2"},{"photo_id":"1399659591","filename":"file4"},{"photo_id":"1399659585","filename":"file1"},{"photo_id":"1399659584","filename":"file0"},{"photo_id":"1399659589","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659594":["hashtag1","hashtag2"]},{"1399659591":["hashtag1","hashtag2"]},{"1399659585":["hashtag1","hashtag2"]},{"1399659587":["hashtag1","hashtag2"]},{"1399659584":["hashtag1","hashtag2"]},{"1399659589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659594, 1399659591, 1399659585, 1399659587, 1399659584, 1399659589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78344011306763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:26:02.560043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_55_10697.jpg', '/home/pi/Desktop/images/16122025/14/01/image_16122025_14_02_05_9648.jpg', '/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_14_9602.jpg', '/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_25_10682.jpg', '/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_35_9676.jpg', '/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_45_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/01/image_16122025_14_01_55_10697.jpg
/home/pi/Desktop/images/16122025/14/01/image_16122025_14_02_05_9648.jpg
/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_14_9602.jpg
/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_25_10682.jpg
/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_35_9676.jpg
/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_45_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659597","1399659600","1399659596","1399659599","1399659598","1399659602"],"photo_ids_order":["1399659596","1399659597","1399659598","1399659599","1399659600","1399659602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c9269622c7253809f8da94799916af2.jpg","text":"TemporaryFile(/tmp/multipartBody4784226827078271272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891623246,"filename":"image_16122025_14_02_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8832e01323b63fffbb458ac93dcd067a.jpg","text":"TemporaryFile(/tmp/multipartBody6312852180959742483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891623246,"filename":"image_16122025_14_02_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/16/fc56d2ffdc860f3e399581ce07b4c471.jpg","text":"TemporaryFile(/tmp/multipartBody3677377114311795442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891623246,"filename":"image_16122025_14_01_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d25003c223b6a1a31c3f10a1d0a9c92.jpg","text":"TemporaryFile(/tmp/multipartBody2538088255217327231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891623246,"filename":"image_16122025_14_02_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/16/2bfe502c0ecb8c5422231f1c83f1c667.jpg","text":"TemporaryFile(/tmp/multipartBody7866697706803544058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891623246,"filename":"image_16122025_14_02_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/16/8bdaf7bbea997707275062c7c8799beb.jpg","text":"TemporaryFile(/tmp/multipartBody8152993234555989069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891623246,"filename":"image_16122025_14_02_45_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659598","file1":"1399659597","file0":"1399659596","file4":"1399659600","file5":"1399659602","file3":"1399659599"},"map_files_photo_id_array":[{"photo_id":"1399659602","filename":"file5"},{"photo_id":"1399659598","filename":"file2"},{"photo_id":"1399659600","filename":"file4"},{"photo_id":"1399659597","filename":"file1"},{"photo_id":"1399659596","filename":"file0"},{"photo_id":"1399659599","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659597":["hashtag1","hashtag2"]},{"1399659600":["hashtag1","hashtag2"]},{"1399659596":["hashtag1","hashtag2"]},{"1399659599":["hashtag1","hashtag2"]},{"1399659598":["hashtag1","hashtag2"]},{"1399659602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659597, 1399659600, 1399659596, 1399659599, 1399659598, 1399659602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5581259727478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:26:42.198049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_55_2517.jpg', '/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_58_2763.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_01_2546.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_07_2642.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_09_2494.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_13_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_55_2517.jpg
/home/pi/Desktop/images/06112025/16/47/image_06112025_16_47_58_2763.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_01_2546.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_07_2642.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_09_2494.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_13_3518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659610","1399659613","1399659607","1399659612","1399659615","1399659614"],"photo_ids_order":["1399659607","1399659610","1399659612","1399659613","1399659614","1399659615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8bb90a3b5712b6e2f67c7e7322a46f0d.jpg","text":"TemporaryFile(/tmp/multipartBody2242143162331233638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891662901,"filename":"image_06112025_16_47_58_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/16/a349cb2a1089bcb824b44c6228f4c511.jpg","text":"TemporaryFile(/tmp/multipartBody4832596261358110547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891662901,"filename":"image_06112025_16_48_07_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/16/69b401587a76b04873cbafef036c2c07.jpg","text":"TemporaryFile(/tmp/multipartBody3738431646797618268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891662901,"filename":"image_06112025_16_47_55_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/16/d12758ede5c6f9022df6f4bdb0a39dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7505372121923076236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891662901,"filename":"image_06112025_16_48_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/16/c890e040f1fc9a2bcb0719bad6a172a9.jpg","text":"TemporaryFile(/tmp/multipartBody191456008824466306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891662901,"filename":"image_06112025_16_48_13_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/16/40e2c8e92d04a432e9e67f25ec7b1a49.jpg","text":"TemporaryFile(/tmp/multipartBody6298882607256244156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891662901,"filename":"image_06112025_16_48_09_2494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659612","file1":"1399659610","file0":"1399659607","file4":"1399659614","file5":"1399659615","file3":"1399659613"},"map_files_photo_id_array":[{"photo_id":"1399659615","filename":"file5"},{"photo_id":"1399659612","filename":"file2"},{"photo_id":"1399659614","filename":"file4"},{"photo_id":"1399659610","filename":"file1"},{"photo_id":"1399659607","filename":"file0"},{"photo_id":"1399659613","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659610":["hashtag1","hashtag2"]},{"1399659613":["hashtag1","hashtag2"]},{"1399659607":["hashtag1","hashtag2"]},{"1399659612":["hashtag1","hashtag2"]},{"1399659615":["hashtag1","hashtag2"]},{"1399659614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659610, 1399659613, 1399659607, 1399659612, 1399659615, 1399659614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52485632896423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:27:22.462425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_55_10753.jpg', '/home/pi/Desktop/images/16122025/14/02/image_16122025_14_03_05_9779.jpg', '/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_15_9921.jpg', '/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_25_9743.jpg', '/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_34_9645.jpg', '/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_45_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/02/image_16122025_14_02_55_10753.jpg
/home/pi/Desktop/images/16122025/14/02/image_16122025_14_03_05_9779.jpg
/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_15_9921.jpg
/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_25_9743.jpg
/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_34_9645.jpg
/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_45_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659625","1399659619","1399659636","1399659621","1399659623","1399659647"],"photo_ids_order":["1399659619","1399659621","1399659623","1399659625","1399659636","1399659647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30773230e64c288f12da3fe3c9294589.jpg","text":"TemporaryFile(/tmp/multipartBody5096506405292467681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891703112,"filename":"image_16122025_14_03_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/16/bcb94f7791c5f3443b091922a959356c.jpg","text":"TemporaryFile(/tmp/multipartBody2417860385379704577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891703112,"filename":"image_16122025_14_02_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/16/31c762a6d3a7360162f85fa6ce5e326d.jpg","text":"TemporaryFile(/tmp/multipartBody6673077676919583249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891703112,"filename":"image_16122025_14_03_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/16/6612193a3c262068ddb9f5253faaf83b.jpg","text":"TemporaryFile(/tmp/multipartBody16378805822111984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891703112,"filename":"image_16122025_14_03_05_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83897a3980cca9ca1869a7efacaca7c9.jpg","text":"TemporaryFile(/tmp/multipartBody691655670529132721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891703112,"filename":"image_16122025_14_03_15_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6889991db70d1c0fef191dcaa8ad6406.jpg","text":"TemporaryFile(/tmp/multipartBody4576002667151430005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891703112,"filename":"image_16122025_14_03_45_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659623","file1":"1399659621","file0":"1399659619","file4":"1399659636","file5":"1399659647","file3":"1399659625"},"map_files_photo_id_array":[{"photo_id":"1399659647","filename":"file5"},{"photo_id":"1399659623","filename":"file2"},{"photo_id":"1399659636","filename":"file4"},{"photo_id":"1399659621","filename":"file1"},{"photo_id":"1399659619","filename":"file0"},{"photo_id":"1399659625","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659625":["hashtag1","hashtag2"]},{"1399659619":["hashtag1","hashtag2"]},{"1399659636":["hashtag1","hashtag2"]},{"1399659621":["hashtag1","hashtag2"]},{"1399659623":["hashtag1","hashtag2"]},{"1399659647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659625, 1399659619, 1399659636, 1399659621, 1399659623, 1399659647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21108913421631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:28:03.127849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_55_9682.jpg', '/home/pi/Desktop/images/16122025/14/03/image_16122025_14_04_05_10676.jpg', '/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_15_9768.jpg', '/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_25_9719.jpg', '/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_34_9666.jpg', '/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_45_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/03/image_16122025_14_03_55_9682.jpg
/home/pi/Desktop/images/16122025/14/03/image_16122025_14_04_05_10676.jpg
/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_15_9768.jpg
/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_25_9719.jpg
/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_34_9666.jpg
/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_45_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":["1399659678","1399659660","1399659680","1399659682","1399659679","1399659676"],"photo_ids_order":["1399659660","1399659676","1399659678","1399659679","1399659680","1399659682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/467e68c1db88f9bec44377eed10108de.jpg","text":"TemporaryFile(/tmp/multipartBody7967507685647732617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891743800,"filename":"image_16122025_14_04_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/16/a784bb1e454ecb29f4497cf4746e840d.jpg","text":"TemporaryFile(/tmp/multipartBody587627401905225234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891743800,"filename":"image_16122025_14_03_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/16/d2fc8ddb68cc58f96264362eee1a2bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7167824710062821532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891743800,"filename":"image_16122025_14_04_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/16/b6c3b63b2f3c5ae7cf7196a4799019b0.jpg","text":"TemporaryFile(/tmp/multipartBody4917348349259934625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891743800,"filename":"image_16122025_14_04_45_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/16/99861fcd80894f66f78fe601093663a3.jpg","text":"TemporaryFile(/tmp/multipartBody1854137216223469514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891743800,"filename":"image_16122025_14_04_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2dc102836627a8a1ff692405cfc74a38.jpg","text":"TemporaryFile(/tmp/multipartBody3159102115339978434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891743800,"filename":"image_16122025_14_04_05_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659678","file1":"1399659676","file0":"1399659660","file4":"1399659680","file5":"1399659682","file3":"1399659679"},"map_files_photo_id_array":[{"photo_id":"1399659682","filename":"file5"},{"photo_id":"1399659678","filename":"file2"},{"photo_id":"1399659680","filename":"file4"},{"photo_id":"1399659676","filename":"file1"},{"photo_id":"1399659660","filename":"file0"},{"photo_id":"1399659679","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659678":["hashtag1","hashtag2"]},{"1399659660":["hashtag1","hashtag2"]},{"1399659680":["hashtag1","hashtag2"]},{"1399659682":["hashtag1","hashtag2"]},{"1399659679":["hashtag1","hashtag2"]},{"1399659676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659678, 1399659660, 1399659680, 1399659682, 1399659679, 1399659676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25873255729675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:28:42.683404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_19_3669.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_22_2850.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_25_2572.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_27_2642.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_31_3730.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_34_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_19_3669.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_22_2850.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_25_2572.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_27_2642.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_31_3730.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_34_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":["1399659693","1399659687","1399659692","1399659695","1399659689","1399659691"],"photo_ids_order":["1399659687","1399659689","1399659691","1399659692","1399659693","1399659695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/390c95daeb5bc8b1d98532c47df21570.jpg","text":"TemporaryFile(/tmp/multipartBody4375082278441560086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891783380,"filename":"image_06112025_16_48_31_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/16/cd986dab07e6f58731480d397c40cb16.jpg","text":"TemporaryFile(/tmp/multipartBody3291705566267256171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891783380,"filename":"image_06112025_16_48_19_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/16/3652f7776398c9f528da738206f7b7f9.jpg","text":"TemporaryFile(/tmp/multipartBody6372613207504960015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891783380,"filename":"image_06112025_16_48_27_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/16/20518046d90615ffe8e5a62e7d7ae4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7038038184637243497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891783380,"filename":"image_06112025_16_48_34_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/16/25d457be9f070834774e0cdb79b0514d.jpg","text":"TemporaryFile(/tmp/multipartBody5942563180521590779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891783380,"filename":"image_06112025_16_48_22_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/16/ff7dfe748968cddedf5ed001c81653e9.jpg","text":"TemporaryFile(/tmp/multipartBody1192452455805778883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891783380,"filename":"image_06112025_16_48_25_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659691","file1":"1399659689","file0":"1399659687","file4":"1399659693","file5":"1399659695","file3":"1399659692"},"map_files_photo_id_array":[{"photo_id":"1399659695","filename":"file5"},{"photo_id":"1399659691","filename":"file2"},{"photo_id":"1399659693","filename":"file4"},{"photo_id":"1399659689","filename":"file1"},{"photo_id":"1399659687","filename":"file0"},{"photo_id":"1399659692","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659693":["hashtag1","hashtag2"]},{"1399659687":["hashtag1","hashtag2"]},{"1399659692":["hashtag1","hashtag2"]},{"1399659695":["hashtag1","hashtag2"]},{"1399659689":["hashtag1","hashtag2"]},{"1399659691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659693, 1399659687, 1399659692, 1399659695, 1399659689, 1399659691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41687726974487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:29:22.064449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_55_9655.jpg', '/home/pi/Desktop/images/16122025/14/04/image_16122025_14_05_04_9629.jpg', '/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_14_9817.jpg', '/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_25_10534.jpg', '/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_34_9657.jpg', '/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_45_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/04/image_16122025_14_04_55_9655.jpg
/home/pi/Desktop/images/16122025/14/04/image_16122025_14_05_04_9629.jpg
/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_14_9817.jpg
/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_25_10534.jpg
/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_34_9657.jpg
/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_45_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":["1399659702","1399659705","1399659698","1399659710","1399659713","1399659707"],"photo_ids_order":["1399659698","1399659702","1399659705","1399659707","1399659710","1399659713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/429243bf9f58959d8819db415a4b65bf.jpg","text":"TemporaryFile(/tmp/multipartBody6100706899575564552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891822695,"filename":"image_16122025_14_05_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9021970b543369a5714b8c19792fbe0.jpg","text":"TemporaryFile(/tmp/multipartBody6743813277976069497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891822695,"filename":"image_16122025_14_05_14_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f76ec6702ef38ddfcf93e88ca0a43219.jpg","text":"TemporaryFile(/tmp/multipartBody6234346301007458381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891822695,"filename":"image_16122025_14_04_55_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/16/c73f4e86c2b1d4bd4acd02f9cfc0fc91.jpg","text":"TemporaryFile(/tmp/multipartBody8333473798305253584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891822695,"filename":"image_16122025_14_05_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f6ac1025785dfd200127a4beb4f6ba0.jpg","text":"TemporaryFile(/tmp/multipartBody386490267674166980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891822695,"filename":"image_16122025_14_05_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/021a3cfb6ae670490deaa0eaad7aaddb.jpg","text":"TemporaryFile(/tmp/multipartBody4170305885788878332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891822695,"filename":"image_16122025_14_05_25_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659705","file1":"1399659702","file0":"1399659698","file4":"1399659710","file5":"1399659713","file3":"1399659707"},"map_files_photo_id_array":[{"photo_id":"1399659713","filename":"file5"},{"photo_id":"1399659705","filename":"file2"},{"photo_id":"1399659710","filename":"file4"},{"photo_id":"1399659702","filename":"file1"},{"photo_id":"1399659698","filename":"file0"},{"photo_id":"1399659707","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659702":["hashtag1","hashtag2"]},{"1399659705":["hashtag1","hashtag2"]},{"1399659698":["hashtag1","hashtag2"]},{"1399659710":["hashtag1","hashtag2"]},{"1399659713":["hashtag1","hashtag2"]},{"1399659707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659702, 1399659705, 1399659698, 1399659710, 1399659713, 1399659707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.749091386795044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:30:02.519537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_55_9913.jpg', '/home/pi/Desktop/images/16122025/14/05/image_16122025_14_06_05_9641.jpg', '/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_14_9652.jpg', '/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_25_10805.jpg', '/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_35_9579.jpg', '/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/05/image_16122025_14_05_55_9913.jpg
/home/pi/Desktop/images/16122025/14/05/image_16122025_14_06_05_9641.jpg
/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_14_9652.jpg
/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_25_10805.jpg
/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_35_9579.jpg
/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_44_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659721","1399659718","1399659720","1399659723","1399659717","1399659719"],"photo_ids_order":["1399659717","1399659718","1399659719","1399659720","1399659721","1399659723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef4ff73959cfd2f8a7d74e3349d34983.jpg","text":"TemporaryFile(/tmp/multipartBody8163022536257677432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891863156,"filename":"image_16122025_14_06_35_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/16/be90ea2bfaceb1b02f4b8196883feb1f.jpg","text":"TemporaryFile(/tmp/multipartBody3291830413887975356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891863156,"filename":"image_16122025_14_06_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04b9ea13d86f347c0447af79ff33b742.jpg","text":"TemporaryFile(/tmp/multipartBody7374556325107225497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891863156,"filename":"image_16122025_14_06_25_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/16/deadcb96d119cb28d5f870ae1fc7f767.jpg","text":"TemporaryFile(/tmp/multipartBody2298244955174521552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891863156,"filename":"image_16122025_14_06_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/322b7ed2b0d5e0a5de4f8beaff242d62.jpg","text":"TemporaryFile(/tmp/multipartBody8904478624171545076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891863156,"filename":"image_16122025_14_05_55_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/16/907402897f126239f04d7039c1cd82c5.jpg","text":"TemporaryFile(/tmp/multipartBody8707746256847210789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891863156,"filename":"image_16122025_14_06_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659719","file1":"1399659718","file0":"1399659717","file4":"1399659721","file5":"1399659723","file3":"1399659720"},"map_files_photo_id_array":[{"photo_id":"1399659723","filename":"file5"},{"photo_id":"1399659719","filename":"file2"},{"photo_id":"1399659721","filename":"file4"},{"photo_id":"1399659718","filename":"file1"},{"photo_id":"1399659717","filename":"file0"},{"photo_id":"1399659720","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659721":["hashtag1","hashtag2"]},{"1399659718":["hashtag1","hashtag2"]},{"1399659720":["hashtag1","hashtag2"]},{"1399659723":["hashtag1","hashtag2"]},{"1399659717":["hashtag1","hashtag2"]},{"1399659719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659721, 1399659718, 1399659720, 1399659723, 1399659717, 1399659719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76727747917175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:30:42.099399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_37_3600.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_40_2751.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_43_2729.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_45_2559.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_49_3820.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_52_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_37_3600.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_40_2751.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_43_2729.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_45_2559.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_49_3820.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_52_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":["1399659732","1399659735","1399659731","1399659734","1399659728","1399659733"],"photo_ids_order":["1399659728","1399659731","1399659732","1399659733","1399659734","1399659735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c4b25fa88f0eb9ec0c0d38b1659aa5cf.jpg","text":"TemporaryFile(/tmp/multipartBody4829157486192667981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891902805,"filename":"image_06112025_16_48_43_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d4b2ef1bd6b8ea5dca18b623744a65a.jpg","text":"TemporaryFile(/tmp/multipartBody5603136352379232602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891902805,"filename":"image_06112025_16_48_52_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/16/c19959a2303b7b09c495d8ffb23493d8.jpg","text":"TemporaryFile(/tmp/multipartBody5300145231457010509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891902805,"filename":"image_06112025_16_48_40_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a678422d64545dffaf4a4a8b403bdbf1.jpg","text":"TemporaryFile(/tmp/multipartBody3880334130081412090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891902805,"filename":"image_06112025_16_48_49_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91bebefb91456c973e13f7781f1c2175.jpg","text":"TemporaryFile(/tmp/multipartBody7425407058005475905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891902805,"filename":"image_06112025_16_48_37_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/16/cf76ab4e5945ed32c870fee6fa66072b.jpg","text":"TemporaryFile(/tmp/multipartBody6984802639228840420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891902805,"filename":"image_06112025_16_48_45_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659732","file1":"1399659731","file0":"1399659728","file4":"1399659734","file5":"1399659735","file3":"1399659733"},"map_files_photo_id_array":[{"photo_id":"1399659735","filename":"file5"},{"photo_id":"1399659732","filename":"file2"},{"photo_id":"1399659734","filename":"file4"},{"photo_id":"1399659731","filename":"file1"},{"photo_id":"1399659728","filename":"file0"},{"photo_id":"1399659733","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659732":["hashtag1","hashtag2"]},{"1399659735":["hashtag1","hashtag2"]},{"1399659731":["hashtag1","hashtag2"]},{"1399659734":["hashtag1","hashtag2"]},{"1399659728":["hashtag1","hashtag2"]},{"1399659733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659732, 1399659735, 1399659731, 1399659734, 1399659728, 1399659733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7791051864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:31:22.350448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_55_10813.jpg', '/home/pi/Desktop/images/16122025/14/06/image_16122025_14_07_05_9745.jpg', '/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_15_9686.jpg', '/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_25_10592.jpg', '/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_35_9686.jpg', '/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_45_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/06/image_16122025_14_06_55_10813.jpg
/home/pi/Desktop/images/16122025/14/06/image_16122025_14_07_05_9745.jpg
/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_15_9686.jpg
/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_25_10592.jpg
/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_35_9686.jpg
/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_45_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659736","1399659738","1399659741","1399659743","1399659745","1399659748"],"photo_ids_order":["1399659736","1399659738","1399659741","1399659743","1399659745","1399659748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/012a6b5329a0257acc1ce3cf334a0c71.jpg","text":"TemporaryFile(/tmp/multipartBody1018878883084534736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891942969,"filename":"image_16122025_14_06_55_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/16/7a7f2c13945ff9074df4892e3ac91243.jpg","text":"TemporaryFile(/tmp/multipartBody595170641815668398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891942969,"filename":"image_16122025_14_07_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/16/15f1226dfd0a1820e7845537ca7037af.jpg","text":"TemporaryFile(/tmp/multipartBody8753914572624138705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891942969,"filename":"image_16122025_14_07_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/16/ad21c7a29502712d53687ca821f1fd96.jpg","text":"TemporaryFile(/tmp/multipartBody3898896135845843624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891942969,"filename":"image_16122025_14_07_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19434ca56a44f5138390c1d9a54fb3fe.jpg","text":"TemporaryFile(/tmp/multipartBody6257140987936833632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891942969,"filename":"image_16122025_14_07_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d299ff262d5e05fe08590b74f2e3877d.jpg","text":"TemporaryFile(/tmp/multipartBody3624496141992360843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891942969,"filename":"image_16122025_14_07_45_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659741","file1":"1399659738","file0":"1399659736","file4":"1399659745","file5":"1399659748","file3":"1399659743"},"map_files_photo_id_array":[{"photo_id":"1399659748","filename":"file5"},{"photo_id":"1399659741","filename":"file2"},{"photo_id":"1399659745","filename":"file4"},{"photo_id":"1399659738","filename":"file1"},{"photo_id":"1399659736","filename":"file0"},{"photo_id":"1399659743","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659736":["hashtag1","hashtag2"]},{"1399659738":["hashtag1","hashtag2"]},{"1399659741":["hashtag1","hashtag2"]},{"1399659743":["hashtag1","hashtag2"]},{"1399659745":["hashtag1","hashtag2"]},{"1399659748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659736, 1399659738, 1399659741, 1399659743, 1399659745, 1399659748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30363059043884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:32:03.020807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_55_10648.jpg', '/home/pi/Desktop/images/16122025/14/07/image_16122025_14_08_05_9551.jpg', '/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_15_9682.jpg', '/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_24_9942.jpg', '/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_35_10330.jpg', '/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_44_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/07/image_16122025_14_07_55_10648.jpg
/home/pi/Desktop/images/16122025/14/07/image_16122025_14_08_05_9551.jpg
/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_15_9682.jpg
/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_24_9942.jpg
/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_35_10330.jpg
/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_44_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659750","1399659753","1399659755","1399659749","1399659752","1399659751"],"photo_ids_order":["1399659749","1399659750","1399659751","1399659752","1399659753","1399659755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4554310f14cea921bebd8e51ff1232f9.jpg","text":"TemporaryFile(/tmp/multipartBody4463971840154412561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891983667,"filename":"image_16122025_14_08_05_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/16/b9413c4642e067ec5d3671749a002644.jpg","text":"TemporaryFile(/tmp/multipartBody7417262694931296067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891983667,"filename":"image_16122025_14_08_35_10330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d593d850dca0a08e81431f7a393fba9.jpg","text":"TemporaryFile(/tmp/multipartBody8105000803138302964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891983667,"filename":"image_16122025_14_08_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8d253e3362b941fb3135f96968e4a56.jpg","text":"TemporaryFile(/tmp/multipartBody1351123593838659475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891983667,"filename":"image_16122025_14_07_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c85de6c3c1ef4603aee9c80da71c330.jpg","text":"TemporaryFile(/tmp/multipartBody8523783648148584461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891983667,"filename":"image_16122025_14_08_24_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6e1197f71bc8e9723796548adddc594.jpg","text":"TemporaryFile(/tmp/multipartBody2601505160932485381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765891983667,"filename":"image_16122025_14_08_15_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659751","file1":"1399659750","file0":"1399659749","file4":"1399659753","file5":"1399659755","file3":"1399659752"},"map_files_photo_id_array":[{"photo_id":"1399659755","filename":"file5"},{"photo_id":"1399659751","filename":"file2"},{"photo_id":"1399659753","filename":"file4"},{"photo_id":"1399659750","filename":"file1"},{"photo_id":"1399659749","filename":"file0"},{"photo_id":"1399659752","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659750":["hashtag1","hashtag2"]},{"1399659753":["hashtag1","hashtag2"]},{"1399659755":["hashtag1","hashtag2"]},{"1399659749":["hashtag1","hashtag2"]},{"1399659752":["hashtag1","hashtag2"]},{"1399659751":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659750, 1399659753, 1399659755, 1399659749, 1399659752, 1399659751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45223641395569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:32:42.599081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_54_2650.jpg', '/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_58_3511.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_01_2774.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_03_2600.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_10_2826.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_13_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_54_2650.jpg
/home/pi/Desktop/images/06112025/16/48/image_06112025_16_48_58_3511.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_01_2774.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_03_2600.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_10_2826.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_13_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659765","1399659767","1399659761","1399659764","1399659763","1399659766"],"photo_ids_order":["1399659761","1399659763","1399659764","1399659765","1399659766","1399659767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fdfcc30eb91a8740d80556e04c171c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4187117526851075973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892023327,"filename":"image_06112025_16_49_03_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/16/8f9abcd3c3f0a062c94755ed02838656.jpg","text":"TemporaryFile(/tmp/multipartBody7952087019522655180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892023327,"filename":"image_06112025_16_49_13_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7bf8ae1705b864da755a0ae3c3be910.jpg","text":"TemporaryFile(/tmp/multipartBody2240497711962597197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892023327,"filename":"image_06112025_16_48_54_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/16/74bbd20e1ead9aea54241d253a456bde.jpg","text":"TemporaryFile(/tmp/multipartBody5626033860460780592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892023327,"filename":"image_06112025_16_49_01_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/16/af198603965fddbd23826f3eebe254ad.jpg","text":"TemporaryFile(/tmp/multipartBody1333961147496006780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892023327,"filename":"image_06112025_16_48_58_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/16/d56a0a589571d8df97719e9748f747df.jpg","text":"TemporaryFile(/tmp/multipartBody4710153373454110139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892023327,"filename":"image_06112025_16_49_10_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659764","file1":"1399659763","file0":"1399659761","file4":"1399659766","file5":"1399659767","file3":"1399659765"},"map_files_photo_id_array":[{"photo_id":"1399659767","filename":"file5"},{"photo_id":"1399659764","filename":"file2"},{"photo_id":"1399659766","filename":"file4"},{"photo_id":"1399659763","filename":"file1"},{"photo_id":"1399659761","filename":"file0"},{"photo_id":"1399659765","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399659765":["hashtag1","hashtag2"]},{"1399659767":["hashtag1","hashtag2"]},{"1399659761":["hashtag1","hashtag2"]},{"1399659764":["hashtag1","hashtag2"]},{"1399659763":["hashtag1","hashtag2"]},{"1399659766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399659765, 1399659767, 1399659761, 1399659764, 1399659763, 1399659766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.721625328063965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:33:21.962878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_55_10516.jpg', '/home/pi/Desktop/images/16122025/14/08/image_16122025_14_09_05_9738.jpg', '/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_15_10605.jpg', '/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_29_13390.jpg', '/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_35_6604.jpg', '/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_45_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/08/image_16122025_14_08_55_10516.jpg
/home/pi/Desktop/images/16122025/14/08/image_16122025_14_09_05_9738.jpg
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_15_10605.jpg
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_29_13390.jpg
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_35_6604.jpg
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_45_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659829","1399659910","1399659904","1399659789","1399659864","1399659927"],"photo_ids_order":["1399659789","1399659829","1399659864","1399659904","1399659910","1399659927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3600ae7fb3fa7da498d6333a9ee0185.jpg","text":"TemporaryFile(/tmp/multipartBody361225799456197209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892062568,"filename":"image_16122025_14_09_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/16/e00d9755bf6dca1a3f4c9b99bf8966cf.jpg","text":"TemporaryFile(/tmp/multipartBody1176869402696798780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892062568,"filename":"image_16122025_14_09_35_6604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce7c4c869374eb9e8a5f9e3bdbfee62c.jpg","text":"TemporaryFile(/tmp/multipartBody2976111370579041348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892062568,"filename":"image_16122025_14_09_29_13390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6f8f276d10ffdf9ac88e30a0da750e6.jpg","text":"TemporaryFile(/tmp/multipartBody1235033028567361390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892062568,"filename":"image_16122025_14_08_55_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57f47fe13ba180f2fa608cecb7055c64.jpg","text":"TemporaryFile(/tmp/multipartBody19029873627944930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892062568,"filename":"image_16122025_14_09_15_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/16/0d0f5516582f501b6694d993a975e09c.jpg","text":"TemporaryFile(/tmp/multipartBody3226974664858894279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892062568,"filename":"image_16122025_14_09_45_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399659864","file1":"1399659829","file0":"1399659789","file4":"1399659910","file5":"1399659927","file3":"1399659904"},"map_files_photo_id_array":[{"photo_id":"1399659927","filename":"file5"},{"photo_id":"1399659864","filename":"file2"},{"photo_id":"1399659910","filename":"file4"},{"photo_id":"1399659829","filename":"file1"},{"photo_id":"1399659789","filename":"file0"},{"photo_id":"1399659904","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659829":["hashtag1","hashtag2"]},{"1399659910":["hashtag1","hashtag2"]},{"1399659904":["hashtag1","hashtag2"]},{"1399659789":["hashtag1","hashtag2"]},{"1399659864":["hashtag1","hashtag2"]},{"1399659927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659829, 1399659910, 1399659904, 1399659789, 1399659864, 1399659927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59225845336914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:34:02.696696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_54_9670.jpg', '/home/pi/Desktop/images/16122025/14/09/image_16122025_14_10_04_9808.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_15_10352.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_24_9669.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_35_10844.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_44_9170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_54_9670.jpg
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_10_04_9808.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_15_10352.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_24_9669.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_35_10844.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_44_9170.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5364232063293457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:34:12.019042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:34:22.028744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_54_9670.jpg', '/home/pi/Desktop/images/16122025/14/09/image_16122025_14_10_04_9808.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_15_10352.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_24_9669.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_35_10844.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_44_9170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_09_54_9670.jpg
/home/pi/Desktop/images/16122025/14/09/image_16122025_14_10_04_9808.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_15_10352.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_24_9669.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_35_10844.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_44_9170.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399659996","1399660123","1399660086","1399660050","1399660011","1399660160"],"photo_ids_order":["1399659996","1399660011","1399660050","1399660086","1399660123","1399660160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b5d2ca6cfc6a981600d9f06811359f5.jpg","text":"TemporaryFile(/tmp/multipartBody4714184124099017529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892122645,"filename":"image_16122025_14_09_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a04821a35ea95c5003ff270cdf0b4377.jpg","text":"TemporaryFile(/tmp/multipartBody6988278379332638487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892122645,"filename":"image_16122025_14_10_35_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68bd0b2d24d0e66fd125961c30e15799.jpg","text":"TemporaryFile(/tmp/multipartBody315255285284219243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892122645,"filename":"image_16122025_14_10_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/16/97516145899f05399e7e3dca28f3114a.jpg","text":"TemporaryFile(/tmp/multipartBody3427672621115102931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892122645,"filename":"image_16122025_14_10_15_10352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30e59e43cd1244b1ee0472e32de4819b.jpg","text":"TemporaryFile(/tmp/multipartBody616780908766343578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892122645,"filename":"image_16122025_14_10_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5fd6542360fff8641c051e0a5794d06f.jpg","text":"TemporaryFile(/tmp/multipartBody1852443232899564323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892122645,"filename":"image_16122025_14_10_44_9170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399660050","file1":"1399660011","file0":"1399659996","file4":"1399660123","file5":"1399660160","file3":"1399660086"},"map_files_photo_id_array":[{"photo_id":"1399660160","filename":"file5"},{"photo_id":"1399660050","filename":"file2"},{"photo_id":"1399660123","filename":"file4"},{"photo_id":"1399660011","filename":"file1"},{"photo_id":"1399659996","filename":"file0"},{"photo_id":"1399660086","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399659996":["hashtag1","hashtag2"]},{"1399660123":["hashtag1","hashtag2"]},{"1399660086":["hashtag1","hashtag2"]},{"1399660050":["hashtag1","hashtag2"]},{"1399660011":["hashtag1","hashtag2"]},{"1399660160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399659996, 1399660123, 1399660086, 1399660050, 1399660011, 1399660160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60014820098877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:35:02.866525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_55_10802.jpg', '/home/pi/Desktop/images/16122025/14/10/image_16122025_14_11_05_10118.jpg', '/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_15_9836.jpg', '/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_25_9793.jpg', '/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_34_9565.jpg', '/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_55_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_10_55_10802.jpg
/home/pi/Desktop/images/16122025/14/10/image_16122025_14_11_05_10118.jpg
/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_15_9836.jpg
/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_25_9793.jpg
/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_34_9565.jpg
/home/pi/Desktop/images/16122025/14/11/image_16122025_14_11_55_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399660243","1399660300","1399660269","1399660314","1399660277","1399660247"],"photo_ids_order":["1399660243","1399660247","1399660269","1399660277","1399660300","1399660314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab55024151b7af9b2c6d1da2e73b2f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8952635041152068848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892166072,"filename":"image_16122025_14_10_55_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/16/ba86d9901ada7181d5cd87c725325c59.jpg","text":"TemporaryFile(/tmp/multipartBody3336104633230878860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892166072,"filename":"image_16122025_14_11_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76fdbe9881bba5c5c4171a6a66ae77f5.jpg","text":"TemporaryFile(/tmp/multipartBody3069051459505296575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892166072,"filename":"image_16122025_14_11_15_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/801f26d70ed1fae87b2329483cc4f0d2.jpg","text":"TemporaryFile(/tmp/multipartBody505578548896102158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892166072,"filename":"image_16122025_14_11_55_9339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f9798240ae82dc52e6e122c349676bc.jpg","text":"TemporaryFile(/tmp/multipartBody3150032691490447274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892166072,"filename":"image_16122025_14_11_25_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20373f8c4b34d3ec472d95a8d7b2befd.jpg","text":"TemporaryFile(/tmp/multipartBody5127411928790335430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892166072,"filename":"image_16122025_14_11_05_10118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399660269","file1":"1399660247","file0":"1399660243","file4":"1399660300","file5":"1399660314","file3":"1399660277"},"map_files_photo_id_array":[{"photo_id":"1399660314","filename":"file5"},{"photo_id":"1399660269","filename":"file2"},{"photo_id":"1399660300","filename":"file4"},{"photo_id":"1399660247","filename":"file1"},{"photo_id":"1399660243","filename":"file0"},{"photo_id":"1399660277","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399660243":["hashtag1","hashtag2"]},{"1399660300":["hashtag1","hashtag2"]},{"1399660269":["hashtag1","hashtag2"]},{"1399660314":["hashtag1","hashtag2"]},{"1399660277":["hashtag1","hashtag2"]},{"1399660247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399660243, 1399660300, 1399660269, 1399660314, 1399660277, 1399660247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33795428276062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:36:02.943218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/12/image_16122025_14_12_25_9874.jpg', '/home/pi/Desktop/images/16122025/14/12/image_16122025_14_12_44_9837.jpg', '/home/pi/Desktop/images/16122025/14/12/image_16122025_14_13_04_9791.jpg', '/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_25_9722.jpg', '/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_35_9786.jpg', '/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_45_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/12/image_16122025_14_12_25_9874.jpg
/home/pi/Desktop/images/16122025/14/12/image_16122025_14_12_44_9837.jpg
/home/pi/Desktop/images/16122025/14/12/image_16122025_14_13_04_9791.jpg
/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_25_9722.jpg
/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_35_9786.jpg
/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_45_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399660366","1399660365","1399660361","1399660364","1399660358","1399660355"],"photo_ids_order":["1399660355","1399660358","1399660361","1399660364","1399660365","1399660366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/00fa8924794dd83a62c399ccf6d094cd.jpg","text":"TemporaryFile(/tmp/multipartBody1487351795318709393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892223579,"filename":"image_16122025_14_13_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f927a2d1fe190714e5312ce290230696.jpg","text":"TemporaryFile(/tmp/multipartBody3015861514410653995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892223579,"filename":"image_16122025_14_13_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/16/5c3506ee26b75f67ed5d234b6eede4b6.jpg","text":"TemporaryFile(/tmp/multipartBody2591964302225561170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892223579,"filename":"image_16122025_14_13_04_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7e658b71deca565812a0412d49a6b97.jpg","text":"TemporaryFile(/tmp/multipartBody771955534597935298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892223579,"filename":"image_16122025_14_13_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a75914fb763fc95964839db957a6c04a.jpg","text":"TemporaryFile(/tmp/multipartBody4701472809080035708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892223579,"filename":"image_16122025_14_12_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/16/cd35652254afe559ac0c2c3bdd791adf.jpg","text":"TemporaryFile(/tmp/multipartBody7776388364412491127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892223579,"filename":"image_16122025_14_12_25_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399660361","file1":"1399660358","file0":"1399660355","file4":"1399660365","file5":"1399660366","file3":"1399660364"},"map_files_photo_id_array":[{"photo_id":"1399660366","filename":"file5"},{"photo_id":"1399660361","filename":"file2"},{"photo_id":"1399660365","filename":"file4"},{"photo_id":"1399660358","filename":"file1"},{"photo_id":"1399660355","filename":"file0"},{"photo_id":"1399660364","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399660366":["hashtag1","hashtag2"]},{"1399660365":["hashtag1","hashtag2"]},{"1399660361":["hashtag1","hashtag2"]},{"1399660364":["hashtag1","hashtag2"]},{"1399660358":["hashtag1","hashtag2"]},{"1399660355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399660366, 1399660365, 1399660361, 1399660364, 1399660358, 1399660355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03146314620972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:36:42.543113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_15_2786.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_19_3861.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_22_2683.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_24_2592.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_28_3644.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_31_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_15_2786.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_19_3861.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_22_2683.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_24_2592.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_28_3644.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_31_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":["1399660403","1399660381","1399660383","1399660376","1399660385","1399660379"],"photo_ids_order":["1399660376","1399660379","1399660381","1399660383","1399660385","1399660403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19e3a7f5029df8037050d61d9afd0ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2460030542554048731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892263301,"filename":"image_06112025_16_49_31_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/16/999b1fc1d139144edafc44d8cf5d2d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2661523865473740492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892263301,"filename":"image_06112025_16_49_22_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/408457f09b12f145efea0611c5e64f21.jpg","text":"TemporaryFile(/tmp/multipartBody8092530859187489057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892263301,"filename":"image_06112025_16_49_24_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/16/bc25a5ec5ce717df0b7b7c8ee4397f8e.jpg","text":"TemporaryFile(/tmp/multipartBody4134883395255927340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892263301,"filename":"image_06112025_16_49_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/16/576d27147dbd1dc99e52391a8cc7cd34.jpg","text":"TemporaryFile(/tmp/multipartBody6827986356674929099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892263301,"filename":"image_06112025_16_49_28_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/16/55f3ade22cf367c98203bbd88fde1a38.jpg","text":"TemporaryFile(/tmp/multipartBody6699248849610724186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892263301,"filename":"image_06112025_16_49_19_3861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399660381","file1":"1399660379","file0":"1399660376","file4":"1399660385","file5":"1399660403","file3":"1399660383"},"map_files_photo_id_array":[{"photo_id":"1399660403","filename":"file5"},{"photo_id":"1399660381","filename":"file2"},{"photo_id":"1399660385","filename":"file4"},{"photo_id":"1399660379","filename":"file1"},{"photo_id":"1399660376","filename":"file0"},{"photo_id":"1399660383","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399660403":["hashtag1","hashtag2"]},{"1399660381":["hashtag1","hashtag2"]},{"1399660383":["hashtag1","hashtag2"]},{"1399660376":["hashtag1","hashtag2"]},{"1399660385":["hashtag1","hashtag2"]},{"1399660379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399660403, 1399660381, 1399660383, 1399660376, 1399660385, 1399660379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59838247299194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:37:22.861904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_55_9731.jpg', '/home/pi/Desktop/images/16122025/14/13/image_16122025_14_14_05_9661.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_14_9788.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_25_10818.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_35_9698.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_55_9731.jpg
/home/pi/Desktop/images/16122025/14/13/image_16122025_14_14_05_9661.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_14_9788.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_25_10818.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_35_9698.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_45_9666.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5200119018554688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:37:32.787297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:37:42.757017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_33_2704.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_37_3718.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_40_2884.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_43_2665.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_45_2677.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_48_2935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_33_2704.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_37_3718.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_40_2884.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_43_2665.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_45_2677.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_48_2935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399660893","1399660869","1399660917","1399660832","1399660862","1399660943"],"photo_ids_order":["1399660832","1399660862","1399660869","1399660893","1399660917","1399660943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/56f02eee2338d1bb366b63155b4216d6.jpg","text":"TemporaryFile(/tmp/multipartBody2466547211094313561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892323482,"filename":"image_06112025_16_49_43_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a16f55f33ea28d7a3c2d64560c5524f.jpg","text":"TemporaryFile(/tmp/multipartBody1756929792840516388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892323482,"filename":"image_06112025_16_49_40_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/16/a1d04f26093cc3144c308ec7ac501c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7485409859866522857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892323482,"filename":"image_06112025_16_49_45_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/16/969a2011358c41ffc392d449273329f4.jpg","text":"TemporaryFile(/tmp/multipartBody8320508581466370127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892323482,"filename":"image_06112025_16_49_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/16/e8c1a8c488b6655cd19ec62ca7a7835c.jpg","text":"TemporaryFile(/tmp/multipartBody6875582974828066383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892323482,"filename":"image_06112025_16_49_37_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/16/084c9b6be02c03cf217368e0f8f6701e.jpg","text":"TemporaryFile(/tmp/multipartBody5036377372939553475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892323482,"filename":"image_06112025_16_49_48_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399660869","file1":"1399660862","file0":"1399660832","file4":"1399660917","file5":"1399660943","file3":"1399660893"},"map_files_photo_id_array":[{"photo_id":"1399660943","filename":"file5"},{"photo_id":"1399660869","filename":"file2"},{"photo_id":"1399660917","filename":"file4"},{"photo_id":"1399660862","filename":"file1"},{"photo_id":"1399660832","filename":"file0"},{"photo_id":"1399660893","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399660893":["hashtag1","hashtag2"]},{"1399660869":["hashtag1","hashtag2"]},{"1399660917":["hashtag1","hashtag2"]},{"1399660832":["hashtag1","hashtag2"]},{"1399660862":["hashtag1","hashtag2"]},{"1399660943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399660893, 1399660869, 1399660917, 1399660832, 1399660862, 1399660943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58105778694153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:38:21.977960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_55_9731.jpg', '/home/pi/Desktop/images/16122025/14/13/image_16122025_14_14_05_9661.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_14_9788.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_25_10818.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_35_9698.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/13/image_16122025_14_13_55_9731.jpg
/home/pi/Desktop/images/16122025/14/13/image_16122025_14_14_05_9661.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_14_9788.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_25_10818.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_35_9698.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_45_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":["1399661008","1399661034","1399661033","1399660985","1399661024","1399661056"],"photo_ids_order":["1399660985","1399661008","1399661024","1399661033","1399661034","1399661056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/567b8b41e97240c7c404d2f57147a475.jpg","text":"TemporaryFile(/tmp/multipartBody1414295582434589228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892362608,"filename":"image_16122025_14_14_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/16/0e3cfd479b0b9d7da8e13c0fb62057df.jpg","text":"TemporaryFile(/tmp/multipartBody8131653277144401072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892362608,"filename":"image_16122025_14_14_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/16/4bd367dd17b64f89f7c4a66ec106352c.jpg","text":"TemporaryFile(/tmp/multipartBody3160037151548512969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892362608,"filename":"image_16122025_14_14_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d87f18a48d5c1655d28e169b5f3a504.jpg","text":"TemporaryFile(/tmp/multipartBody7568640134785808875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892362608,"filename":"image_16122025_14_13_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42847115260e9b2dc8aa4e962da6c137.jpg","text":"TemporaryFile(/tmp/multipartBody1609703186149633005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892362608,"filename":"image_16122025_14_14_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/16/adae87b7c1936b6ec9eef8001a3af07b.jpg","text":"TemporaryFile(/tmp/multipartBody4485858768045447247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892362608,"filename":"image_16122025_14_14_45_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399661024","file1":"1399661008","file0":"1399660985","file4":"1399661034","file5":"1399661056","file3":"1399661033"},"map_files_photo_id_array":[{"photo_id":"1399661056","filename":"file5"},{"photo_id":"1399661024","filename":"file2"},{"photo_id":"1399661034","filename":"file4"},{"photo_id":"1399661008","filename":"file1"},{"photo_id":"1399660985","filename":"file0"},{"photo_id":"1399661033","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399661008":["hashtag1","hashtag2"]},{"1399661034":["hashtag1","hashtag2"]},{"1399661033":["hashtag1","hashtag2"]},{"1399660985":["hashtag1","hashtag2"]},{"1399661024":["hashtag1","hashtag2"]},{"1399661056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399661008, 1399661034, 1399661033, 1399660985, 1399661024, 1399661056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8093466758728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:39:03.149917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_55_10641.jpg', '/home/pi/Desktop/images/16122025/14/14/image_16122025_14_15_05_9673.jpg', '/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_15_9760.jpg', '/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_24_9728.jpg', '/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_35_10715.jpg', '/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_45_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_14_55_10641.jpg
/home/pi/Desktop/images/16122025/14/14/image_16122025_14_15_05_9673.jpg
/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_15_9760.jpg
/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_24_9728.jpg
/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_35_10715.jpg
/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_45_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":["1399661073","1399661067","1399661075","1399661069","1399661071","1399661077"],"photo_ids_order":["1399661067","1399661069","1399661071","1399661073","1399661075","1399661077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7799e1db7ed1b94c20ed13f2faf53b0.jpg","text":"TemporaryFile(/tmp/multipartBody907811719972015961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892404017,"filename":"image_16122025_14_15_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/16/82b07ffd6075dfd3b2d7a38e35c29f9e.jpg","text":"TemporaryFile(/tmp/multipartBody284028851397605462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892404017,"filename":"image_16122025_14_14_55_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/16/d6bbb54a3bfa523f83159011d94e25f7.jpg","text":"TemporaryFile(/tmp/multipartBody3458087169599187636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892404017,"filename":"image_16122025_14_15_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/16/5a23775b9f8a1e8180a43a39e24bf2fb.jpg","text":"TemporaryFile(/tmp/multipartBody6885470895518057961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892404017,"filename":"image_16122025_14_15_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c2c27e6a2adb77cdaaff36b3a4d96ff7.jpg","text":"TemporaryFile(/tmp/multipartBody2983149142466683925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892404017,"filename":"image_16122025_14_15_15_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aef5a280434495d2b844094c256233f6.jpg","text":"TemporaryFile(/tmp/multipartBody5745508541595353954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892404017,"filename":"image_16122025_14_15_45_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399661071","file1":"1399661069","file0":"1399661067","file4":"1399661075","file5":"1399661077","file3":"1399661073"},"map_files_photo_id_array":[{"photo_id":"1399661077","filename":"file5"},{"photo_id":"1399661071","filename":"file2"},{"photo_id":"1399661075","filename":"file4"},{"photo_id":"1399661069","filename":"file1"},{"photo_id":"1399661067","filename":"file0"},{"photo_id":"1399661073","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399661073":["hashtag1","hashtag2"]},{"1399661067":["hashtag1","hashtag2"]},{"1399661075":["hashtag1","hashtag2"]},{"1399661069":["hashtag1","hashtag2"]},{"1399661071":["hashtag1","hashtag2"]},{"1399661077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399661073, 1399661067, 1399661075, 1399661069, 1399661071, 1399661077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.504488706588745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:39:42.327075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_52_3567.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_55_2648.jpg', '/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_58_3592.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_08_3010.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_14_2637.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_17_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_52_3567.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_55_2648.jpg
/home/pi/Desktop/images/06112025/16/49/image_06112025_16_49_58_3592.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_08_3010.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_14_2637.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_17_2842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399661082","1399661085","1399661088","1399661087","1399661086","1399661095"],"photo_ids_order":["1399661082","1399661085","1399661086","1399661087","1399661088","1399661095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a265d97be819a1f1dd35a2ed82db63db.jpg","text":"TemporaryFile(/tmp/multipartBody9012500849001229062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892443003,"filename":"image_06112025_16_49_52_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b18d3dcfe47bb60414d55fa5f543f93.jpg","text":"TemporaryFile(/tmp/multipartBody2466762466201992832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892443003,"filename":"image_06112025_16_49_55_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/16/328317fa1924f38565195cb9eb342392.jpg","text":"TemporaryFile(/tmp/multipartBody7683779318628364026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892443003,"filename":"image_06112025_16_50_14_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/16/6fd6816b4b530fa77c696a116e77eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody1877178444231663392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892443003,"filename":"image_06112025_16_50_08_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/16/a03ba01615c271d455a45207f66513a3.jpg","text":"TemporaryFile(/tmp/multipartBody4284811342015289064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892443003,"filename":"image_06112025_16_49_58_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/16/30bee29dcce8708d3468d2ec3b12629f.jpg","text":"TemporaryFile(/tmp/multipartBody1235171473476106848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892443003,"filename":"image_06112025_16_50_17_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399661086","file1":"1399661085","file0":"1399661082","file4":"1399661088","file5":"1399661095","file3":"1399661087"},"map_files_photo_id_array":[{"photo_id":"1399661095","filename":"file5"},{"photo_id":"1399661086","filename":"file2"},{"photo_id":"1399661088","filename":"file4"},{"photo_id":"1399661085","filename":"file1"},{"photo_id":"1399661082","filename":"file0"},{"photo_id":"1399661087","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399661082":["hashtag1","hashtag2"]},{"1399661085":["hashtag1","hashtag2"]},{"1399661088":["hashtag1","hashtag2"]},{"1399661087":["hashtag1","hashtag2"]},{"1399661086":["hashtag1","hashtag2"]},{"1399661095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399661082, 1399661085, 1399661088, 1399661087, 1399661086, 1399661095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93802857398987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:40:22.582000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_55_9789.jpg', '/home/pi/Desktop/images/16122025/14/15/image_16122025_14_16_04_9796.jpg', '/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_15_10759.jpg', '/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_25_9618.jpg', '/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_34_9663.jpg', '/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_45_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/15/image_16122025_14_15_55_9789.jpg
/home/pi/Desktop/images/16122025/14/15/image_16122025_14_16_04_9796.jpg
/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_15_10759.jpg
/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_25_9618.jpg
/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_34_9663.jpg
/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_45_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399661335","1399661257","1399661308","1399661249","1399661222","1399661306"],"photo_ids_order":["1399661222","1399661249","1399661257","1399661306","1399661308","1399661335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93a65cf52b0132f0c362c3266cc34566.jpg","text":"TemporaryFile(/tmp/multipartBody2881185012412989233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892483219,"filename":"image_16122025_14_16_45_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4b745db6812ce97f4254b09811b16d3c.jpg","text":"TemporaryFile(/tmp/multipartBody5444915609215311950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892483219,"filename":"image_16122025_14_16_15_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9d9e7d2d2bd326e8a5dbf27430ad8e6.jpg","text":"TemporaryFile(/tmp/multipartBody1798379899165067877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892483219,"filename":"image_16122025_14_16_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6dcdd0a1343147d2f40013b06f11ab8b.jpg","text":"TemporaryFile(/tmp/multipartBody2007824485294185480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892483219,"filename":"image_16122025_14_16_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/16/860358f1efb2ba706a56cf4f5a8ad418.jpg","text":"TemporaryFile(/tmp/multipartBody3202659850305864213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892483219,"filename":"image_16122025_14_15_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/16/7fdfc567a68c84bae1da041e9f7f2911.jpg","text":"TemporaryFile(/tmp/multipartBody7578992969316853360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892483219,"filename":"image_16122025_14_16_25_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399661257","file1":"1399661249","file0":"1399661222","file4":"1399661308","file5":"1399661335","file3":"1399661306"},"map_files_photo_id_array":[{"photo_id":"1399661335","filename":"file5"},{"photo_id":"1399661257","filename":"file2"},{"photo_id":"1399661308","filename":"file4"},{"photo_id":"1399661249","filename":"file1"},{"photo_id":"1399661222","filename":"file0"},{"photo_id":"1399661306","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399661335":["hashtag1","hashtag2"]},{"1399661257":["hashtag1","hashtag2"]},{"1399661308":["hashtag1","hashtag2"]},{"1399661249":["hashtag1","hashtag2"]},{"1399661222":["hashtag1","hashtag2"]},{"1399661306":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399661335, 1399661257, 1399661308, 1399661249, 1399661222, 1399661306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0130410194397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:41:02.358133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_55_9824.jpg', '/home/pi/Desktop/images/16122025/14/16/image_16122025_14_17_05_9585.jpg', '/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_15_10653.jpg', '/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_25_9963.jpg', '/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_35_9733.jpg', '/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_45_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/16/image_16122025_14_16_55_9824.jpg
/home/pi/Desktop/images/16122025/14/16/image_16122025_14_17_05_9585.jpg
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_15_10653.jpg
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_25_9963.jpg
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_35_9733.jpg
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_45_9916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399661376","1399661399","1399661372","1399661354","1399661378","1399661374"],"photo_ids_order":["1399661354","1399661372","1399661374","1399661376","1399661378","1399661399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cb3b9e26a0f4a0794e270992197eb6a.jpg","text":"TemporaryFile(/tmp/multipartBody3927784349821840151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892523056,"filename":"image_16122025_14_17_25_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/16/9544a9cec38c879a88878a7a5b89b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody4456572350223441184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892523056,"filename":"image_16122025_14_17_45_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/16/d72d248a188c4f17fbc3eb24e5fd14fa.jpg","text":"TemporaryFile(/tmp/multipartBody1339217684347288239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892523056,"filename":"image_16122025_14_17_05_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7f8614cf2ff4993643c2f22032bd66d.jpg","text":"TemporaryFile(/tmp/multipartBody3645130909487667095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892523056,"filename":"image_16122025_14_16_55_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20ce885b6bb6d89c2327dfd211ada5f1.jpg","text":"TemporaryFile(/tmp/multipartBody735416625825989010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892523056,"filename":"image_16122025_14_17_35_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bd17be5b3db16ba9b43fa425616f313.jpg","text":"TemporaryFile(/tmp/multipartBody3967184465811266609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892523056,"filename":"image_16122025_14_17_15_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399661374","file1":"1399661372","file0":"1399661354","file4":"1399661378","file5":"1399661399","file3":"1399661376"},"map_files_photo_id_array":[{"photo_id":"1399661399","filename":"file5"},{"photo_id":"1399661374","filename":"file2"},{"photo_id":"1399661378","filename":"file4"},{"photo_id":"1399661372","filename":"file1"},{"photo_id":"1399661354","filename":"file0"},{"photo_id":"1399661376","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399661376":["hashtag1","hashtag2"]},{"1399661399":["hashtag1","hashtag2"]},{"1399661372":["hashtag1","hashtag2"]},{"1399661354":["hashtag1","hashtag2"]},{"1399661378":["hashtag1","hashtag2"]},{"1399661374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399661376, 1399661399, 1399661372, 1399661354, 1399661378, 1399661374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82578372955322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:41:41.887658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_21_3563.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_23_2639.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_26_2591.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_32_2613.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_38_3711.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_41_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_21_3563.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_23_2639.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_26_2591.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_32_2613.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_38_3711.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_41_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":["1399661562","1399661550","1399661573","1399661549","1399661551","1399661530"],"photo_ids_order":["1399661530","1399661549","1399661550","1399661551","1399661562","1399661573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/345675ed2d3421f3766893e8618fda07.jpg","text":"TemporaryFile(/tmp/multipartBody3101629926182526532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892562568,"filename":"image_06112025_16_50_38_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8e064211c2c338a6f16514fcea8a1df.jpg","text":"TemporaryFile(/tmp/multipartBody7543199525143450702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892562568,"filename":"image_06112025_16_50_26_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/16/e3bda2d936f2bd951e0db476be4c3ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7086873411389295230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892562568,"filename":"image_06112025_16_50_41_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/16/85fa71829bc18763cb68cdff847d1ee9.jpg","text":"TemporaryFile(/tmp/multipartBody1948587588275054184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892562568,"filename":"image_06112025_16_50_23_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/16/c916f27c1dd9291aa0e0d2c4ba80b150.jpg","text":"TemporaryFile(/tmp/multipartBody6080898578357420161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892562568,"filename":"image_06112025_16_50_32_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/16/baeefbfccf132780f9b66cdc5dbb3604.jpg","text":"TemporaryFile(/tmp/multipartBody2362199244193113320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892562568,"filename":"image_06112025_16_50_21_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399661550","file1":"1399661549","file0":"1399661530","file4":"1399661562","file5":"1399661573","file3":"1399661551"},"map_files_photo_id_array":[{"photo_id":"1399661573","filename":"file5"},{"photo_id":"1399661550","filename":"file2"},{"photo_id":"1399661562","filename":"file4"},{"photo_id":"1399661549","filename":"file1"},{"photo_id":"1399661530","filename":"file0"},{"photo_id":"1399661551","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399661562":["hashtag1","hashtag2"]},{"1399661550":["hashtag1","hashtag2"]},{"1399661573":["hashtag1","hashtag2"]},{"1399661549":["hashtag1","hashtag2"]},{"1399661551":["hashtag1","hashtag2"]},{"1399661530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399661562, 1399661550, 1399661573, 1399661549, 1399661551, 1399661530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.224005699157715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:42:22.119600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_54_9672.jpg', '/home/pi/Desktop/images/16122025/14/17/image_16122025_14_18_05_10649.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_15_9712.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_35_10748.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_45_9657.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_55_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_54_9672.jpg
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_18_05_10649.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_15_9712.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_35_10748.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_45_9657.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_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.5428237915039062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:42:32.182742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:42:42.159040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_44_2615.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_50_2615.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_53_2738.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_57_3718.jpg', '/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_59_2500.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_02_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_44_2615.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_50_2615.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_53_2738.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_57_3718.jpg
/home/pi/Desktop/images/06112025/16/50/image_06112025_16_50_59_2500.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_02_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":["1399661676","1399661798","1399661870","1399661729","1399661680","1399661935"],"photo_ids_order":["1399661676","1399661680","1399661729","1399661798","1399661870","1399661935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87fe4af9997a205202945282efdc45e3.jpg","text":"TemporaryFile(/tmp/multipartBody7553518249352794464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892622861,"filename":"image_06112025_16_50_44_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/16/67c5e83ba0f63a0611969135e2797cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5572793819699704379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892622861,"filename":"image_06112025_16_50_57_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/16/682b32a163635253270594565b583646.jpg","text":"TemporaryFile(/tmp/multipartBody2889716752628725460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892622861,"filename":"image_06112025_16_50_59_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/16/b3fedeae0f7348ef710b01b16cd11ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5601105706866210851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892622861,"filename":"image_06112025_16_50_53_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/16/706123af9afcd0aff6dbba47ff8ef7a7.jpg","text":"TemporaryFile(/tmp/multipartBody118469361516219896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892622861,"filename":"image_06112025_16_50_50_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/16/8c3fb349e91d27d36783b69af8b0a8e2.jpg","text":"TemporaryFile(/tmp/multipartBody3754622728438330375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892622861,"filename":"image_06112025_16_51_02_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399661729","file1":"1399661680","file0":"1399661676","file4":"1399661870","file5":"1399661935","file3":"1399661798"},"map_files_photo_id_array":[{"photo_id":"1399661935","filename":"file5"},{"photo_id":"1399661729","filename":"file2"},{"photo_id":"1399661870","filename":"file4"},{"photo_id":"1399661680","filename":"file1"},{"photo_id":"1399661676","filename":"file0"},{"photo_id":"1399661798","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399661676":["hashtag1","hashtag2"]},{"1399661798":["hashtag1","hashtag2"]},{"1399661870":["hashtag1","hashtag2"]},{"1399661729":["hashtag1","hashtag2"]},{"1399661680":["hashtag1","hashtag2"]},{"1399661935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399661676, 1399661798, 1399661870, 1399661729, 1399661680, 1399661935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74965810775757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:43:22.459790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_54_9672.jpg', '/home/pi/Desktop/images/16122025/14/17/image_16122025_14_18_05_10649.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_15_9712.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_35_10748.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_45_9657.jpg', '/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_55_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_17_54_9672.jpg
/home/pi/Desktop/images/16122025/14/17/image_16122025_14_18_05_10649.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_15_9712.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_35_10748.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_45_9657.jpg
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_18_55_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":["1399662219","1399662185","1399662062","1399662151","1399662169","1399662133"],"photo_ids_order":["1399662062","1399662133","1399662151","1399662169","1399662185","1399662219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3ec1f4400379d499fa9f0d1d7ba85b1.jpg","text":"TemporaryFile(/tmp/multipartBody9210513264011617392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892663103,"filename":"image_16122025_14_18_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/16/a36011db7d259cbffaf97219e8a071b1.jpg","text":"TemporaryFile(/tmp/multipartBody720715085876579451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892663103,"filename":"image_16122025_14_18_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/16/ea6b3715fbbc3608592a3435aa92f7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7217391432158579609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892663103,"filename":"image_16122025_14_17_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/16/8f62fb4842c4bf734b2137dfc8abee07.jpg","text":"TemporaryFile(/tmp/multipartBody1726085875018657682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892663103,"filename":"image_16122025_14_18_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74e0cfe0afea384995473d3fbfe00754.jpg","text":"TemporaryFile(/tmp/multipartBody1614492479379617643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892663103,"filename":"image_16122025_14_18_35_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dfcb93b0a316b0d27f10c96145332464.jpg","text":"TemporaryFile(/tmp/multipartBody5905286430485616593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892663103,"filename":"image_16122025_14_18_05_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399662151","file1":"1399662133","file0":"1399662062","file4":"1399662185","file5":"1399662219","file3":"1399662169"},"map_files_photo_id_array":[{"photo_id":"1399662219","filename":"file5"},{"photo_id":"1399662151","filename":"file2"},{"photo_id":"1399662185","filename":"file4"},{"photo_id":"1399662133","filename":"file1"},{"photo_id":"1399662062","filename":"file0"},{"photo_id":"1399662169","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399662219":["hashtag1","hashtag2"]},{"1399662185":["hashtag1","hashtag2"]},{"1399662062":["hashtag1","hashtag2"]},{"1399662151":["hashtag1","hashtag2"]},{"1399662169":["hashtag1","hashtag2"]},{"1399662133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399662219, 1399662185, 1399662062, 1399662151, 1399662169, 1399662133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516979694366455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:44:03.116101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/18/image_16122025_14_19_04_9740.jpg', '/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_15_10727.jpg', '/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_25_9808.jpg', '/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_35_9691.jpg', '/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_44_9761.jpg', '/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/18/image_16122025_14_19_04_9740.jpg
/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_15_10727.jpg
/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_25_9808.jpg
/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_35_9691.jpg
/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_44_9761.jpg
/home/pi/Desktop/images/16122025/14/19/image_16122025_14_19_55_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399662297","1399662252","1399662296","1399662300","1399662295","1399662291"],"photo_ids_order":["1399662252","1399662291","1399662295","1399662296","1399662297","1399662300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7340086b053bbd959638e0ebd95f5c6.jpg","text":"TemporaryFile(/tmp/multipartBody7089671716277980372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892703855,"filename":"image_16122025_14_19_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/16/42306addac83fe9c50d5662d781e5dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5536442562361257734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892703855,"filename":"image_16122025_14_19_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/16/db5705330d265f6b4901f1c74183066f.jpg","text":"TemporaryFile(/tmp/multipartBody7000108208643923617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892703855,"filename":"image_16122025_14_19_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/16/ae39f254aabd48bffd78326c69d7c981.jpg","text":"TemporaryFile(/tmp/multipartBody4730957216876555267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892703855,"filename":"image_16122025_14_19_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84900d203f4400f0d0630c9864356092.jpg","text":"TemporaryFile(/tmp/multipartBody6042387404523978947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892703855,"filename":"image_16122025_14_19_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/16/64d95ede2290c21efca4cab8cb6e0de7.jpg","text":"TemporaryFile(/tmp/multipartBody8926921117124663832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892703855,"filename":"image_16122025_14_19_15_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399662295","file1":"1399662291","file0":"1399662252","file4":"1399662297","file5":"1399662300","file3":"1399662296"},"map_files_photo_id_array":[{"photo_id":"1399662300","filename":"file5"},{"photo_id":"1399662295","filename":"file2"},{"photo_id":"1399662297","filename":"file4"},{"photo_id":"1399662291","filename":"file1"},{"photo_id":"1399662252","filename":"file0"},{"photo_id":"1399662296","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399662297":["hashtag1","hashtag2"]},{"1399662252":["hashtag1","hashtag2"]},{"1399662296":["hashtag1","hashtag2"]},{"1399662300":["hashtag1","hashtag2"]},{"1399662295":["hashtag1","hashtag2"]},{"1399662291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399662297, 1399662252, 1399662296, 1399662300, 1399662295, 1399662291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90786600112915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:44:42.650121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_05_3588.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_08_2744.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_14_3679.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_17_2755.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_20_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_05_3588.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_08_2744.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_14_3679.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_17_2755.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_20_2779.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5834472179412842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:45:02.533640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/19/image_16122025_14_20_05_9563.jpg', '/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_15_10657.jpg', '/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_25_9634.jpg', '/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_44_9718.jpg', '/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_55_10693.jpg', '/home/pi/Desktop/images/16122025/14/20/image_16122025_14_21_05_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/19/image_16122025_14_20_05_9563.jpg
/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_15_10657.jpg
/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_25_9634.jpg
/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_44_9718.jpg
/home/pi/Desktop/images/16122025/14/20/image_16122025_14_20_55_10693.jpg
/home/pi/Desktop/images/16122025/14/20/image_16122025_14_21_05_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":["1399662321","1399662327","1399662329","1399662344","1399662331","1399662325"],"photo_ids_order":["1399662321","1399662325","1399662327","1399662329","1399662331","1399662344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8065edbcbc27a542d1e4077357fe26b.jpg","text":"TemporaryFile(/tmp/multipartBody5537128919426847354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892763219,"filename":"image_16122025_14_20_05_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/16/d3dfa5635c8256532da17227d3a122cd.jpg","text":"TemporaryFile(/tmp/multipartBody3143982997064860163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892763219,"filename":"image_16122025_14_20_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/16/55b72cf221f514014182638d33474e58.jpg","text":"TemporaryFile(/tmp/multipartBody4500682392979607250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892763219,"filename":"image_16122025_14_20_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/16/0e3890a54b360b07910712b7b20d24b9.jpg","text":"TemporaryFile(/tmp/multipartBody6020621199280191719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892763219,"filename":"image_16122025_14_21_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/16/42b07adb4f4fadac3c89bb4ee4047cba.jpg","text":"TemporaryFile(/tmp/multipartBody55803425537305807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892763219,"filename":"image_16122025_14_20_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/16/be1984b76b71573fee37140e17e90918.jpg","text":"TemporaryFile(/tmp/multipartBody5526213900419646172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892763219,"filename":"image_16122025_14_20_15_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399662327","file1":"1399662325","file0":"1399662321","file4":"1399662331","file5":"1399662344","file3":"1399662329"},"map_files_photo_id_array":[{"photo_id":"1399662344","filename":"file5"},{"photo_id":"1399662327","filename":"file2"},{"photo_id":"1399662331","filename":"file4"},{"photo_id":"1399662325","filename":"file1"},{"photo_id":"1399662321","filename":"file0"},{"photo_id":"1399662329","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399662321":["hashtag1","hashtag2"]},{"1399662327":["hashtag1","hashtag2"]},{"1399662329":["hashtag1","hashtag2"]},{"1399662344":["hashtag1","hashtag2"]},{"1399662331":["hashtag1","hashtag2"]},{"1399662325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399662321, 1399662327, 1399662329, 1399662344, 1399662331, 1399662325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62938165664673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:45:41.859494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_05_3588.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_08_2744.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_14_3679.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_17_2755.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_20_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_05_3588.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_08_2744.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_14_3679.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_17_2755.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_20_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":["1399662354","1399662351","1399662350","1399662353","1399662355","1399662352"],"photo_ids_order":["1399662350","1399662351","1399662352","1399662353","1399662354","1399662355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23e62a4018992501f57d0bb8f4cfb74f.jpg","text":"TemporaryFile(/tmp/multipartBody6363257170967653803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892802491,"filename":"image_06112025_16_51_17_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/16/f60fb0c2f71e704e7ca689e00551b5f1.jpg","text":"TemporaryFile(/tmp/multipartBody8898134216392186998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892802491,"filename":"image_06112025_16_51_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/16/e42d3f68d63851452e6b832ac50baf3c.jpg","text":"TemporaryFile(/tmp/multipartBody6382671347289764886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892802491,"filename":"image_06112025_16_51_05_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/504f22cc7d6cd0e89c989edc69bbc733.jpg","text":"TemporaryFile(/tmp/multipartBody3477417745741519915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892802491,"filename":"image_06112025_16_51_14_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a4aab992b1693eaad70a2168bb093ac.jpg","text":"TemporaryFile(/tmp/multipartBody8616735069753375156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892802491,"filename":"image_06112025_16_51_20_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/16/16b815dd34fda6640c8f037593e6314e.jpg","text":"TemporaryFile(/tmp/multipartBody3638588446553843634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892802491,"filename":"image_06112025_16_51_11_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399662352","file1":"1399662351","file0":"1399662350","file4":"1399662354","file5":"1399662355","file3":"1399662353"},"map_files_photo_id_array":[{"photo_id":"1399662355","filename":"file5"},{"photo_id":"1399662352","filename":"file2"},{"photo_id":"1399662354","filename":"file4"},{"photo_id":"1399662351","filename":"file1"},{"photo_id":"1399662350","filename":"file0"},{"photo_id":"1399662353","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399662354":["hashtag1","hashtag2"]},{"1399662351":["hashtag1","hashtag2"]},{"1399662350":["hashtag1","hashtag2"]},{"1399662353":["hashtag1","hashtag2"]},{"1399662355":["hashtag1","hashtag2"]},{"1399662352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399662354, 1399662351, 1399662350, 1399662353, 1399662355, 1399662352)","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 = 1399662352 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1399662352 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg";
uploaded 6 photos
time to upload: 61.641685485839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:47:11.628252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_14_9610.jpg', '/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_35_9663.jpg', '/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_44_9807.jpg', '/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_55_10672.jpg', '/home/pi/Desktop/images/16122025/14/21/image_16122025_14_22_05_9849.jpg', '/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_24_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_14_9610.jpg
/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_35_9663.jpg
/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_44_9807.jpg
/home/pi/Desktop/images/16122025/14/21/image_16122025_14_21_55_10672.jpg
/home/pi/Desktop/images/16122025/14/21/image_16122025_14_22_05_9849.jpg
/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_24_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399662381","1399662408","1399662376","1399662379","1399662448","1399662384"],"photo_ids_order":["1399662376","1399662379","1399662381","1399662384","1399662408","1399662448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/142a925fb756248b0897adc84db7fdbb.jpg","text":"TemporaryFile(/tmp/multipartBody662301736284466894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892892251,"filename":"image_16122025_14_21_44_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/343ccb4a0ed373177258e663dd1875cf.jpg","text":"TemporaryFile(/tmp/multipartBody2477295398578958581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892892251,"filename":"image_16122025_14_22_05_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b316e9f8edc6f2273f48fad1019a7716.jpg","text":"TemporaryFile(/tmp/multipartBody954300564976845167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892892251,"filename":"image_16122025_14_21_14_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c6b6008741fca71ea004c30169389c7.jpg","text":"TemporaryFile(/tmp/multipartBody5582678486015540985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892892251,"filename":"image_16122025_14_21_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/16/3cd4da8a2eb2b1dc19c4884a0ff56af2.jpg","text":"TemporaryFile(/tmp/multipartBody3067484982829324073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892892251,"filename":"image_16122025_14_22_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/16/57adc682e18d0f22f4f0edb5c70945f7.jpg","text":"TemporaryFile(/tmp/multipartBody2938723984975037233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892892251,"filename":"image_16122025_14_21_55_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399662381","file1":"1399662379","file0":"1399662376","file4":"1399662408","file5":"1399662448","file3":"1399662384"},"map_files_photo_id_array":[{"photo_id":"1399662448","filename":"file5"},{"photo_id":"1399662381","filename":"file2"},{"photo_id":"1399662408","filename":"file4"},{"photo_id":"1399662379","filename":"file1"},{"photo_id":"1399662376","filename":"file0"},{"photo_id":"1399662384","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399662381":["hashtag1","hashtag2"]},{"1399662408":["hashtag1","hashtag2"]},{"1399662376":["hashtag1","hashtag2"]},{"1399662379":["hashtag1","hashtag2"]},{"1399662448":["hashtag1","hashtag2"]},{"1399662384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399662381, 1399662408, 1399662376, 1399662379, 1399662448, 1399662384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963308572769165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:48:02.666676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_35_10780.jpg', '/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_45_9574.jpg', '/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_55_9742.jpg', '/home/pi/Desktop/images/16122025/14/22/image_16122025_14_23_04_9867.jpg', '/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_15_10778.jpg', '/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_25_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_35_10780.jpg
/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_45_9574.jpg
/home/pi/Desktop/images/16122025/14/22/image_16122025_14_22_55_9742.jpg
/home/pi/Desktop/images/16122025/14/22/image_16122025_14_23_04_9867.jpg
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_15_10778.jpg
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_25_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399662753","1399662813","1399662717","1399662683","1399662815","1399662793"],"photo_ids_order":["1399662683","1399662717","1399662753","1399662793","1399662813","1399662815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0e87a8629e2b13e97850e389abc9171.jpg","text":"TemporaryFile(/tmp/multipartBody2559165030583338247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892943315,"filename":"image_16122025_14_22_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e03df9cacffc287721e7117941236545.jpg","text":"TemporaryFile(/tmp/multipartBody8895937827767644469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892943315,"filename":"image_16122025_14_23_15_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be42e6cddbb616799bef47162a9ce76e.jpg","text":"TemporaryFile(/tmp/multipartBody1703539998521953393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892943315,"filename":"image_16122025_14_22_45_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a79216b9d48c0204e18606c69b4340f.jpg","text":"TemporaryFile(/tmp/multipartBody228398269648819091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892943315,"filename":"image_16122025_14_22_35_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44bd8ff6303a2b59e28ad322002192b2.jpg","text":"TemporaryFile(/tmp/multipartBody6656132698503641637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892943315,"filename":"image_16122025_14_23_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/16/0ab198d9b52566a315b273de7263a964.jpg","text":"TemporaryFile(/tmp/multipartBody4240717113152532674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892943315,"filename":"image_16122025_14_23_04_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399662753","file1":"1399662717","file0":"1399662683","file4":"1399662813","file5":"1399662815","file3":"1399662793"},"map_files_photo_id_array":[{"photo_id":"1399662815","filename":"file5"},{"photo_id":"1399662753","filename":"file2"},{"photo_id":"1399662813","filename":"file4"},{"photo_id":"1399662717","filename":"file1"},{"photo_id":"1399662683","filename":"file0"},{"photo_id":"1399662793","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399662753":["hashtag1","hashtag2"]},{"1399662813":["hashtag1","hashtag2"]},{"1399662717":["hashtag1","hashtag2"]},{"1399662683":["hashtag1","hashtag2"]},{"1399662815":["hashtag1","hashtag2"]},{"1399662793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399662753, 1399662813, 1399662717, 1399662683, 1399662815, 1399662793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.562660455703735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:48:42.191470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_05_3588.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_08_2744.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_14_3679.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_17_2755.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_20_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_05_3588.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_08_2744.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_11_2711.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_14_3679.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_17_2755.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_20_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":["1399663076","1399663020","1399662939","1399662977","1399662922","1399662894"],"photo_ids_order":["1399662894","1399662922","1399662939","1399662977","1399663020","1399663076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/202fcf2fcb443d17ee90eda9282ba087.jpg","text":"TemporaryFile(/tmp/multipartBody5867050077865534101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892982766,"filename":"image_06112025_16_51_20_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/16/ed411a3f22148aca0a47a1e9df1d4bf8.jpg","text":"TemporaryFile(/tmp/multipartBody4362078962547494466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892982766,"filename":"image_06112025_16_51_17_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/16/3c1c99145292d54dacbc4495243c8bac.jpg","text":"TemporaryFile(/tmp/multipartBody2398501208995459939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892982766,"filename":"image_06112025_16_51_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/16/8c3d696c0f56b022485592129e345c80.jpg","text":"TemporaryFile(/tmp/multipartBody345577227357733000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892982766,"filename":"image_06112025_16_51_14_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c04cc84f37b318788322684be718fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3555760951860603020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892982766,"filename":"image_06112025_16_51_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/16/68090eb251d16f62577854fa18c0144f.jpg","text":"TemporaryFile(/tmp/multipartBody7882993503946428510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765892982766,"filename":"image_06112025_16_51_05_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399662939","file1":"1399662922","file0":"1399662894","file4":"1399663020","file5":"1399663076","file3":"1399662977"},"map_files_photo_id_array":[{"photo_id":"1399663076","filename":"file5"},{"photo_id":"1399662939","filename":"file2"},{"photo_id":"1399663020","filename":"file4"},{"photo_id":"1399662922","filename":"file1"},{"photo_id":"1399662894","filename":"file0"},{"photo_id":"1399662977","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663076":["hashtag1","hashtag2"]},{"1399663020":["hashtag1","hashtag2"]},{"1399662939":["hashtag1","hashtag2"]},{"1399662977":["hashtag1","hashtag2"]},{"1399662922":["hashtag1","hashtag2"]},{"1399662894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663076, 1399663020, 1399662939, 1399662977, 1399662922, 1399662894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.066985845565796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:49:22.418677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_35_9783.jpg', '/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_54_9871.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_15_9702.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_24_9671.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_35_10586.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_44_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_35_9783.jpg
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_54_9871.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_15_9702.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_24_9671.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_35_10586.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_44_9540.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48316121101379395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:49:32.447308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:49:42.424535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_23_2677.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_26_3644.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_29_2512.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_33_3755.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_35_2610.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_38_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_23_2677.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_26_3644.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_29_2512.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_33_3755.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_35_2610.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_38_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":["1399663472","1399663471","1399663444","1399663411","1399663470","1399663473"],"photo_ids_order":["1399663411","1399663444","1399663470","1399663471","1399663472","1399663473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4fe35fa336166632be81add7a8f5e0cc.jpg","text":"TemporaryFile(/tmp/multipartBody6684377766756069076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893043133,"filename":"image_06112025_16_51_35_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a8fb0f103a3a6bd62f73aa8806a761e.jpg","text":"TemporaryFile(/tmp/multipartBody3923373859686533263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893043133,"filename":"image_06112025_16_51_33_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/16/6f1afd1bd4538b159fdc5750985d9d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5156739644832182565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893043133,"filename":"image_06112025_16_51_26_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/16/dfe17da30d13098de5bf2ed02d59f271.jpg","text":"TemporaryFile(/tmp/multipartBody6097588479916089390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893043133,"filename":"image_06112025_16_51_23_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/16/952bb3e18462153afd4223fb787fde38.jpg","text":"TemporaryFile(/tmp/multipartBody6057658384553849235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893043133,"filename":"image_06112025_16_51_29_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7eb491b5e3a08227e03f39574205bfd3.jpg","text":"TemporaryFile(/tmp/multipartBody2062663318177241344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893043133,"filename":"image_06112025_16_51_38_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663470","file1":"1399663444","file0":"1399663411","file4":"1399663472","file5":"1399663473","file3":"1399663471"},"map_files_photo_id_array":[{"photo_id":"1399663473","filename":"file5"},{"photo_id":"1399663470","filename":"file2"},{"photo_id":"1399663472","filename":"file4"},{"photo_id":"1399663444","filename":"file1"},{"photo_id":"1399663411","filename":"file0"},{"photo_id":"1399663471","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663472":["hashtag1","hashtag2"]},{"1399663471":["hashtag1","hashtag2"]},{"1399663444":["hashtag1","hashtag2"]},{"1399663411":["hashtag1","hashtag2"]},{"1399663470":["hashtag1","hashtag2"]},{"1399663473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663472, 1399663471, 1399663444, 1399663411, 1399663470, 1399663473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38229250907898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:50:22.725901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_35_9783.jpg', '/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_54_9871.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_15_9702.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_24_9671.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_35_10586.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_44_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_35_9783.jpg
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_54_9871.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_15_9702.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_24_9671.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_35_10586.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_44_9540.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4867587089538574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:50:32.708641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:50:42.624241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_44_2541.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_50_2676.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_53_2570.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_56_2795.jpg', '/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_59_3692.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_02_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_44_2541.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_50_2676.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_53_2570.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_56_2795.jpg
/home/pi/Desktop/images/06112025/16/51/image_06112025_16_51_59_3692.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_02_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":["1399663515","1399663505","1399663514","1399663504","1399663507","1399663491"],"photo_ids_order":["1399663491","1399663504","1399663505","1399663507","1399663514","1399663515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cbe77cbf089e5b4c82b703215ebef88.jpg","text":"TemporaryFile(/tmp/multipartBody8131059580277477339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893103365,"filename":"image_06112025_16_52_02_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/16/ddfdc9d28dac087d2b1ccdda1b04e022.jpg","text":"TemporaryFile(/tmp/multipartBody1411998794213945688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893103365,"filename":"image_06112025_16_51_53_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/16/bac2d57c39ba3981edcb9236442317ce.jpg","text":"TemporaryFile(/tmp/multipartBody4573227502907728931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893103365,"filename":"image_06112025_16_51_59_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/16/88fb09e1e719372f8468f1b628dfb857.jpg","text":"TemporaryFile(/tmp/multipartBody2676353370992303468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893103365,"filename":"image_06112025_16_51_50_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/16/0a708edc6d8f5996a98627eb9f846587.jpg","text":"TemporaryFile(/tmp/multipartBody5577708370406719864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893103365,"filename":"image_06112025_16_51_56_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/16/2bb93335a13da748c2044a602aecffa5.jpg","text":"TemporaryFile(/tmp/multipartBody2267709764625259171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893103365,"filename":"image_06112025_16_51_44_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663505","file1":"1399663504","file0":"1399663491","file4":"1399663514","file5":"1399663515","file3":"1399663507"},"map_files_photo_id_array":[{"photo_id":"1399663515","filename":"file5"},{"photo_id":"1399663505","filename":"file2"},{"photo_id":"1399663514","filename":"file4"},{"photo_id":"1399663504","filename":"file1"},{"photo_id":"1399663491","filename":"file0"},{"photo_id":"1399663507","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663515":["hashtag1","hashtag2"]},{"1399663505":["hashtag1","hashtag2"]},{"1399663514":["hashtag1","hashtag2"]},{"1399663504":["hashtag1","hashtag2"]},{"1399663507":["hashtag1","hashtag2"]},{"1399663491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663515, 1399663505, 1399663514, 1399663504, 1399663507, 1399663491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93413329124451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:51:21.844569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_35_9783.jpg', '/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_54_9871.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_15_9702.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_24_9671.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_35_10586.jpg', '/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_44_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_35_9783.jpg
/home/pi/Desktop/images/16122025/14/23/image_16122025_14_23_54_9871.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_15_9702.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_24_9671.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_35_10586.jpg
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_44_9540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663526","1399663520","1399663531","1399663528","1399663522","1399663524"],"photo_ids_order":["1399663520","1399663522","1399663524","1399663526","1399663528","1399663531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1df4a369d1e9e3f4f6e831cb7ec954e4.jpg","text":"TemporaryFile(/tmp/multipartBody1375961384699500983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893142470,"filename":"image_16122025_14_24_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/16/f6f468e7977821d2843cca091fc5c552.jpg","text":"TemporaryFile(/tmp/multipartBody3760911787178352814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893142470,"filename":"image_16122025_14_23_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/16/1778ab9e629b0efe93637782e6489650.jpg","text":"TemporaryFile(/tmp/multipartBody8830327013080135395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893142470,"filename":"image_16122025_14_24_44_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/16/f39c67df4cc0bce4b1b7e845a0d848b9.jpg","text":"TemporaryFile(/tmp/multipartBody6583442376605845330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893142470,"filename":"image_16122025_14_24_35_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/16/b14f9b06667fbfe57b52cc44cc96bed0.jpg","text":"TemporaryFile(/tmp/multipartBody3370153479038848730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893142470,"filename":"image_16122025_14_23_54_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e60664061cc51b0f7279ee0acee100e.jpg","text":"TemporaryFile(/tmp/multipartBody8960882652729966110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893142470,"filename":"image_16122025_14_24_15_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663524","file1":"1399663522","file0":"1399663520","file4":"1399663528","file5":"1399663531","file3":"1399663526"},"map_files_photo_id_array":[{"photo_id":"1399663531","filename":"file5"},{"photo_id":"1399663524","filename":"file2"},{"photo_id":"1399663528","filename":"file4"},{"photo_id":"1399663522","filename":"file1"},{"photo_id":"1399663520","filename":"file0"},{"photo_id":"1399663526","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663526":["hashtag1","hashtag2"]},{"1399663520":["hashtag1","hashtag2"]},{"1399663531":["hashtag1","hashtag2"]},{"1399663528":["hashtag1","hashtag2"]},{"1399663522":["hashtag1","hashtag2"]},{"1399663524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663526, 1399663520, 1399663531, 1399663528, 1399663522, 1399663524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.342379093170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:52:02.592514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_55_10664.jpg', '/home/pi/Desktop/images/16122025/14/25/image_16122025_14_25_14_9727.jpg', '/home/pi/Desktop/images/16122025/14/25/image_16122025_14_25_55_10626.jpg', '/home/pi/Desktop/images/16122025/14/27/image_16122025_14_27_15_9656.jpg', '/home/pi/Desktop/images/16122025/14/27/image_16122025_14_27_24_9621.jpg', '/home/pi/Desktop/images/16122025/14/27/image_16122025_14_27_55_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/24/image_16122025_14_24_55_10664.jpg
/home/pi/Desktop/images/16122025/14/25/image_16122025_14_25_14_9727.jpg
/home/pi/Desktop/images/16122025/14/25/image_16122025_14_25_55_10626.jpg
/home/pi/Desktop/images/16122025/14/27/image_16122025_14_27_15_9656.jpg
/home/pi/Desktop/images/16122025/14/27/image_16122025_14_27_24_9621.jpg
/home/pi/Desktop/images/16122025/14/27/image_16122025_14_27_55_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663533","1399663541","1399663535","1399663543","1399663537","1399663539"],"photo_ids_order":["1399663533","1399663535","1399663537","1399663539","1399663541","1399663543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5da16618a34700d9a28223164fb11fec.jpg","text":"TemporaryFile(/tmp/multipartBody3327404968274998304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893183199,"filename":"image_16122025_14_24_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34c70c0ace6076d5efb22d5410aca0a3.jpg","text":"TemporaryFile(/tmp/multipartBody3182857614627707166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893183199,"filename":"image_16122025_14_27_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca7faeeaff1149cc486e49f651c90d12.jpg","text":"TemporaryFile(/tmp/multipartBody281245769353185470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893183199,"filename":"image_16122025_14_25_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/16/a9df784289057d43fb38f036ef4f04b5.jpg","text":"TemporaryFile(/tmp/multipartBody228142577373370278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893183199,"filename":"image_16122025_14_27_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/16/a7d8925c02bd0a704ea854c5b176ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody5971286285566710258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893183199,"filename":"image_16122025_14_25_55_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/16/29fc6ae923b809311d67230c9238c17b.jpg","text":"TemporaryFile(/tmp/multipartBody3796458856174290588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893183199,"filename":"image_16122025_14_27_15_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663537","file1":"1399663535","file0":"1399663533","file4":"1399663541","file5":"1399663543","file3":"1399663539"},"map_files_photo_id_array":[{"photo_id":"1399663543","filename":"file5"},{"photo_id":"1399663537","filename":"file2"},{"photo_id":"1399663541","filename":"file4"},{"photo_id":"1399663535","filename":"file1"},{"photo_id":"1399663533","filename":"file0"},{"photo_id":"1399663539","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663533":["hashtag1","hashtag2"]},{"1399663541":["hashtag1","hashtag2"]},{"1399663535":["hashtag1","hashtag2"]},{"1399663543":["hashtag1","hashtag2"]},{"1399663537":["hashtag1","hashtag2"]},{"1399663539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663533, 1399663541, 1399663535, 1399663543, 1399663537, 1399663539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32105112075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:52:42.064905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_05_2665.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_08_3756.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_11_2604.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_14_2635.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_17_3711.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_20_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_05_2665.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_08_3756.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_11_2604.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_14_2635.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_17_3711.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_20_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":["1399663562","1399663559","1399663567","1399663569","1399663566","1399663551"],"photo_ids_order":["1399663551","1399663559","1399663562","1399663566","1399663567","1399663569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac202ffe092b5a1a063b91af9606b584.jpg","text":"TemporaryFile(/tmp/multipartBody170972899298828176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893222739,"filename":"image_06112025_16_52_11_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/47ca1c49d15846f79c23a506ec025cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3893659182141867665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893222739,"filename":"image_06112025_16_52_08_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/16/fef3b6b0f98418b86d92c2a5b3741c84.jpg","text":"TemporaryFile(/tmp/multipartBody2038513903197710977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893222739,"filename":"image_06112025_16_52_17_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/16/9183ff8c5079ac337811ca6b82e040cd.jpg","text":"TemporaryFile(/tmp/multipartBody8730879304344843271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893222739,"filename":"image_06112025_16_52_20_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/16/336e2fa0fb7cf69883699bd9b9e6fb10.jpg","text":"TemporaryFile(/tmp/multipartBody4534826759672223489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893222739,"filename":"image_06112025_16_52_14_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/16/2a3f47c3135d57a8d6ac33cae2f05223.jpg","text":"TemporaryFile(/tmp/multipartBody6623828993032745375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893222739,"filename":"image_06112025_16_52_05_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663562","file1":"1399663559","file0":"1399663551","file4":"1399663567","file5":"1399663569","file3":"1399663566"},"map_files_photo_id_array":[{"photo_id":"1399663569","filename":"file5"},{"photo_id":"1399663562","filename":"file2"},{"photo_id":"1399663567","filename":"file4"},{"photo_id":"1399663559","filename":"file1"},{"photo_id":"1399663551","filename":"file0"},{"photo_id":"1399663566","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663562":["hashtag1","hashtag2"]},{"1399663559":["hashtag1","hashtag2"]},{"1399663567":["hashtag1","hashtag2"]},{"1399663569":["hashtag1","hashtag2"]},{"1399663566":["hashtag1","hashtag2"]},{"1399663551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663562, 1399663559, 1399663567, 1399663569, 1399663566, 1399663551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.777002811431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:53:22.355924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/27/image_16122025_14_28_05_9704.jpg', '/home/pi/Desktop/images/16122025/14/28/image_16122025_14_28_15_9813.jpg', '/home/pi/Desktop/images/16122025/14/28/image_16122025_14_28_24_9730.jpg', '/home/pi/Desktop/images/16122025/14/28/image_16122025_14_28_45_9699.jpg', '/home/pi/Desktop/images/16122025/14/29/image_16122025_14_29_15_9788.jpg', '/home/pi/Desktop/images/16122025/14/29/image_16122025_14_29_25_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/27/image_16122025_14_28_05_9704.jpg
/home/pi/Desktop/images/16122025/14/28/image_16122025_14_28_15_9813.jpg
/home/pi/Desktop/images/16122025/14/28/image_16122025_14_28_24_9730.jpg
/home/pi/Desktop/images/16122025/14/28/image_16122025_14_28_45_9699.jpg
/home/pi/Desktop/images/16122025/14/29/image_16122025_14_29_15_9788.jpg
/home/pi/Desktop/images/16122025/14/29/image_16122025_14_29_25_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663574","1399663577","1399663594","1399663582","1399663579","1399663575"],"photo_ids_order":["1399663574","1399663575","1399663577","1399663579","1399663582","1399663594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31eca64ab3fdda9dda22f418f2123433.jpg","text":"TemporaryFile(/tmp/multipartBody7324793543193501974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893262973,"filename":"image_16122025_14_28_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/16/8714953342caa7098361d8ccea1a53ed.jpg","text":"TemporaryFile(/tmp/multipartBody1973425163430797645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893262973,"filename":"image_16122025_14_28_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/38715feebba1030afcd86105fa747b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4472856564745094013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893262973,"filename":"image_16122025_14_29_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/16/0c24ad5b8c30b227e2f50fd587148be9.jpg","text":"TemporaryFile(/tmp/multipartBody7911824911527542092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893262973,"filename":"image_16122025_14_29_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e51ec687e3caf5dd63f62c7384d1207.jpg","text":"TemporaryFile(/tmp/multipartBody5116458968627088760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893262973,"filename":"image_16122025_14_28_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c24fd5b43a8c46217f5b3e9b7edbf595.jpg","text":"TemporaryFile(/tmp/multipartBody15568261134451258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893262973,"filename":"image_16122025_14_28_15_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663577","file1":"1399663575","file0":"1399663574","file4":"1399663582","file5":"1399663594","file3":"1399663579"},"map_files_photo_id_array":[{"photo_id":"1399663594","filename":"file5"},{"photo_id":"1399663577","filename":"file2"},{"photo_id":"1399663582","filename":"file4"},{"photo_id":"1399663575","filename":"file1"},{"photo_id":"1399663574","filename":"file0"},{"photo_id":"1399663579","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663574":["hashtag1","hashtag2"]},{"1399663577":["hashtag1","hashtag2"]},{"1399663594":["hashtag1","hashtag2"]},{"1399663582":["hashtag1","hashtag2"]},{"1399663579":["hashtag1","hashtag2"]},{"1399663575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663574, 1399663577, 1399663594, 1399663582, 1399663579, 1399663575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.669095516204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:54:03.063713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/29/image_16122025_14_29_34_9779.jpg', '/home/pi/Desktop/images/16122025/14/30/image_16122025_14_30_14_10056.jpg', '/home/pi/Desktop/images/16122025/14/30/image_16122025_14_30_25_10831.jpg', '/home/pi/Desktop/images/16122025/14/30/image_16122025_14_31_05_10722.jpg', '/home/pi/Desktop/images/16122025/14/31/image_16122025_14_31_45_9756.jpg', '/home/pi/Desktop/images/16122025/14/31/image_16122025_14_32_04_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/29/image_16122025_14_29_34_9779.jpg
/home/pi/Desktop/images/16122025/14/30/image_16122025_14_30_14_10056.jpg
/home/pi/Desktop/images/16122025/14/30/image_16122025_14_30_25_10831.jpg
/home/pi/Desktop/images/16122025/14/30/image_16122025_14_31_05_10722.jpg
/home/pi/Desktop/images/16122025/14/31/image_16122025_14_31_45_9756.jpg
/home/pi/Desktop/images/16122025/14/31/image_16122025_14_32_04_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":["1399663598","1399663602","1399663604","1399663600","1399663606","1399663596"],"photo_ids_order":["1399663596","1399663598","1399663600","1399663602","1399663604","1399663606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e722cb5548bb6d778f4126d34a7c69fe.jpg","text":"TemporaryFile(/tmp/multipartBody9188717216355760425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893303708,"filename":"image_16122025_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/16/75aa5634b2600118824ce4597471d735.jpg","text":"TemporaryFile(/tmp/multipartBody8932671223691882315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893303708,"filename":"image_16122025_14_31_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/669f7401c570ed6513703ccdc3f4b865.jpg","text":"TemporaryFile(/tmp/multipartBody94165196062646320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893303708,"filename":"image_16122025_14_31_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/414a973114ce5c445bf5c0d7f309fe39.jpg","text":"TemporaryFile(/tmp/multipartBody6965675018622469712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893303708,"filename":"image_16122025_14_30_25_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87cfba4f56898babff630e25c742b8f2.jpg","text":"TemporaryFile(/tmp/multipartBody2119051594278812323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893303708,"filename":"image_16122025_14_32_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/16/77fb760e69a30b8aa31ffdc3577d11b0.jpg","text":"TemporaryFile(/tmp/multipartBody5793552619121712827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893303708,"filename":"image_16122025_14_29_34_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663600","file1":"1399663598","file0":"1399663596","file4":"1399663604","file5":"1399663606","file3":"1399663602"},"map_files_photo_id_array":[{"photo_id":"1399663606","filename":"file5"},{"photo_id":"1399663600","filename":"file2"},{"photo_id":"1399663604","filename":"file4"},{"photo_id":"1399663598","filename":"file1"},{"photo_id":"1399663596","filename":"file0"},{"photo_id":"1399663602","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663598":["hashtag1","hashtag2"]},{"1399663602":["hashtag1","hashtag2"]},{"1399663604":["hashtag1","hashtag2"]},{"1399663600":["hashtag1","hashtag2"]},{"1399663606":["hashtag1","hashtag2"]},{"1399663596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663598, 1399663602, 1399663604, 1399663600, 1399663606, 1399663596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4214928150177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:54:42.539250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_23_2539.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_26_3871.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_29_2647.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_32_2554.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_35_3627.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_38_2869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_23_2539.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_26_3871.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_29_2647.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_32_2554.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_35_3627.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_38_2869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663635","1399663631","1399663625","1399663636","1399663618","1399663623"],"photo_ids_order":["1399663618","1399663623","1399663625","1399663631","1399663635","1399663636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/efaa98f4cbdf353a82d5d59a5471505b.jpg","text":"TemporaryFile(/tmp/multipartBody5568515838255460174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893343236,"filename":"image_06112025_16_52_35_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/16/602edf2080f1c9c276592bd4bddcf399.jpg","text":"TemporaryFile(/tmp/multipartBody3070338254223180243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893343236,"filename":"image_06112025_16_52_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/16/970c72692206e2ea766d20e44fe23ece.jpg","text":"TemporaryFile(/tmp/multipartBody5033121585998686619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893343236,"filename":"image_06112025_16_52_29_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/16/f60d7c1e7e9f959d19bf52afb55f9df3.jpg","text":"TemporaryFile(/tmp/multipartBody5303733293633516718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893343236,"filename":"image_06112025_16_52_38_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/16/141fa6e0cec33ed5eab7fa700820beab.jpg","text":"TemporaryFile(/tmp/multipartBody4149960466956788825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893343236,"filename":"image_06112025_16_52_23_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/16/513261276c3137a27fae9cefd4970a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2356338884756175835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893343236,"filename":"image_06112025_16_52_26_3871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663625","file1":"1399663623","file0":"1399663618","file4":"1399663635","file5":"1399663636","file3":"1399663631"},"map_files_photo_id_array":[{"photo_id":"1399663636","filename":"file5"},{"photo_id":"1399663625","filename":"file2"},{"photo_id":"1399663635","filename":"file4"},{"photo_id":"1399663623","filename":"file1"},{"photo_id":"1399663618","filename":"file0"},{"photo_id":"1399663631","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663635":["hashtag1","hashtag2"]},{"1399663631":["hashtag1","hashtag2"]},{"1399663625":["hashtag1","hashtag2"]},{"1399663636":["hashtag1","hashtag2"]},{"1399663618":["hashtag1","hashtag2"]},{"1399663623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663635, 1399663631, 1399663625, 1399663636, 1399663618, 1399663623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02544689178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:55:22.805741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/32/image_16122025_14_32_15_10752.jpg', '/home/pi/Desktop/images/16122025/14/32/image_16122025_14_32_34_9735.jpg', '/home/pi/Desktop/images/16122025/14/32/image_16122025_14_32_45_10798.jpg', '/home/pi/Desktop/images/16122025/14/32/image_16122025_14_33_04_9856.jpg', '/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_14_9733.jpg', '/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_34_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/32/image_16122025_14_32_15_10752.jpg
/home/pi/Desktop/images/16122025/14/32/image_16122025_14_32_34_9735.jpg
/home/pi/Desktop/images/16122025/14/32/image_16122025_14_32_45_10798.jpg
/home/pi/Desktop/images/16122025/14/32/image_16122025_14_33_04_9856.jpg
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_14_9733.jpg
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_34_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663653","1399663655","1399663658","1399663645","1399663648","1399663650"],"photo_ids_order":["1399663645","1399663648","1399663650","1399663653","1399663655","1399663658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e158e4f46b1ccc2e8cc23a98b026302.jpg","text":"TemporaryFile(/tmp/multipartBody8504622438457751735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893383391,"filename":"image_16122025_14_33_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/16/465ef5eb1123c1c3b752f9cbb5e0e2d1.jpg","text":"TemporaryFile(/tmp/multipartBody8874564207553454715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893383391,"filename":"image_16122025_14_33_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/16/4b731c435f35a2da72815ca3207f3e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8540547885770481605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893383391,"filename":"image_16122025_14_33_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/16/bad401d9d5a323a74e3f2f4831aea8a5.jpg","text":"TemporaryFile(/tmp/multipartBody612384848166420840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893383391,"filename":"image_16122025_14_32_15_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1913feab902a2b07ec37293d372dc896.jpg","text":"TemporaryFile(/tmp/multipartBody6557062209420869675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893383391,"filename":"image_16122025_14_32_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/16/81da3bc0f3fb2d78a4118a3dabb190af.jpg","text":"TemporaryFile(/tmp/multipartBody3573752736712832701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893383391,"filename":"image_16122025_14_32_45_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663650","file1":"1399663648","file0":"1399663645","file4":"1399663655","file5":"1399663658","file3":"1399663653"},"map_files_photo_id_array":[{"photo_id":"1399663658","filename":"file5"},{"photo_id":"1399663650","filename":"file2"},{"photo_id":"1399663655","filename":"file4"},{"photo_id":"1399663648","filename":"file1"},{"photo_id":"1399663645","filename":"file0"},{"photo_id":"1399663653","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663653":["hashtag1","hashtag2"]},{"1399663655":["hashtag1","hashtag2"]},{"1399663658":["hashtag1","hashtag2"]},{"1399663645":["hashtag1","hashtag2"]},{"1399663648":["hashtag1","hashtag2"]},{"1399663650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663653, 1399663655, 1399663658, 1399663645, 1399663648, 1399663650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70557880401611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:56:02.456580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_44_9639.jpg', '/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_55_10667.jpg', '/home/pi/Desktop/images/16122025/14/33/image_16122025_14_34_04_9747.jpg', '/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_24_9513.jpg', '/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_34_9618.jpg', '/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_45_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_44_9639.jpg
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_55_10667.jpg
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_34_04_9747.jpg
/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_24_9513.jpg
/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_34_9618.jpg
/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_45_10631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5147573947906494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 14:56:12.071538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 14:56:22.033070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_44_9639.jpg', '/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_55_10667.jpg', '/home/pi/Desktop/images/16122025/14/33/image_16122025_14_34_04_9747.jpg', '/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_24_9513.jpg', '/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_34_9618.jpg', '/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_45_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_44_9639.jpg
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_33_55_10667.jpg
/home/pi/Desktop/images/16122025/14/33/image_16122025_14_34_04_9747.jpg
/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_24_9513.jpg
/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_34_9618.jpg
/home/pi/Desktop/images/16122025/14/34/image_16122025_14_34_45_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":["1399663673","1399663675","1399663687","1399663668","1399663677","1399663671"],"photo_ids_order":["1399663668","1399663671","1399663673","1399663675","1399663677","1399663687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/351df5fe7c5c2cbaaee0b6d1a7eeb78e.jpg","text":"TemporaryFile(/tmp/multipartBody2140465793405159001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893442645,"filename":"image_16122025_14_34_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/16/9c8040b4857267dc28088272f2211eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8002274411413872851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893442645,"filename":"image_16122025_14_34_24_9513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25a07c330a1b1d0e2f4c544a261125f4.jpg","text":"TemporaryFile(/tmp/multipartBody5731036829907371349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893442645,"filename":"image_16122025_14_34_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/16/dd503cd53148d2dfb5ebd95ca2f4107e.jpg","text":"TemporaryFile(/tmp/multipartBody7344053311996138169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893442645,"filename":"image_16122025_14_33_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/16/dbe692ede53d74e5fd932eee16fe5efd.jpg","text":"TemporaryFile(/tmp/multipartBody6863266588672977008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893442645,"filename":"image_16122025_14_34_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/16/0d814f3c9aa9c5e510515deb615266c1.jpg","text":"TemporaryFile(/tmp/multipartBody789027435634586032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893442645,"filename":"image_16122025_14_33_55_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663673","file1":"1399663671","file0":"1399663668","file4":"1399663677","file5":"1399663687","file3":"1399663675"},"map_files_photo_id_array":[{"photo_id":"1399663687","filename":"file5"},{"photo_id":"1399663673","filename":"file2"},{"photo_id":"1399663677","filename":"file4"},{"photo_id":"1399663671","filename":"file1"},{"photo_id":"1399663668","filename":"file0"},{"photo_id":"1399663675","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663673":["hashtag1","hashtag2"]},{"1399663675":["hashtag1","hashtag2"]},{"1399663687":["hashtag1","hashtag2"]},{"1399663668":["hashtag1","hashtag2"]},{"1399663677":["hashtag1","hashtag2"]},{"1399663671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663673, 1399663675, 1399663687, 1399663668, 1399663677, 1399663671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68194246292114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:57:02.878932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/34/image_16122025_14_35_05_10542.jpg', '/home/pi/Desktop/images/16122025/14/36/image_16122025_14_36_25_10878.jpg', '/home/pi/Desktop/images/16122025/14/36/image_16122025_14_36_34_9566.jpg', '/home/pi/Desktop/images/16122025/14/36/image_16122025_14_37_04_9602.jpg', '/home/pi/Desktop/images/16122025/14/37/image_16122025_14_37_34_9647.jpg', '/home/pi/Desktop/images/16122025/14/37/image_16122025_14_38_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/34/image_16122025_14_35_05_10542.jpg
/home/pi/Desktop/images/16122025/14/36/image_16122025_14_36_25_10878.jpg
/home/pi/Desktop/images/16122025/14/36/image_16122025_14_36_34_9566.jpg
/home/pi/Desktop/images/16122025/14/36/image_16122025_14_37_04_9602.jpg
/home/pi/Desktop/images/16122025/14/37/image_16122025_14_37_34_9647.jpg
/home/pi/Desktop/images/16122025/14/37/image_16122025_14_38_05_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663697","1399663701","1399663691","1399663693","1399663699","1399663695"],"photo_ids_order":["1399663691","1399663693","1399663695","1399663697","1399663699","1399663701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52c55c58824042461e4c3e127af26591.jpg","text":"TemporaryFile(/tmp/multipartBody2095681527762779920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893483525,"filename":"image_16122025_14_37_04_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1d5eaedcc0b26dfe391b874ffa59c89.jpg","text":"TemporaryFile(/tmp/multipartBody2385380737667895865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893483525,"filename":"image_16122025_14_38_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1b8d4065ca6dc52c709413d1d4a0696.jpg","text":"TemporaryFile(/tmp/multipartBody4567634084645191236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893483525,"filename":"image_16122025_14_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/16/5c27b7cae9a0785932f10346b429facd.jpg","text":"TemporaryFile(/tmp/multipartBody32454047937789862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893483525,"filename":"image_16122025_14_36_25_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/16/6204cf252b8265b0fe82628f7e111828.jpg","text":"TemporaryFile(/tmp/multipartBody1396169505764549209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893483525,"filename":"image_16122025_14_37_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/16/88723761d43a0fe00cde574b0039a237.jpg","text":"TemporaryFile(/tmp/multipartBody1079220581083361240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893483525,"filename":"image_16122025_14_36_34_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663695","file1":"1399663693","file0":"1399663691","file4":"1399663699","file5":"1399663701","file3":"1399663697"},"map_files_photo_id_array":[{"photo_id":"1399663701","filename":"file5"},{"photo_id":"1399663695","filename":"file2"},{"photo_id":"1399663699","filename":"file4"},{"photo_id":"1399663693","filename":"file1"},{"photo_id":"1399663691","filename":"file0"},{"photo_id":"1399663697","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663697":["hashtag1","hashtag2"]},{"1399663701":["hashtag1","hashtag2"]},{"1399663691":["hashtag1","hashtag2"]},{"1399663693":["hashtag1","hashtag2"]},{"1399663699":["hashtag1","hashtag2"]},{"1399663695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663697, 1399663701, 1399663691, 1399663693, 1399663699, 1399663695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97278428077698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:57:42.297040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_41_2586.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_44_3649.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_47_2666.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_50_2632.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_53_3728.jpg', '/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_56_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_41_2586.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_44_3649.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_47_2666.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_50_2632.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_53_3728.jpg
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_56_2545.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663710","1399663709","1399663712","1399663706","1399663711","1399663708"],"photo_ids_order":["1399663706","1399663708","1399663709","1399663710","1399663711","1399663712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5d1d749daf865f76a23866b09603c0a.jpg","text":"TemporaryFile(/tmp/multipartBody9043143011856038843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893523020,"filename":"image_06112025_16_52_50_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/16/88823461b5e17dc0bbf8a8b2ee1cf46c.jpg","text":"TemporaryFile(/tmp/multipartBody1480671517409703658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893523020,"filename":"image_06112025_16_52_47_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c2502875daa5448da304902a510da8e.jpg","text":"TemporaryFile(/tmp/multipartBody1917541565555187597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893523020,"filename":"image_06112025_16_52_56_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fbb13d5875bae2cf483b4d1eb14d49d.jpg","text":"TemporaryFile(/tmp/multipartBody8852232396286006286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893523020,"filename":"image_06112025_16_52_41_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/16/05246f627bad1897aac840c226193584.jpg","text":"TemporaryFile(/tmp/multipartBody173089317607364217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893523020,"filename":"image_06112025_16_52_53_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/16/c4ad74119502482959f40e39aa221aa4.jpg","text":"TemporaryFile(/tmp/multipartBody5459466835606401361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893523020,"filename":"image_06112025_16_52_44_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663709","file1":"1399663708","file0":"1399663706","file4":"1399663711","file5":"1399663712","file3":"1399663710"},"map_files_photo_id_array":[{"photo_id":"1399663712","filename":"file5"},{"photo_id":"1399663709","filename":"file2"},{"photo_id":"1399663711","filename":"file4"},{"photo_id":"1399663708","filename":"file1"},{"photo_id":"1399663706","filename":"file0"},{"photo_id":"1399663710","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663710":["hashtag1","hashtag2"]},{"1399663709":["hashtag1","hashtag2"]},{"1399663712":["hashtag1","hashtag2"]},{"1399663706":["hashtag1","hashtag2"]},{"1399663711":["hashtag1","hashtag2"]},{"1399663708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663710, 1399663709, 1399663712, 1399663706, 1399663711, 1399663708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.280617237091064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 14:59:03.634269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/38/image_16122025_14_38_24_9622.jpg', '/home/pi/Desktop/images/16122025/14/38/image_16122025_14_38_44_9665.jpg', '/home/pi/Desktop/images/16122025/14/38/image_16122025_14_38_54_9665.jpg', '/home/pi/Desktop/images/16122025/14/38/image_16122025_14_39_05_10643.jpg', '/home/pi/Desktop/images/16122025/14/39/image_16122025_14_39_14_9615.jpg', '/home/pi/Desktop/images/16122025/14/39/image_16122025_14_39_25_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/38/image_16122025_14_38_24_9622.jpg
/home/pi/Desktop/images/16122025/14/38/image_16122025_14_38_44_9665.jpg
/home/pi/Desktop/images/16122025/14/38/image_16122025_14_38_54_9665.jpg
/home/pi/Desktop/images/16122025/14/38/image_16122025_14_39_05_10643.jpg
/home/pi/Desktop/images/16122025/14/39/image_16122025_14_39_14_9615.jpg
/home/pi/Desktop/images/16122025/14/39/image_16122025_14_39_25_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663746","1399663733","1399663742","1399663744","1399663740","1399663737"],"photo_ids_order":["1399663733","1399663737","1399663740","1399663742","1399663744","1399663746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1eadd6eb669256922047b2f1f809be26.jpg","text":"TemporaryFile(/tmp/multipartBody4807690843430425622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893604349,"filename":"image_16122025_14_39_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/16/e728a5ab0af7f2a050f36ec4ea9aac0c.jpg","text":"TemporaryFile(/tmp/multipartBody5211863342931154199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893604349,"filename":"image_16122025_14_38_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/763423833e3994318d3750300d886ae7.jpg","text":"TemporaryFile(/tmp/multipartBody6512573292858240136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893604349,"filename":"image_16122025_14_39_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae2ad7d691c59b815017027c91df6899.jpg","text":"TemporaryFile(/tmp/multipartBody6058040775828472443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893604349,"filename":"image_16122025_14_39_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88e9409c5752e9197b5780d8447c1675.jpg","text":"TemporaryFile(/tmp/multipartBody6854140531894635919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893604349,"filename":"image_16122025_14_38_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/16/6bbb13eed6b10e497db60937e2968711.jpg","text":"TemporaryFile(/tmp/multipartBody2022175155881283952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893604349,"filename":"image_16122025_14_38_44_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663740","file1":"1399663737","file0":"1399663733","file4":"1399663744","file5":"1399663746","file3":"1399663742"},"map_files_photo_id_array":[{"photo_id":"1399663746","filename":"file5"},{"photo_id":"1399663740","filename":"file2"},{"photo_id":"1399663744","filename":"file4"},{"photo_id":"1399663737","filename":"file1"},{"photo_id":"1399663733","filename":"file0"},{"photo_id":"1399663742","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663746":["hashtag1","hashtag2"]},{"1399663733":["hashtag1","hashtag2"]},{"1399663742":["hashtag1","hashtag2"]},{"1399663744":["hashtag1","hashtag2"]},{"1399663740":["hashtag1","hashtag2"]},{"1399663737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663746, 1399663733, 1399663742, 1399663744, 1399663740, 1399663737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.283313035964966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 14:59:42.722051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_59_2681.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_02_3704.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_05_2678.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_08_2653.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_11_3627.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_14_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/52/image_06112025_16_52_59_2681.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_02_3704.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_05_2678.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_08_2653.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_11_3627.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_14_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":["1399663763","1399663760","1399663765","1399663750","1399663768","1399663767"],"photo_ids_order":["1399663750","1399663760","1399663763","1399663765","1399663767","1399663768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ebabdfa91dcbbcea60ca784197fe368e.jpg","text":"TemporaryFile(/tmp/multipartBody2307396481642947273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893643471,"filename":"image_06112025_16_53_05_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/16/69c4bb04027cbe2a20006316b88a8a19.jpg","text":"TemporaryFile(/tmp/multipartBody1759861910055400449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893643471,"filename":"image_06112025_16_53_02_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/16/d0cb635c95ff091a5b03194564091e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4697835436653812157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893643471,"filename":"image_06112025_16_53_08_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae379e69a207f89e8f8f9505ab846fff.jpg","text":"TemporaryFile(/tmp/multipartBody7693743410213717809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893643471,"filename":"image_06112025_16_52_59_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/16/64f43b72ed8f7e8d574d3cb32f803d69.jpg","text":"TemporaryFile(/tmp/multipartBody5552565214183247810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893643471,"filename":"image_06112025_16_53_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/16/8a03b1c657962680e9d5e4a6ce93e797.jpg","text":"TemporaryFile(/tmp/multipartBody1642370321455501418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893643471,"filename":"image_06112025_16_53_11_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663763","file1":"1399663760","file0":"1399663750","file4":"1399663767","file5":"1399663768","file3":"1399663765"},"map_files_photo_id_array":[{"photo_id":"1399663768","filename":"file5"},{"photo_id":"1399663763","filename":"file2"},{"photo_id":"1399663767","filename":"file4"},{"photo_id":"1399663760","filename":"file1"},{"photo_id":"1399663750","filename":"file0"},{"photo_id":"1399663765","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663763":["hashtag1","hashtag2"]},{"1399663760":["hashtag1","hashtag2"]},{"1399663765":["hashtag1","hashtag2"]},{"1399663750":["hashtag1","hashtag2"]},{"1399663768":["hashtag1","hashtag2"]},{"1399663767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663763, 1399663760, 1399663765, 1399663750, 1399663768, 1399663767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8469934463501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:00:21.961881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/39/image_16122025_14_40_04_10609.jpg', '/home/pi/Desktop/images/16122025/14/40/image_16122025_14_40_14_9733.jpg', '/home/pi/Desktop/images/16122025/14/41/image_16122025_14_41_14_9859.jpg', '/home/pi/Desktop/images/16122025/14/41/image_16122025_14_41_54_9743.jpg', '/home/pi/Desktop/images/16122025/14/42/image_16122025_14_43_04_9785.jpg', '/home/pi/Desktop/images/16122025/14/43/image_16122025_14_43_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/39/image_16122025_14_40_04_10609.jpg
/home/pi/Desktop/images/16122025/14/40/image_16122025_14_40_14_9733.jpg
/home/pi/Desktop/images/16122025/14/41/image_16122025_14_41_14_9859.jpg
/home/pi/Desktop/images/16122025/14/41/image_16122025_14_41_54_9743.jpg
/home/pi/Desktop/images/16122025/14/42/image_16122025_14_43_04_9785.jpg
/home/pi/Desktop/images/16122025/14/43/image_16122025_14_43_15_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663778","1399663775","1399663792","1399663780","1399663788","1399663782"],"photo_ids_order":["1399663775","1399663778","1399663780","1399663782","1399663788","1399663792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e3a657861c5ddfc524d0507561469da.jpg","text":"TemporaryFile(/tmp/multipartBody6711650707051309001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893682535,"filename":"image_16122025_14_40_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/16/7b5bc39ed47a5dfcf4d06ca75c514464.jpg","text":"TemporaryFile(/tmp/multipartBody2400412432905417214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893682535,"filename":"image_16122025_14_40_04_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b824de5a6fd9ddc652f2ce4376a68664.jpg","text":"TemporaryFile(/tmp/multipartBody3037966350106838808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893682535,"filename":"image_16122025_14_43_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e3077603f1bf325ee31f1d12beab6e2.jpg","text":"TemporaryFile(/tmp/multipartBody646627958245407292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893682535,"filename":"image_16122025_14_41_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/16/8e26dcfe180460684be55966d0023fd5.jpg","text":"TemporaryFile(/tmp/multipartBody6910950759763703494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893682535,"filename":"image_16122025_14_43_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ffd969d2693a36a464ff9abb77d01a7.jpg","text":"TemporaryFile(/tmp/multipartBody5320836854819536436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893682535,"filename":"image_16122025_14_41_54_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663780","file1":"1399663778","file0":"1399663775","file4":"1399663788","file5":"1399663792","file3":"1399663782"},"map_files_photo_id_array":[{"photo_id":"1399663792","filename":"file5"},{"photo_id":"1399663780","filename":"file2"},{"photo_id":"1399663788","filename":"file4"},{"photo_id":"1399663778","filename":"file1"},{"photo_id":"1399663775","filename":"file0"},{"photo_id":"1399663782","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663778":["hashtag1","hashtag2"]},{"1399663775":["hashtag1","hashtag2"]},{"1399663792":["hashtag1","hashtag2"]},{"1399663780":["hashtag1","hashtag2"]},{"1399663788":["hashtag1","hashtag2"]},{"1399663782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663778, 1399663775, 1399663792, 1399663780, 1399663788, 1399663782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68288564682007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:01:02.790630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/43/image_16122025_14_43_34_9823.jpg', '/home/pi/Desktop/images/16122025/14/44/image_16122025_14_44_25_9692.jpg', '/home/pi/Desktop/images/16122025/14/44/image_16122025_14_44_34_9624.jpg', '/home/pi/Desktop/images/16122025/14/44/image_16122025_14_44_55_10650.jpg', '/home/pi/Desktop/images/16122025/14/45/image_16122025_14_45_14_9765.jpg', '/home/pi/Desktop/images/16122025/14/45/image_16122025_14_45_44_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/43/image_16122025_14_43_34_9823.jpg
/home/pi/Desktop/images/16122025/14/44/image_16122025_14_44_25_9692.jpg
/home/pi/Desktop/images/16122025/14/44/image_16122025_14_44_34_9624.jpg
/home/pi/Desktop/images/16122025/14/44/image_16122025_14_44_55_10650.jpg
/home/pi/Desktop/images/16122025/14/45/image_16122025_14_45_14_9765.jpg
/home/pi/Desktop/images/16122025/14/45/image_16122025_14_45_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":["1399663803","1399663806","1399663799","1399663795","1399663797","1399663801"],"photo_ids_order":["1399663795","1399663797","1399663799","1399663801","1399663803","1399663806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e09bd1a3bb66ea2e190e63f5bfeed22c.jpg","text":"TemporaryFile(/tmp/multipartBody3972049032935857846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893723440,"filename":"image_16122025_14_45_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/16/560a1ec147715c9530a6229939b3f3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6264497672873644956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893723440,"filename":"image_16122025_14_45_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/16/13ec42827b9459f595cb3a1d6386920d.jpg","text":"TemporaryFile(/tmp/multipartBody3701251426340007106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893723440,"filename":"image_16122025_14_44_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83f1463640d85578303ed5822148b64d.jpg","text":"TemporaryFile(/tmp/multipartBody7409522924242613156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893723440,"filename":"image_16122025_14_43_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a8b6f9e117f5e86c276cf4cd5f91a9b.jpg","text":"TemporaryFile(/tmp/multipartBody4813527687526447475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893723440,"filename":"image_16122025_14_44_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/16/070118ab3f08b09a1640b9cbbe481eba.jpg","text":"TemporaryFile(/tmp/multipartBody5402970334732836520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893723440,"filename":"image_16122025_14_44_55_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663799","file1":"1399663797","file0":"1399663795","file4":"1399663803","file5":"1399663806","file3":"1399663801"},"map_files_photo_id_array":[{"photo_id":"1399663806","filename":"file5"},{"photo_id":"1399663799","filename":"file2"},{"photo_id":"1399663803","filename":"file4"},{"photo_id":"1399663797","filename":"file1"},{"photo_id":"1399663795","filename":"file0"},{"photo_id":"1399663801","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663803":["hashtag1","hashtag2"]},{"1399663806":["hashtag1","hashtag2"]},{"1399663799":["hashtag1","hashtag2"]},{"1399663795":["hashtag1","hashtag2"]},{"1399663797":["hashtag1","hashtag2"]},{"1399663801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663803, 1399663806, 1399663799, 1399663795, 1399663797, 1399663801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8134024143219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:01:42.231984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_17_2643.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_20_3628.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_23_2673.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_25_2652.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_29_3638.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_32_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_17_2643.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_20_3628.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_23_2673.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_25_2652.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_29_3638.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_32_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":["1399663818","1399663814","1399663817","1399663811","1399663816","1399663815"],"photo_ids_order":["1399663811","1399663814","1399663815","1399663816","1399663817","1399663818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a68d73c1f8428cd5222fad344de6ba08.jpg","text":"TemporaryFile(/tmp/multipartBody7176845299764118412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893762944,"filename":"image_06112025_16_53_32_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/197fffccde5cf004ecf46a64c9f8953e.jpg","text":"TemporaryFile(/tmp/multipartBody3617995701279616537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893762944,"filename":"image_06112025_16_53_20_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4778a12e168b53b3621c2603d72208b.jpg","text":"TemporaryFile(/tmp/multipartBody2037199686754445250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893762944,"filename":"image_06112025_16_53_29_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/16/c9bf98fa4a3ce1eee95af9a0c28a79a6.jpg","text":"TemporaryFile(/tmp/multipartBody7929783461358931885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893762944,"filename":"image_06112025_16_53_17_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/16/223359d3a55d61283640e5446eb19409.jpg","text":"TemporaryFile(/tmp/multipartBody6454174761571133823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893762944,"filename":"image_06112025_16_53_25_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39521fbea6dbb2f4729391e247d52819.jpg","text":"TemporaryFile(/tmp/multipartBody8678872679790968562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893762944,"filename":"image_06112025_16_53_23_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663815","file1":"1399663814","file0":"1399663811","file4":"1399663817","file5":"1399663818","file3":"1399663816"},"map_files_photo_id_array":[{"photo_id":"1399663818","filename":"file5"},{"photo_id":"1399663815","filename":"file2"},{"photo_id":"1399663817","filename":"file4"},{"photo_id":"1399663814","filename":"file1"},{"photo_id":"1399663811","filename":"file0"},{"photo_id":"1399663816","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663818":["hashtag1","hashtag2"]},{"1399663814":["hashtag1","hashtag2"]},{"1399663817":["hashtag1","hashtag2"]},{"1399663811":["hashtag1","hashtag2"]},{"1399663816":["hashtag1","hashtag2"]},{"1399663815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663818, 1399663814, 1399663817, 1399663811, 1399663816, 1399663815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77220797538757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:02:22.454652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/45/image_16122025_14_45_55_10657.jpg', '/home/pi/Desktop/images/16122025/14/46/image_16122025_14_46_34_9560.jpg', '/home/pi/Desktop/images/16122025/14/47/image_16122025_14_47_24_9079.jpg', '/home/pi/Desktop/images/16122025/14/47/image_16122025_14_47_45_10779.jpg', '/home/pi/Desktop/images/16122025/14/47/image_16122025_14_47_54_8708.jpg', '/home/pi/Desktop/images/16122025/14/48/image_16122025_14_48_14_9056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/45/image_16122025_14_45_55_10657.jpg
/home/pi/Desktop/images/16122025/14/46/image_16122025_14_46_34_9560.jpg
/home/pi/Desktop/images/16122025/14/47/image_16122025_14_47_24_9079.jpg
/home/pi/Desktop/images/16122025/14/47/image_16122025_14_47_45_10779.jpg
/home/pi/Desktop/images/16122025/14/47/image_16122025_14_47_54_8708.jpg
/home/pi/Desktop/images/16122025/14/48/image_16122025_14_48_14_9056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663827","1399663829","1399663823","1399663837","1399663825","1399663821"],"photo_ids_order":["1399663821","1399663823","1399663825","1399663827","1399663829","1399663837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/709cc58a4197c8bcd8245cb49998eb4d.jpg","text":"TemporaryFile(/tmp/multipartBody3281701985900881142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893803066,"filename":"image_16122025_14_47_45_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/16/bfc7d5d078ca93ce4a2ab5f73b41d163.jpg","text":"TemporaryFile(/tmp/multipartBody8590147653689043332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893803066,"filename":"image_16122025_14_47_54_8708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91aa12e12ce484d1b9daebeb5a05a5ba.jpg","text":"TemporaryFile(/tmp/multipartBody7159411667999980864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893803066,"filename":"image_16122025_14_46_34_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c41b67456c6373a564733cf5fe66bf48.jpg","text":"TemporaryFile(/tmp/multipartBody4580839537170759648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893803066,"filename":"image_16122025_14_48_14_9056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a70c31ae7f624dd0dbc69d77061f1acb.jpg","text":"TemporaryFile(/tmp/multipartBody4338823394921331649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893803066,"filename":"image_16122025_14_47_24_9079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d1a4f93016b8366973fc73fb48c538e.jpg","text":"TemporaryFile(/tmp/multipartBody2155206485898838070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893803066,"filename":"image_16122025_14_45_55_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663825","file1":"1399663823","file0":"1399663821","file4":"1399663829","file5":"1399663837","file3":"1399663827"},"map_files_photo_id_array":[{"photo_id":"1399663837","filename":"file5"},{"photo_id":"1399663825","filename":"file2"},{"photo_id":"1399663829","filename":"file4"},{"photo_id":"1399663823","filename":"file1"},{"photo_id":"1399663821","filename":"file0"},{"photo_id":"1399663827","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663827":["hashtag1","hashtag2"]},{"1399663829":["hashtag1","hashtag2"]},{"1399663823":["hashtag1","hashtag2"]},{"1399663837":["hashtag1","hashtag2"]},{"1399663825":["hashtag1","hashtag2"]},{"1399663821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663827, 1399663829, 1399663823, 1399663837, 1399663825, 1399663821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31507635116577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:03:03.441954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/48/image_16122025_14_48_35_10650.jpg', '/home/pi/Desktop/images/16122025/14/48/image_16122025_14_48_54_9683.jpg', '/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_24_9775.jpg', '/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_34_9701.jpg', '/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_45_10709.jpg', '/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/48/image_16122025_14_48_35_10650.jpg
/home/pi/Desktop/images/16122025/14/48/image_16122025_14_48_54_9683.jpg
/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_24_9775.jpg
/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_34_9701.jpg
/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_45_10709.jpg
/home/pi/Desktop/images/16122025/14/49/image_16122025_14_49_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":["1399663859","1399663861","1399663864","1399663843","1399663854","1399663857"],"photo_ids_order":["1399663843","1399663854","1399663857","1399663859","1399663861","1399663864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a738f9b3a8a5e90478a4a1eeb4912716.jpg","text":"TemporaryFile(/tmp/multipartBody2121769271457120986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893844069,"filename":"image_16122025_14_49_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/16/bafbe2ac34eaa6ffd8929718cbe950ce.jpg","text":"TemporaryFile(/tmp/multipartBody5888817864600737686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893844069,"filename":"image_16122025_14_49_45_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f87841f79fa266efced5a6284394ceab.jpg","text":"TemporaryFile(/tmp/multipartBody1992020178829503808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893844069,"filename":"image_16122025_14_49_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/16/04cb209e2907fb2bff8f588535b3b2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1762910842121759861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893844069,"filename":"image_16122025_14_48_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33e1a970ea49d92cd68a35f544d54897.jpg","text":"TemporaryFile(/tmp/multipartBody4829739399464346738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893844069,"filename":"image_16122025_14_48_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/16/970d0b6049f405aedbae454465d29d0c.jpg","text":"TemporaryFile(/tmp/multipartBody864173469083907451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893844069,"filename":"image_16122025_14_49_24_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663857","file1":"1399663854","file0":"1399663843","file4":"1399663861","file5":"1399663864","file3":"1399663859"},"map_files_photo_id_array":[{"photo_id":"1399663864","filename":"file5"},{"photo_id":"1399663857","filename":"file2"},{"photo_id":"1399663861","filename":"file4"},{"photo_id":"1399663854","filename":"file1"},{"photo_id":"1399663843","filename":"file0"},{"photo_id":"1399663859","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663859":["hashtag1","hashtag2"]},{"1399663861":["hashtag1","hashtag2"]},{"1399663864":["hashtag1","hashtag2"]},{"1399663843":["hashtag1","hashtag2"]},{"1399663854":["hashtag1","hashtag2"]},{"1399663857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663859, 1399663861, 1399663864, 1399663843, 1399663854, 1399663857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95557999610901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:03:42.646444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_35_2743.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_38_3523.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_41_2613.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_44_2787.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_50_2662.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_52_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_35_2743.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_38_3523.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_41_2613.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_44_2787.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_50_2662.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_52_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663877","1399663871","1399663874","1399663876","1399663878","1399663875"],"photo_ids_order":["1399663871","1399663874","1399663875","1399663876","1399663877","1399663878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34538468754bfa787c76431226cf0799.jpg","text":"TemporaryFile(/tmp/multipartBody2811757937087188668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893883340,"filename":"image_06112025_16_53_50_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/16/22825f45c4e5126500931335cbd73fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5243815147766165706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893883340,"filename":"image_06112025_16_53_35_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/16/29cc52e5e40f8d7dcecddf378971c7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2990767175875216980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893883340,"filename":"image_06112025_16_53_38_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/16/c0affa6d05bd6ded5d982b1025fc4fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5756787051786395031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893883340,"filename":"image_06112025_16_53_44_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/16/d725c9b0c4b2caeffe8e930be8db7c74.jpg","text":"TemporaryFile(/tmp/multipartBody6256721352572659349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893883340,"filename":"image_06112025_16_53_52_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/16/a3fd55b0b3b5a9c808b35be4488ed5b4.jpg","text":"TemporaryFile(/tmp/multipartBody6314702700976393780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893883340,"filename":"image_06112025_16_53_41_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663875","file1":"1399663874","file0":"1399663871","file4":"1399663877","file5":"1399663878","file3":"1399663876"},"map_files_photo_id_array":[{"photo_id":"1399663878","filename":"file5"},{"photo_id":"1399663875","filename":"file2"},{"photo_id":"1399663877","filename":"file4"},{"photo_id":"1399663874","filename":"file1"},{"photo_id":"1399663871","filename":"file0"},{"photo_id":"1399663876","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663877":["hashtag1","hashtag2"]},{"1399663871":["hashtag1","hashtag2"]},{"1399663874":["hashtag1","hashtag2"]},{"1399663876":["hashtag1","hashtag2"]},{"1399663878":["hashtag1","hashtag2"]},{"1399663875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663877, 1399663871, 1399663874, 1399663876, 1399663878, 1399663875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25443720817566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:04:21.884630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/49/image_16122025_14_50_05_10591.jpg', '/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_15_9839.jpg', '/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_34_9872.jpg', '/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_44_9749.jpg', '/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_55_10654.jpg', '/home/pi/Desktop/images/16122025/14/50/image_16122025_14_51_04_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/49/image_16122025_14_50_05_10591.jpg
/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_15_9839.jpg
/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_34_9872.jpg
/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_44_9749.jpg
/home/pi/Desktop/images/16122025/14/50/image_16122025_14_50_55_10654.jpg
/home/pi/Desktop/images/16122025/14/50/image_16122025_14_51_04_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":["1399663902","1399663883","1399663907","1399663916","1399663888","1399663885"],"photo_ids_order":["1399663883","1399663885","1399663888","1399663902","1399663907","1399663916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/effc12959b7886a7d702fa9bc87d0289.jpg","text":"TemporaryFile(/tmp/multipartBody2740342416314169922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893922471,"filename":"image_16122025_14_50_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49d2dd27d8b7f4e2c4b3c6bcadadbc78.jpg","text":"TemporaryFile(/tmp/multipartBody6155317832641922996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893922471,"filename":"image_16122025_14_50_05_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/def111dbf3f93257a0b9bb2a9e5db63b.jpg","text":"TemporaryFile(/tmp/multipartBody1804297706667005731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893922471,"filename":"image_16122025_14_50_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1cae35163670aefb8b920916d94b429.jpg","text":"TemporaryFile(/tmp/multipartBody1113498108593697104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893922471,"filename":"image_16122025_14_51_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/16/883925afc9661b54f5db4ba03d4875ca.jpg","text":"TemporaryFile(/tmp/multipartBody637136102467413792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893922471,"filename":"image_16122025_14_50_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/16/a5922049de5bcd7179c3ccfb97cab3ab.jpg","text":"TemporaryFile(/tmp/multipartBody3118118753517536031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893922471,"filename":"image_16122025_14_50_15_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663888","file1":"1399663885","file0":"1399663883","file4":"1399663907","file5":"1399663916","file3":"1399663902"},"map_files_photo_id_array":[{"photo_id":"1399663916","filename":"file5"},{"photo_id":"1399663888","filename":"file2"},{"photo_id":"1399663907","filename":"file4"},{"photo_id":"1399663885","filename":"file1"},{"photo_id":"1399663883","filename":"file0"},{"photo_id":"1399663902","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663902":["hashtag1","hashtag2"]},{"1399663883":["hashtag1","hashtag2"]},{"1399663907":["hashtag1","hashtag2"]},{"1399663916":["hashtag1","hashtag2"]},{"1399663888":["hashtag1","hashtag2"]},{"1399663885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663902, 1399663883, 1399663907, 1399663916, 1399663888, 1399663885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6552836894989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:05:02.879981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/51/image_16122025_14_51_14_9641.jpg', '/home/pi/Desktop/images/16122025/14/52/image_16122025_14_52_54_9765.jpg', '/home/pi/Desktop/images/16122025/14/52/image_16122025_14_53_04_9737.jpg', '/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_15_10720.jpg', '/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_24_9737.jpg', '/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/51/image_16122025_14_51_14_9641.jpg
/home/pi/Desktop/images/16122025/14/52/image_16122025_14_52_54_9765.jpg
/home/pi/Desktop/images/16122025/14/52/image_16122025_14_53_04_9737.jpg
/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_15_10720.jpg
/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_24_9737.jpg
/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_34_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663955","1399663954","1399663957","1399663951","1399663953","1399663947"],"photo_ids_order":["1399663947","1399663951","1399663953","1399663954","1399663955","1399663957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce9b08d5f9515aac7d25d442adecd70a.jpg","text":"TemporaryFile(/tmp/multipartBody6495068888168980213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893963503,"filename":"image_16122025_14_53_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea31aabbf44fbfe82f26d7ab3f5821a5.jpg","text":"TemporaryFile(/tmp/multipartBody8686386510062737637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893963503,"filename":"image_16122025_14_53_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b77108ebf4c70a10af0a7b6744e7fc4.jpg","text":"TemporaryFile(/tmp/multipartBody4266095581218070407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893963503,"filename":"image_16122025_14_53_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/16/1e8aca8556628a18cc80c999dd4e898a.jpg","text":"TemporaryFile(/tmp/multipartBody4853482451685718254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893963503,"filename":"image_16122025_14_52_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/16/06691f5c2f9531b473d113f4e6d518db.jpg","text":"TemporaryFile(/tmp/multipartBody40061649584218714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893963503,"filename":"image_16122025_14_53_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32731c0f19346e3ef1c3770b8d980a50.jpg","text":"TemporaryFile(/tmp/multipartBody8878770736052545480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765893963503,"filename":"image_16122025_14_51_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663953","file1":"1399663951","file0":"1399663947","file4":"1399663955","file5":"1399663957","file3":"1399663954"},"map_files_photo_id_array":[{"photo_id":"1399663957","filename":"file5"},{"photo_id":"1399663953","filename":"file2"},{"photo_id":"1399663955","filename":"file4"},{"photo_id":"1399663951","filename":"file1"},{"photo_id":"1399663947","filename":"file0"},{"photo_id":"1399663954","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663955":["hashtag1","hashtag2"]},{"1399663954":["hashtag1","hashtag2"]},{"1399663957":["hashtag1","hashtag2"]},{"1399663951":["hashtag1","hashtag2"]},{"1399663953":["hashtag1","hashtag2"]},{"1399663947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663955, 1399663954, 1399663957, 1399663951, 1399663953, 1399663947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55777883529663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:05:42.163915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_56_3645.jpg', '/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_59_2752.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_02_2733.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_05_3635.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_08_2653.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_10_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_56_3645.jpg
/home/pi/Desktop/images/06112025/16/53/image_06112025_16_53_59_2752.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_02_2733.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_05_3635.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_08_2653.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_10_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663973","1399663972","1399663975","1399663971","1399663974","1399663962"],"photo_ids_order":["1399663962","1399663971","1399663972","1399663973","1399663974","1399663975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80a714ed48ede70ff4f92a79c113cf0d.jpg","text":"TemporaryFile(/tmp/multipartBody2197569924096754223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894002855,"filename":"image_06112025_16_54_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/16/b870d6a43dfe23033fb0828eef05dec0.jpg","text":"TemporaryFile(/tmp/multipartBody5854927258240761032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894002855,"filename":"image_06112025_16_54_02_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/16/c3ac28382786df4510b76cab6db651b0.jpg","text":"TemporaryFile(/tmp/multipartBody4645494949349330904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894002855,"filename":"image_06112025_16_54_10_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/16/87d9f0f14b7867e46cb847f52a69be56.jpg","text":"TemporaryFile(/tmp/multipartBody743671009646544121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894002855,"filename":"image_06112025_16_53_59_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/16/0633d49827780bf9fd57f513c55d80b4.jpg","text":"TemporaryFile(/tmp/multipartBody8630687313826238103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894002855,"filename":"image_06112025_16_54_08_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e923817918ca6c16bb16a0fe6f058dc.jpg","text":"TemporaryFile(/tmp/multipartBody3109414673001636476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894002855,"filename":"image_06112025_16_53_56_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663972","file1":"1399663971","file0":"1399663962","file4":"1399663974","file5":"1399663975","file3":"1399663973"},"map_files_photo_id_array":[{"photo_id":"1399663975","filename":"file5"},{"photo_id":"1399663972","filename":"file2"},{"photo_id":"1399663974","filename":"file4"},{"photo_id":"1399663971","filename":"file1"},{"photo_id":"1399663962","filename":"file0"},{"photo_id":"1399663973","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399663973":["hashtag1","hashtag2"]},{"1399663972":["hashtag1","hashtag2"]},{"1399663975":["hashtag1","hashtag2"]},{"1399663971":["hashtag1","hashtag2"]},{"1399663974":["hashtag1","hashtag2"]},{"1399663962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399663973, 1399663972, 1399663975, 1399663971, 1399663974, 1399663962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11754274368286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:06:22.418911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_45_10676.jpg', '/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_54_9677.jpg', '/home/pi/Desktop/images/16122025/14/54/image_16122025_14_55_04_9605.jpg', '/home/pi/Desktop/images/16122025/14/55/image_16122025_14_55_15_10547.jpg', '/home/pi/Desktop/images/16122025/14/55/image_16122025_14_55_24_9660.jpg', '/home/pi/Desktop/images/16122025/14/55/image_16122025_14_55_54_9958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_45_10676.jpg
/home/pi/Desktop/images/16122025/14/53/image_16122025_14_53_54_9677.jpg
/home/pi/Desktop/images/16122025/14/54/image_16122025_14_55_04_9605.jpg
/home/pi/Desktop/images/16122025/14/55/image_16122025_14_55_15_10547.jpg
/home/pi/Desktop/images/16122025/14/55/image_16122025_14_55_24_9660.jpg
/home/pi/Desktop/images/16122025/14/55/image_16122025_14_55_54_9958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399663994","1399663997","1399663985","1399663990","1399663981","1399663992"],"photo_ids_order":["1399663981","1399663985","1399663990","1399663992","1399663994","1399663997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06596b493369475d7ce70b7096e8769f.jpg","text":"TemporaryFile(/tmp/multipartBody2609499113218079351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894043019,"filename":"image_16122025_14_55_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/16/7c7a4b79df62e0d2d141b8eb2eb11fad.jpg","text":"TemporaryFile(/tmp/multipartBody7816311353031196713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894043019,"filename":"image_16122025_14_55_54_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7c9aa8876f5577063d2cd48cde00875.jpg","text":"TemporaryFile(/tmp/multipartBody4690281893169931721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894043019,"filename":"image_16122025_14_53_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/16/b9e3361c9cff84aca8f2dd2a6d7430ef.jpg","text":"TemporaryFile(/tmp/multipartBody3520311589571620677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894043019,"filename":"image_16122025_14_55_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/16/f30c34b4c0ff417eac2082eb46561009.jpg","text":"TemporaryFile(/tmp/multipartBody1196140223544139270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894043019,"filename":"image_16122025_14_53_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/16/3afc34e851cd75bc15beb3d5b0337497.jpg","text":"TemporaryFile(/tmp/multipartBody1993559145819678086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894043019,"filename":"image_16122025_14_55_15_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399663990","file1":"1399663985","file0":"1399663981","file4":"1399663994","file5":"1399663997","file3":"1399663992"},"map_files_photo_id_array":[{"photo_id":"1399663997","filename":"file5"},{"photo_id":"1399663990","filename":"file2"},{"photo_id":"1399663994","filename":"file4"},{"photo_id":"1399663985","filename":"file1"},{"photo_id":"1399663981","filename":"file0"},{"photo_id":"1399663992","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399663994":["hashtag1","hashtag2"]},{"1399663997":["hashtag1","hashtag2"]},{"1399663985":["hashtag1","hashtag2"]},{"1399663990":["hashtag1","hashtag2"]},{"1399663981":["hashtag1","hashtag2"]},{"1399663992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399663994, 1399663997, 1399663985, 1399663990, 1399663981, 1399663992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02560544013977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:07:03.222396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/56/image_16122025_14_56_24_9702.jpg', '/home/pi/Desktop/images/16122025/14/56/image_16122025_14_56_44_9731.jpg', '/home/pi/Desktop/images/16122025/14/57/image_16122025_14_57_55_9764.jpg', '/home/pi/Desktop/images/16122025/14/58/image_16122025_14_58_44_9805.jpg', '/home/pi/Desktop/images/16122025/14/58/image_16122025_14_58_55_10621.jpg', '/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/56/image_16122025_14_56_24_9702.jpg
/home/pi/Desktop/images/16122025/14/56/image_16122025_14_56_44_9731.jpg
/home/pi/Desktop/images/16122025/14/57/image_16122025_14_57_55_9764.jpg
/home/pi/Desktop/images/16122025/14/58/image_16122025_14_58_44_9805.jpg
/home/pi/Desktop/images/16122025/14/58/image_16122025_14_58_55_10621.jpg
/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_14_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664015","1399664018","1399664011","1399664020","1399664013","1399664004"],"photo_ids_order":["1399664004","1399664011","1399664013","1399664015","1399664018","1399664020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc399b5986b21716721e0725fe0d2553.jpg","text":"TemporaryFile(/tmp/multipartBody4067460443886547645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894083861,"filename":"image_16122025_14_58_44_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/579539d1c5c12b9f89a6472f13c18b8f.jpg","text":"TemporaryFile(/tmp/multipartBody6213239908612413704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894083861,"filename":"image_16122025_14_58_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0fd4558ed62e4170561d1578a091630.jpg","text":"TemporaryFile(/tmp/multipartBody7533447611162906326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894083861,"filename":"image_16122025_14_56_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/16/16125498e0d51f0b071fb347cc9f6c56.jpg","text":"TemporaryFile(/tmp/multipartBody6865270200455137074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894083861,"filename":"image_16122025_14_59_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/16/8aaafc7671e8e73e863fc8b941198615.jpg","text":"TemporaryFile(/tmp/multipartBody8411825358692117480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894083861,"filename":"image_16122025_14_57_55_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/966609a450c13e718b3a233e84ba1468.jpg","text":"TemporaryFile(/tmp/multipartBody6960126090864343241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894083861,"filename":"image_16122025_14_56_24_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664013","file1":"1399664011","file0":"1399664004","file4":"1399664018","file5":"1399664020","file3":"1399664015"},"map_files_photo_id_array":[{"photo_id":"1399664020","filename":"file5"},{"photo_id":"1399664013","filename":"file2"},{"photo_id":"1399664018","filename":"file4"},{"photo_id":"1399664011","filename":"file1"},{"photo_id":"1399664004","filename":"file0"},{"photo_id":"1399664015","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664015":["hashtag1","hashtag2"]},{"1399664018":["hashtag1","hashtag2"]},{"1399664011":["hashtag1","hashtag2"]},{"1399664020":["hashtag1","hashtag2"]},{"1399664013":["hashtag1","hashtag2"]},{"1399664004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664015, 1399664018, 1399664011, 1399664020, 1399664013, 1399664004)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.82296586036682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:08:02.212436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_44_9676.jpg', '/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_55_10654.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_15_10055.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_26_10762.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_35_9695.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_45_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_44_9676.jpg
/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_55_10654.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_15_10055.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_26_10762.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_35_9695.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_45_9842.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4891037940979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:08:11.819599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:08:21.892511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_44_9676.jpg', '/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_55_10654.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_15_10055.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_26_10762.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_35_9695.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_45_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_44_9676.jpg
/home/pi/Desktop/images/16122025/14/59/image_16122025_14_59_55_10654.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_15_10055.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_26_10762.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_35_9695.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_45_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664042","1399664036","1399664044","1399664038","1399664052","1399664040"],"photo_ids_order":["1399664036","1399664038","1399664040","1399664042","1399664044","1399664052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75d12c338478065fe8d1eb780e53b0c8.jpg","text":"TemporaryFile(/tmp/multipartBody8712284988911000145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894162536,"filename":"image_16122025_15_00_26_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/16/13e591a0069b3071093d8d610569d1f1.jpg","text":"TemporaryFile(/tmp/multipartBody1866655498513850722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894162536,"filename":"image_16122025_14_59_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/16/7469e83de830af5397bed70210bec225.jpg","text":"TemporaryFile(/tmp/multipartBody5805232302464112568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894162536,"filename":"image_16122025_15_00_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3823933234b69890f9843b6144b6141e.jpg","text":"TemporaryFile(/tmp/multipartBody2021352910679336709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894162536,"filename":"image_16122025_14_59_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba99b357d628d7c71cadadb4b43038ab.jpg","text":"TemporaryFile(/tmp/multipartBody1075839586232373335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894162536,"filename":"image_16122025_15_00_45_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d983d41ff94f063898d55413d37d6235.jpg","text":"TemporaryFile(/tmp/multipartBody5561914973733595184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894162536,"filename":"image_16122025_15_00_15_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664040","file1":"1399664038","file0":"1399664036","file4":"1399664044","file5":"1399664052","file3":"1399664042"},"map_files_photo_id_array":[{"photo_id":"1399664052","filename":"file5"},{"photo_id":"1399664040","filename":"file2"},{"photo_id":"1399664044","filename":"file4"},{"photo_id":"1399664038","filename":"file1"},{"photo_id":"1399664036","filename":"file0"},{"photo_id":"1399664042","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664042":["hashtag1","hashtag2"]},{"1399664036":["hashtag1","hashtag2"]},{"1399664044":["hashtag1","hashtag2"]},{"1399664038":["hashtag1","hashtag2"]},{"1399664052":["hashtag1","hashtag2"]},{"1399664040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664042, 1399664036, 1399664044, 1399664038, 1399664052, 1399664040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.312849044799805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:09:03.033433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_56_10527.jpg', '/home/pi/Desktop/images/16122025/15/00/image_16122025_15_01_05_9593.jpg', '/home/pi/Desktop/images/16122025/15/01/image_16122025_15_01_15_9701.jpg', '/home/pi/Desktop/images/16122025/15/02/image_16122025_15_02_45_9681.jpg', '/home/pi/Desktop/images/16122025/15/03/image_16122025_15_03_15_9578.jpg', '/home/pi/Desktop/images/16122025/15/04/image_16122025_15_04_15_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_00_56_10527.jpg
/home/pi/Desktop/images/16122025/15/00/image_16122025_15_01_05_9593.jpg
/home/pi/Desktop/images/16122025/15/01/image_16122025_15_01_15_9701.jpg
/home/pi/Desktop/images/16122025/15/02/image_16122025_15_02_45_9681.jpg
/home/pi/Desktop/images/16122025/15/03/image_16122025_15_03_15_9578.jpg
/home/pi/Desktop/images/16122025/15/04/image_16122025_15_04_15_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664066","1399664071","1399664074","1399664068","1399664070","1399664064"],"photo_ids_order":["1399664064","1399664066","1399664068","1399664070","1399664071","1399664074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1df77264d6c697b70f6e2de24c507334.jpg","text":"TemporaryFile(/tmp/multipartBody6218679489995173150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894203782,"filename":"image_16122025_15_01_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/16/c75b3925a541b14da4006ca286a9d9ac.jpg","text":"TemporaryFile(/tmp/multipartBody1119077339704967400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894203782,"filename":"image_16122025_15_03_15_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5a6f21036e86aee0cfec11e13955a30.jpg","text":"TemporaryFile(/tmp/multipartBody6479301987156597172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894203782,"filename":"image_16122025_15_04_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/071d99970efbf4fe0a8208cfecd15ae1.jpg","text":"TemporaryFile(/tmp/multipartBody4841160669582834874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894203782,"filename":"image_16122025_15_01_15_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/16/2d7c8400b582f96ce97d264c804c2190.jpg","text":"TemporaryFile(/tmp/multipartBody8449479523065891095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894203782,"filename":"image_16122025_15_02_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/16/383042d8dec174885a38f0a10a20feeb.jpg","text":"TemporaryFile(/tmp/multipartBody2647727361638025807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894203782,"filename":"image_16122025_15_00_56_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664068","file1":"1399664066","file0":"1399664064","file4":"1399664071","file5":"1399664074","file3":"1399664070"},"map_files_photo_id_array":[{"photo_id":"1399664074","filename":"file5"},{"photo_id":"1399664068","filename":"file2"},{"photo_id":"1399664071","filename":"file4"},{"photo_id":"1399664066","filename":"file1"},{"photo_id":"1399664064","filename":"file0"},{"photo_id":"1399664070","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664066":["hashtag1","hashtag2"]},{"1399664071":["hashtag1","hashtag2"]},{"1399664074":["hashtag1","hashtag2"]},{"1399664068":["hashtag1","hashtag2"]},{"1399664070":["hashtag1","hashtag2"]},{"1399664064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664066, 1399664071, 1399664074, 1399664068, 1399664070, 1399664064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.268134117126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:09:41.996071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_14_3532.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_17_2633.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_20_3632.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_23_2764.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_26_2853.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_32_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_14_3532.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_17_2633.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_20_3632.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_23_2764.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_26_2853.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_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":["1399664084","1399664078","1399664083","1399664086","1399664080","1399664085"],"photo_ids_order":["1399664078","1399664080","1399664083","1399664084","1399664085","1399664086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c551ca84ebf92cde0b2568433bcda0da.jpg","text":"TemporaryFile(/tmp/multipartBody5409637632433852698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894242722,"filename":"image_06112025_16_54_23_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/16/346a694a16c6724f8073c07848f5ddfc.jpg","text":"TemporaryFile(/tmp/multipartBody3574234326468874228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894242722,"filename":"image_06112025_16_54_14_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4a32a76843749ed1a84b39572fa9fdb.jpg","text":"TemporaryFile(/tmp/multipartBody409983081407911854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894242722,"filename":"image_06112025_16_54_20_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea9e776b3026bbdd42d01c62f925f4fb.jpg","text":"TemporaryFile(/tmp/multipartBody4395181290475061344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894242722,"filename":"image_06112025_16_54_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/16/07ec34d7127427b86f51a8fcd0f48c07.jpg","text":"TemporaryFile(/tmp/multipartBody1650596816672159286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894242722,"filename":"image_06112025_16_54_17_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/16/eb6416fa2c542a9f52f8c97f874d9b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4170197803538917381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894242722,"filename":"image_06112025_16_54_26_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664083","file1":"1399664080","file0":"1399664078","file4":"1399664085","file5":"1399664086","file3":"1399664084"},"map_files_photo_id_array":[{"photo_id":"1399664086","filename":"file5"},{"photo_id":"1399664083","filename":"file2"},{"photo_id":"1399664085","filename":"file4"},{"photo_id":"1399664080","filename":"file1"},{"photo_id":"1399664078","filename":"file0"},{"photo_id":"1399664084","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664084":["hashtag1","hashtag2"]},{"1399664078":["hashtag1","hashtag2"]},{"1399664083":["hashtag1","hashtag2"]},{"1399664086":["hashtag1","hashtag2"]},{"1399664080":["hashtag1","hashtag2"]},{"1399664085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664084, 1399664078, 1399664083, 1399664086, 1399664080, 1399664085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19436168670654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:10:22.364354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/04/image_16122025_15_04_45_9652.jpg', '/home/pi/Desktop/images/16122025/15/05/image_16122025_15_05_16_10668.jpg', '/home/pi/Desktop/images/16122025/15/06/image_16122025_15_07_05_9781.jpg', '/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_25_9691.jpg', '/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_35_9604.jpg', '/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_46_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/04/image_16122025_15_04_45_9652.jpg
/home/pi/Desktop/images/16122025/15/05/image_16122025_15_05_16_10668.jpg
/home/pi/Desktop/images/16122025/15/06/image_16122025_15_07_05_9781.jpg
/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_25_9691.jpg
/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_35_9604.jpg
/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_46_10628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48545145988464355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:10:32.302755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:10:42.279345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_35_2896.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_41_3565.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_44_2604.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_46_2676.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_50_3704.jpg', '/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_53_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_35_2896.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_41_3565.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_44_2604.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_46_2676.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_50_3704.jpg
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_53_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664138","1399664114","1399664134","1399664136","1399664124","1399664103"],"photo_ids_order":["1399664103","1399664114","1399664124","1399664134","1399664136","1399664138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/572fd1801ca4ecbef304ff9ac57206b2.jpg","text":"TemporaryFile(/tmp/multipartBody4610075864427702439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894303188,"filename":"image_06112025_16_54_53_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5cc670db701712965810628917be2a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7942624248198985585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894303188,"filename":"image_06112025_16_54_41_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/16/4d12f61be15d5f1a000ec3700e7715ba.jpg","text":"TemporaryFile(/tmp/multipartBody8146956165431785828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894303188,"filename":"image_06112025_16_54_46_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/16/b6d74138b514ccda19dd4c38e0569907.jpg","text":"TemporaryFile(/tmp/multipartBody6099225955874765399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894303188,"filename":"image_06112025_16_54_50_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/16/5ff374f7cfcbb6ed4d7de5976ebd01e5.jpg","text":"TemporaryFile(/tmp/multipartBody1425888741659734459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894303188,"filename":"image_06112025_16_54_44_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/16/8781bc81cd45d0ca602ada4770e1e351.jpg","text":"TemporaryFile(/tmp/multipartBody3573467471013652161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894303188,"filename":"image_06112025_16_54_35_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664124","file1":"1399664114","file0":"1399664103","file4":"1399664136","file5":"1399664138","file3":"1399664134"},"map_files_photo_id_array":[{"photo_id":"1399664138","filename":"file5"},{"photo_id":"1399664124","filename":"file2"},{"photo_id":"1399664136","filename":"file4"},{"photo_id":"1399664114","filename":"file1"},{"photo_id":"1399664103","filename":"file0"},{"photo_id":"1399664134","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664138":["hashtag1","hashtag2"]},{"1399664114":["hashtag1","hashtag2"]},{"1399664134":["hashtag1","hashtag2"]},{"1399664136":["hashtag1","hashtag2"]},{"1399664124":["hashtag1","hashtag2"]},{"1399664103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664138, 1399664114, 1399664134, 1399664136, 1399664124, 1399664103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57130575180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:11:22.472827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/04/image_16122025_15_04_45_9652.jpg', '/home/pi/Desktop/images/16122025/15/05/image_16122025_15_05_16_10668.jpg', '/home/pi/Desktop/images/16122025/15/06/image_16122025_15_07_05_9781.jpg', '/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_25_9691.jpg', '/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_35_9604.jpg', '/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_46_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/04/image_16122025_15_04_45_9652.jpg
/home/pi/Desktop/images/16122025/15/05/image_16122025_15_05_16_10668.jpg
/home/pi/Desktop/images/16122025/15/06/image_16122025_15_07_05_9781.jpg
/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_25_9691.jpg
/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_35_9604.jpg
/home/pi/Desktop/images/16122025/15/07/image_16122025_15_07_46_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":["1399664156","1399664165","1399664150","1399664152","1399664146","1399664154"],"photo_ids_order":["1399664146","1399664150","1399664152","1399664154","1399664156","1399664165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66f81447f5e84bd9df0e2b35ac84a1ae.jpg","text":"TemporaryFile(/tmp/multipartBody1526229571040931089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894343060,"filename":"image_16122025_15_07_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78e85289ceda86c3ab4298bb7d0ae8c4.jpg","text":"TemporaryFile(/tmp/multipartBody2090887380897437306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894343060,"filename":"image_16122025_15_07_46_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/16/ae901315c76e8279dec8d70fee3f2fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5613572553677960168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894343060,"filename":"image_16122025_15_05_16_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53633942c438f60ca6422f7a7add08d7.jpg","text":"TemporaryFile(/tmp/multipartBody1752340960618204629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894343060,"filename":"image_16122025_15_07_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/16/0bc6cfb23caa80e89fe9b2c8dbae1e38.jpg","text":"TemporaryFile(/tmp/multipartBody4787718946804394674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894343060,"filename":"image_16122025_15_04_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9aaf4dd114a677b1a0720f1287109ff.jpg","text":"TemporaryFile(/tmp/multipartBody3056840708195475445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894343060,"filename":"image_16122025_15_07_25_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664152","file1":"1399664150","file0":"1399664146","file4":"1399664156","file5":"1399664165","file3":"1399664154"},"map_files_photo_id_array":[{"photo_id":"1399664165","filename":"file5"},{"photo_id":"1399664152","filename":"file2"},{"photo_id":"1399664156","filename":"file4"},{"photo_id":"1399664150","filename":"file1"},{"photo_id":"1399664146","filename":"file0"},{"photo_id":"1399664154","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664156":["hashtag1","hashtag2"]},{"1399664165":["hashtag1","hashtag2"]},{"1399664150":["hashtag1","hashtag2"]},{"1399664152":["hashtag1","hashtag2"]},{"1399664146":["hashtag1","hashtag2"]},{"1399664154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664156, 1399664165, 1399664150, 1399664152, 1399664146, 1399664154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.623679399490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:12:03.123531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/08/image_16122025_15_08_25_9542.jpg', '/home/pi/Desktop/images/16122025/15/08/image_16122025_15_08_35_9775.jpg', '/home/pi/Desktop/images/16122025/15/08/image_16122025_15_09_05_9546.jpg', '/home/pi/Desktop/images/16122025/15/09/image_16122025_15_09_35_9671.jpg', '/home/pi/Desktop/images/16122025/15/09/image_16122025_15_09_45_9724.jpg', '/home/pi/Desktop/images/16122025/15/10/image_16122025_15_10_35_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/08/image_16122025_15_08_25_9542.jpg
/home/pi/Desktop/images/16122025/15/08/image_16122025_15_08_35_9775.jpg
/home/pi/Desktop/images/16122025/15/08/image_16122025_15_09_05_9546.jpg
/home/pi/Desktop/images/16122025/15/09/image_16122025_15_09_35_9671.jpg
/home/pi/Desktop/images/16122025/15/09/image_16122025_15_09_45_9724.jpg
/home/pi/Desktop/images/16122025/15/10/image_16122025_15_10_35_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":["1399664174","1399664177","1399664171","1399664179","1399664173","1399664181"],"photo_ids_order":["1399664171","1399664173","1399664174","1399664177","1399664179","1399664181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d7c7c6acfc7704963202b10d645e184.jpg","text":"TemporaryFile(/tmp/multipartBody4304089992361630767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894383738,"filename":"image_16122025_15_09_05_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/16/ac3d1300074fedb646c4c2bff9799e4a.jpg","text":"TemporaryFile(/tmp/multipartBody286166783060520070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894383738,"filename":"image_16122025_15_09_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/16/a9b05836303335cceba68007944f38a5.jpg","text":"TemporaryFile(/tmp/multipartBody8588176593444893443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894383738,"filename":"image_16122025_15_08_25_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/16/8818b05aa860e2278a56435e36eb8f31.jpg","text":"TemporaryFile(/tmp/multipartBody1285866101325801271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894383738,"filename":"image_16122025_15_09_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33f0364be6dca112a3659f717c314814.jpg","text":"TemporaryFile(/tmp/multipartBody5906791408472569281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894383738,"filename":"image_16122025_15_08_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/16/4e4030edefb03d3e3b7134109c2d78b7.jpg","text":"TemporaryFile(/tmp/multipartBody73595418110561818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894383738,"filename":"image_16122025_15_10_35_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664174","file1":"1399664173","file0":"1399664171","file4":"1399664179","file5":"1399664181","file3":"1399664177"},"map_files_photo_id_array":[{"photo_id":"1399664181","filename":"file5"},{"photo_id":"1399664174","filename":"file2"},{"photo_id":"1399664179","filename":"file4"},{"photo_id":"1399664173","filename":"file1"},{"photo_id":"1399664171","filename":"file0"},{"photo_id":"1399664177","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664174":["hashtag1","hashtag2"]},{"1399664177":["hashtag1","hashtag2"]},{"1399664171":["hashtag1","hashtag2"]},{"1399664179":["hashtag1","hashtag2"]},{"1399664173":["hashtag1","hashtag2"]},{"1399664181":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664174, 1399664177, 1399664171, 1399664179, 1399664173, 1399664181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70632338523865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:12:42.689334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_55_2660.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_07_3011.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_11_3690.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_13_2643.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_17_3624.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_22_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/54/image_06112025_16_54_55_2660.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_07_3011.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_11_3690.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_13_2643.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_17_3624.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_22_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664255","1399664234","1399664228","1399664221","1399664218","1399664202"],"photo_ids_order":["1399664202","1399664218","1399664221","1399664228","1399664234","1399664255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49120fc1dccd95338a995488cce3a286.jpg","text":"TemporaryFile(/tmp/multipartBody1280092531824560443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894423391,"filename":"image_06112025_16_55_22_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/724652ed20593572829d93d365e06c14.jpg","text":"TemporaryFile(/tmp/multipartBody5563508143841153550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894423391,"filename":"image_06112025_16_55_17_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/16/7899e3e0725507d1f5bd9d978005a8b5.jpg","text":"TemporaryFile(/tmp/multipartBody6367667872412067998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894423391,"filename":"image_06112025_16_55_13_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/16/b824db9ec6a426158fde8c27272ef4c8.jpg","text":"TemporaryFile(/tmp/multipartBody6070118577523587021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894423391,"filename":"image_06112025_16_55_11_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/16/9e3d527fdc62fd619d55e67afd929c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7103380602688856033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894423391,"filename":"image_06112025_16_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/16/cb1c878da2a61c8e27834ada1a0289dd.jpg","text":"TemporaryFile(/tmp/multipartBody8317006406962595025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894423391,"filename":"image_06112025_16_54_55_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664221","file1":"1399664218","file0":"1399664202","file4":"1399664234","file5":"1399664255","file3":"1399664228"},"map_files_photo_id_array":[{"photo_id":"1399664255","filename":"file5"},{"photo_id":"1399664221","filename":"file2"},{"photo_id":"1399664234","filename":"file4"},{"photo_id":"1399664218","filename":"file1"},{"photo_id":"1399664202","filename":"file0"},{"photo_id":"1399664228","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664255":["hashtag1","hashtag2"]},{"1399664234":["hashtag1","hashtag2"]},{"1399664228":["hashtag1","hashtag2"]},{"1399664221":["hashtag1","hashtag2"]},{"1399664218":["hashtag1","hashtag2"]},{"1399664202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664255, 1399664234, 1399664228, 1399664221, 1399664218, 1399664202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.712653160095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:13:21.930102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/10/image_16122025_15_10_45_9783.jpg', '/home/pi/Desktop/images/16122025/15/10/image_16122025_15_10_55_10660.jpg', '/home/pi/Desktop/images/16122025/15/10/image_16122025_15_11_05_9722.jpg', '/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_15_9820.jpg', '/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_26_10709.jpg', '/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_36_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/10/image_16122025_15_10_45_9783.jpg
/home/pi/Desktop/images/16122025/15/10/image_16122025_15_10_55_10660.jpg
/home/pi/Desktop/images/16122025/15/10/image_16122025_15_11_05_9722.jpg
/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_15_9820.jpg
/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_26_10709.jpg
/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_36_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664273","1399664267","1399664276","1399664269","1399664271","1399664265"],"photo_ids_order":["1399664265","1399664267","1399664269","1399664271","1399664273","1399664276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4fb1b615a84d039f9dac3174bf84378a.jpg","text":"TemporaryFile(/tmp/multipartBody4569003433614370793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894462499,"filename":"image_16122025_15_11_26_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/16/a3ca2930cca1f92c407f141aff848301.jpg","text":"TemporaryFile(/tmp/multipartBody2308474613878529750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894462499,"filename":"image_16122025_15_10_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/16/caf3f00c249e549716ffff34acaced4c.jpg","text":"TemporaryFile(/tmp/multipartBody1020082698234673842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894462499,"filename":"image_16122025_15_11_36_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/16/5d35ecaa6462238fdc73f42d25bc164f.jpg","text":"TemporaryFile(/tmp/multipartBody3510470441351701262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894462499,"filename":"image_16122025_15_11_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/292f88ab4d9678e6fbabb07d4dc34608.jpg","text":"TemporaryFile(/tmp/multipartBody5787206804181853340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894462499,"filename":"image_16122025_15_11_15_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/106f15f9a41ce242b6cef972e9c8fa9d.jpg","text":"TemporaryFile(/tmp/multipartBody6354994118609063988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894462499,"filename":"image_16122025_15_10_45_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664269","file1":"1399664267","file0":"1399664265","file4":"1399664273","file5":"1399664276","file3":"1399664271"},"map_files_photo_id_array":[{"photo_id":"1399664276","filename":"file5"},{"photo_id":"1399664269","filename":"file2"},{"photo_id":"1399664273","filename":"file4"},{"photo_id":"1399664267","filename":"file1"},{"photo_id":"1399664265","filename":"file0"},{"photo_id":"1399664271","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664273":["hashtag1","hashtag2"]},{"1399664267":["hashtag1","hashtag2"]},{"1399664276":["hashtag1","hashtag2"]},{"1399664269":["hashtag1","hashtag2"]},{"1399664271":["hashtag1","hashtag2"]},{"1399664265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664273, 1399664267, 1399664276, 1399664269, 1399664271, 1399664265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.232704877853394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:14:02.888678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_45_9635.jpg', '/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_55_9765.jpg', '/home/pi/Desktop/images/16122025/15/11/image_16122025_15_12_05_9816.jpg', '/home/pi/Desktop/images/16122025/15/12/image_16122025_15_12_15_10655.jpg', '/home/pi/Desktop/images/16122025/15/12/image_16122025_15_13_06_10730.jpg', '/home/pi/Desktop/images/16122025/15/13/image_16122025_15_13_15_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_45_9635.jpg
/home/pi/Desktop/images/16122025/15/11/image_16122025_15_11_55_9765.jpg
/home/pi/Desktop/images/16122025/15/11/image_16122025_15_12_05_9816.jpg
/home/pi/Desktop/images/16122025/15/12/image_16122025_15_12_15_10655.jpg
/home/pi/Desktop/images/16122025/15/12/image_16122025_15_13_06_10730.jpg
/home/pi/Desktop/images/16122025/15/13/image_16122025_15_13_15_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664288","1399664281","1399664283","1399664286","1399664291","1399664279"],"photo_ids_order":["1399664279","1399664281","1399664283","1399664286","1399664288","1399664291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/158b0da2316b60a462c01f1d1b4695a7.jpg","text":"TemporaryFile(/tmp/multipartBody6140101422782344979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894503546,"filename":"image_16122025_15_13_06_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/16/e43f9abdf6d253852b07b5fb9fe3c157.jpg","text":"TemporaryFile(/tmp/multipartBody6870040520338925916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894503546,"filename":"image_16122025_15_11_55_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/805e8f5e7162774698e115308e5f217c.jpg","text":"TemporaryFile(/tmp/multipartBody8803264473765614497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894503546,"filename":"image_16122025_15_12_05_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90cd4ef2fc1255063cf6bc82d786f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3686965251745166300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894503546,"filename":"image_16122025_15_12_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/16/14f7303ac19788b1881ae93a080e5c6c.jpg","text":"TemporaryFile(/tmp/multipartBody2599139817990097692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894503546,"filename":"image_16122025_15_13_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f382bde067dc2e5b3aaebaa1a42dae0.jpg","text":"TemporaryFile(/tmp/multipartBody4966024931285185862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894503546,"filename":"image_16122025_15_11_45_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664283","file1":"1399664281","file0":"1399664279","file4":"1399664288","file5":"1399664291","file3":"1399664286"},"map_files_photo_id_array":[{"photo_id":"1399664291","filename":"file5"},{"photo_id":"1399664283","filename":"file2"},{"photo_id":"1399664288","filename":"file4"},{"photo_id":"1399664281","filename":"file1"},{"photo_id":"1399664279","filename":"file0"},{"photo_id":"1399664286","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664288":["hashtag1","hashtag2"]},{"1399664281":["hashtag1","hashtag2"]},{"1399664283":["hashtag1","hashtag2"]},{"1399664286":["hashtag1","hashtag2"]},{"1399664291":["hashtag1","hashtag2"]},{"1399664279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664288, 1399664281, 1399664283, 1399664286, 1399664291, 1399664279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61758375167847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:14:42.107307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_29_2645.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_38_2727.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_40_2610.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_56_3630.jpg', '/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_58_2820.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_01_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_29_2645.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_38_2727.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_40_2610.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_56_3630.jpg
/home/pi/Desktop/images/06112025/16/55/image_06112025_16_55_58_2820.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_01_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":["1399664304","1399664303","1399664306","1399664300","1399664305","1399664298"],"photo_ids_order":["1399664298","1399664300","1399664303","1399664304","1399664305","1399664306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eda4bd71da48eee9352e089c28697315.jpg","text":"TemporaryFile(/tmp/multipartBody4348265673648250388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894542778,"filename":"image_06112025_16_55_56_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1583c431b2a557899e78f3a6dab58d8.jpg","text":"TemporaryFile(/tmp/multipartBody2096914996635693717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894542778,"filename":"image_06112025_16_55_40_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/16/6fe993d4051cff5b27d263882ce4b527.jpg","text":"TemporaryFile(/tmp/multipartBody7973980369705354748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894542778,"filename":"image_06112025_16_56_01_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/16/018eb4b98875086469f54da1b55e15f9.jpg","text":"TemporaryFile(/tmp/multipartBody1700349983500515330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894542778,"filename":"image_06112025_16_55_38_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/16/f5cb8a4f6e470edae89ea90b1e1fbb25.jpg","text":"TemporaryFile(/tmp/multipartBody2595930077860913421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894542778,"filename":"image_06112025_16_55_58_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/16/94d707cb806b1e0aab0119387084a4f4.jpg","text":"TemporaryFile(/tmp/multipartBody8651095375370816494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894542778,"filename":"image_06112025_16_55_29_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664303","file1":"1399664300","file0":"1399664298","file4":"1399664305","file5":"1399664306","file3":"1399664304"},"map_files_photo_id_array":[{"photo_id":"1399664306","filename":"file5"},{"photo_id":"1399664303","filename":"file2"},{"photo_id":"1399664305","filename":"file4"},{"photo_id":"1399664300","filename":"file1"},{"photo_id":"1399664298","filename":"file0"},{"photo_id":"1399664304","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664304":["hashtag1","hashtag2"]},{"1399664303":["hashtag1","hashtag2"]},{"1399664306":["hashtag1","hashtag2"]},{"1399664300":["hashtag1","hashtag2"]},{"1399664305":["hashtag1","hashtag2"]},{"1399664298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664304, 1399664303, 1399664306, 1399664300, 1399664305, 1399664298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.892884731292725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:15:22.361817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/13/image_16122025_15_13_35_9685.jpg', '/home/pi/Desktop/images/16122025/15/13/image_16122025_15_13_45_10694.jpg', '/home/pi/Desktop/images/16122025/15/14/image_16122025_15_14_15_9818.jpg', '/home/pi/Desktop/images/16122025/15/14/image_16122025_15_14_26_10855.jpg', '/home/pi/Desktop/images/16122025/15/14/image_16122025_15_14_56_9789.jpg', '/home/pi/Desktop/images/16122025/15/15/image_16122025_15_15_15_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/13/image_16122025_15_13_35_9685.jpg
/home/pi/Desktop/images/16122025/15/13/image_16122025_15_13_45_10694.jpg
/home/pi/Desktop/images/16122025/15/14/image_16122025_15_14_15_9818.jpg
/home/pi/Desktop/images/16122025/15/14/image_16122025_15_14_26_10855.jpg
/home/pi/Desktop/images/16122025/15/14/image_16122025_15_14_56_9789.jpg
/home/pi/Desktop/images/16122025/15/15/image_16122025_15_15_15_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":["1399664315","1399664317","1399664311","1399664319","1399664313","1399664322"],"photo_ids_order":["1399664311","1399664313","1399664315","1399664317","1399664319","1399664322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/119c19f8cad4fa00c857485730552878.jpg","text":"TemporaryFile(/tmp/multipartBody5511518898486331179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894582931,"filename":"image_16122025_15_14_15_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/16/07b1326d7283333b2387a11139e8d6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2170886684503210024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894582931,"filename":"image_16122025_15_14_26_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/16/2ce803256c99b78ee63f182f5d7bfe57.jpg","text":"TemporaryFile(/tmp/multipartBody3787686911012471428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894582931,"filename":"image_16122025_15_13_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12f37aea45d9352eb765c1a8b82636ef.jpg","text":"TemporaryFile(/tmp/multipartBody1348367965165271180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894582931,"filename":"image_16122025_15_14_56_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41493e521d6abd721270f244c482c7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8667973387533584320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894582931,"filename":"image_16122025_15_13_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e96f5bb88e77b440e4692ac13337add.jpg","text":"TemporaryFile(/tmp/multipartBody8757296421945895178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894582931,"filename":"image_16122025_15_15_15_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664315","file1":"1399664313","file0":"1399664311","file4":"1399664319","file5":"1399664322","file3":"1399664317"},"map_files_photo_id_array":[{"photo_id":"1399664322","filename":"file5"},{"photo_id":"1399664315","filename":"file2"},{"photo_id":"1399664319","filename":"file4"},{"photo_id":"1399664313","filename":"file1"},{"photo_id":"1399664311","filename":"file0"},{"photo_id":"1399664317","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664315":["hashtag1","hashtag2"]},{"1399664317":["hashtag1","hashtag2"]},{"1399664311":["hashtag1","hashtag2"]},{"1399664319":["hashtag1","hashtag2"]},{"1399664313":["hashtag1","hashtag2"]},{"1399664322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664315, 1399664317, 1399664311, 1399664319, 1399664313, 1399664322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51965045928955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:16:03.062081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:16:12.599793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:16:22.648123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/15/image_16122025_15_15_45_9725.jpg', '/home/pi/Desktop/images/16122025/15/16/image_16122025_15_16_15_9577.jpg', '/home/pi/Desktop/images/16122025/15/16/image_16122025_15_16_26_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/15/image_16122025_15_15_45_9725.jpg
/home/pi/Desktop/images/16122025/15/16/image_16122025_15_16_15_9577.jpg
/home/pi/Desktop/images/16122025/15/16/image_16122025_15_16_26_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664329","1399664331","1399664334"],"photo_ids_order":["1399664329","1399664331","1399664334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a09e3aeea05131df8129b83446dfdd67.jpg","text":"TemporaryFile(/tmp/multipartBody5556831545248214186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894643118,"filename":"image_16122025_15_15_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/16/8f1620e7c137e16ed8791b1b028fe013.jpg","text":"TemporaryFile(/tmp/multipartBody4729318927056793762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894643118,"filename":"image_16122025_15_16_15_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1101f931efb56bb2697cf9a8220edeb.jpg","text":"TemporaryFile(/tmp/multipartBody7294592329631086990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894643118,"filename":"image_16122025_15_16_26_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664334","file1":"1399664331","file0":"1399664329"},"map_files_photo_id_array":[{"photo_id":"1399664334","filename":"file2"},{"photo_id":"1399664331","filename":"file1"},{"photo_id":"1399664329","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664329":["hashtag1","hashtag2"]},{"1399664331":["hashtag1","hashtag2"]},{"1399664334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664329, 1399664331, 1399664334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.186641454696655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:17:02.584704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:17:11.823096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:17:21.994434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/16/image_16122025_15_16_45_9699.jpg', '/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_45_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/16/image_16122025_15_16_45_9699.jpg
/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_45_9606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664369","1399664365"],"photo_ids_order":["1399664365","1399664369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a042df17a38f1b6c7ab246979d8a31a.jpg","text":"TemporaryFile(/tmp/multipartBody4796925446831094698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894702434,"filename":"image_16122025_15_17_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9cf189e721787f18a1cd73add734e3e4.jpg","text":"TemporaryFile(/tmp/multipartBody255119601269465505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894702434,"filename":"image_16122025_15_16_45_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399664369","file0":"1399664365"},"map_files_photo_id_array":[{"photo_id":"1399664369","filename":"file1"},{"photo_id":"1399664365","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664369":["hashtag1","hashtag2"]},{"1399664365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664369, 1399664365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.77588725090027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:17:41.916065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_05_3588.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_07_2488.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_11_3508.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_13_2698.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_16_2643.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_22_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_05_3588.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_07_2488.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_11_3508.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_13_2698.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_16_2643.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_22_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664387","1399664389","1399664392","1399664382","1399664385","1399664378"],"photo_ids_order":["1399664378","1399664382","1399664385","1399664387","1399664389","1399664392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/012b21e9d6cdf797d0aa12c79c98da74.jpg","text":"TemporaryFile(/tmp/multipartBody5763190033981022224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894722583,"filename":"image_06112025_16_56_13_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fde45ff675a72768a0d0a6b840f82d18.jpg","text":"TemporaryFile(/tmp/multipartBody903824688700746496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894722583,"filename":"image_06112025_16_56_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/16/c611cd9d045f24e83a605e87d99c0d1f.jpg","text":"TemporaryFile(/tmp/multipartBody5813807243683832207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894722583,"filename":"image_06112025_16_56_22_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/16/ca3ae88294defb8b26e88295484e6e49.jpg","text":"TemporaryFile(/tmp/multipartBody5365638420335806560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894722583,"filename":"image_06112025_16_56_07_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10ad65573a9689c3fb6aba6270b6143b.jpg","text":"TemporaryFile(/tmp/multipartBody5979044764713180965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894722583,"filename":"image_06112025_16_56_11_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f8d62607698bc731b706348d4dcf8f8.jpg","text":"TemporaryFile(/tmp/multipartBody8818246403241994342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894722583,"filename":"image_06112025_16_56_05_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664385","file1":"1399664382","file0":"1399664378","file4":"1399664389","file5":"1399664392","file3":"1399664387"},"map_files_photo_id_array":[{"photo_id":"1399664392","filename":"file5"},{"photo_id":"1399664385","filename":"file2"},{"photo_id":"1399664389","filename":"file4"},{"photo_id":"1399664382","filename":"file1"},{"photo_id":"1399664378","filename":"file0"},{"photo_id":"1399664387","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664387":["hashtag1","hashtag2"]},{"1399664389":["hashtag1","hashtag2"]},{"1399664392":["hashtag1","hashtag2"]},{"1399664382":["hashtag1","hashtag2"]},{"1399664385":["hashtag1","hashtag2"]},{"1399664378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664387, 1399664389, 1399664392, 1399664382, 1399664385, 1399664378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16173958778381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:18:22.177949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_56_10808.jpg', '/home/pi/Desktop/images/16122025/15/17/image_16122025_15_18_05_9626.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_26_10638.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_35_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_56_10808.jpg
/home/pi/Desktop/images/16122025/15/17/image_16122025_15_18_05_9626.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_26_10638.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_35_9578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41661787033081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:18:32.196422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:18:42.170453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_25_2570.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_29_3763.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_31_2585.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_34_2775.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_38_3738.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_40_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_25_2570.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_29_3763.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_31_2585.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_34_2775.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_38_3738.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_40_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664411","1399664408","1399664413","1399664419","1399664424","1399664412"],"photo_ids_order":["1399664408","1399664411","1399664412","1399664413","1399664419","1399664424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de355379039eb5ab617c11c5e2079795.jpg","text":"TemporaryFile(/tmp/multipartBody707903605956233478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894782867,"filename":"image_06112025_16_56_29_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/16/147f4eaf03c7a8ce8963f86b8e88d6df.jpg","text":"TemporaryFile(/tmp/multipartBody998878248793740634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894782867,"filename":"image_06112025_16_56_25_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/16/733c60865632e5986e450f00f974850a.jpg","text":"TemporaryFile(/tmp/multipartBody4828109898459613122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894782867,"filename":"image_06112025_16_56_34_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/16/d390988e901c367357e486e8ca31d805.jpg","text":"TemporaryFile(/tmp/multipartBody2468793204173123602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894782867,"filename":"image_06112025_16_56_38_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/16/92d56bd878f7a0f13dae88e5b0fe228d.jpg","text":"TemporaryFile(/tmp/multipartBody8091975844793658044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894782867,"filename":"image_06112025_16_56_40_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/16/614264c94d57739a8fd86193066108f7.jpg","text":"TemporaryFile(/tmp/multipartBody1005833409676607992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894782867,"filename":"image_06112025_16_56_31_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664412","file1":"1399664411","file0":"1399664408","file4":"1399664419","file5":"1399664424","file3":"1399664413"},"map_files_photo_id_array":[{"photo_id":"1399664424","filename":"file5"},{"photo_id":"1399664412","filename":"file2"},{"photo_id":"1399664419","filename":"file4"},{"photo_id":"1399664411","filename":"file1"},{"photo_id":"1399664408","filename":"file0"},{"photo_id":"1399664413","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664411":["hashtag1","hashtag2"]},{"1399664408":["hashtag1","hashtag2"]},{"1399664413":["hashtag1","hashtag2"]},{"1399664419":["hashtag1","hashtag2"]},{"1399664424":["hashtag1","hashtag2"]},{"1399664412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664411, 1399664408, 1399664413, 1399664419, 1399664424, 1399664412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51403212547302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:19:22.595060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_56_10808.jpg', '/home/pi/Desktop/images/16122025/15/17/image_16122025_15_18_05_9626.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_26_10638.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_35_9578.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_55_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_56_10808.jpg
/home/pi/Desktop/images/16122025/15/17/image_16122025_15_18_05_9626.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_26_10638.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_35_9578.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_55_9742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4336204528808594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:19:32.444011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:19:42.541674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_43_2504.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_49_2620.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_52_2603.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_55_3542.jpg', '/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_58_2793.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_01_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_43_2504.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_49_2620.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_52_2603.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_55_3542.jpg
/home/pi/Desktop/images/06112025/16/56/image_06112025_16_56_58_2793.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_01_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664447","1399664444","1399664443","1399664446","1399664445","1399664439"],"photo_ids_order":["1399664439","1399664443","1399664444","1399664445","1399664446","1399664447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e45a1973bfc6ce048929a0f36f8ef2a.jpg","text":"TemporaryFile(/tmp/multipartBody6788728158710955421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894843311,"filename":"image_06112025_16_57_01_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bc36dd513096866a860ceec4d3d9d0ef.jpg","text":"TemporaryFile(/tmp/multipartBody9096316944271241306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894843311,"filename":"image_06112025_16_56_52_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/16/f756cd907446f6e62bbcbf9414bb5312.jpg","text":"TemporaryFile(/tmp/multipartBody5326596207303060175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894843311,"filename":"image_06112025_16_56_49_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70ae68bc5b575c5acdebafd681281c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3518997866722274795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894843311,"filename":"image_06112025_16_56_58_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/16/8a7571a5bdfa4654f8b72ada097dec8f.jpg","text":"TemporaryFile(/tmp/multipartBody1691693085379836730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894843311,"filename":"image_06112025_16_56_55_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/16/b2462ccd2803d334fea5162fe51f0382.jpg","text":"TemporaryFile(/tmp/multipartBody4303381268365529998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894843311,"filename":"image_06112025_16_56_43_2504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664444","file1":"1399664443","file0":"1399664439","file4":"1399664446","file5":"1399664447","file3":"1399664445"},"map_files_photo_id_array":[{"photo_id":"1399664447","filename":"file5"},{"photo_id":"1399664444","filename":"file2"},{"photo_id":"1399664446","filename":"file4"},{"photo_id":"1399664443","filename":"file1"},{"photo_id":"1399664439","filename":"file0"},{"photo_id":"1399664445","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664447":["hashtag1","hashtag2"]},{"1399664444":["hashtag1","hashtag2"]},{"1399664443":["hashtag1","hashtag2"]},{"1399664446":["hashtag1","hashtag2"]},{"1399664445":["hashtag1","hashtag2"]},{"1399664439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664447, 1399664444, 1399664443, 1399664446, 1399664445, 1399664439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55930685997009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:20:22.789962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_56_10808.jpg', '/home/pi/Desktop/images/16122025/15/17/image_16122025_15_18_05_9626.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_26_10638.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_35_9578.jpg', '/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_55_9742.jpg', '/home/pi/Desktop/images/16122025/15/19/image_16122025_15_19_26_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/17/image_16122025_15_17_56_10808.jpg
/home/pi/Desktop/images/16122025/15/17/image_16122025_15_18_05_9626.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_26_10638.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_35_9578.jpg
/home/pi/Desktop/images/16122025/15/18/image_16122025_15_18_55_9742.jpg
/home/pi/Desktop/images/16122025/15/19/image_16122025_15_19_26_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":["1399664465","1399664474","1399664453","1399664488","1399664455","1399664469"],"photo_ids_order":["1399664453","1399664455","1399664465","1399664469","1399664474","1399664488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/337ca10b86fb564e82ef8790928d4465.jpg","text":"TemporaryFile(/tmp/multipartBody2759130168332024888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894883356,"filename":"image_16122025_15_18_26_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/16/0b5aac6a75495ef85a2073bb1a94eb4c.jpg","text":"TemporaryFile(/tmp/multipartBody7338116649070618612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894883356,"filename":"image_16122025_15_18_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84270021ca95bb5b20b6858b3b8a77a8.jpg","text":"TemporaryFile(/tmp/multipartBody1666816006528674882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894883356,"filename":"image_16122025_15_17_56_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/16/a6bfaa871d36041bc402b79c7d7a7a43.jpg","text":"TemporaryFile(/tmp/multipartBody4986357835684343583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894883356,"filename":"image_16122025_15_19_26_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41b510c868e79d9f4746972b875fd37b.jpg","text":"TemporaryFile(/tmp/multipartBody6603779783684527997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894883356,"filename":"image_16122025_15_18_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5901ad17647a4ea31ab0705aa749b12b.jpg","text":"TemporaryFile(/tmp/multipartBody969035657016698616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894883356,"filename":"image_16122025_15_18_35_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664465","file1":"1399664455","file0":"1399664453","file4":"1399664474","file5":"1399664488","file3":"1399664469"},"map_files_photo_id_array":[{"photo_id":"1399664488","filename":"file5"},{"photo_id":"1399664465","filename":"file2"},{"photo_id":"1399664474","filename":"file4"},{"photo_id":"1399664455","filename":"file1"},{"photo_id":"1399664453","filename":"file0"},{"photo_id":"1399664469","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664465":["hashtag1","hashtag2"]},{"1399664474":["hashtag1","hashtag2"]},{"1399664453":["hashtag1","hashtag2"]},{"1399664488":["hashtag1","hashtag2"]},{"1399664455":["hashtag1","hashtag2"]},{"1399664469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664465, 1399664474, 1399664453, 1399664488, 1399664455, 1399664469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.061936140060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:21:02.819151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/19/image_16122025_15_20_05_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/19/image_16122025_15_20_05_9621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664514"],"photo_id":"1399664514","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d65f0fd4fd356ff9087a41709a48b261.jpg","text":"TemporaryFile(/tmp/multipartBody852897653534890388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894923262,"filename":"image_16122025_15_20_05_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399664514"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399664514"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.371700763702393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:21:22.131942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/20/image_16122025_15_20_15_9756.jpg', '/home/pi/Desktop/images/16122025/15/21/image_16122025_15_21_15_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/20/image_16122025_15_20_15_9756.jpg
/home/pi/Desktop/images/16122025/15/21/image_16122025_15_21_15_9678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664522","1399664519"],"photo_ids_order":["1399664519","1399664522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d6278c2743109cad1ea2464a0468734.jpg","text":"TemporaryFile(/tmp/multipartBody4897666505728638444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894942574,"filename":"image_16122025_15_21_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73b21dd28c7aab0b77eeafccea76ff57.jpg","text":"TemporaryFile(/tmp/multipartBody9110326025858666869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894942574,"filename":"image_16122025_15_20_15_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399664522","file0":"1399664519"},"map_files_photo_id_array":[{"photo_id":"1399664522","filename":"file1"},{"photo_id":"1399664519","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664522":["hashtag1","hashtag2"]},{"1399664519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664522, 1399664519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.40090012550354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:21:42.219057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_05_3680.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_07_2660.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_14_3714.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_16_2696.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_19_2787.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_31_12157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_05_3680.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_07_2660.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_14_3714.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_16_2696.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_19_2787.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_31_12157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664531","1399664534","1399664528","1399664533","1399664535","1399664532"],"photo_ids_order":["1399664528","1399664531","1399664532","1399664533","1399664534","1399664535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a1430e589eae5aeda729b98fb1872de.jpg","text":"TemporaryFile(/tmp/multipartBody3850913062777645106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894962918,"filename":"image_06112025_16_57_07_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/16/5e94aeda2912d9a3c096b54624bf3c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3647069677250034433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894962918,"filename":"image_06112025_16_57_19_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/16/ff17b8ff79c1677a6d2266c90abda334.jpg","text":"TemporaryFile(/tmp/multipartBody7964367939808642293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894962918,"filename":"image_06112025_16_57_05_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0d20a642108f3ecc8276e942b305536.jpg","text":"TemporaryFile(/tmp/multipartBody5888958438590989266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894962918,"filename":"image_06112025_16_57_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/16/7e0efdb61d888710801a6f5318a8e1d8.jpg","text":"TemporaryFile(/tmp/multipartBody3514080887336306000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894962918,"filename":"image_06112025_16_57_31_12157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90d8ba57748d36c4855e72ebaed104c2.jpg","text":"TemporaryFile(/tmp/multipartBody381623511587774710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765894962918,"filename":"image_06112025_16_57_14_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664532","file1":"1399664531","file0":"1399664528","file4":"1399664534","file5":"1399664535","file3":"1399664533"},"map_files_photo_id_array":[{"photo_id":"1399664535","filename":"file5"},{"photo_id":"1399664532","filename":"file2"},{"photo_id":"1399664534","filename":"file4"},{"photo_id":"1399664531","filename":"file1"},{"photo_id":"1399664528","filename":"file0"},{"photo_id":"1399664533","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664531":["hashtag1","hashtag2"]},{"1399664534":["hashtag1","hashtag2"]},{"1399664528":["hashtag1","hashtag2"]},{"1399664533":["hashtag1","hashtag2"]},{"1399664535":["hashtag1","hashtag2"]},{"1399664532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664531, 1399664534, 1399664528, 1399664533, 1399664535, 1399664532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.480024337768555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:22:22.503882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/21/image_16122025_15_21_56_10761.jpg', '/home/pi/Desktop/images/16122025/15/21/image_16122025_15_22_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/21/image_16122025_15_21_56_10761.jpg
/home/pi/Desktop/images/16122025/15/21/image_16122025_15_22_05_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664539","1399664541"],"photo_ids_order":["1399664539","1399664541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f7fbe81bc558e55e2f335c7ceb902c6.jpg","text":"TemporaryFile(/tmp/multipartBody782476449230358111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895002945,"filename":"image_16122025_15_21_56_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcfabefe19026900a30e37bcb70f4e94.jpg","text":"TemporaryFile(/tmp/multipartBody5262037151291245731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895002945,"filename":"image_16122025_15_22_05_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399664541","file0":"1399664539"},"map_files_photo_id_array":[{"photo_id":"1399664541","filename":"file1"},{"photo_id":"1399664539","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664539":["hashtag1","hashtag2"]},{"1399664541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664539, 1399664541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.346110582351685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:22:42.447195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_52_20616.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_53_1651.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_55_1640.jpg', '/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_58_1674.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_01_2235.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_02_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_52_20616.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_53_1651.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_55_1640.jpg
/home/pi/Desktop/images/06112025/16/57/image_06112025_16_57_58_1674.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_01_2235.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_02_1613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664564","1399664558","1399664561","1399664566","1399664565","1399664553"],"photo_ids_order":["1399664553","1399664558","1399664561","1399664564","1399664565","1399664566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3433c5a8195c8f49f71466fbcea467c4.jpg","text":"TemporaryFile(/tmp/multipartBody2581820718725222292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895023167,"filename":"image_06112025_16_57_58_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/16/cc30848793ab1edfcc76b0b75bed15f4.jpg","text":"TemporaryFile(/tmp/multipartBody8328904005172741703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895023167,"filename":"image_06112025_16_57_53_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/16/6c3d1e3b7f7067ef7b797693e0a048a8.jpg","text":"TemporaryFile(/tmp/multipartBody7477883023634447205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895023167,"filename":"image_06112025_16_57_55_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/16/5c12c806000d7b7cf83ea8bc3d20a08e.jpg","text":"TemporaryFile(/tmp/multipartBody7415870373141972107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895023167,"filename":"image_06112025_16_58_02_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81a327ab3977b9d2604ee86ebe83783a.jpg","text":"TemporaryFile(/tmp/multipartBody3629213253574404336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895023167,"filename":"image_06112025_16_58_01_2235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3840e39b537cdfae902ba9116db8c6ad.jpg","text":"TemporaryFile(/tmp/multipartBody1820047794572556513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895023167,"filename":"image_06112025_16_57_52_20616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664561","file1":"1399664558","file0":"1399664553","file4":"1399664565","file5":"1399664566","file3":"1399664564"},"map_files_photo_id_array":[{"photo_id":"1399664566","filename":"file5"},{"photo_id":"1399664561","filename":"file2"},{"photo_id":"1399664565","filename":"file4"},{"photo_id":"1399664558","filename":"file1"},{"photo_id":"1399664553","filename":"file0"},{"photo_id":"1399664564","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664564":["hashtag1","hashtag2"]},{"1399664558":["hashtag1","hashtag2"]},{"1399664561":["hashtag1","hashtag2"]},{"1399664566":["hashtag1","hashtag2"]},{"1399664565":["hashtag1","hashtag2"]},{"1399664553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664564, 1399664558, 1399664561, 1399664566, 1399664565, 1399664553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31427454948425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:23:22.772666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/22/image_16122025_15_22_35_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/22/image_16122025_15_22_35_9598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664572"],"photo_id":"1399664572","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b26acdbf512c83ed986c9592d051e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody3859302811645669565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895063186,"filename":"image_16122025_15_22_35_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399664572"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399664572"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.627015113830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:23:42.713074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_04_1511.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_05_1613.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_09_1643.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_12_1681.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_13_1554.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_15_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_04_1511.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_05_1613.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_09_1643.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_12_1681.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_13_1554.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_15_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664600","1399664599","1399664593","1399664584","1399664598","1399664595"],"photo_ids_order":["1399664584","1399664593","1399664595","1399664598","1399664599","1399664600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c663be20c5b7fc0630fb3cfc4a087326.jpg","text":"TemporaryFile(/tmp/multipartBody4258315019611405336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895083438,"filename":"image_06112025_16_58_15_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/16/f39b0a9a321853250f6da85a2c904a21.jpg","text":"TemporaryFile(/tmp/multipartBody3257542226717362384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895083438,"filename":"image_06112025_16_58_13_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/16/f146bacbcae6cad9bde04e5bff28f572.jpg","text":"TemporaryFile(/tmp/multipartBody5437969498041162313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895083438,"filename":"image_06112025_16_58_05_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/16/f6bf5b88f030e3ad5c14212f19dec74f.jpg","text":"TemporaryFile(/tmp/multipartBody8055659184576317485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895083438,"filename":"image_06112025_16_58_04_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f025dfdafa906dfa2048c270a2f73ee2.jpg","text":"TemporaryFile(/tmp/multipartBody7785638531492042859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895083438,"filename":"image_06112025_16_58_12_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a38b13c537098e974668f3a558f34b1a.jpg","text":"TemporaryFile(/tmp/multipartBody8282138861830053000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895083438,"filename":"image_06112025_16_58_09_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664595","file1":"1399664593","file0":"1399664584","file4":"1399664599","file5":"1399664600","file3":"1399664598"},"map_files_photo_id_array":[{"photo_id":"1399664600","filename":"file5"},{"photo_id":"1399664595","filename":"file2"},{"photo_id":"1399664599","filename":"file4"},{"photo_id":"1399664593","filename":"file1"},{"photo_id":"1399664584","filename":"file0"},{"photo_id":"1399664598","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664600":["hashtag1","hashtag2"]},{"1399664599":["hashtag1","hashtag2"]},{"1399664593":["hashtag1","hashtag2"]},{"1399664584":["hashtag1","hashtag2"]},{"1399664598":["hashtag1","hashtag2"]},{"1399664595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664600, 1399664599, 1399664593, 1399664584, 1399664598, 1399664595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69445204734802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:24:22.015829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/23/image_16122025_15_23_35_9733.jpg', '/home/pi/Desktop/images/16122025/15/23/image_16122025_15_24_05_9716.jpg', '/home/pi/Desktop/images/16122025/15/24/image_16122025_15_24_15_9861.jpg', '/home/pi/Desktop/images/16122025/15/24/image_16122025_15_24_25_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/23/image_16122025_15_23_35_9733.jpg
/home/pi/Desktop/images/16122025/15/23/image_16122025_15_24_05_9716.jpg
/home/pi/Desktop/images/16122025/15/24/image_16122025_15_24_15_9861.jpg
/home/pi/Desktop/images/16122025/15/24/image_16122025_15_24_25_10015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664609","1399664611","1399664608","1399664604"],"photo_ids_order":["1399664604","1399664608","1399664609","1399664611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcc477a4593039ee194d35348110870a.jpg","text":"TemporaryFile(/tmp/multipartBody8034805047648750972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895122532,"filename":"image_16122025_15_24_15_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f58dd7f050cd513a82a2b1fad924c9e.jpg","text":"TemporaryFile(/tmp/multipartBody1947997629639339556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895122532,"filename":"image_16122025_15_24_25_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/16/ac6acbce9663ff2e4e081382833bfe5f.jpg","text":"TemporaryFile(/tmp/multipartBody3588204794145287583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895122532,"filename":"image_16122025_15_24_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/16/591b17351442e0547c4e82cface7ea6d.jpg","text":"TemporaryFile(/tmp/multipartBody3804140378820126213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895122532,"filename":"image_16122025_15_23_35_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664609","file1":"1399664608","file0":"1399664604","file3":"1399664611"},"map_files_photo_id_array":[{"photo_id":"1399664609","filename":"file2"},{"photo_id":"1399664608","filename":"file1"},{"photo_id":"1399664604","filename":"file0"},{"photo_id":"1399664611","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664609":["hashtag1","hashtag2"]},{"1399664611":["hashtag1","hashtag2"]},{"1399664608":["hashtag1","hashtag2"]},{"1399664604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664609, 1399664611, 1399664608, 1399664604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.018665313720703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:25:02.938431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:25:12.145056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:25:22.258358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/24/image_16122025_15_24_35_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/24/image_16122025_15_24_35_9623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664636"],"photo_id":"1399664636","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1fea2eebb8980c6882df759206c81d4b.jpg","text":"TemporaryFile(/tmp/multipartBody1974780244049196005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895182673,"filename":"image_16122025_15_24_35_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399664636"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399664636"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.057061910629272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:25:42.262171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_17_1742.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_19_1658.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_20_1633.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_22_1656.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_23_1667.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_57_33380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_17_1742.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_19_1658.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_20_1633.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_22_1656.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_23_1667.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_57_33380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664645","1399664648","1399664647","1399664646","1399664649","1399664643"],"photo_ids_order":["1399664643","1399664645","1399664646","1399664647","1399664648","1399664649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f7c08a24736132343f5762d1d750abc.jpg","text":"TemporaryFile(/tmp/multipartBody722561135427747654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895203019,"filename":"image_06112025_16_58_19_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/16/f3d322b29cc522e37189967b24776576.jpg","text":"TemporaryFile(/tmp/multipartBody4236271896436210286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895203019,"filename":"image_06112025_16_58_23_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bf69d4eaa41b087213c910b1769ba6e.jpg","text":"TemporaryFile(/tmp/multipartBody5569162602828468094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895203019,"filename":"image_06112025_16_58_22_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/16/74ee7bf865a9288fbd6b1e58bc1ffffb.jpg","text":"TemporaryFile(/tmp/multipartBody6400607894394607930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895203019,"filename":"image_06112025_16_58_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/16/51bfcf9a3f73bbd32baa6c61e21d810f.jpg","text":"TemporaryFile(/tmp/multipartBody1259951853242154927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895203019,"filename":"image_06112025_16_58_57_33380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/562ecba19552f6d3efbc7ca29a4c5bb1.jpg","text":"TemporaryFile(/tmp/multipartBody2563936160694168799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895203019,"filename":"image_06112025_16_58_17_1742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664646","file1":"1399664645","file0":"1399664643","file4":"1399664648","file5":"1399664649","file3":"1399664647"},"map_files_photo_id_array":[{"photo_id":"1399664649","filename":"file5"},{"photo_id":"1399664646","filename":"file2"},{"photo_id":"1399664648","filename":"file4"},{"photo_id":"1399664645","filename":"file1"},{"photo_id":"1399664643","filename":"file0"},{"photo_id":"1399664647","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664645":["hashtag1","hashtag2"]},{"1399664648":["hashtag1","hashtag2"]},{"1399664647":["hashtag1","hashtag2"]},{"1399664646":["hashtag1","hashtag2"]},{"1399664649":["hashtag1","hashtag2"]},{"1399664643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664645, 1399664648, 1399664647, 1399664646, 1399664649, 1399664643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13121819496155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:26:22.614955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/25/image_16122025_15_25_15_10642.jpg', '/home/pi/Desktop/images/16122025/15/26/image_16122025_15_26_16_10634.jpg', '/home/pi/Desktop/images/16122025/15/26/image_16122025_15_26_25_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/25/image_16122025_15_25_15_10642.jpg
/home/pi/Desktop/images/16122025/15/26/image_16122025_15_26_16_10634.jpg
/home/pi/Desktop/images/16122025/15/26/image_16122025_15_26_25_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":["1399664660","1399664655","1399664658"],"photo_ids_order":["1399664655","1399664658","1399664660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f5eb6edd231975882a4266a454ad4c5.jpg","text":"TemporaryFile(/tmp/multipartBody1280931325140708099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895243098,"filename":"image_16122025_15_26_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/16/5cfdd00afee6cc9ac2369cff7ef1347c.jpg","text":"TemporaryFile(/tmp/multipartBody304729115545501041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895243098,"filename":"image_16122025_15_25_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50e521ccc319879bf08d9ae370bacf6b.jpg","text":"TemporaryFile(/tmp/multipartBody3415892204583277814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895243098,"filename":"image_16122025_15_26_16_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664660","file1":"1399664658","file0":"1399664655"},"map_files_photo_id_array":[{"photo_id":"1399664660","filename":"file2"},{"photo_id":"1399664658","filename":"file1"},{"photo_id":"1399664655","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664660":["hashtag1","hashtag2"]},{"1399664655":["hashtag1","hashtag2"]},{"1399664658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664660, 1399664655, 1399664658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.658082962036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:27:02.524255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:27:11.830325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:27:21.832210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/26/image_16122025_15_26_46_10629.jpg', '/home/pi/Desktop/images/16122025/15/27/image_16122025_15_27_16_10713.jpg', '/home/pi/Desktop/images/16122025/15/27/image_16122025_15_27_45_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/26/image_16122025_15_26_46_10629.jpg
/home/pi/Desktop/images/16122025/15/27/image_16122025_15_27_16_10713.jpg
/home/pi/Desktop/images/16122025/15/27/image_16122025_15_27_45_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":["1399664692","1399664686","1399664701"],"photo_ids_order":["1399664686","1399664692","1399664701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c066ab2b0a18beeeb389c8f6d83087cb.jpg","text":"TemporaryFile(/tmp/multipartBody3781617492536065638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895302300,"filename":"image_16122025_15_27_16_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4b06df78055a7dd8b86a8185d30ad48.jpg","text":"TemporaryFile(/tmp/multipartBody4969095964081769241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895302300,"filename":"image_16122025_15_26_46_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/16/62ced1fe4d0e07a64047d90602f720c9.jpg","text":"TemporaryFile(/tmp/multipartBody709110958978091926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895302300,"filename":"image_16122025_15_27_45_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664701","file1":"1399664692","file0":"1399664686"},"map_files_photo_id_array":[{"photo_id":"1399664701","filename":"file2"},{"photo_id":"1399664692","filename":"file1"},{"photo_id":"1399664686","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664692":["hashtag1","hashtag2"]},{"1399664686":["hashtag1","hashtag2"]},{"1399664701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664692, 1399664686, 1399664701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.75905728340149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:28:02.556510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:28:12.063305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:28:22.147948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/27/image_16122025_15_27_55_9675.jpg', '/home/pi/Desktop/images/16122025/15/27/image_16122025_15_28_05_9786.jpg', '/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_16_10646.jpg', '/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_25_9583.jpg', '/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_35_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/27/image_16122025_15_27_55_9675.jpg
/home/pi/Desktop/images/16122025/15/27/image_16122025_15_28_05_9786.jpg
/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_16_10646.jpg
/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_25_9583.jpg
/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_35_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664726","1399664714","1399664716","1399664719","1399664724"],"photo_ids_order":["1399664714","1399664716","1399664719","1399664724","1399664726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/177e5304ca89f82dc083643fe32cb8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3944643499074319936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895362670,"filename":"image_16122025_15_28_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/845975692c8d7a29d25b4c078cb698d1.jpg","text":"TemporaryFile(/tmp/multipartBody7408654399382925209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895362670,"filename":"image_16122025_15_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/16/92e7e1341ae71dc737e5bf695234e27d.jpg","text":"TemporaryFile(/tmp/multipartBody7019891777888909132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895362670,"filename":"image_16122025_15_28_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/16/dac5249bc66baa6931ba2299b9ec17c4.jpg","text":"TemporaryFile(/tmp/multipartBody8974755004911302069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895362670,"filename":"image_16122025_15_28_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/16/a182a45872635e0da926d4cd91e8df69.jpg","text":"TemporaryFile(/tmp/multipartBody3011879068919792012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895362670,"filename":"image_16122025_15_28_25_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664719","file1":"1399664716","file0":"1399664714","file4":"1399664726","file3":"1399664724"},"map_files_photo_id_array":[{"photo_id":"1399664719","filename":"file2"},{"photo_id":"1399664726","filename":"file4"},{"photo_id":"1399664716","filename":"file1"},{"photo_id":"1399664714","filename":"file0"},{"photo_id":"1399664724","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664726":["hashtag1","hashtag2"]},{"1399664714":["hashtag1","hashtag2"]},{"1399664716":["hashtag1","hashtag2"]},{"1399664719":["hashtag1","hashtag2"]},{"1399664724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664726, 1399664714, 1399664716, 1399664719, 1399664724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.678620100021362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:29:03.349561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:29:12.376850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:29:22.481187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_55_9607.jpg', '/home/pi/Desktop/images/16122025/15/29/image_16122025_15_29_46_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/28/image_16122025_15_28_55_9607.jpg
/home/pi/Desktop/images/16122025/15/29/image_16122025_15_29_46_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664752","1399664748"],"photo_ids_order":["1399664748","1399664752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9522a351b0c86486fafaf326d30df6e2.jpg","text":"TemporaryFile(/tmp/multipartBody4262847974387073290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895422920,"filename":"image_16122025_15_29_46_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c93419cb93641bac8d0a22d832b22d5.jpg","text":"TemporaryFile(/tmp/multipartBody6715271492453111422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895422920,"filename":"image_16122025_15_28_55_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399664752","file0":"1399664748"},"map_files_photo_id_array":[{"photo_id":"1399664752","filename":"file1"},{"photo_id":"1399664748","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664752":["hashtag1","hashtag2"]},{"1399664748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664752, 1399664748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.16448736190796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:29:42.362277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_58_1647.jpg', '/home/pi/Desktop/images/06112025/16/58/image_06112025_16_59_00_1749.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_02_1693.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_04_1873.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_07_1723.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_09_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_58_58_1647.jpg
/home/pi/Desktop/images/06112025/16/58/image_06112025_16_59_00_1749.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_02_1693.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_04_1873.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_07_1723.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_09_1596.jpg
 val : 1 : upload photos 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":["1399664762","1399664759","1399664776","1399664778","1399664763","1399664774"],"photo_ids_order":["1399664759","1399664762","1399664763","1399664774","1399664776","1399664778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3d257be91e15dcf9a103f4f5d48a663.jpg","text":"TemporaryFile(/tmp/multipartBody3925894627074225094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895443073,"filename":"image_06112025_16_59_00_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16cf684ecd7adadc05512db49f02b88f.jpg","text":"TemporaryFile(/tmp/multipartBody779652986471966889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895443073,"filename":"image_06112025_16_58_58_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/16/2f9ecaa2431cc9f2dab8b01af8a290ef.jpg","text":"TemporaryFile(/tmp/multipartBody4086173733976490810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895443073,"filename":"image_06112025_16_59_07_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e8374f2544b2ceef7a8070f761115b4.jpg","text":"TemporaryFile(/tmp/multipartBody6414075548324599490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895443073,"filename":"image_06112025_16_59_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/16/31a6829dc3d631a0e9ee71d039f118a3.jpg","text":"TemporaryFile(/tmp/multipartBody3516051760890085215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895443073,"filename":"image_06112025_16_59_02_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8feb3af08e08d7b6c82c5bd71143063f.jpg","text":"TemporaryFile(/tmp/multipartBody3253938603669155166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895443073,"filename":"image_06112025_16_59_04_1873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664763","file1":"1399664762","file0":"1399664759","file4":"1399664776","file5":"1399664778","file3":"1399664774"},"map_files_photo_id_array":[{"photo_id":"1399664778","filename":"file5"},{"photo_id":"1399664763","filename":"file2"},{"photo_id":"1399664776","filename":"file4"},{"photo_id":"1399664762","filename":"file1"},{"photo_id":"1399664759","filename":"file0"},{"photo_id":"1399664774","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664762":["hashtag1","hashtag2"]},{"1399664759":["hashtag1","hashtag2"]},{"1399664776":["hashtag1","hashtag2"]},{"1399664778":["hashtag1","hashtag2"]},{"1399664763":["hashtag1","hashtag2"]},{"1399664774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664762, 1399664759, 1399664776, 1399664778, 1399664763, 1399664774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.56155061721802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:31:03.443693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/29/image_16122025_15_29_55_9665.jpg', '/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_15_10049.jpg', '/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_25_10628.jpg', '/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_35_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/29/image_16122025_15_29_55_9665.jpg
/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_15_10049.jpg
/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_25_10628.jpg
/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_35_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":["1399664791","1399664793","1399664787","1399664789"],"photo_ids_order":["1399664787","1399664789","1399664791","1399664793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6564ccdd9f3e272f4813ed2ac19ba1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2860624399798395860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895523984,"filename":"image_16122025_15_30_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/16/acc2adae52cacf543177ecfe03e7b99e.jpg","text":"TemporaryFile(/tmp/multipartBody4406797950994695941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895523984,"filename":"image_16122025_15_30_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b50ebc0b282681c350cb084517b105b.jpg","text":"TemporaryFile(/tmp/multipartBody5218558034177255239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895523984,"filename":"image_16122025_15_29_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ca3c1beb022acc6357f80d7027818dfb.jpg","text":"TemporaryFile(/tmp/multipartBody650418108590510627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895523984,"filename":"image_16122025_15_30_15_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664791","file1":"1399664789","file0":"1399664787","file3":"1399664793"},"map_files_photo_id_array":[{"photo_id":"1399664791","filename":"file2"},{"photo_id":"1399664789","filename":"file1"},{"photo_id":"1399664787","filename":"file0"},{"photo_id":"1399664793","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664791":["hashtag1","hashtag2"]},{"1399664793":["hashtag1","hashtag2"]},{"1399664787":["hashtag1","hashtag2"]},{"1399664789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664791, 1399664793, 1399664787, 1399664789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.07797598838806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:31:32.764697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:31:42.791835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_12_1690.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_14_1608.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_16_1828.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_17_1703.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_19_1653.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_21_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_12_1690.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_14_1608.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_16_1828.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_17_1703.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_19_1653.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_21_1616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664810","1399664807","1399664801","1399664804","1399664809","1399664808"],"photo_ids_order":["1399664801","1399664804","1399664807","1399664808","1399664809","1399664810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd07b7f781eada2e3698c74a1fa20dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7932719480489725125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895563505,"filename":"image_06112025_16_59_21_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/16/6cebf7cba23f785093e9ae1a227b06f0.jpg","text":"TemporaryFile(/tmp/multipartBody3349711640165236017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895563505,"filename":"image_06112025_16_59_16_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e01a5063bbe09c034e83c26cc1f6727e.jpg","text":"TemporaryFile(/tmp/multipartBody2121618162812703619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895563505,"filename":"image_06112025_16_59_12_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/16/358d7e44efa0b1cf60c9f0e118c3f99b.jpg","text":"TemporaryFile(/tmp/multipartBody105243038257878473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895563505,"filename":"image_06112025_16_59_14_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a60137dc83139636c4a53c492bcee02.jpg","text":"TemporaryFile(/tmp/multipartBody731313339391264969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895563505,"filename":"image_06112025_16_59_19_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b12bbabac4a622a7d1a4bccdb792f632.jpg","text":"TemporaryFile(/tmp/multipartBody8658865142537010439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895563505,"filename":"image_06112025_16_59_17_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664807","file1":"1399664804","file0":"1399664801","file4":"1399664809","file5":"1399664810","file3":"1399664808"},"map_files_photo_id_array":[{"photo_id":"1399664810","filename":"file5"},{"photo_id":"1399664807","filename":"file2"},{"photo_id":"1399664809","filename":"file4"},{"photo_id":"1399664804","filename":"file1"},{"photo_id":"1399664801","filename":"file0"},{"photo_id":"1399664808","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664810":["hashtag1","hashtag2"]},{"1399664807":["hashtag1","hashtag2"]},{"1399664801":["hashtag1","hashtag2"]},{"1399664804":["hashtag1","hashtag2"]},{"1399664809":["hashtag1","hashtag2"]},{"1399664808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664810, 1399664807, 1399664801, 1399664804, 1399664809, 1399664808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.976747274398804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:32:22.132134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_45_10606.jpg', '/home/pi/Desktop/images/16122025/15/31/image_16122025_15_31_25_9635.jpg', '/home/pi/Desktop/images/16122025/15/31/image_16122025_15_31_35_9579.jpg', '/home/pi/Desktop/images/16122025/15/31/image_16122025_15_32_05_9793.jpg', '/home/pi/Desktop/images/16122025/15/32/image_16122025_15_32_15_10716.jpg', '/home/pi/Desktop/images/16122025/15/32/image_16122025_15_32_45_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/30/image_16122025_15_30_45_10606.jpg
/home/pi/Desktop/images/16122025/15/31/image_16122025_15_31_25_9635.jpg
/home/pi/Desktop/images/16122025/15/31/image_16122025_15_31_35_9579.jpg
/home/pi/Desktop/images/16122025/15/31/image_16122025_15_32_05_9793.jpg
/home/pi/Desktop/images/16122025/15/32/image_16122025_15_32_15_10716.jpg
/home/pi/Desktop/images/16122025/15/32/image_16122025_15_32_45_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":["1399664819","1399664828","1399664816","1399664821","1399664826","1399664823"],"photo_ids_order":["1399664816","1399664819","1399664821","1399664823","1399664826","1399664828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/456d8ae2b60845efa6c0d1959a551195.jpg","text":"TemporaryFile(/tmp/multipartBody5276408570012475009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895602701,"filename":"image_16122025_15_31_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f51d074860694f3067cd5f31b6a8d87.jpg","text":"TemporaryFile(/tmp/multipartBody5678232061542055439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895602701,"filename":"image_16122025_15_32_45_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/86dabca3d171a60d2d3c15ff611db9bd.jpg","text":"TemporaryFile(/tmp/multipartBody1523509850207599783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895602701,"filename":"image_16122025_15_30_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/16/b58d8b62b3d176be3785ea5e476b5fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8616204373646519579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895602701,"filename":"image_16122025_15_31_35_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/16/e3577a475b15b393825973afb79a7424.jpg","text":"TemporaryFile(/tmp/multipartBody3413503804483338658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895602701,"filename":"image_16122025_15_32_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98a3d4102c15959e72d85c453a3a196a.jpg","text":"TemporaryFile(/tmp/multipartBody9026482643484151212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895602701,"filename":"image_16122025_15_32_05_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664821","file1":"1399664819","file0":"1399664816","file4":"1399664826","file5":"1399664828","file3":"1399664823"},"map_files_photo_id_array":[{"photo_id":"1399664828","filename":"file5"},{"photo_id":"1399664821","filename":"file2"},{"photo_id":"1399664826","filename":"file4"},{"photo_id":"1399664819","filename":"file1"},{"photo_id":"1399664816","filename":"file0"},{"photo_id":"1399664823","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664819":["hashtag1","hashtag2"]},{"1399664828":["hashtag1","hashtag2"]},{"1399664816":["hashtag1","hashtag2"]},{"1399664821":["hashtag1","hashtag2"]},{"1399664826":["hashtag1","hashtag2"]},{"1399664823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664819, 1399664828, 1399664816, 1399664821, 1399664826, 1399664823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02300143241882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:33:02.962005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:33:12.303313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:33:22.326206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/32/image_16122025_15_32_55_10556.jpg', '/home/pi/Desktop/images/16122025/15/32/image_16122025_15_33_05_9743.jpg', '/home/pi/Desktop/images/16122025/15/33/image_16122025_15_33_25_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/32/image_16122025_15_32_55_10556.jpg
/home/pi/Desktop/images/16122025/15/32/image_16122025_15_33_05_9743.jpg
/home/pi/Desktop/images/16122025/15/33/image_16122025_15_33_25_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":["1399664833","1399664835","1399664838"],"photo_ids_order":["1399664833","1399664835","1399664838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa48d5317d5061dd6af5f2fbd6252c89.jpg","text":"TemporaryFile(/tmp/multipartBody8589281003759249538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895662800,"filename":"image_16122025_15_32_55_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e729345f6ef58a4e8e50663b601c21b.jpg","text":"TemporaryFile(/tmp/multipartBody4456466681130293398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895662800,"filename":"image_16122025_15_33_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7c8d1be8b560e67bedc5a9579ad8f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3673182682105771541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895662800,"filename":"image_16122025_15_33_25_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664838","file1":"1399664835","file0":"1399664833"},"map_files_photo_id_array":[{"photo_id":"1399664838","filename":"file2"},{"photo_id":"1399664835","filename":"file1"},{"photo_id":"1399664833","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664833":["hashtag1","hashtag2"]},{"1399664835":["hashtag1","hashtag2"]},{"1399664838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664833, 1399664835, 1399664838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.146573543548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:34:03.284526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:34:12.635444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:34:22.786539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/33/image_16122025_15_33_45_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/33/image_16122025_15_33_45_9847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664865"],"photo_id":"1399664865","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/033f013ddb2396b7969a5bfaee3b2bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8836272562727037784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895723205,"filename":"image_16122025_15_33_45_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399664865"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399664865"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.454570770263672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:34:42.598626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_22_1486.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_24_1793.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_25_1532.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_27_1744.jpg', '/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_29_1588.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_08_3943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_22_1486.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_24_1793.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_25_1532.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_27_1744.jpg
/home/pi/Desktop/images/06112025/16/59/image_06112025_16_59_29_1588.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_08_3943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664909","1399664899","1399664911","1399664908","1399664907","1399664901"],"photo_ids_order":["1399664899","1399664901","1399664907","1399664908","1399664909","1399664911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c399f0d288b1b63cb04cc791d01c829.jpg","text":"TemporaryFile(/tmp/multipartBody1994042547476422008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895743303,"filename":"image_06112025_16_59_29_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/16/d27483f387ff98e9c91001f651f69d51.jpg","text":"TemporaryFile(/tmp/multipartBody5117589545449313713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895743303,"filename":"image_06112025_16_59_22_1486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33716b37e46c54605a3f94387d458741.jpg","text":"TemporaryFile(/tmp/multipartBody6371256776887302099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895743303,"filename":"image_06112025_17_01_08_3943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/025d4bd82cc406135955f7d3d25d5794.jpg","text":"TemporaryFile(/tmp/multipartBody5892259321909192792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895743303,"filename":"image_06112025_16_59_27_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/16/0bfa9190b4b896100445b52d1d979f96.jpg","text":"TemporaryFile(/tmp/multipartBody4359499954505301788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895743303,"filename":"image_06112025_16_59_25_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/16/67b45fed29ee72d10daf2750b099ea62.jpg","text":"TemporaryFile(/tmp/multipartBody571178326119542222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895743303,"filename":"image_06112025_16_59_24_1793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664907","file1":"1399664901","file0":"1399664899","file4":"1399664909","file5":"1399664911","file3":"1399664908"},"map_files_photo_id_array":[{"photo_id":"1399664911","filename":"file5"},{"photo_id":"1399664907","filename":"file2"},{"photo_id":"1399664909","filename":"file4"},{"photo_id":"1399664901","filename":"file1"},{"photo_id":"1399664899","filename":"file0"},{"photo_id":"1399664908","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664909":["hashtag1","hashtag2"]},{"1399664899":["hashtag1","hashtag2"]},{"1399664911":["hashtag1","hashtag2"]},{"1399664908":["hashtag1","hashtag2"]},{"1399664907":["hashtag1","hashtag2"]},{"1399664901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664909, 1399664899, 1399664911, 1399664908, 1399664907, 1399664901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83283257484436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:35:21.880490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/33/image_16122025_15_34_05_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/33/image_16122025_15_34_05_9670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664913"],"photo_id":"1399664913","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1dd5230ceb024d487552d3a6b08a0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody1967719729472957106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895782294,"filename":"image_16122025_15_34_05_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399664913"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399664913"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.676377058029175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:35:41.783203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_10_2651.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_13_2722.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_16_2788.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_19_3626.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_26_6300.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_27_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_10_2651.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_13_2722.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_16_2788.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_19_3626.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_26_6300.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_27_1566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664948","1399664950","1399664947","1399664935","1399664944","1399664931"],"photo_ids_order":["1399664931","1399664935","1399664944","1399664947","1399664948","1399664950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80d6c01060f4795435faf58742bc04ab.jpg","text":"TemporaryFile(/tmp/multipartBody4839140107342953011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895802494,"filename":"image_06112025_17_01_26_6300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b4f135e3abf389a647b7c060215d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody4217708513119656003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895802494,"filename":"image_06112025_17_01_27_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/16/574bffec150146a054084184697a18c4.jpg","text":"TemporaryFile(/tmp/multipartBody1453898907410321596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895802494,"filename":"image_06112025_17_01_19_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a4db8774fd1700ecd438620e5d31310.jpg","text":"TemporaryFile(/tmp/multipartBody657012285976453573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895802494,"filename":"image_06112025_17_01_13_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/94f03071d0320a40597e43269a64f420.jpg","text":"TemporaryFile(/tmp/multipartBody7857395733913517376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895802494,"filename":"image_06112025_17_01_16_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/16/bc1748d920bd2779ae541be8d069cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody3913983979516794155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895802494,"filename":"image_06112025_17_01_10_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664944","file1":"1399664935","file0":"1399664931","file4":"1399664948","file5":"1399664950","file3":"1399664947"},"map_files_photo_id_array":[{"photo_id":"1399664950","filename":"file5"},{"photo_id":"1399664944","filename":"file2"},{"photo_id":"1399664948","filename":"file4"},{"photo_id":"1399664935","filename":"file1"},{"photo_id":"1399664931","filename":"file0"},{"photo_id":"1399664947","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664948":["hashtag1","hashtag2"]},{"1399664950":["hashtag1","hashtag2"]},{"1399664947":["hashtag1","hashtag2"]},{"1399664935":["hashtag1","hashtag2"]},{"1399664944":["hashtag1","hashtag2"]},{"1399664931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664948, 1399664950, 1399664947, 1399664935, 1399664944, 1399664931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08395528793335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:36:22.040752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/35/image_16122025_15_35_25_9770.jpg', '/home/pi/Desktop/images/16122025/15/35/image_16122025_15_36_05_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/35/image_16122025_15_35_25_9770.jpg
/home/pi/Desktop/images/16122025/15/35/image_16122025_15_36_05_9573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664959","1399664961"],"photo_ids_order":["1399664959","1399664961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/076883b4131064011a1d2ac2f01b1e4c.jpg","text":"TemporaryFile(/tmp/multipartBody924780391797422274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895842475,"filename":"image_16122025_15_35_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a8aec8abbf48151246b2490840e9ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2552163720234461991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895842475,"filename":"image_16122025_15_36_05_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399664961","file0":"1399664959"},"map_files_photo_id_array":[{"photo_id":"1399664961","filename":"file1"},{"photo_id":"1399664959","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664959":["hashtag1","hashtag2"]},{"1399664961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664959, 1399664961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.17052412033081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:36:42.066554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_29_1536.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_31_2546.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_34_2677.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_40_6195.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_42_1633.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_44_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_29_1536.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_31_2546.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_34_2677.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_40_6195.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_42_1633.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_44_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664975","1399664986","1399664971","1399664974","1399664976","1399664984"],"photo_ids_order":["1399664971","1399664974","1399664975","1399664976","1399664984","1399664986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76bb7e6149c30b90d21162775ef1e1ce.jpg","text":"TemporaryFile(/tmp/multipartBody7010765456328515474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895862756,"filename":"image_06112025_17_01_34_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/16/597793448b0fd7e943bfe0905274c6e2.jpg","text":"TemporaryFile(/tmp/multipartBody3253363219530001379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895862756,"filename":"image_06112025_17_01_44_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/16/04030370ecb100ca1bf478d8d0255800.jpg","text":"TemporaryFile(/tmp/multipartBody5386994767910010453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895862756,"filename":"image_06112025_17_01_29_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/16/d25ffd2fb0d1228f6766dcd4227ea674.jpg","text":"TemporaryFile(/tmp/multipartBody5474864558480112671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895862756,"filename":"image_06112025_17_01_31_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/16/ef97bbe0dcfb2a0f4db9ece8e677156e.jpg","text":"TemporaryFile(/tmp/multipartBody6517186237993964872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895862756,"filename":"image_06112025_17_01_40_6195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23c974fc3fe42da79090fc86beafad4d.jpg","text":"TemporaryFile(/tmp/multipartBody3283889748050349131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895862756,"filename":"image_06112025_17_01_42_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664975","file1":"1399664974","file0":"1399664971","file4":"1399664984","file5":"1399664986","file3":"1399664976"},"map_files_photo_id_array":[{"photo_id":"1399664986","filename":"file5"},{"photo_id":"1399664975","filename":"file2"},{"photo_id":"1399664984","filename":"file4"},{"photo_id":"1399664974","filename":"file1"},{"photo_id":"1399664971","filename":"file0"},{"photo_id":"1399664976","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399664975":["hashtag1","hashtag2"]},{"1399664986":["hashtag1","hashtag2"]},{"1399664971":["hashtag1","hashtag2"]},{"1399664974":["hashtag1","hashtag2"]},{"1399664976":["hashtag1","hashtag2"]},{"1399664984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399664975, 1399664986, 1399664971, 1399664974, 1399664976, 1399664984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39730405807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:37:22.324081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/36/image_16122025_15_36_25_9631.jpg', '/home/pi/Desktop/images/16122025/15/36/image_16122025_15_37_05_9629.jpg', '/home/pi/Desktop/images/16122025/15/37/image_16122025_15_37_45_10518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/36/image_16122025_15_36_25_9631.jpg
/home/pi/Desktop/images/16122025/15/36/image_16122025_15_37_05_9629.jpg
/home/pi/Desktop/images/16122025/15/37/image_16122025_15_37_45_10518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399664995","1399664992","1399664989"],"photo_ids_order":["1399664989","1399664992","1399664995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c587f93febc2fc7fa3005968f6d4aa6a.jpg","text":"TemporaryFile(/tmp/multipartBody5215124170551279191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895902794,"filename":"image_16122025_15_37_45_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/16/89bae97f6b967a67111187a99fcb45f7.jpg","text":"TemporaryFile(/tmp/multipartBody5006526340464710274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895902794,"filename":"image_16122025_15_37_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/052751144654cf04fc6ca1169926ce09.jpg","text":"TemporaryFile(/tmp/multipartBody1464665046421129772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895902794,"filename":"image_16122025_15_36_25_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399664995","file1":"1399664992","file0":"1399664989"},"map_files_photo_id_array":[{"photo_id":"1399664995","filename":"file2"},{"photo_id":"1399664992","filename":"file1"},{"photo_id":"1399664989","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399664995":["hashtag1","hashtag2"]},{"1399664992":["hashtag1","hashtag2"]},{"1399664989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399664995, 1399664992, 1399664989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.68209981918335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:38:03.066371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:38:12.631131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:38:22.749694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/37/image_16122025_15_37_55_9697.jpg', '/home/pi/Desktop/images/16122025/15/37/image_16122025_15_38_05_9732.jpg', '/home/pi/Desktop/images/16122025/15/38/image_16122025_15_38_25_9815.jpg', '/home/pi/Desktop/images/16122025/15/38/image_16122025_15_38_45_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/37/image_16122025_15_37_55_9697.jpg
/home/pi/Desktop/images/16122025/15/37/image_16122025_15_38_05_9732.jpg
/home/pi/Desktop/images/16122025/15/38/image_16122025_15_38_25_9815.jpg
/home/pi/Desktop/images/16122025/15/38/image_16122025_15_38_45_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665014","1399665013","1399665016","1399665009"],"photo_ids_order":["1399665009","1399665013","1399665014","1399665016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80cb3948129165dc3238f9d51c519c03.jpg","text":"TemporaryFile(/tmp/multipartBody5149633620971717920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895963238,"filename":"image_16122025_15_38_25_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/16/4bcd0350b13f87e9f3bba731925c6ad2.jpg","text":"TemporaryFile(/tmp/multipartBody4785332456213222670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895963238,"filename":"image_16122025_15_38_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/16/423410bc23e39e4f2745345a72c9ac36.jpg","text":"TemporaryFile(/tmp/multipartBody4433893409867828367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895963238,"filename":"image_16122025_15_38_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/16/07b2b0e505432959e058e48fb4b47787.jpg","text":"TemporaryFile(/tmp/multipartBody5311003766126953861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765895963238,"filename":"image_16122025_15_37_55_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665014","file1":"1399665013","file0":"1399665009","file3":"1399665016"},"map_files_photo_id_array":[{"photo_id":"1399665014","filename":"file2"},{"photo_id":"1399665013","filename":"file1"},{"photo_id":"1399665009","filename":"file0"},{"photo_id":"1399665016","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665014":["hashtag1","hashtag2"]},{"1399665013":["hashtag1","hashtag2"]},{"1399665016":["hashtag1","hashtag2"]},{"1399665009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665014, 1399665013, 1399665016, 1399665009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.88437581062317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:39:02.918693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:39:11.851645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:39:21.991640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/38/image_16122025_15_38_55_9715.jpg', '/home/pi/Desktop/images/16122025/15/38/image_16122025_15_39_05_9641.jpg', '/home/pi/Desktop/images/16122025/15/39/image_16122025_15_39_16_10798.jpg', '/home/pi/Desktop/images/16122025/15/39/image_16122025_15_39_45_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/38/image_16122025_15_38_55_9715.jpg
/home/pi/Desktop/images/16122025/15/38/image_16122025_15_39_05_9641.jpg
/home/pi/Desktop/images/16122025/15/39/image_16122025_15_39_16_10798.jpg
/home/pi/Desktop/images/16122025/15/39/image_16122025_15_39_45_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":["1399665073","1399665069","1399665066","1399665071"],"photo_ids_order":["1399665066","1399665069","1399665071","1399665073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c14cd461acbd983c92df2fc216c5e325.jpg","text":"TemporaryFile(/tmp/multipartBody1901137821279582215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896022491,"filename":"image_16122025_15_39_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32230bb7ab7e18536387cf5242d7c7f1.jpg","text":"TemporaryFile(/tmp/multipartBody7977727602670448667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896022491,"filename":"image_16122025_15_39_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e2edd58fe25b5037b964ce9c13186655.jpg","text":"TemporaryFile(/tmp/multipartBody1520596732020930531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896022491,"filename":"image_16122025_15_38_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/417422c57a77ee4c66dd1a3d7a8d5d7e.jpg","text":"TemporaryFile(/tmp/multipartBody1173409887773835696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896022491,"filename":"image_16122025_15_39_16_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665071","file1":"1399665069","file0":"1399665066","file3":"1399665073"},"map_files_photo_id_array":[{"photo_id":"1399665071","filename":"file2"},{"photo_id":"1399665069","filename":"file1"},{"photo_id":"1399665066","filename":"file0"},{"photo_id":"1399665073","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665073":["hashtag1","hashtag2"]},{"1399665069":["hashtag1","hashtag2"]},{"1399665066":["hashtag1","hashtag2"]},{"1399665071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665073, 1399665069, 1399665066, 1399665071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.116385459899902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:40:02.580328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:40:12.148432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:40:22.149971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/39/image_16122025_15_39_55_10733.jpg', '/home/pi/Desktop/images/16122025/15/40/image_16122025_15_40_15_10576.jpg', '/home/pi/Desktop/images/16122025/15/40/image_16122025_15_40_35_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/39/image_16122025_15_39_55_10733.jpg
/home/pi/Desktop/images/16122025/15/40/image_16122025_15_40_15_10576.jpg
/home/pi/Desktop/images/16122025/15/40/image_16122025_15_40_35_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665084","1399665086","1399665089"],"photo_ids_order":["1399665084","1399665086","1399665089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe7836f21f69a0d281e709d5c13e20c5.jpg","text":"TemporaryFile(/tmp/multipartBody1090351091152712043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896082616,"filename":"image_16122025_15_39_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/16/58ec15ae4795ae7a9c5c587cbe1d8a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7606610331056951396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896082616,"filename":"image_16122025_15_40_15_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af11a7ada6ed4391085d4d191b9df567.jpg","text":"TemporaryFile(/tmp/multipartBody2720360899337923340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896082616,"filename":"image_16122025_15_40_35_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665089","file1":"1399665086","file0":"1399665084"},"map_files_photo_id_array":[{"photo_id":"1399665089","filename":"file2"},{"photo_id":"1399665086","filename":"file1"},{"photo_id":"1399665084","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665084":["hashtag1","hashtag2"]},{"1399665086":["hashtag1","hashtag2"]},{"1399665089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665084, 1399665086, 1399665089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.410540342330933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:41:03.155521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:41:12.378356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:41:22.463640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/40/image_16122025_15_40_55_9814.jpg', '/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_15_9850.jpg', '/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_25_9752.jpg', '/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_35_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/40/image_16122025_15_40_55_9814.jpg
/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_15_9850.jpg
/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_25_9752.jpg
/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_35_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":["1399665257","1399665256","1399665240","1399665254"],"photo_ids_order":["1399665240","1399665254","1399665256","1399665257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37d54813df13cb35660e2fe6ea2a60fe.jpg","text":"TemporaryFile(/tmp/multipartBody2548940005082879706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896142967,"filename":"image_16122025_15_41_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/16/7350a9062d40635f1bfc0b9fd28216bc.jpg","text":"TemporaryFile(/tmp/multipartBody5126014792686930413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896142967,"filename":"image_16122025_15_41_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/16/c01f502b9105efcb80db7d3e14859a32.jpg","text":"TemporaryFile(/tmp/multipartBody2898814334428289743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896142967,"filename":"image_16122025_15_40_55_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81c99149ea54bc2a3e75c6fba2302f33.jpg","text":"TemporaryFile(/tmp/multipartBody5324094242394241149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896142967,"filename":"image_16122025_15_41_15_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665256","file1":"1399665254","file0":"1399665240","file3":"1399665257"},"map_files_photo_id_array":[{"photo_id":"1399665256","filename":"file2"},{"photo_id":"1399665254","filename":"file1"},{"photo_id":"1399665240","filename":"file0"},{"photo_id":"1399665257","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665257":["hashtag1","hashtag2"]},{"1399665256":["hashtag1","hashtag2"]},{"1399665240":["hashtag1","hashtag2"]},{"1399665254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665257, 1399665256, 1399665240, 1399665254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.555179119110107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:42:03.210624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:42:12.685130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:42:22.741016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_55_9818.jpg', '/home/pi/Desktop/images/16122025/15/41/image_16122025_15_42_05_9667.jpg', '/home/pi/Desktop/images/16122025/15/42/image_16122025_15_42_35_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/41/image_16122025_15_41_55_9818.jpg
/home/pi/Desktop/images/16122025/15/41/image_16122025_15_42_05_9667.jpg
/home/pi/Desktop/images/16122025/15/42/image_16122025_15_42_35_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665276","1399665272","1399665269"],"photo_ids_order":["1399665269","1399665272","1399665276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dd44a1871a2ad4913b05d649106563c.jpg","text":"TemporaryFile(/tmp/multipartBody2333914692720524581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896203231,"filename":"image_16122025_15_42_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b728254b33f1c178679334d99aca1c65.jpg","text":"TemporaryFile(/tmp/multipartBody7900065054925492191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896203231,"filename":"image_16122025_15_42_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0b84ee0393769fa3b3d97f8f64ea639.jpg","text":"TemporaryFile(/tmp/multipartBody2127884086270526095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896203231,"filename":"image_16122025_15_41_55_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665276","file1":"1399665272","file0":"1399665269"},"map_files_photo_id_array":[{"photo_id":"1399665276","filename":"file2"},{"photo_id":"1399665272","filename":"file1"},{"photo_id":"1399665269","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665276":["hashtag1","hashtag2"]},{"1399665272":["hashtag1","hashtag2"]},{"1399665269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665276, 1399665272, 1399665269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.206998825073242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:43:02.704110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:43:12.011138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:43:22.092769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/42/image_16122025_15_42_45_10581.jpg', '/home/pi/Desktop/images/16122025/15/43/image_16122025_15_43_15_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/42/image_16122025_15_42_45_10581.jpg
/home/pi/Desktop/images/16122025/15/43/image_16122025_15_43_15_10595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665297","1399665300"],"photo_ids_order":["1399665297","1399665300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad20131805938787527569f45549bcef.jpg","text":"TemporaryFile(/tmp/multipartBody4430126777402870472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896262538,"filename":"image_16122025_15_42_45_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb5995f5c53f82610d5c557e0b438f22.jpg","text":"TemporaryFile(/tmp/multipartBody3071022770342900588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896262538,"filename":"image_16122025_15_43_15_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399665300","file0":"1399665297"},"map_files_photo_id_array":[{"photo_id":"1399665300","filename":"file1"},{"photo_id":"1399665297","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665297":["hashtag1","hashtag2"]},{"1399665300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665297, 1399665300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.97477388381958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:43:42.113945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_46_2632.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_49_2701.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_52_3593.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_55_2577.jpg', '/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_59_3503.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_02_3309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_46_2632.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_49_2701.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_52_3593.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_55_2577.jpg
/home/pi/Desktop/images/06112025/17/01/image_06112025_17_01_59_3503.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_02_3309.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665317","1399665310","1399665313","1399665307","1399665315","1399665318"],"photo_ids_order":["1399665307","1399665310","1399665313","1399665315","1399665317","1399665318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7863abe6b5a767a1a81ceb2c67a4fee0.jpg","text":"TemporaryFile(/tmp/multipartBody1298873514636078307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896282799,"filename":"image_06112025_17_01_59_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec04b72d886576f966af86fd5cee623a.jpg","text":"TemporaryFile(/tmp/multipartBody6824978785733131361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896282799,"filename":"image_06112025_17_01_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/16/e0fb9f6f44ad4e733b8ffac4922838ef.jpg","text":"TemporaryFile(/tmp/multipartBody2277891062382386940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896282799,"filename":"image_06112025_17_01_52_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6da26c74751277638b4b03192776fba7.jpg","text":"TemporaryFile(/tmp/multipartBody6290810682205590847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896282799,"filename":"image_06112025_17_01_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/16/23d1589f9560a06a4ab200ce6a17214f.jpg","text":"TemporaryFile(/tmp/multipartBody6246191647989301032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896282799,"filename":"image_06112025_17_01_55_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/16/0515b25a7dd4946d7639c4b296040bce.jpg","text":"TemporaryFile(/tmp/multipartBody2102139390441147574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896282799,"filename":"image_06112025_17_02_02_3309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665313","file1":"1399665310","file0":"1399665307","file4":"1399665317","file5":"1399665318","file3":"1399665315"},"map_files_photo_id_array":[{"photo_id":"1399665318","filename":"file5"},{"photo_id":"1399665313","filename":"file2"},{"photo_id":"1399665317","filename":"file4"},{"photo_id":"1399665310","filename":"file1"},{"photo_id":"1399665307","filename":"file0"},{"photo_id":"1399665315","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399665317":["hashtag1","hashtag2"]},{"1399665310":["hashtag1","hashtag2"]},{"1399665313":["hashtag1","hashtag2"]},{"1399665307":["hashtag1","hashtag2"]},{"1399665315":["hashtag1","hashtag2"]},{"1399665318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399665317, 1399665310, 1399665313, 1399665307, 1399665315, 1399665318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35230493545532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:44:22.403496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/43/image_16122025_15_43_25_9817.jpg', '/home/pi/Desktop/images/16122025/15/43/image_16122025_15_44_05_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/43/image_16122025_15_43_25_9817.jpg
/home/pi/Desktop/images/16122025/15/43/image_16122025_15_44_05_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":["1399665323","1399665334"],"photo_ids_order":["1399665323","1399665334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/542538d4fba8aec6c998d2501c245203.jpg","text":"TemporaryFile(/tmp/multipartBody3667696071358207634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896322854,"filename":"image_16122025_15_43_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/16/656e68c2de6b377f7333f7199d01a089.jpg","text":"TemporaryFile(/tmp/multipartBody8505741877869056852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896322854,"filename":"image_16122025_15_44_05_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399665334","file0":"1399665323"},"map_files_photo_id_array":[{"photo_id":"1399665334","filename":"file1"},{"photo_id":"1399665323","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665323":["hashtag1","hashtag2"]},{"1399665334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665323, 1399665334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.424347639083862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:45:03.156149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:45:12.636721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:45:22.696566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/44/image_16122025_15_44_15_9736.jpg', '/home/pi/Desktop/images/16122025/15/44/image_16122025_15_45_05_9559.jpg', '/home/pi/Desktop/images/16122025/15/45/image_16122025_15_45_15_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/44/image_16122025_15_44_15_9736.jpg
/home/pi/Desktop/images/16122025/15/44/image_16122025_15_45_05_9559.jpg
/home/pi/Desktop/images/16122025/15/45/image_16122025_15_45_15_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665391","1399665394","1399665396"],"photo_ids_order":["1399665391","1399665394","1399665396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d5822fe780db55e1a02a3d521ad87fa.jpg","text":"TemporaryFile(/tmp/multipartBody5552352697507679114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896383177,"filename":"image_16122025_15_44_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/185c335d8cddac0e18f4141b293bb2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6175190596720620197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896383177,"filename":"image_16122025_15_45_05_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e213bb2ef155fe74e8d2e135798f64ea.jpg","text":"TemporaryFile(/tmp/multipartBody7588173444969041176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896383177,"filename":"image_16122025_15_45_15_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665396","file1":"1399665394","file0":"1399665391"},"map_files_photo_id_array":[{"photo_id":"1399665396","filename":"file2"},{"photo_id":"1399665394","filename":"file1"},{"photo_id":"1399665391","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665391":["hashtag1","hashtag2"]},{"1399665394":["hashtag1","hashtag2"]},{"1399665396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665391, 1399665394, 1399665396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.37129521369934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:46:03.251207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:46:12.759469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:46:22.756575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/45/image_16122025_15_45_45_9622.jpg', '/home/pi/Desktop/images/16122025/15/46/image_16122025_15_46_35_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/45/image_16122025_15_45_45_9622.jpg
/home/pi/Desktop/images/16122025/15/46/image_16122025_15_46_35_9721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665411","1399665408"],"photo_ids_order":["1399665408","1399665411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3810568cd4ef77a3868c311eba595853.jpg","text":"TemporaryFile(/tmp/multipartBody1748451450394542824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896443207,"filename":"image_16122025_15_46_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/16/8c1cd0b9d87dfdf26c189c5c8515ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody6300636263533771888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896443207,"filename":"image_16122025_15_45_45_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399665411","file0":"1399665408"},"map_files_photo_id_array":[{"photo_id":"1399665411","filename":"file1"},{"photo_id":"1399665408","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665411":["hashtag1","hashtag2"]},{"1399665408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665411, 1399665408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.706756353378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:46:42.782182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_05_2673.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_07_2734.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_10_2686.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_13_2724.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_16_3074.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_19_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_05_2673.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_07_2734.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_10_2686.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_13_2724.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_16_3074.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_19_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665439","1399665430","1399665432","1399665441","1399665423","1399665431"],"photo_ids_order":["1399665423","1399665430","1399665431","1399665432","1399665439","1399665441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b25eea385b352a8bd6fd2ab34b8c0013.jpg","text":"TemporaryFile(/tmp/multipartBody6943523974381437734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896463459,"filename":"image_06112025_17_02_16_3074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bb2ae99031cc75ff2818440125a03c9.jpg","text":"TemporaryFile(/tmp/multipartBody2104352661130062753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896463459,"filename":"image_06112025_17_02_07_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3bc21a8f86a97e44b8a9c4350152e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5111024884693377410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896463459,"filename":"image_06112025_17_02_13_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/16/9533cc92fe27933d322d7e16b823ed04.jpg","text":"TemporaryFile(/tmp/multipartBody4576339458218543659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896463459,"filename":"image_06112025_17_02_19_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/16/5de933c637be6c1bebe0e9f8218fb18a.jpg","text":"TemporaryFile(/tmp/multipartBody8001680332849696832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896463459,"filename":"image_06112025_17_02_05_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/16/aacdd1b2eb29dbc717cd5681c014f606.jpg","text":"TemporaryFile(/tmp/multipartBody4730362771810194725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896463459,"filename":"image_06112025_17_02_10_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665431","file1":"1399665430","file0":"1399665423","file4":"1399665439","file5":"1399665441","file3":"1399665432"},"map_files_photo_id_array":[{"photo_id":"1399665441","filename":"file5"},{"photo_id":"1399665431","filename":"file2"},{"photo_id":"1399665439","filename":"file4"},{"photo_id":"1399665430","filename":"file1"},{"photo_id":"1399665423","filename":"file0"},{"photo_id":"1399665432","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399665439":["hashtag1","hashtag2"]},{"1399665430":["hashtag1","hashtag2"]},{"1399665432":["hashtag1","hashtag2"]},{"1399665441":["hashtag1","hashtag2"]},{"1399665423":["hashtag1","hashtag2"]},{"1399665431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399665439, 1399665430, 1399665432, 1399665441, 1399665423, 1399665431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2069206237793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:47:22.052028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/46/image_16122025_15_46_45_9878.jpg', '/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_15_9611.jpg', '/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_35_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/46/image_16122025_15_46_45_9878.jpg
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_15_9611.jpg
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_35_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665448","1399665450","1399665444"],"photo_ids_order":["1399665444","1399665448","1399665450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/743c6525af45c4226727050641f90c60.jpg","text":"TemporaryFile(/tmp/multipartBody8128016554304571017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896502531,"filename":"image_16122025_15_47_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3aaedca19839afe15ab63beaf669e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3397492732020201723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896502531,"filename":"image_16122025_15_47_35_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df6f2d0b7d89cc52ac59deb27d98e023.jpg","text":"TemporaryFile(/tmp/multipartBody6670904808979261615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896502531,"filename":"image_16122025_15_46_45_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665450","file1":"1399665448","file0":"1399665444"},"map_files_photo_id_array":[{"photo_id":"1399665450","filename":"file2"},{"photo_id":"1399665448","filename":"file1"},{"photo_id":"1399665444","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665448":["hashtag1","hashtag2"]},{"1399665450":["hashtag1","hashtag2"]},{"1399665444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665448, 1399665450, 1399665444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.504335641860962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:48:02.819920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:48:12.329162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:48:22.385892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_55_9710.jpg', '/home/pi/Desktop/images/16122025/15/47/image_16122025_15_48_05_10654.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_25_9710.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_35_10674.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_45_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_55_9710.jpg
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_48_05_10654.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_25_9710.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_35_10674.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_45_9627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47428226470947266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:48:32.365729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:48:42.359261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_22_2656.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_25_2663.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_28_3583.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_31_2655.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_34_2616.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_37_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_22_2656.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_25_2663.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_28_3583.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_31_2655.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_34_2616.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_37_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":["1399665496","1399665495","1399665498","1399665501","1399665504","1399665491"],"photo_ids_order":["1399665491","1399665495","1399665496","1399665498","1399665501","1399665504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfbcbc0d6210a5ccd458e790fad7da7f.jpg","text":"TemporaryFile(/tmp/multipartBody4531152689471848303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896583077,"filename":"image_06112025_17_02_28_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/16/09a5642075b4574d25ca45fb483bf51e.jpg","text":"TemporaryFile(/tmp/multipartBody2223095688952560685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896583077,"filename":"image_06112025_17_02_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/16/3c066d385077099009d94e07537dadcd.jpg","text":"TemporaryFile(/tmp/multipartBody1648391132892276732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896583077,"filename":"image_06112025_17_02_31_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25805cdb79fd3b828090847e277c96ee.jpg","text":"TemporaryFile(/tmp/multipartBody7554432524273420337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896583077,"filename":"image_06112025_17_02_34_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c547afca02d802566a02e937c7d4afdd.jpg","text":"TemporaryFile(/tmp/multipartBody7478863123731832410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896583077,"filename":"image_06112025_17_02_37_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/16/9380532f5e6db3b6b25a68c6c3823940.jpg","text":"TemporaryFile(/tmp/multipartBody6746280833307867975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896583077,"filename":"image_06112025_17_02_22_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665496","file1":"1399665495","file0":"1399665491","file4":"1399665501","file5":"1399665504","file3":"1399665498"},"map_files_photo_id_array":[{"photo_id":"1399665504","filename":"file5"},{"photo_id":"1399665496","filename":"file2"},{"photo_id":"1399665501","filename":"file4"},{"photo_id":"1399665495","filename":"file1"},{"photo_id":"1399665491","filename":"file0"},{"photo_id":"1399665498","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399665496":["hashtag1","hashtag2"]},{"1399665495":["hashtag1","hashtag2"]},{"1399665498":["hashtag1","hashtag2"]},{"1399665501":["hashtag1","hashtag2"]},{"1399665504":["hashtag1","hashtag2"]},{"1399665491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399665496, 1399665495, 1399665498, 1399665501, 1399665504, 1399665491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64332890510559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:49:22.706834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_55_9710.jpg', '/home/pi/Desktop/images/16122025/15/47/image_16122025_15_48_05_10654.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_25_9710.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_35_10674.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_45_9627.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_55_9710.jpg
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_48_05_10654.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_25_9710.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_35_10674.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_45_9627.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_55_9710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5103394985198975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:49:32.674497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:49:42.674042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_40_2476.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_43_3721.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_46_2612.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_49_2579.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_52_3753.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_55_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_40_2476.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_43_3721.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_46_2612.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_49_2579.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_52_3753.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_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":["1399665533","1399665541","1399665529","1399665540","1399665536","1399665539"],"photo_ids_order":["1399665529","1399665533","1399665536","1399665539","1399665540","1399665541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b4b47ac9b52a57169bf5529b6f767a7.jpg","text":"TemporaryFile(/tmp/multipartBody6297801876760120555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896643358,"filename":"image_06112025_17_02_43_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/16/8819e01aa921a53290efc90dd0a3a9e5.jpg","text":"TemporaryFile(/tmp/multipartBody7832389272273252479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896643358,"filename":"image_06112025_17_02_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/16/07776bbfea5875326d3facc305de9616.jpg","text":"TemporaryFile(/tmp/multipartBody4588337810826793044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896643358,"filename":"image_06112025_17_02_40_2476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46e0aad46762eeaeed47b02fec08bd2e.jpg","text":"TemporaryFile(/tmp/multipartBody2327901718321056453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896643358,"filename":"image_06112025_17_02_52_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/16/47854f9d1359767e7e4220ea2600cf17.jpg","text":"TemporaryFile(/tmp/multipartBody3617147690265012594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896643358,"filename":"image_06112025_17_02_46_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/16/c13a20046c72a883dc242d77a222da21.jpg","text":"TemporaryFile(/tmp/multipartBody3794666603830445303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896643358,"filename":"image_06112025_17_02_49_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665536","file1":"1399665533","file0":"1399665529","file4":"1399665540","file5":"1399665541","file3":"1399665539"},"map_files_photo_id_array":[{"photo_id":"1399665541","filename":"file5"},{"photo_id":"1399665536","filename":"file2"},{"photo_id":"1399665540","filename":"file4"},{"photo_id":"1399665533","filename":"file1"},{"photo_id":"1399665529","filename":"file0"},{"photo_id":"1399665539","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399665533":["hashtag1","hashtag2"]},{"1399665541":["hashtag1","hashtag2"]},{"1399665529":["hashtag1","hashtag2"]},{"1399665540":["hashtag1","hashtag2"]},{"1399665536":["hashtag1","hashtag2"]},{"1399665539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399665533, 1399665541, 1399665529, 1399665540, 1399665536, 1399665539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03859305381775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:50:21.962332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_55_9710.jpg', '/home/pi/Desktop/images/16122025/15/47/image_16122025_15_48_05_10654.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_25_9710.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_35_10674.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_45_9627.jpg', '/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_47_55_9710.jpg
/home/pi/Desktop/images/16122025/15/47/image_16122025_15_48_05_10654.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_25_9710.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_35_10674.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_45_9627.jpg
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_48_55_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665583","1399665738","1399665698","1399665779","1399665624","1399665662"],"photo_ids_order":["1399665583","1399665624","1399665662","1399665698","1399665738","1399665779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a791f93e8485d30946ddc8afe0b4a08.jpg","text":"TemporaryFile(/tmp/multipartBody63413353252776617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896682548,"filename":"image_16122025_15_47_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77cfd17a07a776bcb38b46762d42510f.jpg","text":"TemporaryFile(/tmp/multipartBody6799262448900282154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896682548,"filename":"image_16122025_15_48_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bb5116b7dca5aa86ae809c6f01109c3.jpg","text":"TemporaryFile(/tmp/multipartBody5264300804800272671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896682548,"filename":"image_16122025_15_48_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/16/1a04a96ef161f6960b26379e1d240780.jpg","text":"TemporaryFile(/tmp/multipartBody6961604527443176155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896682548,"filename":"image_16122025_15_48_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1899cb47cb3643b6d13f59b99c64ece.jpg","text":"TemporaryFile(/tmp/multipartBody953451652507359416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896682548,"filename":"image_16122025_15_48_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d9cb8ceca2677017ff55ac3768ffe0b.jpg","text":"TemporaryFile(/tmp/multipartBody7991954016185430034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896682548,"filename":"image_16122025_15_48_25_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665662","file1":"1399665624","file0":"1399665583","file4":"1399665738","file5":"1399665779","file3":"1399665698"},"map_files_photo_id_array":[{"photo_id":"1399665779","filename":"file5"},{"photo_id":"1399665662","filename":"file2"},{"photo_id":"1399665738","filename":"file4"},{"photo_id":"1399665624","filename":"file1"},{"photo_id":"1399665583","filename":"file0"},{"photo_id":"1399665698","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665583":["hashtag1","hashtag2"]},{"1399665738":["hashtag1","hashtag2"]},{"1399665698":["hashtag1","hashtag2"]},{"1399665779":["hashtag1","hashtag2"]},{"1399665624":["hashtag1","hashtag2"]},{"1399665662":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665583, 1399665738, 1399665698, 1399665779, 1399665624, 1399665662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.227545499801636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:51:02.748870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/48/image_16122025_15_49_05_10669.jpg', '/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_15_9742.jpg', '/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_25_9666.jpg', '/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_35_10624.jpg', '/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_45_9621.jpg', '/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/48/image_16122025_15_49_05_10669.jpg
/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_15_9742.jpg
/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_25_9666.jpg
/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_35_10624.jpg
/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_45_9621.jpg
/home/pi/Desktop/images/16122025/15/49/image_16122025_15_49_55_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":["1399665856","1399665886","1399665876","1399665864","1399665860","1399665857"],"photo_ids_order":["1399665856","1399665857","1399665860","1399665864","1399665876","1399665886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16d01212941954eb17fdd5cbe488b76f.jpg","text":"TemporaryFile(/tmp/multipartBody1950623106305696964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896723383,"filename":"image_16122025_15_49_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d226ebf5ae17f001777f9306ce14eced.jpg","text":"TemporaryFile(/tmp/multipartBody6540504511741716574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896723383,"filename":"image_16122025_15_49_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/16/6d5c487f946139e2a278b1778b369e68.jpg","text":"TemporaryFile(/tmp/multipartBody1480103373874176632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896723383,"filename":"image_16122025_15_49_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0be67da8492380d9555ae9aa0e9ff5d4.jpg","text":"TemporaryFile(/tmp/multipartBody5485052298522886254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896723383,"filename":"image_16122025_15_49_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f4a79190c46cd4fd89b592eddd8c6013.jpg","text":"TemporaryFile(/tmp/multipartBody1066769226088159099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896723383,"filename":"image_16122025_15_49_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/16/fde8d6484f13a0c81f4f25dc1a9e670a.jpg","text":"TemporaryFile(/tmp/multipartBody1125782002021481515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896723383,"filename":"image_16122025_15_49_15_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665860","file1":"1399665857","file0":"1399665856","file4":"1399665876","file5":"1399665886","file3":"1399665864"},"map_files_photo_id_array":[{"photo_id":"1399665886","filename":"file5"},{"photo_id":"1399665860","filename":"file2"},{"photo_id":"1399665876","filename":"file4"},{"photo_id":"1399665857","filename":"file1"},{"photo_id":"1399665856","filename":"file0"},{"photo_id":"1399665864","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665856":["hashtag1","hashtag2"]},{"1399665886":["hashtag1","hashtag2"]},{"1399665876":["hashtag1","hashtag2"]},{"1399665864":["hashtag1","hashtag2"]},{"1399665860":["hashtag1","hashtag2"]},{"1399665857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665856, 1399665886, 1399665876, 1399665864, 1399665860, 1399665857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10309076309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:51:42.114020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_58_2644.jpg', '/home/pi/Desktop/images/06112025/17/02/image_06112025_17_03_01_3683.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_04_2905.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_07_2553.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_10_3681.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_13_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_02_58_2644.jpg
/home/pi/Desktop/images/06112025/17/02/image_06112025_17_03_01_3683.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_04_2905.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_07_2553.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_10_3681.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_13_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665905","1399665895","1399665907","1399665894","1399665890","1399665920"],"photo_ids_order":["1399665890","1399665894","1399665895","1399665905","1399665907","1399665920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11ee8616c5a40f03bb692babcf76a7e2.jpg","text":"TemporaryFile(/tmp/multipartBody4582869022034975221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896762794,"filename":"image_06112025_17_03_07_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/16/01c13d760b44e43508eb12d25846dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody7156012720856971748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896762794,"filename":"image_06112025_17_03_04_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/655874465b94204c5a8168d6bdfd1ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8932972536121879505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896762794,"filename":"image_06112025_17_03_10_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/16/481c30fd5599d06b1b92345e6c4b5276.jpg","text":"TemporaryFile(/tmp/multipartBody5693238664206933930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896762794,"filename":"image_06112025_17_03_01_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/16/8c5bb45fc18e35fccd2f3ac36bcc99b8.jpg","text":"TemporaryFile(/tmp/multipartBody772783571956399078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896762794,"filename":"image_06112025_17_02_58_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/16/480d710d4a91fee568f0e73752f87e78.jpg","text":"TemporaryFile(/tmp/multipartBody4522295426113618327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896762794,"filename":"image_06112025_17_03_13_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665895","file1":"1399665894","file0":"1399665890","file4":"1399665907","file5":"1399665920","file3":"1399665905"},"map_files_photo_id_array":[{"photo_id":"1399665920","filename":"file5"},{"photo_id":"1399665895","filename":"file2"},{"photo_id":"1399665907","filename":"file4"},{"photo_id":"1399665894","filename":"file1"},{"photo_id":"1399665890","filename":"file0"},{"photo_id":"1399665905","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399665905":["hashtag1","hashtag2"]},{"1399665895":["hashtag1","hashtag2"]},{"1399665907":["hashtag1","hashtag2"]},{"1399665894":["hashtag1","hashtag2"]},{"1399665890":["hashtag1","hashtag2"]},{"1399665920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399665905, 1399665895, 1399665907, 1399665894, 1399665890, 1399665920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7773859500885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:52:22.330889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/49/image_16122025_15_50_05_9817.jpg', '/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_15_10646.jpg', '/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_25_9812.jpg', '/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_35_9646.jpg', '/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_55_9611.jpg', '/home/pi/Desktop/images/16122025/15/50/image_16122025_15_51_05_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/49/image_16122025_15_50_05_9817.jpg
/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_15_10646.jpg
/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_25_9812.jpg
/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_35_9646.jpg
/home/pi/Desktop/images/16122025/15/50/image_16122025_15_50_55_9611.jpg
/home/pi/Desktop/images/16122025/15/50/image_16122025_15_51_05_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":["1399665952","1399665946","1399665949","1399665954","1399665950","1399665956"],"photo_ids_order":["1399665946","1399665949","1399665950","1399665952","1399665954","1399665956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba1b5361c5fe9a7597dc452132b8b2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6215283423850628806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896802919,"filename":"image_16122025_15_50_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/977c3de6cd5e409d8bbd0ccd99cb6f44.jpg","text":"TemporaryFile(/tmp/multipartBody4794308626940684363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896802919,"filename":"image_16122025_15_50_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/16/04ddea6eea98a7453f6339538aaf528f.jpg","text":"TemporaryFile(/tmp/multipartBody363202728484168835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896802919,"filename":"image_16122025_15_50_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58e97ed46a193b1962033a170ccb1b7f.jpg","text":"TemporaryFile(/tmp/multipartBody436567121969587672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896802919,"filename":"image_16122025_15_50_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/16/498f8256a67f70ecb4035d9681268c11.jpg","text":"TemporaryFile(/tmp/multipartBody264491718577818459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896802919,"filename":"image_16122025_15_50_25_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2fe7e131c6987eeef65ca9956ff4f62a.jpg","text":"TemporaryFile(/tmp/multipartBody3605697416331842434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896802919,"filename":"image_16122025_15_51_05_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665950","file1":"1399665949","file0":"1399665946","file4":"1399665954","file5":"1399665956","file3":"1399665952"},"map_files_photo_id_array":[{"photo_id":"1399665956","filename":"file5"},{"photo_id":"1399665950","filename":"file2"},{"photo_id":"1399665954","filename":"file4"},{"photo_id":"1399665949","filename":"file1"},{"photo_id":"1399665946","filename":"file0"},{"photo_id":"1399665952","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665952":["hashtag1","hashtag2"]},{"1399665946":["hashtag1","hashtag2"]},{"1399665949":["hashtag1","hashtag2"]},{"1399665954":["hashtag1","hashtag2"]},{"1399665950":["hashtag1","hashtag2"]},{"1399665956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665952, 1399665946, 1399665949, 1399665954, 1399665950, 1399665956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29246997833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:53:03.307507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_15_10716.jpg', '/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_25_9678.jpg', '/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_35_9610.jpg', '/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_45_10575.jpg', '/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_55_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_15_10716.jpg
/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_25_9678.jpg
/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_35_9610.jpg
/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_45_10575.jpg
/home/pi/Desktop/images/16122025/15/51/image_16122025_15_51_55_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399665972","1399665981","1399665978","1399665963","1399665977"],"photo_ids_order":["1399665963","1399665972","1399665977","1399665978","1399665981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20cbfaab476e5eb38f71c90d18aeb118.jpg","text":"TemporaryFile(/tmp/multipartBody7884257514021769279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896843934,"filename":"image_16122025_15_51_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/16/a747f1129c7b23980ffc1afa64ce5665.jpg","text":"TemporaryFile(/tmp/multipartBody5545161375348415896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896843934,"filename":"image_16122025_15_51_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/16/7f94696a84cdb5ee26b30a6acf21982b.jpg","text":"TemporaryFile(/tmp/multipartBody1481381804321456999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896843934,"filename":"image_16122025_15_51_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/263f779d5dad0b7f68da569d0e427bdb.jpg","text":"TemporaryFile(/tmp/multipartBody62885167095946039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896843934,"filename":"image_16122025_15_51_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d0164c77a6a92949a32e21ed97fecc3.jpg","text":"TemporaryFile(/tmp/multipartBody777728189994427352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896843934,"filename":"image_16122025_15_51_35_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399665977","file1":"1399665972","file0":"1399665963","file4":"1399665981","file3":"1399665978"},"map_files_photo_id_array":[{"photo_id":"1399665977","filename":"file2"},{"photo_id":"1399665981","filename":"file4"},{"photo_id":"1399665972","filename":"file1"},{"photo_id":"1399665963","filename":"file0"},{"photo_id":"1399665978","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399665972":["hashtag1","hashtag2"]},{"1399665981":["hashtag1","hashtag2"]},{"1399665978":["hashtag1","hashtag2"]},{"1399665963":["hashtag1","hashtag2"]},{"1399665977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399665972, 1399665981, 1399665978, 1399665963, 1399665977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.542205333709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:53:42.664929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_16_2530.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_19_3526.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_22_2549.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_25_3529.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_28_2572.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_31_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_16_2530.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_19_3526.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_22_2549.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_25_3529.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_28_2572.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_31_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":["1399666006","1399666003","1399666005","1399665989","1399665998","1399666004"],"photo_ids_order":["1399665989","1399665998","1399666003","1399666004","1399666005","1399666006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0befc23d045a0edd9057da1b16d97a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3137538631025548667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896883339,"filename":"image_06112025_17_03_31_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/16/c0db80e8a178539e7d5a3fa45fe5f33a.jpg","text":"TemporaryFile(/tmp/multipartBody5782610974219123771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896883339,"filename":"image_06112025_17_03_22_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/16/3c5e88b22a2cb34803e08a81f29efe8d.jpg","text":"TemporaryFile(/tmp/multipartBody7599515189994323279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896883339,"filename":"image_06112025_17_03_28_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba50d3deb304dbf27ef300cdf62fdb1b.jpg","text":"TemporaryFile(/tmp/multipartBody3421974916006986205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896883339,"filename":"image_06112025_17_03_16_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/16/6038083e08cdec8986ee3e35c665282e.jpg","text":"TemporaryFile(/tmp/multipartBody1013290300060344089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896883339,"filename":"image_06112025_17_03_19_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/16/4e71c681010d9df14a0376d304d4ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody5705724647128223328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896883339,"filename":"image_06112025_17_03_25_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666003","file1":"1399665998","file0":"1399665989","file4":"1399666005","file5":"1399666006","file3":"1399666004"},"map_files_photo_id_array":[{"photo_id":"1399666006","filename":"file5"},{"photo_id":"1399666003","filename":"file2"},{"photo_id":"1399666005","filename":"file4"},{"photo_id":"1399665998","filename":"file1"},{"photo_id":"1399665989","filename":"file0"},{"photo_id":"1399666004","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399666006":["hashtag1","hashtag2"]},{"1399666003":["hashtag1","hashtag2"]},{"1399666005":["hashtag1","hashtag2"]},{"1399665989":["hashtag1","hashtag2"]},{"1399665998":["hashtag1","hashtag2"]},{"1399666004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399666006, 1399666003, 1399666005, 1399665989, 1399665998, 1399666004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58452081680298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:54:21.992508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/52/image_16122025_15_52_55_9725.jpg', '/home/pi/Desktop/images/16122025/15/53/image_16122025_15_53_25_9677.jpg', '/home/pi/Desktop/images/16122025/15/53/image_16122025_15_53_35_9743.jpg', '/home/pi/Desktop/images/16122025/15/53/image_16122025_15_53_56_10006.jpg', '/home/pi/Desktop/images/16122025/15/53/image_16122025_15_54_05_9634.jpg', '/home/pi/Desktop/images/16122025/15/54/image_16122025_15_54_15_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/52/image_16122025_15_52_55_9725.jpg
/home/pi/Desktop/images/16122025/15/53/image_16122025_15_53_25_9677.jpg
/home/pi/Desktop/images/16122025/15/53/image_16122025_15_53_35_9743.jpg
/home/pi/Desktop/images/16122025/15/53/image_16122025_15_53_56_10006.jpg
/home/pi/Desktop/images/16122025/15/53/image_16122025_15_54_05_9634.jpg
/home/pi/Desktop/images/16122025/15/54/image_16122025_15_54_15_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":["1399666021","1399666017","1399666011","1399666014","1399666025","1399666019"],"photo_ids_order":["1399666011","1399666014","1399666017","1399666019","1399666021","1399666025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76989a5328fabf9cdd72f55222abe21a.jpg","text":"TemporaryFile(/tmp/multipartBody5455332818685803900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896922588,"filename":"image_16122025_15_54_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e1bc6e47683feb1ebddac69fe1e0e92.jpg","text":"TemporaryFile(/tmp/multipartBody4034155859170919420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896922588,"filename":"image_16122025_15_53_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/16/fe5d45cf208c8a0b6f69ec965f7da5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7773771520580868645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896922588,"filename":"image_16122025_15_52_55_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d48e1b3149120e092c90e250ac6399d3.jpg","text":"TemporaryFile(/tmp/multipartBody6018412318281701783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896922588,"filename":"image_16122025_15_53_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/16/c6603bb0a2a264797713b368c9a01acb.jpg","text":"TemporaryFile(/tmp/multipartBody9017554836830941999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896922588,"filename":"image_16122025_15_54_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41ef3be6e5ccb022cfe2e8a37116f754.jpg","text":"TemporaryFile(/tmp/multipartBody7090793025850097967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896922588,"filename":"image_16122025_15_53_56_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666017","file1":"1399666014","file0":"1399666011","file4":"1399666021","file5":"1399666025","file3":"1399666019"},"map_files_photo_id_array":[{"photo_id":"1399666025","filename":"file5"},{"photo_id":"1399666017","filename":"file2"},{"photo_id":"1399666021","filename":"file4"},{"photo_id":"1399666014","filename":"file1"},{"photo_id":"1399666011","filename":"file0"},{"photo_id":"1399666019","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399666021":["hashtag1","hashtag2"]},{"1399666017":["hashtag1","hashtag2"]},{"1399666011":["hashtag1","hashtag2"]},{"1399666014":["hashtag1","hashtag2"]},{"1399666025":["hashtag1","hashtag2"]},{"1399666019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399666021, 1399666017, 1399666011, 1399666014, 1399666025, 1399666019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.059093713760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:55:02.945586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/54/image_16122025_15_54_26_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/54/image_16122025_15_54_26_10721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399666036"],"photo_id":"1399666036","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97475bcc14a047924865adfc1ac97c95.jpg","text":"TemporaryFile(/tmp/multipartBody6690076823899336498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896963386,"filename":"image_16122025_15_54_26_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399666036"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399666036"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.19411039352417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:55:22.215342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/54/image_16122025_15_54_35_9645.jpg', '/home/pi/Desktop/images/16122025/15/54/image_16122025_15_55_05_9648.jpg', '/home/pi/Desktop/images/16122025/15/55/image_16122025_15_55_35_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/54/image_16122025_15_54_35_9645.jpg
/home/pi/Desktop/images/16122025/15/54/image_16122025_15_55_05_9648.jpg
/home/pi/Desktop/images/16122025/15/55/image_16122025_15_55_35_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399666051","1399666047","1399666043"],"photo_ids_order":["1399666043","1399666047","1399666051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/76bce879cd028e37ae9de4b2e8acc885.jpg","text":"TemporaryFile(/tmp/multipartBody376858913997763454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896982727,"filename":"image_16122025_15_55_35_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c70447be965f80a8f492f94b1f573fc5.jpg","text":"TemporaryFile(/tmp/multipartBody263696925593421994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896982727,"filename":"image_16122025_15_55_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1ad9ec6f1030751632854ee7f76519c.jpg","text":"TemporaryFile(/tmp/multipartBody6470450750071070248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765896982727,"filename":"image_16122025_15_54_35_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666051","file1":"1399666047","file0":"1399666043"},"map_files_photo_id_array":[{"photo_id":"1399666051","filename":"file2"},{"photo_id":"1399666047","filename":"file1"},{"photo_id":"1399666043","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399666051":["hashtag1","hashtag2"]},{"1399666047":["hashtag1","hashtag2"]},{"1399666043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399666051, 1399666047, 1399666043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.587783813476562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:56:02.881424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:56:12.419947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:56:22.427371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/55/image_16122025_15_55_55_9749.jpg', '/home/pi/Desktop/images/16122025/15/55/image_16122025_15_56_05_10650.jpg', '/home/pi/Desktop/images/16122025/15/56/image_16122025_15_56_15_9686.jpg', '/home/pi/Desktop/images/16122025/15/56/image_16122025_15_56_25_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/55/image_16122025_15_55_55_9749.jpg
/home/pi/Desktop/images/16122025/15/55/image_16122025_15_56_05_10650.jpg
/home/pi/Desktop/images/16122025/15/56/image_16122025_15_56_15_9686.jpg
/home/pi/Desktop/images/16122025/15/56/image_16122025_15_56_25_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":["1399666065","1399666068","1399666070","1399666073"],"photo_ids_order":["1399666065","1399666068","1399666070","1399666073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8afd752868980929dfaa62b3f92dfd9.jpg","text":"TemporaryFile(/tmp/multipartBody8787233258227936954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897042969,"filename":"image_16122025_15_55_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/794dfaccb0cce5c9a5a43ead70aa2bf5.jpg","text":"TemporaryFile(/tmp/multipartBody9004320094407339868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897042969,"filename":"image_16122025_15_56_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/460a754cd5ed82ef81ab08998778d342.jpg","text":"TemporaryFile(/tmp/multipartBody1568044521550601800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897042969,"filename":"image_16122025_15_56_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a55694dc8a5ad4e5ff5a6c07d5bf18d9.jpg","text":"TemporaryFile(/tmp/multipartBody7576449622243000605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897042969,"filename":"image_16122025_15_56_25_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666070","file1":"1399666068","file0":"1399666065","file3":"1399666073"},"map_files_photo_id_array":[{"photo_id":"1399666070","filename":"file2"},{"photo_id":"1399666068","filename":"file1"},{"photo_id":"1399666065","filename":"file0"},{"photo_id":"1399666073","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399666065":["hashtag1","hashtag2"]},{"1399666068":["hashtag1","hashtag2"]},{"1399666070":["hashtag1","hashtag2"]},{"1399666073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399666065, 1399666068, 1399666070, 1399666073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.053849935531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:57:03.312347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:57:12.667174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 15:57:22.743245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/56/image_16122025_15_56_45_9700.jpg', '/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_15_9678.jpg', '/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_25_9716.jpg', '/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_35_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/56/image_16122025_15_56_45_9700.jpg
/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_15_9678.jpg
/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_25_9716.jpg
/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_35_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399666098","1399666095","1399666100","1399666103"],"photo_ids_order":["1399666095","1399666098","1399666100","1399666103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c33aeab0e385cdd4fed6a70c93ee2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8153553169985736113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897103299,"filename":"image_16122025_15_57_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc1960ef715348a4acdb405529b2ac1e.jpg","text":"TemporaryFile(/tmp/multipartBody858764934960323839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897103299,"filename":"image_16122025_15_56_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eff4467f1c5815c1fea58c178fb35f91.jpg","text":"TemporaryFile(/tmp/multipartBody3695481108321234366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897103299,"filename":"image_16122025_15_57_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6e81eea20229a912288c0ddb47b072e.jpg","text":"TemporaryFile(/tmp/multipartBody3291980656152041944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897103299,"filename":"image_16122025_15_57_35_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666100","file1":"1399666098","file0":"1399666095","file3":"1399666103"},"map_files_photo_id_array":[{"photo_id":"1399666100","filename":"file2"},{"photo_id":"1399666098","filename":"file1"},{"photo_id":"1399666095","filename":"file0"},{"photo_id":"1399666103","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399666098":["hashtag1","hashtag2"]},{"1399666095":["hashtag1","hashtag2"]},{"1399666100":["hashtag1","hashtag2"]},{"1399666103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399666098, 1399666095, 1399666100, 1399666103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.95050811767578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 15:59:03.149136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_45_9533.jpg', '/home/pi/Desktop/images/16122025/15/57/image_16122025_15_58_05_10628.jpg', '/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_45_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/57/image_16122025_15_57_45_9533.jpg
/home/pi/Desktop/images/16122025/15/57/image_16122025_15_58_05_10628.jpg
/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_45_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399666123","1399666117","1399666125"],"photo_ids_order":["1399666117","1399666123","1399666125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf52bb996b83061be1b3f9a2b6749d72.jpg","text":"TemporaryFile(/tmp/multipartBody1215773630086069259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897203815,"filename":"image_16122025_15_58_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a70cfa30b104e0f636920746c9fc6326.jpg","text":"TemporaryFile(/tmp/multipartBody1345482283769366177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897203815,"filename":"image_16122025_15_57_45_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0da0071f280a4e59e09b32ba09c27ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8776699452182789985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897203815,"filename":"image_16122025_15_58_45_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666125","file1":"1399666123","file0":"1399666117"},"map_files_photo_id_array":[{"photo_id":"1399666125","filename":"file2"},{"photo_id":"1399666123","filename":"file1"},{"photo_id":"1399666117","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399666123":["hashtag1","hashtag2"]},{"1399666117":["hashtag1","hashtag2"]},{"1399666125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399666123, 1399666117, 1399666125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.603461980819702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 15:59:32.188664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 15:59:41.993453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_34_2881.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_37_2618.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_40_3571.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_43_2603.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_46_2646.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_49_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_34_2881.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_37_2618.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_40_3571.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_43_2603.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_46_2646.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_49_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399666150","1399666138","1399666147","1399666132","1399666152","1399666154"],"photo_ids_order":["1399666132","1399666138","1399666147","1399666150","1399666152","1399666154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/547d78c4e8bfc19783fc39040c57b7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2310668312589956140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897242668,"filename":"image_06112025_17_03_43_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/16/a267d1f205de628a9801a3aab84e54c3.jpg","text":"TemporaryFile(/tmp/multipartBody5844803530833301026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897242668,"filename":"image_06112025_17_03_37_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97418749cebb80bc06fc2c4fa581853e.jpg","text":"TemporaryFile(/tmp/multipartBody8582639482506666192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897242668,"filename":"image_06112025_17_03_40_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/16/2381c3f29bf88d6941e65dfc25b9ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody4106975928735458315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897242668,"filename":"image_06112025_17_03_34_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/16/52c7b691cc4db470071d1d41a26919c1.jpg","text":"TemporaryFile(/tmp/multipartBody5078456227477900112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897242668,"filename":"image_06112025_17_03_46_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/16/36b6cdf255996631ea817726db5b44e3.jpg","text":"TemporaryFile(/tmp/multipartBody2544997721355712599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897242668,"filename":"image_06112025_17_03_49_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666147","file1":"1399666138","file0":"1399666132","file4":"1399666152","file5":"1399666154","file3":"1399666150"},"map_files_photo_id_array":[{"photo_id":"1399666154","filename":"file5"},{"photo_id":"1399666147","filename":"file2"},{"photo_id":"1399666152","filename":"file4"},{"photo_id":"1399666138","filename":"file1"},{"photo_id":"1399666132","filename":"file0"},{"photo_id":"1399666150","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399666150":["hashtag1","hashtag2"]},{"1399666138":["hashtag1","hashtag2"]},{"1399666147":["hashtag1","hashtag2"]},{"1399666132":["hashtag1","hashtag2"]},{"1399666152":["hashtag1","hashtag2"]},{"1399666154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399666150, 1399666138, 1399666147, 1399666132, 1399666152, 1399666154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8741660118103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:00:22.254297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_56_10698.jpg', '/home/pi/Desktop/images/16122025/15/58/image_16122025_15_59_05_9653.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_15_9642.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_25_10653.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_35_9714.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_45_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_56_10698.jpg
/home/pi/Desktop/images/16122025/15/58/image_16122025_15_59_05_9653.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_15_9642.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_25_10653.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_35_9714.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_45_9750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4880838394165039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:00:32.262002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:00:42.254240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_52_2794.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_55_2566.jpg', '/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_58_3639.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_01_2688.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_04_2648.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_07_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_52_2794.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_55_2566.jpg
/home/pi/Desktop/images/06112025/17/03/image_06112025_17_03_58_3639.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_01_2688.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_04_2648.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_07_3650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399666657","1399666734","1399666518","1399666446","1399666806","1399666588"],"photo_ids_order":["1399666446","1399666518","1399666588","1399666657","1399666734","1399666806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd28f790065d1cc26fb9c0122d036282.jpg","text":"TemporaryFile(/tmp/multipartBody2041837916089349259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897302936,"filename":"image_06112025_17_04_01_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/393d173a694351e0bd364a943a1a969e.jpg","text":"TemporaryFile(/tmp/multipartBody468150369253242855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897302936,"filename":"image_06112025_17_04_04_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c79fb735c57dddd7efa2d9f3c93c2114.jpg","text":"TemporaryFile(/tmp/multipartBody2563535295975303946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897302936,"filename":"image_06112025_17_03_55_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/535a60915e1a4c3566751d551dca8b63.jpg","text":"TemporaryFile(/tmp/multipartBody6620262023417528634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897302936,"filename":"image_06112025_17_03_52_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/16/0e2757c6b7e84328a650f97fe5e8e76c.jpg","text":"TemporaryFile(/tmp/multipartBody1267573290122885274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897302936,"filename":"image_06112025_17_04_07_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1575f36333180b212e4833e0ecde8572.jpg","text":"TemporaryFile(/tmp/multipartBody934304930026722296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897302936,"filename":"image_06112025_17_03_58_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399666588","file1":"1399666518","file0":"1399666446","file4":"1399666734","file5":"1399666806","file3":"1399666657"},"map_files_photo_id_array":[{"photo_id":"1399666806","filename":"file5"},{"photo_id":"1399666588","filename":"file2"},{"photo_id":"1399666734","filename":"file4"},{"photo_id":"1399666518","filename":"file1"},{"photo_id":"1399666446","filename":"file0"},{"photo_id":"1399666657","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399666657":["hashtag1","hashtag2"]},{"1399666734":["hashtag1","hashtag2"]},{"1399666518":["hashtag1","hashtag2"]},{"1399666446":["hashtag1","hashtag2"]},{"1399666806":["hashtag1","hashtag2"]},{"1399666588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399666657, 1399666734, 1399666518, 1399666446, 1399666806, 1399666588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2520112991333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:01:22.479434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_56_10698.jpg', '/home/pi/Desktop/images/16122025/15/58/image_16122025_15_59_05_9653.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_15_9642.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_25_10653.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_35_9714.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_45_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_56_10698.jpg
/home/pi/Desktop/images/16122025/15/58/image_16122025_15_59_05_9653.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_15_9642.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_25_10653.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_35_9714.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_45_9750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5346782207489014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:01:32.595379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:01:42.619545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_10_2675.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_13_2560.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_16_3717.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_19_2669.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_22_2740.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_25_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_10_2675.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_13_2560.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_16_3717.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_19_2669.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_22_2740.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_25_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399667484","1399667800","1399667727","1399667655","1399667406","1399667584"],"photo_ids_order":["1399667406","1399667484","1399667584","1399667655","1399667727","1399667800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c047800e5773963581a463d0e094a60a.jpg","text":"TemporaryFile(/tmp/multipartBody2922164110533544745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897363352,"filename":"image_06112025_17_04_13_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7e3c932aa9c1a9c287efbb32ef84bee.jpg","text":"TemporaryFile(/tmp/multipartBody5763278283194511331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897363352,"filename":"image_06112025_17_04_25_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/16/a6815cd8368ae18ffbbfe2125a7d9997.jpg","text":"TemporaryFile(/tmp/multipartBody5735353927636740040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897363352,"filename":"image_06112025_17_04_22_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/16/45d6b540b2600ef7354e1bf307cdc4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4659327645285171771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897363352,"filename":"image_06112025_17_04_19_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/16/9123341f71cd5457fa3fe627bb3cc34a.jpg","text":"TemporaryFile(/tmp/multipartBody3483646008945247218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897363352,"filename":"image_06112025_17_04_10_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/16/ce3f5d395e380a11ef745fbfcfd1bc4b.jpg","text":"TemporaryFile(/tmp/multipartBody3856573518528197093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897363352,"filename":"image_06112025_17_04_16_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399667584","file1":"1399667484","file0":"1399667406","file4":"1399667727","file5":"1399667800","file3":"1399667655"},"map_files_photo_id_array":[{"photo_id":"1399667800","filename":"file5"},{"photo_id":"1399667584","filename":"file2"},{"photo_id":"1399667727","filename":"file4"},{"photo_id":"1399667484","filename":"file1"},{"photo_id":"1399667406","filename":"file0"},{"photo_id":"1399667655","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399667484":["hashtag1","hashtag2"]},{"1399667800":["hashtag1","hashtag2"]},{"1399667727":["hashtag1","hashtag2"]},{"1399667655":["hashtag1","hashtag2"]},{"1399667406":["hashtag1","hashtag2"]},{"1399667584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399667484, 1399667800, 1399667727, 1399667655, 1399667406, 1399667584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90322685241699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:02:21.899796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_56_10698.jpg', '/home/pi/Desktop/images/16122025/15/58/image_16122025_15_59_05_9653.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_15_9642.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_25_10653.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_35_9714.jpg', '/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_45_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/58/image_16122025_15_58_56_10698.jpg
/home/pi/Desktop/images/16122025/15/58/image_16122025_15_59_05_9653.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_15_9642.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_25_10653.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_35_9714.jpg
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_45_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":["1399668105","1399668312","1399668173","1399668035","1399668241","1399668384"],"photo_ids_order":["1399668035","1399668105","1399668173","1399668241","1399668312","1399668384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7041b279dcb232bc9c360c9a86195306.jpg","text":"TemporaryFile(/tmp/multipartBody8385189632560025001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897402496,"filename":"image_16122025_15_59_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/16/5f44510f4f6af0ae468cab3ac368f275.jpg","text":"TemporaryFile(/tmp/multipartBody3592325901543962041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897402496,"filename":"image_16122025_15_59_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/16/d027ba44e42ba10becb6a0fdf012b816.jpg","text":"TemporaryFile(/tmp/multipartBody1785276382557859256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897402496,"filename":"image_16122025_15_59_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/16/630bbb0fa968034adbfe6e7768aa5773.jpg","text":"TemporaryFile(/tmp/multipartBody8869209973610029623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897402496,"filename":"image_16122025_15_58_56_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/16/07107448e78572799a2babb76a69dfaa.jpg","text":"TemporaryFile(/tmp/multipartBody1762535381810716891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897402496,"filename":"image_16122025_15_59_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d4ab90cd78ddaf276ec5e2fefd60ca4.jpg","text":"TemporaryFile(/tmp/multipartBody4859674457463262871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897402496,"filename":"image_16122025_15_59_45_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399668173","file1":"1399668105","file0":"1399668035","file4":"1399668312","file5":"1399668384","file3":"1399668241"},"map_files_photo_id_array":[{"photo_id":"1399668384","filename":"file5"},{"photo_id":"1399668173","filename":"file2"},{"photo_id":"1399668312","filename":"file4"},{"photo_id":"1399668105","filename":"file1"},{"photo_id":"1399668035","filename":"file0"},{"photo_id":"1399668241","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399668105":["hashtag1","hashtag2"]},{"1399668312":["hashtag1","hashtag2"]},{"1399668173":["hashtag1","hashtag2"]},{"1399668035":["hashtag1","hashtag2"]},{"1399668241":["hashtag1","hashtag2"]},{"1399668384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399668105, 1399668312, 1399668173, 1399668035, 1399668241, 1399668384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92272901535034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:03:02.785576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_55_9701.jpg', '/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_14_10056.jpg', '/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_25_10603.jpg', '/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_35_9890.jpg', '/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_44_9828.jpg', '/home/pi/Desktop/images/16122025/16/00/image_16122025_16_01_05_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/15/59/image_16122025_15_59_55_9701.jpg
/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_14_10056.jpg
/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_25_10603.jpg
/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_35_9890.jpg
/home/pi/Desktop/images/16122025/16/00/image_16122025_16_00_44_9828.jpg
/home/pi/Desktop/images/16122025/16/00/image_16122025_16_01_05_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":["1399668876","1399668788","1399669016","1399668947","1399668682","1399669092"],"photo_ids_order":["1399668682","1399668788","1399668876","1399668947","1399669016","1399669092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1bf2a65741d49269d76f4e53331bda1.jpg","text":"TemporaryFile(/tmp/multipartBody3230263664778380627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897443454,"filename":"image_16122025_16_00_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fb45bda39e45a4db8bf77ad7492dc3b.jpg","text":"TemporaryFile(/tmp/multipartBody2231681515898531192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897443454,"filename":"image_16122025_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/16/a86034acfe87838c702528f25ef293b4.jpg","text":"TemporaryFile(/tmp/multipartBody5120154464792723527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897443454,"filename":"image_16122025_16_00_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/16/5ebc5b555966583b3129fffdb101066a.jpg","text":"TemporaryFile(/tmp/multipartBody5317443432379591484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897443454,"filename":"image_16122025_16_00_35_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f32095167c14604c5dcf02f2cd7fa78f.jpg","text":"TemporaryFile(/tmp/multipartBody4377517678670518317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897443454,"filename":"image_16122025_15_59_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f2f27c0e3e4a648e7270f32f5688932.jpg","text":"TemporaryFile(/tmp/multipartBody4793891691325668966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897443454,"filename":"image_16122025_16_01_05_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399668876","file1":"1399668788","file0":"1399668682","file4":"1399669016","file5":"1399669092","file3":"1399668947"},"map_files_photo_id_array":[{"photo_id":"1399669092","filename":"file5"},{"photo_id":"1399668876","filename":"file2"},{"photo_id":"1399669016","filename":"file4"},{"photo_id":"1399668788","filename":"file1"},{"photo_id":"1399668682","filename":"file0"},{"photo_id":"1399668947","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399668876":["hashtag1","hashtag2"]},{"1399668788":["hashtag1","hashtag2"]},{"1399669016":["hashtag1","hashtag2"]},{"1399668947":["hashtag1","hashtag2"]},{"1399668682":["hashtag1","hashtag2"]},{"1399669092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399668876, 1399668788, 1399669016, 1399668947, 1399668682, 1399669092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33784890174866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:03:42.044480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_28_2583.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_31_2653.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_33_2780.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_37_3641.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_40_2577.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_43_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_28_2583.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_31_2653.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_33_2780.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_37_3641.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_40_2577.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_43_3584.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5745868682861328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:04:03.036293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_15_9688.jpg', '/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_35_10675.jpg', '/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_44_9638.jpg', '/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_54_9739.jpg', '/home/pi/Desktop/images/16122025/16/01/image_16122025_16_02_05_10727.jpg', '/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_24_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_15_9688.jpg
/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_35_10675.jpg
/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_44_9638.jpg
/home/pi/Desktop/images/16122025/16/01/image_16122025_16_01_54_9739.jpg
/home/pi/Desktop/images/16122025/16/01/image_16122025_16_02_05_10727.jpg
/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_24_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399669598","1399670099","1399669832","1399669738","1399669666","1399669968"],"photo_ids_order":["1399669598","1399669666","1399669738","1399669832","1399669968","1399670099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20a994f11452c099dbb80b82a2dcf7fe.jpg","text":"TemporaryFile(/tmp/multipartBody6682077419684827116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897503671,"filename":"image_16122025_16_01_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59f2833bcbbf8f9882d0dcc07f692720.jpg","text":"TemporaryFile(/tmp/multipartBody5249239790839612644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897503671,"filename":"image_16122025_16_02_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/16/94412dcdfe28c1ca27725cd1793e8f7b.jpg","text":"TemporaryFile(/tmp/multipartBody2370268605708281632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897503671,"filename":"image_16122025_16_01_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/098fcd6811e3d74e481b1a8a28b8d33a.jpg","text":"TemporaryFile(/tmp/multipartBody3402183686313374015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897503671,"filename":"image_16122025_16_01_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/16/0471a4bdc825573a5a6b1d9d59730147.jpg","text":"TemporaryFile(/tmp/multipartBody7258772677923101125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897503671,"filename":"image_16122025_16_01_35_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/16/36f28fb51210eeb609ec20ad24d5d50e.jpg","text":"TemporaryFile(/tmp/multipartBody5136949280803877892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897503671,"filename":"image_16122025_16_02_05_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399669738","file1":"1399669666","file0":"1399669598","file4":"1399669968","file5":"1399670099","file3":"1399669832"},"map_files_photo_id_array":[{"photo_id":"1399670099","filename":"file5"},{"photo_id":"1399669738","filename":"file2"},{"photo_id":"1399669968","filename":"file4"},{"photo_id":"1399669666","filename":"file1"},{"photo_id":"1399669598","filename":"file0"},{"photo_id":"1399669832","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399669598":["hashtag1","hashtag2"]},{"1399670099":["hashtag1","hashtag2"]},{"1399669832":["hashtag1","hashtag2"]},{"1399669738":["hashtag1","hashtag2"]},{"1399669666":["hashtag1","hashtag2"]},{"1399669968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399669598, 1399670099, 1399669832, 1399669738, 1399669666, 1399669968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19635891914368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:04:42.338016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_28_2583.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_31_2653.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_33_2780.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_37_3641.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_40_2577.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_43_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_28_2583.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_31_2653.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_33_2780.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_37_3641.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_40_2577.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_43_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399670496","1399670634","1399670550","1399670684","1399670587","1399670725"],"photo_ids_order":["1399670496","1399670550","1399670587","1399670634","1399670684","1399670725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3aa484f544e7c0a9d56c0ad47e973bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1499184956809595799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897542912,"filename":"image_06112025_17_04_28_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/16/605b5ec82ea9e9d2d00234ebc6225a49.jpg","text":"TemporaryFile(/tmp/multipartBody8513869600639839726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897542912,"filename":"image_06112025_17_04_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/16/f422f11ecf947411cd59a64435cf748d.jpg","text":"TemporaryFile(/tmp/multipartBody3447275104929018211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897542912,"filename":"image_06112025_17_04_31_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/16/a10fdd62d234a4847ce5a5ff9840b664.jpg","text":"TemporaryFile(/tmp/multipartBody6557622923743117542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897542912,"filename":"image_06112025_17_04_40_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/16/92d64566a1b4a744dc4b89080f3f0fe7.jpg","text":"TemporaryFile(/tmp/multipartBody4644403079653073642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897542912,"filename":"image_06112025_17_04_33_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/16/f15ecfe74eb44fe713c792e2cf2eb2fc.jpg","text":"TemporaryFile(/tmp/multipartBody6326862130289137464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897542912,"filename":"image_06112025_17_04_43_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399670587","file1":"1399670550","file0":"1399670496","file4":"1399670684","file5":"1399670725","file3":"1399670634"},"map_files_photo_id_array":[{"photo_id":"1399670725","filename":"file5"},{"photo_id":"1399670587","filename":"file2"},{"photo_id":"1399670684","filename":"file4"},{"photo_id":"1399670550","filename":"file1"},{"photo_id":"1399670496","filename":"file0"},{"photo_id":"1399670634","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399670496":["hashtag1","hashtag2"]},{"1399670634":["hashtag1","hashtag2"]},{"1399670550":["hashtag1","hashtag2"]},{"1399670684":["hashtag1","hashtag2"]},{"1399670587":["hashtag1","hashtag2"]},{"1399670725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399670496, 1399670634, 1399670550, 1399670684, 1399670587, 1399670725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004985332489014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:05:22.692470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_34_9707.jpg', '/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_45_10643.jpg', '/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_54_9668.jpg', '/home/pi/Desktop/images/16122025/16/02/image_16122025_16_03_04_9603.jpg', '/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_15_10662.jpg', '/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_35_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_34_9707.jpg
/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_45_10643.jpg
/home/pi/Desktop/images/16122025/16/02/image_16122025_16_02_54_9668.jpg
/home/pi/Desktop/images/16122025/16/02/image_16122025_16_03_04_9603.jpg
/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_15_10662.jpg
/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_35_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399671131","1399670957","1399670998","1399670875","1399671081","1399671045"],"photo_ids_order":["1399670875","1399670957","1399670998","1399671045","1399671081","1399671131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27ca77271d3911d7a250b9674b90d1a8.jpg","text":"TemporaryFile(/tmp/multipartBody5693394300729045523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897583297,"filename":"image_16122025_16_03_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a07e7b45cec2e04fb3238fb67b0d50f2.jpg","text":"TemporaryFile(/tmp/multipartBody7647241128421605488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897583297,"filename":"image_16122025_16_02_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9f994735982a7ee81906b28348f4d98.jpg","text":"TemporaryFile(/tmp/multipartBody772531977170310801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897583297,"filename":"image_16122025_16_02_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/16/170994e12707732169c9b72b777d5103.jpg","text":"TemporaryFile(/tmp/multipartBody1576232640191008171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897583297,"filename":"image_16122025_16_02_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26a3512ca20102cd05a6b9ecc5cb3c97.jpg","text":"TemporaryFile(/tmp/multipartBody6454828313589947341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897583297,"filename":"image_16122025_16_03_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac135a8afd0e38e1d76b22ff09aaa74a.jpg","text":"TemporaryFile(/tmp/multipartBody155318851944041874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897583297,"filename":"image_16122025_16_03_04_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399670998","file1":"1399670957","file0":"1399670875","file4":"1399671081","file5":"1399671131","file3":"1399671045"},"map_files_photo_id_array":[{"photo_id":"1399671131","filename":"file5"},{"photo_id":"1399670998","filename":"file2"},{"photo_id":"1399671081","filename":"file4"},{"photo_id":"1399670957","filename":"file1"},{"photo_id":"1399670875","filename":"file0"},{"photo_id":"1399671045","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399671131":["hashtag1","hashtag2"]},{"1399670957":["hashtag1","hashtag2"]},{"1399670998":["hashtag1","hashtag2"]},{"1399670875":["hashtag1","hashtag2"]},{"1399671081":["hashtag1","hashtag2"]},{"1399671045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399671131, 1399670957, 1399670998, 1399670875, 1399671081, 1399671045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45626759529114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:06:02.355248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_45_9817.jpg', '/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_55_9827.jpg', '/home/pi/Desktop/images/16122025/16/03/image_16122025_16_04_04_9591.jpg', '/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_15_10779.jpg', '/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_25_9709.jpg', '/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_34_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_45_9817.jpg
/home/pi/Desktop/images/16122025/16/03/image_16122025_16_03_55_9827.jpg
/home/pi/Desktop/images/16122025/16/03/image_16122025_16_04_04_9591.jpg
/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_15_10779.jpg
/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_25_9709.jpg
/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_34_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399671395","1399671569","1399671476","1399671328","1399671525","1399671258"],"photo_ids_order":["1399671258","1399671328","1399671395","1399671476","1399671525","1399671569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fce85ca2f6f5b1c4646ca90cca7a3a61.jpg","text":"TemporaryFile(/tmp/multipartBody2477676103208751327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897623011,"filename":"image_16122025_16_04_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/901791c096de31a50a65d362424631d3.jpg","text":"TemporaryFile(/tmp/multipartBody4110166153335518527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897623011,"filename":"image_16122025_16_04_34_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec73c961816c2e5eeff72ecd50a42aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4230367740973637627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897623011,"filename":"image_16122025_16_04_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/16/d6582e3815bb9c34b8e679963b0732e0.jpg","text":"TemporaryFile(/tmp/multipartBody2256081917539534015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897623011,"filename":"image_16122025_16_03_55_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41e4d6e0cefc04913e16fd82ac8b5984.jpg","text":"TemporaryFile(/tmp/multipartBody6470898054226066460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897623011,"filename":"image_16122025_16_04_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/16/4b2aec713d738eaf84df0e1bc628747c.jpg","text":"TemporaryFile(/tmp/multipartBody1878651918636370519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897623011,"filename":"image_16122025_16_03_45_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399671395","file1":"1399671328","file0":"1399671258","file4":"1399671525","file5":"1399671569","file3":"1399671476"},"map_files_photo_id_array":[{"photo_id":"1399671569","filename":"file5"},{"photo_id":"1399671395","filename":"file2"},{"photo_id":"1399671525","filename":"file4"},{"photo_id":"1399671328","filename":"file1"},{"photo_id":"1399671258","filename":"file0"},{"photo_id":"1399671476","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399671395":["hashtag1","hashtag2"]},{"1399671569":["hashtag1","hashtag2"]},{"1399671476":["hashtag1","hashtag2"]},{"1399671328":["hashtag1","hashtag2"]},{"1399671525":["hashtag1","hashtag2"]},{"1399671258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399671395, 1399671569, 1399671476, 1399671328, 1399671525, 1399671258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36669731140137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:06:41.850729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_46_2502.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_48_2707.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_52_3638.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_55_2566.jpg', '/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_58_3671.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_06_3013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_46_2502.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_48_2707.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_52_3638.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_55_2566.jpg
/home/pi/Desktop/images/06112025/17/04/image_06112025_17_04_58_3671.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_06_3013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399671828","1399671717","1399671802","1399671867","1399671846","1399671831"],"photo_ids_order":["1399671717","1399671802","1399671828","1399671831","1399671846","1399671867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eebb57c7b03ea46d77f1c40f730a8778.jpg","text":"TemporaryFile(/tmp/multipartBody8243791284135302347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897662543,"filename":"image_06112025_17_04_52_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ad7141fbff72a005e6129afe47a3759.jpg","text":"TemporaryFile(/tmp/multipartBody6155651761594146587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897662543,"filename":"image_06112025_17_04_46_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/16/ea05fdaafad6be0ad6c547f0e65cf854.jpg","text":"TemporaryFile(/tmp/multipartBody841007286059507120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897662543,"filename":"image_06112025_17_04_48_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/16/adee83609b3bca60a674134666ec7996.jpg","text":"TemporaryFile(/tmp/multipartBody5473487314771520769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897662543,"filename":"image_06112025_17_05_06_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/16/835c52c8608e8dd6879557e2a38e3b40.jpg","text":"TemporaryFile(/tmp/multipartBody5867275581171481237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897662543,"filename":"image_06112025_17_04_58_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/16/4b8ef9dba16d9f13b492bbcb5db9b221.jpg","text":"TemporaryFile(/tmp/multipartBody8966135303079001162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897662543,"filename":"image_06112025_17_04_55_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399671828","file1":"1399671802","file0":"1399671717","file4":"1399671846","file5":"1399671867","file3":"1399671831"},"map_files_photo_id_array":[{"photo_id":"1399671867","filename":"file5"},{"photo_id":"1399671828","filename":"file2"},{"photo_id":"1399671846","filename":"file4"},{"photo_id":"1399671802","filename":"file1"},{"photo_id":"1399671717","filename":"file0"},{"photo_id":"1399671831","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399671828":["hashtag1","hashtag2"]},{"1399671717":["hashtag1","hashtag2"]},{"1399671802":["hashtag1","hashtag2"]},{"1399671867":["hashtag1","hashtag2"]},{"1399671846":["hashtag1","hashtag2"]},{"1399671831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399671828, 1399671717, 1399671802, 1399671867, 1399671846, 1399671831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29041576385498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:07:22.073035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_45_10718.jpg', '/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_55_9585.jpg', '/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_14_10055.jpg', '/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_25_10631.jpg', '/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_34_9778.jpg', '/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_45_10718.jpg
/home/pi/Desktop/images/16122025/16/04/image_16122025_16_04_55_9585.jpg
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_14_10055.jpg
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_25_10631.jpg
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_34_9778.jpg
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_44_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399672214","1399672103","1399672019","1399672177","1399672066","1399672140"],"photo_ids_order":["1399672019","1399672066","1399672103","1399672140","1399672177","1399672214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1dd2bb13326abb3f421890236f8a3030.jpg","text":"TemporaryFile(/tmp/multipartBody5727930593201138432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897702686,"filename":"image_16122025_16_05_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aae5e6e72ecd15f0ccf5f955bc611e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1030338450499722348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897702686,"filename":"image_16122025_16_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/16/5b1684ea9df7d6e8ffb9f648a7c76ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8977276811298016410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897702686,"filename":"image_16122025_16_04_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39b403ac948a1a0867ae6907d05651af.jpg","text":"TemporaryFile(/tmp/multipartBody6282625988653216442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897702686,"filename":"image_16122025_16_05_34_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a69cbec06766dcc946b6f1bc064e9b72.jpg","text":"TemporaryFile(/tmp/multipartBody1813867148450861326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897702686,"filename":"image_16122025_16_04_55_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e3a1167e6865253c200b0cd6efe85cc.jpg","text":"TemporaryFile(/tmp/multipartBody897366674465605321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897702686,"filename":"image_16122025_16_05_25_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399672103","file1":"1399672066","file0":"1399672019","file4":"1399672177","file5":"1399672214","file3":"1399672140"},"map_files_photo_id_array":[{"photo_id":"1399672214","filename":"file5"},{"photo_id":"1399672103","filename":"file2"},{"photo_id":"1399672177","filename":"file4"},{"photo_id":"1399672066","filename":"file1"},{"photo_id":"1399672019","filename":"file0"},{"photo_id":"1399672140","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399672214":["hashtag1","hashtag2"]},{"1399672103":["hashtag1","hashtag2"]},{"1399672019":["hashtag1","hashtag2"]},{"1399672177":["hashtag1","hashtag2"]},{"1399672066":["hashtag1","hashtag2"]},{"1399672140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399672214, 1399672103, 1399672019, 1399672177, 1399672066, 1399672140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56374263763428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:08:02.624726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_55_10597.jpg', '/home/pi/Desktop/images/16122025/16/05/image_16122025_16_06_05_9744.jpg', '/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_14_9958.jpg', '/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_24_9792.jpg', '/home/pi/Desktop/images/16122025/16/06/image_16122025_16_07_04_9770.jpg', '/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_15_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_55_10597.jpg
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_06_05_9744.jpg
/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_14_9958.jpg
/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_24_9792.jpg
/home/pi/Desktop/images/16122025/16/06/image_16122025_16_07_04_9770.jpg
/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_15_10592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5486321449279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:08:12.213979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:08:22.245154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_55_10597.jpg', '/home/pi/Desktop/images/16122025/16/05/image_16122025_16_06_05_9744.jpg', '/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_14_9958.jpg', '/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_24_9792.jpg', '/home/pi/Desktop/images/16122025/16/06/image_16122025_16_07_04_9770.jpg', '/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_15_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_05_55_10597.jpg
/home/pi/Desktop/images/16122025/16/05/image_16122025_16_06_05_9744.jpg
/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_14_9958.jpg
/home/pi/Desktop/images/16122025/16/06/image_16122025_16_06_24_9792.jpg
/home/pi/Desktop/images/16122025/16/06/image_16122025_16_07_04_9770.jpg
/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_15_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399672652","1399672544","1399672674","1399672575","1399672677","1399672617"],"photo_ids_order":["1399672544","1399672575","1399672617","1399672652","1399672674","1399672677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/51c12f79a3cd2479cd808985c86364dc.jpg","text":"TemporaryFile(/tmp/multipartBody5164975918477053001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897762891,"filename":"image_16122025_16_06_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/16/62a6cb6428eef33e61b3f200d6598558.jpg","text":"TemporaryFile(/tmp/multipartBody8516322461847242370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897762891,"filename":"image_16122025_16_05_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/16/5f73cdf74cac4074956efbd539d15f71.jpg","text":"TemporaryFile(/tmp/multipartBody3770252990878802369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897762891,"filename":"image_16122025_16_07_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/16/db2a70b066c4f477af627f1bebcb8ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6214909691763126789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897762891,"filename":"image_16122025_16_06_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c149db8f70eb87fa3dd869f1adb348c.jpg","text":"TemporaryFile(/tmp/multipartBody4610108118966230695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897762891,"filename":"image_16122025_16_07_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f5cdb3ff70743c5bbaab0a86e102a98.jpg","text":"TemporaryFile(/tmp/multipartBody5126851155275517717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897762891,"filename":"image_16122025_16_06_14_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399672617","file1":"1399672575","file0":"1399672544","file4":"1399672674","file5":"1399672677","file3":"1399672652"},"map_files_photo_id_array":[{"photo_id":"1399672677","filename":"file5"},{"photo_id":"1399672617","filename":"file2"},{"photo_id":"1399672674","filename":"file4"},{"photo_id":"1399672575","filename":"file1"},{"photo_id":"1399672544","filename":"file0"},{"photo_id":"1399672652","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399672652":["hashtag1","hashtag2"]},{"1399672544":["hashtag1","hashtag2"]},{"1399672674":["hashtag1","hashtag2"]},{"1399672575":["hashtag1","hashtag2"]},{"1399672677":["hashtag1","hashtag2"]},{"1399672617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399672652, 1399672544, 1399672674, 1399672575, 1399672677, 1399672617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10287261009216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:09:03.444149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_35_10590.jpg', '/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_45_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_35_10590.jpg
/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_45_9762.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.42735886573791504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:09:12.465650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:09:22.479330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_35_10590.jpg', '/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_45_9762.jpg', '/home/pi/Desktop/images/16122025/16/08/image_16122025_16_08_14_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_35_10590.jpg
/home/pi/Desktop/images/16122025/16/07/image_16122025_16_07_45_9762.jpg
/home/pi/Desktop/images/16122025/16/08/image_16122025_16_08_14_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":["1399672721","1399672734","1399672716"],"photo_ids_order":["1399672716","1399672721","1399672734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da7d704b2f7d045fe369a2cb97614f29.jpg","text":"TemporaryFile(/tmp/multipartBody7573882385976127499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897822967,"filename":"image_16122025_16_07_45_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20352a4b81716def8f4436ffd002c239.jpg","text":"TemporaryFile(/tmp/multipartBody8655246436248741210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897822967,"filename":"image_16122025_16_08_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30701585857300ee35cc9ac838f84afe.jpg","text":"TemporaryFile(/tmp/multipartBody83257793863784418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897822967,"filename":"image_16122025_16_07_35_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399672734","file1":"1399672721","file0":"1399672716"},"map_files_photo_id_array":[{"photo_id":"1399672734","filename":"file2"},{"photo_id":"1399672721","filename":"file1"},{"photo_id":"1399672716","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399672721":["hashtag1","hashtag2"]},{"1399672734":["hashtag1","hashtag2"]},{"1399672716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399672721, 1399672734, 1399672716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.53658151626587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:10:03.145679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:10:12.756035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:10:22.720887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/09/image_16122025_16_09_55_10788.jpg', '/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_15_10053.jpg', '/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_26_10853.jpg', '/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_35_9539.jpg', '/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_45_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/09/image_16122025_16_09_55_10788.jpg
/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_15_10053.jpg
/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_26_10853.jpg
/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_35_9539.jpg
/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_45_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399672888","1399672912","1399672899","1399672878","1399672905"],"photo_ids_order":["1399672878","1399672888","1399672899","1399672905","1399672912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8eab9b373975f7f15537a27d48cd51d2.jpg","text":"TemporaryFile(/tmp/multipartBody5352976343215054416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897883286,"filename":"image_16122025_16_10_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/16/fe3cde5ae31e0bd73737a79420898b1e.jpg","text":"TemporaryFile(/tmp/multipartBody3857900181296159446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897883286,"filename":"image_16122025_16_10_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/16/f11ac8ce8a8d8cb9e57a8e2d7bf0458d.jpg","text":"TemporaryFile(/tmp/multipartBody8070233032092383788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897883286,"filename":"image_16122025_16_10_26_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/16/1f81fa206846fdc16af5612bf121cf83.jpg","text":"TemporaryFile(/tmp/multipartBody5141089569349104487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897883286,"filename":"image_16122025_16_09_55_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1158524223ade6eabda41d3df81a199.jpg","text":"TemporaryFile(/tmp/multipartBody6663787289166650479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897883286,"filename":"image_16122025_16_10_35_9539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399672899","file1":"1399672888","file0":"1399672878","file4":"1399672912","file3":"1399672905"},"map_files_photo_id_array":[{"photo_id":"1399672899","filename":"file2"},{"photo_id":"1399672912","filename":"file4"},{"photo_id":"1399672888","filename":"file1"},{"photo_id":"1399672878","filename":"file0"},{"photo_id":"1399672905","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399672888":["hashtag1","hashtag2"]},{"1399672912":["hashtag1","hashtag2"]},{"1399672899":["hashtag1","hashtag2"]},{"1399672878":["hashtag1","hashtag2"]},{"1399672905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399672888, 1399672912, 1399672899, 1399672878, 1399672905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.19081950187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:11:02.715768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:11:12.105232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:11:22.164906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_55_10748.jpg', '/home/pi/Desktop/images/16122025/16/10/image_16122025_16_11_05_9845.jpg', '/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_15_9674.jpg', '/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_25_9650.jpg', '/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_35_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/10/image_16122025_16_10_55_10748.jpg
/home/pi/Desktop/images/16122025/16/10/image_16122025_16_11_05_9845.jpg
/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_15_9674.jpg
/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_25_9650.jpg
/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_35_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399673053","1399673133","1399672971","1399673093","1399673010"],"photo_ids_order":["1399672971","1399673010","1399673053","1399673093","1399673133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/207480ba4a84afbf73cce008bf89bb3d.jpg","text":"TemporaryFile(/tmp/multipartBody7907048461308021855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897942768,"filename":"image_16122025_16_11_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/16/e247956352cbb3831187153f2d4f4d25.jpg","text":"TemporaryFile(/tmp/multipartBody8908631301430642525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897942768,"filename":"image_16122025_16_11_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0842439aadd22c10986233ab282eb837.jpg","text":"TemporaryFile(/tmp/multipartBody3613857586758246585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897942768,"filename":"image_16122025_16_10_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/16/f8c62cbb988d308237bfbde69af6e0cd.jpg","text":"TemporaryFile(/tmp/multipartBody6350575000481360218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897942768,"filename":"image_16122025_16_11_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/16/b039fd3445dec5c9881f38471e1a310f.jpg","text":"TemporaryFile(/tmp/multipartBody5591939681731808087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765897942768,"filename":"image_16122025_16_11_05_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673053","file1":"1399673010","file0":"1399672971","file4":"1399673133","file3":"1399673093"},"map_files_photo_id_array":[{"photo_id":"1399673053","filename":"file2"},{"photo_id":"1399673133","filename":"file4"},{"photo_id":"1399673010","filename":"file1"},{"photo_id":"1399672971","filename":"file0"},{"photo_id":"1399673093","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399673053":["hashtag1","hashtag2"]},{"1399673133":["hashtag1","hashtag2"]},{"1399672971":["hashtag1","hashtag2"]},{"1399673093":["hashtag1","hashtag2"]},{"1399673010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399673053, 1399673133, 1399672971, 1399673093, 1399673010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.253371715545654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:12:02.614556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:12:12.178174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:12:22.206350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_45_9830.jpg', '/home/pi/Desktop/images/16122025/16/11/image_16122025_16_12_06_10675.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_15_9816.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_25_9663.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_35_9670.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_46_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_45_9830.jpg
/home/pi/Desktop/images/16122025/16/11/image_16122025_16_12_06_10675.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_15_9816.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_25_9663.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_35_9670.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_46_10816.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49820375442504883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:12:32.248767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:12:42.298380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_10_3797.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_13_2761.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_16_2611.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_19_3620.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_22_2702.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_24_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_10_3797.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_13_2761.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_16_2611.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_19_3620.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_22_2702.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_24_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":["1399673501","1399673496","1399673478","1399673503","1399673442","1399673502"],"photo_ids_order":["1399673442","1399673478","1399673496","1399673501","1399673502","1399673503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2260618fbc4e5f08267ad4a6e4d336f8.jpg","text":"TemporaryFile(/tmp/multipartBody1320024889937353194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898023017,"filename":"image_06112025_17_05_19_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/16/953bfea63b50daa7c8da1d6f150e8252.jpg","text":"TemporaryFile(/tmp/multipartBody2054795763783110045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898023017,"filename":"image_06112025_17_05_16_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee125f9b23d7e7521b682c24d1fc36b0.jpg","text":"TemporaryFile(/tmp/multipartBody261983738072646573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898023017,"filename":"image_06112025_17_05_13_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/16/135e380b5bd06e202db42c1788274e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4653002786563998966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898023017,"filename":"image_06112025_17_05_24_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/16/d6fcc0314f5397d8d886cf08793fd4d9.jpg","text":"TemporaryFile(/tmp/multipartBody987749930592149162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898023017,"filename":"image_06112025_17_05_10_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/16/21fcda0429f8cdea9390b57060e373eb.jpg","text":"TemporaryFile(/tmp/multipartBody599804489009204402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898023017,"filename":"image_06112025_17_05_22_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673496","file1":"1399673478","file0":"1399673442","file4":"1399673502","file5":"1399673503","file3":"1399673501"},"map_files_photo_id_array":[{"photo_id":"1399673503","filename":"file5"},{"photo_id":"1399673496","filename":"file2"},{"photo_id":"1399673502","filename":"file4"},{"photo_id":"1399673478","filename":"file1"},{"photo_id":"1399673442","filename":"file0"},{"photo_id":"1399673501","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399673501":["hashtag1","hashtag2"]},{"1399673496":["hashtag1","hashtag2"]},{"1399673478":["hashtag1","hashtag2"]},{"1399673503":["hashtag1","hashtag2"]},{"1399673442":["hashtag1","hashtag2"]},{"1399673502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399673501, 1399673496, 1399673478, 1399673503, 1399673442, 1399673502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92008852958679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:13:22.553465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_45_9830.jpg', '/home/pi/Desktop/images/16122025/16/11/image_16122025_16_12_06_10675.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_15_9816.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_25_9663.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_35_9670.jpg', '/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_46_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/11/image_16122025_16_11_45_9830.jpg
/home/pi/Desktop/images/16122025/16/11/image_16122025_16_12_06_10675.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_15_9816.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_25_9663.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_35_9670.jpg
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_46_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399673516","1399673532","1399673529","1399673538","1399673534","1399673507"],"photo_ids_order":["1399673507","1399673516","1399673529","1399673532","1399673534","1399673538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6cf28af40ff41b80c52fdb0552f358e2.jpg","text":"TemporaryFile(/tmp/multipartBody6484434693566572278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898063163,"filename":"image_16122025_16_12_06_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e5beb5e24ce7ccc58990ab3b340b638.jpg","text":"TemporaryFile(/tmp/multipartBody5461601155934374886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898063163,"filename":"image_16122025_16_12_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/16/612b3bcd2fb578a60835519a1a8f952b.jpg","text":"TemporaryFile(/tmp/multipartBody4422120810858979924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898063163,"filename":"image_16122025_16_12_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/16/585a2176e1341ef3159211ebcc2a7e74.jpg","text":"TemporaryFile(/tmp/multipartBody6450037616387227449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898063163,"filename":"image_16122025_16_12_46_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/16/69f31158febc73e190a4f139a8c4d0db.jpg","text":"TemporaryFile(/tmp/multipartBody8849873551976113172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898063163,"filename":"image_16122025_16_12_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a047c2a7d1c756686b04e31ecbe54d41.jpg","text":"TemporaryFile(/tmp/multipartBody4856177825811971286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898063163,"filename":"image_16122025_16_11_45_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673529","file1":"1399673516","file0":"1399673507","file4":"1399673534","file5":"1399673538","file3":"1399673532"},"map_files_photo_id_array":[{"photo_id":"1399673538","filename":"file5"},{"photo_id":"1399673529","filename":"file2"},{"photo_id":"1399673534","filename":"file4"},{"photo_id":"1399673516","filename":"file1"},{"photo_id":"1399673507","filename":"file0"},{"photo_id":"1399673532","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399673516":["hashtag1","hashtag2"]},{"1399673532":["hashtag1","hashtag2"]},{"1399673529":["hashtag1","hashtag2"]},{"1399673538":["hashtag1","hashtag2"]},{"1399673534":["hashtag1","hashtag2"]},{"1399673507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399673516, 1399673532, 1399673529, 1399673538, 1399673534, 1399673507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.978211402893066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:14:02.467652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_55_9690.jpg', '/home/pi/Desktop/images/16122025/16/13/image_16122025_16_13_16_10679.jpg', '/home/pi/Desktop/images/16122025/16/13/image_16122025_16_13_35_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/12/image_16122025_16_12_55_9690.jpg
/home/pi/Desktop/images/16122025/16/13/image_16122025_16_13_16_10679.jpg
/home/pi/Desktop/images/16122025/16/13/image_16122025_16_13_35_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":["1399673553","1399673546","1399673549"],"photo_ids_order":["1399673546","1399673549","1399673553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a9cf20da4504ff2effa03e339a64d18.jpg","text":"TemporaryFile(/tmp/multipartBody7682460848511489093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898102999,"filename":"image_16122025_16_13_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/16/698cb2063bb79ad91c7fec3da3bc5bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6522435176272131941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898102999,"filename":"image_16122025_16_12_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/765068c4a63603aeabf9a2ee9e00a9af.jpg","text":"TemporaryFile(/tmp/multipartBody3977361435142755677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898102999,"filename":"image_16122025_16_13_16_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673553","file1":"1399673549","file0":"1399673546"},"map_files_photo_id_array":[{"photo_id":"1399673553","filename":"file2"},{"photo_id":"1399673549","filename":"file1"},{"photo_id":"1399673546","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399673553":["hashtag1","hashtag2"]},{"1399673546":["hashtag1","hashtag2"]},{"1399673549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399673553, 1399673546, 1399673549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.468517780303955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:14:32.092161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:14:41.991563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_28_3774.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_31_2706.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_34_2839.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_37_3513.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_40_2871.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_43_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_28_3774.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_31_2706.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_34_2839.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_37_3513.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_40_2871.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_43_2868.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5813717842102051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:15:02.905336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/13/image_16122025_16_13_45_9630.jpg', '/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_25_10649.jpg', '/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_35_9557.jpg', '/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_46_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/13/image_16122025_16_13_45_9630.jpg
/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_25_10649.jpg
/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_35_9557.jpg
/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_46_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399673593","1399673668","1399673631","1399673684"],"photo_ids_order":["1399673593","1399673631","1399673668","1399673684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59381d44a7e4a7aa47904bb1330ff874.jpg","text":"TemporaryFile(/tmp/multipartBody8349239595280604184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898163564,"filename":"image_16122025_16_13_45_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/16/a1e672ae2f93836de31a02bd848ca313.jpg","text":"TemporaryFile(/tmp/multipartBody616084164444608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898163564,"filename":"image_16122025_16_14_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/16/9c083febc3d5b890e6086628f9cafc5d.jpg","text":"TemporaryFile(/tmp/multipartBody2929308165234812590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898163564,"filename":"image_16122025_16_14_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c2a6740b88148eaf99c33822cd30b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1602457747409513330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898163564,"filename":"image_16122025_16_14_46_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673668","file1":"1399673631","file0":"1399673593","file3":"1399673684"},"map_files_photo_id_array":[{"photo_id":"1399673668","filename":"file2"},{"photo_id":"1399673631","filename":"file1"},{"photo_id":"1399673593","filename":"file0"},{"photo_id":"1399673684","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399673593":["hashtag1","hashtag2"]},{"1399673668":["hashtag1","hashtag2"]},{"1399673631":["hashtag1","hashtag2"]},{"1399673684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399673593, 1399673668, 1399673631, 1399673684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.99677348136902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:15:32.252379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:15:42.219344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_28_3774.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_31_2706.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_34_2839.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_37_3513.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_40_2871.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_43_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_28_3774.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_31_2706.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_34_2839.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_37_3513.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_40_2871.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_43_2868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399673788","1399673710","1399673826","1399673693","1399673864","1399673750"],"photo_ids_order":["1399673693","1399673710","1399673750","1399673788","1399673826","1399673864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e53ba666ec425fdb2b8eae289f2ebbf8.jpg","text":"TemporaryFile(/tmp/multipartBody6125484646164124913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898202816,"filename":"image_06112025_17_05_37_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2787d1fe9ba143669a8a17c528f4c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7170260530252657150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898202816,"filename":"image_06112025_17_05_31_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/16/653725dc022df0ff494eb8ef15ba58ec.jpg","text":"TemporaryFile(/tmp/multipartBody5030604510744721407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898202816,"filename":"image_06112025_17_05_40_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2179310a12ecdb5c2eec07a782e842dc.jpg","text":"TemporaryFile(/tmp/multipartBody8684683800770721676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898202816,"filename":"image_06112025_17_05_28_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/16/f475ef595012944f69b9773d7d6263ab.jpg","text":"TemporaryFile(/tmp/multipartBody5290467981494456180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898202816,"filename":"image_06112025_17_05_43_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/16/aa79734242c34602683ec1016a866bb8.jpg","text":"TemporaryFile(/tmp/multipartBody7296800903002445481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898202816,"filename":"image_06112025_17_05_34_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673750","file1":"1399673710","file0":"1399673693","file4":"1399673826","file5":"1399673864","file3":"1399673788"},"map_files_photo_id_array":[{"photo_id":"1399673864","filename":"file5"},{"photo_id":"1399673750","filename":"file2"},{"photo_id":"1399673826","filename":"file4"},{"photo_id":"1399673710","filename":"file1"},{"photo_id":"1399673693","filename":"file0"},{"photo_id":"1399673788","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399673788":["hashtag1","hashtag2"]},{"1399673710":["hashtag1","hashtag2"]},{"1399673826":["hashtag1","hashtag2"]},{"1399673693":["hashtag1","hashtag2"]},{"1399673864":["hashtag1","hashtag2"]},{"1399673750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399673788, 1399673710, 1399673826, 1399673693, 1399673864, 1399673750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25447702407837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:16:22.446632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_55_9782.jpg', '/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_14_10038.jpg', '/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_25_10741.jpg', '/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_34_9657.jpg', '/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_44_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/14/image_16122025_16_14_55_9782.jpg
/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_14_10038.jpg
/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_25_10741.jpg
/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_34_9657.jpg
/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_44_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399673935","1399673937","1399673928","1399673933","1399673945"],"photo_ids_order":["1399673928","1399673933","1399673935","1399673937","1399673945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/815fbe88ca93922bafb72899f97e829d.jpg","text":"TemporaryFile(/tmp/multipartBody8827915465315842936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898243015,"filename":"image_16122025_16_16_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fce85b81c30f32f1f89fa8aad95a0d04.jpg","text":"TemporaryFile(/tmp/multipartBody8995773281781563372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898243015,"filename":"image_16122025_16_16_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/687a489a21a1c527358ec2fcbb1b07cf.jpg","text":"TemporaryFile(/tmp/multipartBody635182003582048101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898243015,"filename":"image_16122025_16_14_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85a311c8d5ddb09e9a5313efadc5d57f.jpg","text":"TemporaryFile(/tmp/multipartBody7130768091791129064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898243015,"filename":"image_16122025_16_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/16/fbdefc1bbf3f6b3e750ee3caba047130.jpg","text":"TemporaryFile(/tmp/multipartBody6015893247093298100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898243015,"filename":"image_16122025_16_16_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673935","file1":"1399673933","file0":"1399673928","file4":"1399673945","file3":"1399673937"},"map_files_photo_id_array":[{"photo_id":"1399673935","filename":"file2"},{"photo_id":"1399673945","filename":"file4"},{"photo_id":"1399673933","filename":"file1"},{"photo_id":"1399673928","filename":"file0"},{"photo_id":"1399673937","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399673935":["hashtag1","hashtag2"]},{"1399673937":["hashtag1","hashtag2"]},{"1399673928":["hashtag1","hashtag2"]},{"1399673933":["hashtag1","hashtag2"]},{"1399673945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399673935, 1399673937, 1399673928, 1399673933, 1399673945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.95294904708862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:17:03.380524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:17:12.669931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:17:22.734762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_55_10667.jpg', '/home/pi/Desktop/images/16122025/16/16/image_16122025_16_17_04_9691.jpg', '/home/pi/Desktop/images/16122025/16/17/image_16122025_16_17_14_9622.jpg', '/home/pi/Desktop/images/16122025/16/17/image_16122025_16_17_34_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/16/image_16122025_16_16_55_10667.jpg
/home/pi/Desktop/images/16122025/16/16/image_16122025_16_17_04_9691.jpg
/home/pi/Desktop/images/16122025/16/17/image_16122025_16_17_14_9622.jpg
/home/pi/Desktop/images/16122025/16/17/image_16122025_16_17_34_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399673968","1399673964","1399673972","1399673960"],"photo_ids_order":["1399673960","1399673964","1399673968","1399673972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11acfb494a7c1eba7036c46ceb868e68.jpg","text":"TemporaryFile(/tmp/multipartBody8367305663119375133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898303286,"filename":"image_16122025_16_17_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/16/3a6d940a9b81a6ac56b6403e75649917.jpg","text":"TemporaryFile(/tmp/multipartBody5957558202769761214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898303286,"filename":"image_16122025_16_17_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/16/04ce1946f18a5c5cb722026f8db0070e.jpg","text":"TemporaryFile(/tmp/multipartBody3048472031995645065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898303286,"filename":"image_16122025_16_17_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/16/998f1c4fd57098f8014660b35e77cffe.jpg","text":"TemporaryFile(/tmp/multipartBody3775501197231162952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898303286,"filename":"image_16122025_16_16_55_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673968","file1":"1399673964","file0":"1399673960","file3":"1399673972"},"map_files_photo_id_array":[{"photo_id":"1399673968","filename":"file2"},{"photo_id":"1399673964","filename":"file1"},{"photo_id":"1399673960","filename":"file0"},{"photo_id":"1399673972","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399673968":["hashtag1","hashtag2"]},{"1399673964":["hashtag1","hashtag2"]},{"1399673972":["hashtag1","hashtag2"]},{"1399673960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399673968, 1399673964, 1399673972, 1399673960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.594223260879517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:18:02.444216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:18:11.935897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:18:21.981993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/17/image_16122025_16_17_55_9708.jpg', '/home/pi/Desktop/images/16122025/16/18/image_16122025_16_18_15_10636.jpg', '/home/pi/Desktop/images/16122025/16/18/image_16122025_16_18_25_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/17/image_16122025_16_17_55_9708.jpg
/home/pi/Desktop/images/16122025/16/18/image_16122025_16_18_15_10636.jpg
/home/pi/Desktop/images/16122025/16/18/image_16122025_16_18_25_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399673995","1399673998","1399673992"],"photo_ids_order":["1399673992","1399673995","1399673998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16550d83ccd123df31507a457fb7e467.jpg","text":"TemporaryFile(/tmp/multipartBody1505385048262442190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898362497,"filename":"image_16122025_16_18_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bdc8dd7e36bda706c077516f08792c79.jpg","text":"TemporaryFile(/tmp/multipartBody3567240870640310141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898362497,"filename":"image_16122025_16_18_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29c3594c3d2d0dc6fa5589c779fd64ad.jpg","text":"TemporaryFile(/tmp/multipartBody6503480519205631501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898362497,"filename":"image_16122025_16_17_55_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399673998","file1":"1399673995","file0":"1399673992"},"map_files_photo_id_array":[{"photo_id":"1399673998","filename":"file2"},{"photo_id":"1399673995","filename":"file1"},{"photo_id":"1399673992","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399673995":["hashtag1","hashtag2"]},{"1399673998":["hashtag1","hashtag2"]},{"1399673992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399673995, 1399673998, 1399673992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.7764093875885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:19:02.967231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:19:12.231905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:19:22.199045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/18/image_16122025_16_18_44_9654.jpg', '/home/pi/Desktop/images/16122025/16/18/image_16122025_16_19_04_9751.jpg', '/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_25_10773.jpg', '/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_35_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/18/image_16122025_16_18_44_9654.jpg
/home/pi/Desktop/images/16122025/16/18/image_16122025_16_19_04_9751.jpg
/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_25_10773.jpg
/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_35_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":["1399674016","1399674018","1399674012","1399674014"],"photo_ids_order":["1399674012","1399674014","1399674016","1399674018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a5a9062aff3b2cb6241aa12db7365e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3724820863433235076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898422800,"filename":"image_16122025_16_19_25_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e050246b66cb97b1eb84ab6a0cb63546.jpg","text":"TemporaryFile(/tmp/multipartBody4454157659639852037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898422800,"filename":"image_16122025_16_19_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/16/46bfcd8694c52d5a30640923d0587985.jpg","text":"TemporaryFile(/tmp/multipartBody1871399625494636330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898422800,"filename":"image_16122025_16_18_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/16/5d04a3244c861bcc6cf96e5393b53d27.jpg","text":"TemporaryFile(/tmp/multipartBody1604840983920720241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898422800,"filename":"image_16122025_16_19_04_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674016","file1":"1399674014","file0":"1399674012","file3":"1399674018"},"map_files_photo_id_array":[{"photo_id":"1399674016","filename":"file2"},{"photo_id":"1399674014","filename":"file1"},{"photo_id":"1399674012","filename":"file0"},{"photo_id":"1399674018","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674016":["hashtag1","hashtag2"]},{"1399674018":["hashtag1","hashtag2"]},{"1399674012":["hashtag1","hashtag2"]},{"1399674014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674016, 1399674018, 1399674012, 1399674014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.412172555923462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:20:02.893744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:20:12.451581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:20:22.496299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_46_2827.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_49_2655.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_52_3640.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_55_2922.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_58_2750.jpg', '/home/pi/Desktop/images/06112025/17/05/image_06112025_17_06_00_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_46_2827.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_49_2655.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_52_3640.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_55_2922.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_05_58_2750.jpg
/home/pi/Desktop/images/06112025/17/05/image_06112025_17_06_00_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":["1399674031","1399674037","1399674045","1399674033","1399674035","1399674029"],"photo_ids_order":["1399674029","1399674031","1399674033","1399674035","1399674037","1399674045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/892efd4b1f13374aa937ed8dd7e179b0.jpg","text":"TemporaryFile(/tmp/multipartBody6035613324358882546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898483171,"filename":"image_06112025_17_05_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/16/5862b9f2d053feb3efa927c79d766110.jpg","text":"TemporaryFile(/tmp/multipartBody3616089956315469275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898483171,"filename":"image_06112025_17_05_58_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/16/e3c49ba307b8f3f375ece09d6a336b99.jpg","text":"TemporaryFile(/tmp/multipartBody5756636382058235424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898483171,"filename":"image_06112025_17_06_00_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/16/2276fa4a6f4482fd8230ae2fb6985b39.jpg","text":"TemporaryFile(/tmp/multipartBody278658684149122014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898483171,"filename":"image_06112025_17_05_52_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/16/ef1b97cdf7e031450137592487b828d1.jpg","text":"TemporaryFile(/tmp/multipartBody5744795081299540551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898483171,"filename":"image_06112025_17_05_55_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fdb56803288c291fa3ce0042f5b6d55.jpg","text":"TemporaryFile(/tmp/multipartBody553016525186151141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898483171,"filename":"image_06112025_17_05_46_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674033","file1":"1399674031","file0":"1399674029","file4":"1399674037","file5":"1399674045","file3":"1399674035"},"map_files_photo_id_array":[{"photo_id":"1399674045","filename":"file5"},{"photo_id":"1399674033","filename":"file2"},{"photo_id":"1399674037","filename":"file4"},{"photo_id":"1399674031","filename":"file1"},{"photo_id":"1399674029","filename":"file0"},{"photo_id":"1399674035","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399674031":["hashtag1","hashtag2"]},{"1399674037":["hashtag1","hashtag2"]},{"1399674045":["hashtag1","hashtag2"]},{"1399674033":["hashtag1","hashtag2"]},{"1399674035":["hashtag1","hashtag2"]},{"1399674029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399674031, 1399674037, 1399674045, 1399674033, 1399674035, 1399674029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91999077796936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:21:03.200792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:21:12.621064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:21:22.660906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_54_9713.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_14_10038.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_24_10651.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_54_9713.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_14_10038.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_24_10651.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_34_9662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4414341449737549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:21:32.726632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:21:42.718339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_04_3637.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_07_2584.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_10_3680.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_13_2599.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_16_2751.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_18_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_04_3637.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_07_2584.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_10_3680.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_13_2599.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_16_2751.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_18_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674112","1399674111","1399674114","1399674113","1399674110","1399674107"],"photo_ids_order":["1399674107","1399674110","1399674111","1399674112","1399674113","1399674114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a54b248d9acf59af8aeb1c843429d0d3.jpg","text":"TemporaryFile(/tmp/multipartBody5678777735143469453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898563436,"filename":"image_06112025_17_06_13_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61c591235c13c72dce4b4dfd984d6c73.jpg","text":"TemporaryFile(/tmp/multipartBody8829435142709467854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898563436,"filename":"image_06112025_17_06_10_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/16/dc400da1796de9f3629337d9e0f14b05.jpg","text":"TemporaryFile(/tmp/multipartBody3536789986928832021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898563436,"filename":"image_06112025_17_06_18_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/16/4571ad27031dced83855e7ff302d7699.jpg","text":"TemporaryFile(/tmp/multipartBody7714593447723300314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898563436,"filename":"image_06112025_17_06_16_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/16/4bcd9021cf1b4b154760b88e0b01abd1.jpg","text":"TemporaryFile(/tmp/multipartBody8242115205424705810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898563436,"filename":"image_06112025_17_06_07_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/16/937f3a00458bc976e1172297c15b68bb.jpg","text":"TemporaryFile(/tmp/multipartBody1021478347258698115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898563436,"filename":"image_06112025_17_06_04_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674111","file1":"1399674110","file0":"1399674107","file4":"1399674113","file5":"1399674114","file3":"1399674112"},"map_files_photo_id_array":[{"photo_id":"1399674114","filename":"file5"},{"photo_id":"1399674111","filename":"file2"},{"photo_id":"1399674113","filename":"file4"},{"photo_id":"1399674110","filename":"file1"},{"photo_id":"1399674107","filename":"file0"},{"photo_id":"1399674112","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399674112":["hashtag1","hashtag2"]},{"1399674111":["hashtag1","hashtag2"]},{"1399674114":["hashtag1","hashtag2"]},{"1399674113":["hashtag1","hashtag2"]},{"1399674110":["hashtag1","hashtag2"]},{"1399674107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399674112, 1399674111, 1399674114, 1399674113, 1399674110, 1399674107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5965781211853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:22:22.120951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_54_9713.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_14_10038.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_24_10651.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_34_9662.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_55_10879.jpg', '/home/pi/Desktop/images/16122025/16/21/image_16122025_16_22_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/19/image_16122025_16_19_54_9713.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_14_10038.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_24_10651.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_34_9662.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_21_55_10879.jpg
/home/pi/Desktop/images/16122025/16/21/image_16122025_16_22_04_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":["1399674149","1399674128","1399674122","1399674116","1399674125","1399674119"],"photo_ids_order":["1399674116","1399674119","1399674122","1399674125","1399674128","1399674149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8f7e380d22e34bc9548e9e5d8c4fb45.jpg","text":"TemporaryFile(/tmp/multipartBody2250201247904414015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898602724,"filename":"image_16122025_16_22_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe32861a2c69caa5c7cf2e95ac8e556b.jpg","text":"TemporaryFile(/tmp/multipartBody4707799907952168859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898602724,"filename":"image_16122025_16_21_55_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/16/7ce03c43e18f7e8177427090556f31e1.jpg","text":"TemporaryFile(/tmp/multipartBody5357374556956664461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898602724,"filename":"image_16122025_16_21_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/16/e20a1de30fa0a12b661875ac01557e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8427584525366681604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898602724,"filename":"image_16122025_16_19_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/16/2f5b3943e245af9beb5e6c75fdb49886.jpg","text":"TemporaryFile(/tmp/multipartBody6372084919122704520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898602724,"filename":"image_16122025_16_21_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7dfafbe0f00fe210110f2dea56e646f.jpg","text":"TemporaryFile(/tmp/multipartBody7890799416093126531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898602724,"filename":"image_16122025_16_21_14_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674122","file1":"1399674119","file0":"1399674116","file4":"1399674128","file5":"1399674149","file3":"1399674125"},"map_files_photo_id_array":[{"photo_id":"1399674149","filename":"file5"},{"photo_id":"1399674122","filename":"file2"},{"photo_id":"1399674128","filename":"file4"},{"photo_id":"1399674119","filename":"file1"},{"photo_id":"1399674116","filename":"file0"},{"photo_id":"1399674125","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674149":["hashtag1","hashtag2"]},{"1399674128":["hashtag1","hashtag2"]},{"1399674122":["hashtag1","hashtag2"]},{"1399674116":["hashtag1","hashtag2"]},{"1399674125":["hashtag1","hashtag2"]},{"1399674119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674149, 1399674128, 1399674122, 1399674116, 1399674125, 1399674119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89940905570984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:23:02.819377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_14_9611.jpg', '/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_24_9769.jpg', '/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_35_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_14_9611.jpg
/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_24_9769.jpg
/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_35_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674334","1399674372","1399674296"],"photo_ids_order":["1399674296","1399674334","1399674372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8675d305e7020a1db5b580ef045d8ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1708491542739378984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898643396,"filename":"image_16122025_16_22_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72f5c3a92f0edae518ee71935c0d66e2.jpg","text":"TemporaryFile(/tmp/multipartBody441938638413115204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898643396,"filename":"image_16122025_16_22_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53fe92628596f6f53aeb691485b0afc8.jpg","text":"TemporaryFile(/tmp/multipartBody4574428583001781665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898643396,"filename":"image_16122025_16_22_14_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674372","file1":"1399674334","file0":"1399674296"},"map_files_photo_id_array":[{"photo_id":"1399674372","filename":"file2"},{"photo_id":"1399674334","filename":"file1"},{"photo_id":"1399674296","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674334":["hashtag1","hashtag2"]},{"1399674372":["hashtag1","hashtag2"]},{"1399674296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674334, 1399674372, 1399674296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.422706365585327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:23:32.435664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:23:42.284937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_22_3704.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_25_2523.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_27_2690.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_31_3642.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_34_2587.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_36_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_22_3704.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_25_2523.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_27_2690.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_31_3642.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_34_2587.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_36_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674582","1399674453","1399674534","1399674572","1399674566","1399674490"],"photo_ids_order":["1399674453","1399674490","1399674534","1399674566","1399674572","1399674582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d0bf00567f106f4428178b4404bb49c.jpg","text":"TemporaryFile(/tmp/multipartBody2487516227141698898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898682976,"filename":"image_06112025_17_06_36_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/16/6be2e3d12fd928cec72701b1c05c730e.jpg","text":"TemporaryFile(/tmp/multipartBody5234601982033705290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898682976,"filename":"image_06112025_17_06_22_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6a4da3c083908a61b9a3b356a8c0245.jpg","text":"TemporaryFile(/tmp/multipartBody844329391885909045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898682976,"filename":"image_06112025_17_06_27_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/16/ba2418aafbb2a9cde8aafe612460305c.jpg","text":"TemporaryFile(/tmp/multipartBody5309434258246601557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898682976,"filename":"image_06112025_17_06_34_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/16/8cf06fb8701ad8418c53984f1eba38de.jpg","text":"TemporaryFile(/tmp/multipartBody4570941792460132252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898682976,"filename":"image_06112025_17_06_31_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1de9bbf3032ee9b050cd1a4e26895679.jpg","text":"TemporaryFile(/tmp/multipartBody3112821553570613067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898682976,"filename":"image_06112025_17_06_25_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674534","file1":"1399674490","file0":"1399674453","file4":"1399674572","file5":"1399674582","file3":"1399674566"},"map_files_photo_id_array":[{"photo_id":"1399674582","filename":"file5"},{"photo_id":"1399674534","filename":"file2"},{"photo_id":"1399674572","filename":"file4"},{"photo_id":"1399674490","filename":"file1"},{"photo_id":"1399674453","filename":"file0"},{"photo_id":"1399674566","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399674582":["hashtag1","hashtag2"]},{"1399674453":["hashtag1","hashtag2"]},{"1399674534":["hashtag1","hashtag2"]},{"1399674572":["hashtag1","hashtag2"]},{"1399674566":["hashtag1","hashtag2"]},{"1399674490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399674582, 1399674453, 1399674534, 1399674572, 1399674566, 1399674490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21346712112427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:24:22.580488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_44_9745.jpg', '/home/pi/Desktop/images/16122025/16/22/image_16122025_16_23_05_10644.jpg', '/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_14_9608.jpg', '/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_35_10793.jpg', '/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_44_9647.jpg', '/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_54_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/22/image_16122025_16_22_44_9745.jpg
/home/pi/Desktop/images/16122025/16/22/image_16122025_16_23_05_10644.jpg
/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_14_9608.jpg
/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_35_10793.jpg
/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_44_9647.jpg
/home/pi/Desktop/images/16122025/16/23/image_16122025_16_23_54_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674599","1399674596","1399674602","1399674611","1399674614","1399674592"],"photo_ids_order":["1399674592","1399674596","1399674599","1399674602","1399674611","1399674614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0e6afa2e530b362622c0226169e0a75.jpg","text":"TemporaryFile(/tmp/multipartBody1910880273967822656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898723186,"filename":"image_16122025_16_23_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31c22014352f26404648826f425a58fd.jpg","text":"TemporaryFile(/tmp/multipartBody2482449811620191358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898723186,"filename":"image_16122025_16_23_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/16/3870271fdd6fe09610588d4f9eb007fc.jpg","text":"TemporaryFile(/tmp/multipartBody2003535636815654451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898723186,"filename":"image_16122025_16_23_35_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/16/7c6f79d8fda4e4f325c9959973424edc.jpg","text":"TemporaryFile(/tmp/multipartBody9088187663221672248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898723186,"filename":"image_16122025_16_23_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/16/487b522f06b1adfb7bb1c2230e58f826.jpg","text":"TemporaryFile(/tmp/multipartBody3567304863053317854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898723186,"filename":"image_16122025_16_23_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/16/80fa441c22fa86dd0e5e1a1711de8bae.jpg","text":"TemporaryFile(/tmp/multipartBody5157084604041605728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898723186,"filename":"image_16122025_16_22_44_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674599","file1":"1399674596","file0":"1399674592","file4":"1399674611","file5":"1399674614","file3":"1399674602"},"map_files_photo_id_array":[{"photo_id":"1399674614","filename":"file5"},{"photo_id":"1399674599","filename":"file2"},{"photo_id":"1399674611","filename":"file4"},{"photo_id":"1399674596","filename":"file1"},{"photo_id":"1399674592","filename":"file0"},{"photo_id":"1399674602","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674599":["hashtag1","hashtag2"]},{"1399674596":["hashtag1","hashtag2"]},{"1399674602":["hashtag1","hashtag2"]},{"1399674611":["hashtag1","hashtag2"]},{"1399674614":["hashtag1","hashtag2"]},{"1399674592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674599, 1399674596, 1399674602, 1399674611, 1399674614, 1399674592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76155185699463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:25:03.203784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/23/image_16122025_16_24_04_9671.jpg', '/home/pi/Desktop/images/16122025/16/24/image_16122025_16_24_24_9945.jpg', '/home/pi/Desktop/images/16122025/16/24/image_16122025_16_24_44_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/23/image_16122025_16_24_04_9671.jpg
/home/pi/Desktop/images/16122025/16/24/image_16122025_16_24_24_9945.jpg
/home/pi/Desktop/images/16122025/16/24/image_16122025_16_24_44_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":["1399674624","1399674618","1399674621"],"photo_ids_order":["1399674618","1399674621","1399674624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c525a1a57a476ed13a35e7b22ed4dcde.jpg","text":"TemporaryFile(/tmp/multipartBody5689868131836925828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898763755,"filename":"image_16122025_16_24_44_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89525d6916bd033861efeaca7e8b07e4.jpg","text":"TemporaryFile(/tmp/multipartBody6069896061115592406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898763755,"filename":"image_16122025_16_24_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/16/e8ef5bb161be5fef26b2bd26dbc4de8b.jpg","text":"TemporaryFile(/tmp/multipartBody2423998976899509605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898763755,"filename":"image_16122025_16_24_24_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674624","file1":"1399674621","file0":"1399674618"},"map_files_photo_id_array":[{"photo_id":"1399674624","filename":"file2"},{"photo_id":"1399674621","filename":"file1"},{"photo_id":"1399674618","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674624":["hashtag1","hashtag2"]},{"1399674618":["hashtag1","hashtag2"]},{"1399674621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674624, 1399674618, 1399674621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.290016412734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:25:32.647007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:25:42.655163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_40_3567.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_43_2677.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_46_3556.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_49_2810.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_52_2733.jpg', '/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_55_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_40_3567.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_43_2677.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_46_3556.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_49_2810.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_52_2733.jpg
/home/pi/Desktop/images/06112025/17/06/image_06112025_17_06_55_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674634","1399674636","1399674630","1399674633","1399674635","1399674632"],"photo_ids_order":["1399674630","1399674632","1399674633","1399674634","1399674635","1399674636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d931a0297e5cad508292ba1ed6d0cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6451645925852454177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898803355,"filename":"image_06112025_17_06_49_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7f7ab20ea4537aade0c7785a4b2a1eb.jpg","text":"TemporaryFile(/tmp/multipartBody1678998791164337309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898803355,"filename":"image_06112025_17_06_55_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/16/627ecfce632b7136926b5f05ade9af57.jpg","text":"TemporaryFile(/tmp/multipartBody6989200234686783406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898803355,"filename":"image_06112025_17_06_40_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d2bae17130f11714e59ab7ad45360ad6.jpg","text":"TemporaryFile(/tmp/multipartBody2129565318162168290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898803355,"filename":"image_06112025_17_06_46_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/16/457fdd36538c08e6f465982364f6420f.jpg","text":"TemporaryFile(/tmp/multipartBody3410823308809214101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898803355,"filename":"image_06112025_17_06_52_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/16/cbc106fb099f42c6c8531f398944f5fb.jpg","text":"TemporaryFile(/tmp/multipartBody3777544051132620054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898803355,"filename":"image_06112025_17_06_43_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674633","file1":"1399674632","file0":"1399674630","file4":"1399674635","file5":"1399674636","file3":"1399674634"},"map_files_photo_id_array":[{"photo_id":"1399674636","filename":"file5"},{"photo_id":"1399674633","filename":"file2"},{"photo_id":"1399674635","filename":"file4"},{"photo_id":"1399674632","filename":"file1"},{"photo_id":"1399674630","filename":"file0"},{"photo_id":"1399674634","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399674634":["hashtag1","hashtag2"]},{"1399674636":["hashtag1","hashtag2"]},{"1399674630":["hashtag1","hashtag2"]},{"1399674633":["hashtag1","hashtag2"]},{"1399674635":["hashtag1","hashtag2"]},{"1399674632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399674634, 1399674636, 1399674630, 1399674633, 1399674635, 1399674632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.824398040771484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:26:31.935471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:26:41.872325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_04_3586.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_07_2741.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_09_2579.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_13_3592.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_16_2635.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_25_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_04_3586.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_07_2741.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_09_2579.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_13_3592.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_16_2635.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_25_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":["1399674673","1399674672","1399674675","1399674660","1399674657","1399674674"],"photo_ids_order":["1399674657","1399674660","1399674672","1399674673","1399674674","1399674675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a41fad7b9be65cd3ef276b6cd2bbcbb7.jpg","text":"TemporaryFile(/tmp/multipartBody3763812009095377061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898862636,"filename":"image_06112025_17_07_13_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/16/8eb5d1db4a622c1a5edef1a59200706e.jpg","text":"TemporaryFile(/tmp/multipartBody5905429466147704174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898862636,"filename":"image_06112025_17_07_09_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/16/a8c5e4d68f6437aa0a3e7175d5b5f6ec.jpg","text":"TemporaryFile(/tmp/multipartBody5150230011768400591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898862636,"filename":"image_06112025_17_07_25_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/16/b3d8a20832f58da735a67f93b76b390c.jpg","text":"TemporaryFile(/tmp/multipartBody1324929352417345033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898862636,"filename":"image_06112025_17_07_07_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02fc11a52efe0bdfe4300a7cb09831b3.jpg","text":"TemporaryFile(/tmp/multipartBody1720067203008410186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898862636,"filename":"image_06112025_17_07_04_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/16/c61bfa4e082487ace727479d103fb51e.jpg","text":"TemporaryFile(/tmp/multipartBody4292400839560052645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898862636,"filename":"image_06112025_17_07_16_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674672","file1":"1399674660","file0":"1399674657","file4":"1399674674","file5":"1399674675","file3":"1399674673"},"map_files_photo_id_array":[{"photo_id":"1399674675","filename":"file5"},{"photo_id":"1399674672","filename":"file2"},{"photo_id":"1399674674","filename":"file4"},{"photo_id":"1399674660","filename":"file1"},{"photo_id":"1399674657","filename":"file0"},{"photo_id":"1399674673","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399674673":["hashtag1","hashtag2"]},{"1399674672":["hashtag1","hashtag2"]},{"1399674675":["hashtag1","hashtag2"]},{"1399674660":["hashtag1","hashtag2"]},{"1399674657":["hashtag1","hashtag2"]},{"1399674674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399674673, 1399674672, 1399674675, 1399674660, 1399674657, 1399674674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64726543426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:27:22.297846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/24/image_16122025_16_24_54_9760.jpg', '/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_14_10057.jpg', '/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_25_10814.jpg', '/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_35_9664.jpg', '/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_44_9594.jpg', '/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_14_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/24/image_16122025_16_24_54_9760.jpg
/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_14_10057.jpg
/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_25_10814.jpg
/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_35_9664.jpg
/home/pi/Desktop/images/16122025/16/25/image_16122025_16_25_44_9594.jpg
/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_14_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674690","1399674678","1399674708","1399674688","1399674682","1399674685"],"photo_ids_order":["1399674678","1399674682","1399674685","1399674688","1399674690","1399674708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75db0eb81218a892bd5efcdd9ded801e.jpg","text":"TemporaryFile(/tmp/multipartBody8258489374546812379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898902907,"filename":"image_16122025_16_25_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b84914024084006cb1413f1d74bc351a.jpg","text":"TemporaryFile(/tmp/multipartBody9029189794041864187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898902907,"filename":"image_16122025_16_24_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/16/6d4f8db464ef990a813188b97dfb2cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6865344762351926853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898902907,"filename":"image_16122025_16_26_14_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/215cc4acf937bcd64f3f37ecc0b26509.jpg","text":"TemporaryFile(/tmp/multipartBody3720221250281039599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898902907,"filename":"image_16122025_16_25_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/096f8a7058bc88998a0007507fd98a7c.jpg","text":"TemporaryFile(/tmp/multipartBody6440939200307959864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898902907,"filename":"image_16122025_16_25_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/16/9deda28d1fb7c8de91075bc78a855868.jpg","text":"TemporaryFile(/tmp/multipartBody8681830955598479990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898902907,"filename":"image_16122025_16_25_25_10814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674685","file1":"1399674682","file0":"1399674678","file4":"1399674690","file5":"1399674708","file3":"1399674688"},"map_files_photo_id_array":[{"photo_id":"1399674708","filename":"file5"},{"photo_id":"1399674685","filename":"file2"},{"photo_id":"1399674690","filename":"file4"},{"photo_id":"1399674682","filename":"file1"},{"photo_id":"1399674678","filename":"file0"},{"photo_id":"1399674688","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674690":["hashtag1","hashtag2"]},{"1399674678":["hashtag1","hashtag2"]},{"1399674708":["hashtag1","hashtag2"]},{"1399674688":["hashtag1","hashtag2"]},{"1399674682":["hashtag1","hashtag2"]},{"1399674685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674690, 1399674678, 1399674708, 1399674688, 1399674682, 1399674685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68712401390076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:28:02.961715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_24_9699.jpg', '/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_35_10639.jpg', '/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_44_9607.jpg', '/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_54_9646.jpg', '/home/pi/Desktop/images/16122025/16/27/image_16122025_16_27_15_9573.jpg', '/home/pi/Desktop/images/16122025/16/27/image_16122025_16_27_45_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_24_9699.jpg
/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_35_10639.jpg
/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_44_9607.jpg
/home/pi/Desktop/images/16122025/16/26/image_16122025_16_26_54_9646.jpg
/home/pi/Desktop/images/16122025/16/27/image_16122025_16_27_15_9573.jpg
/home/pi/Desktop/images/16122025/16/27/image_16122025_16_27_45_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674736","1399674753","1399674750","1399674752","1399674755","1399674728"],"photo_ids_order":["1399674728","1399674736","1399674750","1399674752","1399674753","1399674755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3945c50ea29a7d7540a4bf76f8aebe93.jpg","text":"TemporaryFile(/tmp/multipartBody4483907183565834173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898943553,"filename":"image_16122025_16_26_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d5437c21cf542a3f2dba4df706783da.jpg","text":"TemporaryFile(/tmp/multipartBody922153831251311766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898943553,"filename":"image_16122025_16_27_15_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/15afab37dcdb6fb2f8ac01b2e718b128.jpg","text":"TemporaryFile(/tmp/multipartBody6125731140289713851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898943553,"filename":"image_16122025_16_26_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/82fcde5af4add8f2c2bbad412b883a96.jpg","text":"TemporaryFile(/tmp/multipartBody4395962316642500916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898943553,"filename":"image_16122025_16_26_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/16/22a28a2ea199c0eeab25357f1c71ed96.jpg","text":"TemporaryFile(/tmp/multipartBody6084626138917348084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898943553,"filename":"image_16122025_16_27_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bcf650a7a8f6f9737104781b6882538f.jpg","text":"TemporaryFile(/tmp/multipartBody4095655542155365826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898943553,"filename":"image_16122025_16_26_24_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674750","file1":"1399674736","file0":"1399674728","file4":"1399674753","file5":"1399674755","file3":"1399674752"},"map_files_photo_id_array":[{"photo_id":"1399674755","filename":"file5"},{"photo_id":"1399674750","filename":"file2"},{"photo_id":"1399674753","filename":"file4"},{"photo_id":"1399674736","filename":"file1"},{"photo_id":"1399674728","filename":"file0"},{"photo_id":"1399674752","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674736":["hashtag1","hashtag2"]},{"1399674753":["hashtag1","hashtag2"]},{"1399674750":["hashtag1","hashtag2"]},{"1399674752":["hashtag1","hashtag2"]},{"1399674755":["hashtag1","hashtag2"]},{"1399674728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674736, 1399674753, 1399674750, 1399674752, 1399674755, 1399674728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.541651487350464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:28:42.430060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_28_3563.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_31_2664.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_33_2610.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_37_3587.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_40_2808.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_43_2979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_28_3563.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_31_2664.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_33_2610.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_37_3587.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_40_2808.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_43_2979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674792","1399674780","1399674791","1399674788","1399674793","1399674784"],"photo_ids_order":["1399674780","1399674784","1399674788","1399674791","1399674792","1399674793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bdc15f8e2617d7e422fc6184a49376a3.jpg","text":"TemporaryFile(/tmp/multipartBody6624056860825973230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898983174,"filename":"image_06112025_17_07_40_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/16/e0806f614f16d668b945405dc849fe1d.jpg","text":"TemporaryFile(/tmp/multipartBody6989933977861822445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898983174,"filename":"image_06112025_17_07_28_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/16/ad710b9e237a9330b28489300242a53d.jpg","text":"TemporaryFile(/tmp/multipartBody5590857074970128295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898983174,"filename":"image_06112025_17_07_37_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b114cdbd9f3c90113d7938de6e0d6d78.jpg","text":"TemporaryFile(/tmp/multipartBody1135799609851628021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898983174,"filename":"image_06112025_17_07_33_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60120c497d94c49448892a259e9bc152.jpg","text":"TemporaryFile(/tmp/multipartBody5841513254621389929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898983174,"filename":"image_06112025_17_07_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/16/8e92106b8f7a9ee613dc379c1ff83fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2414262722446299016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765898983174,"filename":"image_06112025_17_07_31_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674788","file1":"1399674784","file0":"1399674780","file4":"1399674792","file5":"1399674793","file3":"1399674791"},"map_files_photo_id_array":[{"photo_id":"1399674793","filename":"file5"},{"photo_id":"1399674788","filename":"file2"},{"photo_id":"1399674792","filename":"file4"},{"photo_id":"1399674784","filename":"file1"},{"photo_id":"1399674780","filename":"file0"},{"photo_id":"1399674791","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399674792":["hashtag1","hashtag2"]},{"1399674780":["hashtag1","hashtag2"]},{"1399674791":["hashtag1","hashtag2"]},{"1399674788":["hashtag1","hashtag2"]},{"1399674793":["hashtag1","hashtag2"]},{"1399674784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399674792, 1399674780, 1399674791, 1399674788, 1399674793, 1399674784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.771804094314575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:29:22.819513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/27/image_16122025_16_27_54_9705.jpg', '/home/pi/Desktop/images/16122025/16/28/image_16122025_16_28_24_9703.jpg', '/home/pi/Desktop/images/16122025/16/28/image_16122025_16_28_45_9551.jpg', '/home/pi/Desktop/images/16122025/16/28/image_16122025_16_28_54_9638.jpg', '/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_24_9753.jpg', '/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_35_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/27/image_16122025_16_27_54_9705.jpg
/home/pi/Desktop/images/16122025/16/28/image_16122025_16_28_24_9703.jpg
/home/pi/Desktop/images/16122025/16/28/image_16122025_16_28_45_9551.jpg
/home/pi/Desktop/images/16122025/16/28/image_16122025_16_28_54_9638.jpg
/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_24_9753.jpg
/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_35_10719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674805","1399674820","1399674808","1399674802","1399674807","1399674800"],"photo_ids_order":["1399674800","1399674802","1399674805","1399674807","1399674808","1399674820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9cf3238279f367f7b055904efbf5bf00.jpg","text":"TemporaryFile(/tmp/multipartBody4272700284577399234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899023424,"filename":"image_16122025_16_28_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/16/e4036973259143895cf57547d289686d.jpg","text":"TemporaryFile(/tmp/multipartBody5928826998264935780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899023424,"filename":"image_16122025_16_29_35_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb0925efd8bb50bb0151d7bed14c941e.jpg","text":"TemporaryFile(/tmp/multipartBody8507867777756427985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899023424,"filename":"image_16122025_16_29_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/16/9483344393fa675fb09befebdd4946db.jpg","text":"TemporaryFile(/tmp/multipartBody3018617598218494244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899023424,"filename":"image_16122025_16_28_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/16/0bc7415c18f1ef187a650196cf20d861.jpg","text":"TemporaryFile(/tmp/multipartBody7968649501986420253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899023424,"filename":"image_16122025_16_28_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a5123ed49d3f76845b831d6c9618325.jpg","text":"TemporaryFile(/tmp/multipartBody476077033894941148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899023424,"filename":"image_16122025_16_27_54_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674805","file1":"1399674802","file0":"1399674800","file4":"1399674808","file5":"1399674820","file3":"1399674807"},"map_files_photo_id_array":[{"photo_id":"1399674820","filename":"file5"},{"photo_id":"1399674805","filename":"file2"},{"photo_id":"1399674808","filename":"file4"},{"photo_id":"1399674802","filename":"file1"},{"photo_id":"1399674800","filename":"file0"},{"photo_id":"1399674807","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674805":["hashtag1","hashtag2"]},{"1399674820":["hashtag1","hashtag2"]},{"1399674808":["hashtag1","hashtag2"]},{"1399674802":["hashtag1","hashtag2"]},{"1399674807":["hashtag1","hashtag2"]},{"1399674800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674805, 1399674820, 1399674808, 1399674802, 1399674807, 1399674800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22835373878479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:30:02.371679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_45_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_45_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674822"],"photo_id":"1399674822","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12301b9ee2f5f428846ee052368a7223.jpg","text":"TemporaryFile(/tmp/multipartBody1775095447852962610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899062806,"filename":"image_16122025_16_29_45_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399674822"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399674822"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.865859508514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:30:21.909439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_54_9723.jpg', '/home/pi/Desktop/images/16122025/16/30/image_16122025_16_30_15_10063.jpg', '/home/pi/Desktop/images/16122025/16/30/image_16122025_16_30_25_10812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/29/image_16122025_16_29_54_9723.jpg
/home/pi/Desktop/images/16122025/16/30/image_16122025_16_30_15_10063.jpg
/home/pi/Desktop/images/16122025/16/30/image_16122025_16_30_25_10812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674832","1399674826","1399674829"],"photo_ids_order":["1399674826","1399674829","1399674832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc86ee0ada8cb83154d735de986db885.jpg","text":"TemporaryFile(/tmp/multipartBody5562547668633791624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899082394,"filename":"image_16122025_16_30_25_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/16/fe077ca81ed8bbe92885e6f4c3f4e769.jpg","text":"TemporaryFile(/tmp/multipartBody2068953831679616869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899082394,"filename":"image_16122025_16_29_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95dc682ee4fe373f18f8b28bd99c9900.jpg","text":"TemporaryFile(/tmp/multipartBody4402852080169508736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899082394,"filename":"image_16122025_16_30_15_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674832","file1":"1399674829","file0":"1399674826"},"map_files_photo_id_array":[{"photo_id":"1399674832","filename":"file2"},{"photo_id":"1399674829","filename":"file1"},{"photo_id":"1399674826","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674832":["hashtag1","hashtag2"]},{"1399674826":["hashtag1","hashtag2"]},{"1399674829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674832, 1399674826, 1399674829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.4711434841156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:31:02.984331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:31:12.281704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:31:22.200515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/30/image_16122025_16_30_45_9713.jpg', '/home/pi/Desktop/images/16122025/16/30/image_16122025_16_31_05_9779.jpg', '/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_15_9867.jpg', '/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_25_9650.jpg', '/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_35_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/30/image_16122025_16_30_45_9713.jpg
/home/pi/Desktop/images/16122025/16/30/image_16122025_16_31_05_9779.jpg
/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_15_9867.jpg
/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_25_9650.jpg
/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_35_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674859","1399674867","1399674861","1399674864","1399674862"],"photo_ids_order":["1399674859","1399674861","1399674862","1399674864","1399674867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8565b3f2ebb853e703b0104b316d773.jpg","text":"TemporaryFile(/tmp/multipartBody8015051426334222689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899142758,"filename":"image_16122025_16_30_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/16/22ed31e104f9b67857cfb5a97a2f2374.jpg","text":"TemporaryFile(/tmp/multipartBody6462317159291913707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899142758,"filename":"image_16122025_16_31_35_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f0c9ac3f52a2bb9884ed335ee8fb5a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4235933129947836309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899142758,"filename":"image_16122025_16_31_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/16/6ce52ef83aab2d97918ca8290bb19380.jpg","text":"TemporaryFile(/tmp/multipartBody8186080295591579652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899142758,"filename":"image_16122025_16_31_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/16/f706a2229f179a2850784e1970936eba.jpg","text":"TemporaryFile(/tmp/multipartBody774091621399162045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899142758,"filename":"image_16122025_16_31_15_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674862","file1":"1399674861","file0":"1399674859","file4":"1399674867","file3":"1399674864"},"map_files_photo_id_array":[{"photo_id":"1399674862","filename":"file2"},{"photo_id":"1399674867","filename":"file4"},{"photo_id":"1399674861","filename":"file1"},{"photo_id":"1399674859","filename":"file0"},{"photo_id":"1399674864","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674859":["hashtag1","hashtag2"]},{"1399674867":["hashtag1","hashtag2"]},{"1399674861":["hashtag1","hashtag2"]},{"1399674864":["hashtag1","hashtag2"]},{"1399674862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674859, 1399674867, 1399674861, 1399674864, 1399674862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.79107689857483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:32:02.998613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:32:12.425707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:32:22.509218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_55_9716.jpg', '/home/pi/Desktop/images/16122025/16/31/image_16122025_16_32_05_10733.jpg', '/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_15_9628.jpg', '/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_25_9588.jpg', '/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_35_10594.jpg', '/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_45_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/31/image_16122025_16_31_55_9716.jpg
/home/pi/Desktop/images/16122025/16/31/image_16122025_16_32_05_10733.jpg
/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_15_9628.jpg
/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_25_9588.jpg
/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_35_10594.jpg
/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_45_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674897","1399674891","1399674885","1399674888","1399674906","1399674895"],"photo_ids_order":["1399674885","1399674888","1399674891","1399674895","1399674897","1399674906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bdaa68a7a43ba5cd1474c94bd2b4bc3e.jpg","text":"TemporaryFile(/tmp/multipartBody2219638459251925623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899203099,"filename":"image_16122025_16_32_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/00595bc6b6b841d3023e7696f97f6c2a.jpg","text":"TemporaryFile(/tmp/multipartBody2933285349210062038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899203099,"filename":"image_16122025_16_32_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/16/3b2fc51b969b5de97bb2cf29b15f04c1.jpg","text":"TemporaryFile(/tmp/multipartBody8217218673266410881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899203099,"filename":"image_16122025_16_31_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/16/355e92ea1c9bd35c3470b14c3bbe0762.jpg","text":"TemporaryFile(/tmp/multipartBody625984764304487143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899203099,"filename":"image_16122025_16_32_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/67c88976a7b8129c42d35df6a09f48e0.jpg","text":"TemporaryFile(/tmp/multipartBody5748078103683592287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899203099,"filename":"image_16122025_16_32_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/16/33b6ab6d621030d93e820547c719b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody927595394968467471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899203099,"filename":"image_16122025_16_32_25_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674891","file1":"1399674888","file0":"1399674885","file4":"1399674897","file5":"1399674906","file3":"1399674895"},"map_files_photo_id_array":[{"photo_id":"1399674906","filename":"file5"},{"photo_id":"1399674891","filename":"file2"},{"photo_id":"1399674897","filename":"file4"},{"photo_id":"1399674888","filename":"file1"},{"photo_id":"1399674885","filename":"file0"},{"photo_id":"1399674895","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674897":["hashtag1","hashtag2"]},{"1399674891":["hashtag1","hashtag2"]},{"1399674885":["hashtag1","hashtag2"]},{"1399674888":["hashtag1","hashtag2"]},{"1399674906":["hashtag1","hashtag2"]},{"1399674895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674897, 1399674891, 1399674885, 1399674888, 1399674906, 1399674895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36652421951294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:33:02.565165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:33:11.792969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:33:21.898855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_55_9690.jpg', '/home/pi/Desktop/images/16122025/16/32/image_16122025_16_33_05_10771.jpg', '/home/pi/Desktop/images/16122025/16/33/image_16122025_16_33_15_9717.jpg', '/home/pi/Desktop/images/16122025/16/33/image_16122025_16_33_25_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/32/image_16122025_16_32_55_9690.jpg
/home/pi/Desktop/images/16122025/16/32/image_16122025_16_33_05_10771.jpg
/home/pi/Desktop/images/16122025/16/33/image_16122025_16_33_15_9717.jpg
/home/pi/Desktop/images/16122025/16/33/image_16122025_16_33_25_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":["1399674937","1399674922","1399674932","1399674935"],"photo_ids_order":["1399674922","1399674932","1399674935","1399674937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cabb9d41a35c250b511e50f8a6b1626f.jpg","text":"TemporaryFile(/tmp/multipartBody8952486640623550076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899262446,"filename":"image_16122025_16_33_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbb30fa0bc75778c6f2c98b08880dfc2.jpg","text":"TemporaryFile(/tmp/multipartBody2501512176256404340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899262446,"filename":"image_16122025_16_32_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd979e1238757e9f02e49284906ec88e.jpg","text":"TemporaryFile(/tmp/multipartBody1205302087743689690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899262446,"filename":"image_16122025_16_33_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/16/63822da702351efa7a2e5bdbc9c7a4fc.jpg","text":"TemporaryFile(/tmp/multipartBody2356470614756622397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899262446,"filename":"image_16122025_16_33_15_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674935","file1":"1399674932","file0":"1399674922","file3":"1399674937"},"map_files_photo_id_array":[{"photo_id":"1399674935","filename":"file2"},{"photo_id":"1399674932","filename":"file1"},{"photo_id":"1399674922","filename":"file0"},{"photo_id":"1399674937","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674937":["hashtag1","hashtag2"]},{"1399674922":["hashtag1","hashtag2"]},{"1399674932":["hashtag1","hashtag2"]},{"1399674935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674937, 1399674922, 1399674932, 1399674935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.84716773033142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:34:02.818060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:34:12.079417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:34:22.100851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/33/image_16122025_16_33_45_9618.jpg', '/home/pi/Desktop/images/16122025/16/33/image_16122025_16_34_05_9757.jpg', '/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_15_10634.jpg', '/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_25_9671.jpg', '/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_35_9744.jpg', '/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/33/image_16122025_16_33_45_9618.jpg
/home/pi/Desktop/images/16122025/16/33/image_16122025_16_34_05_9757.jpg
/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_15_10634.jpg
/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_25_9671.jpg
/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_35_9744.jpg
/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_45_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399674966","1399674975","1399674963","1399674980","1399674977","1399674973"],"photo_ids_order":["1399674963","1399674966","1399674973","1399674975","1399674977","1399674980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18b7a2dedffc8741da7eac49d9fa4376.jpg","text":"TemporaryFile(/tmp/multipartBody3416452596815019871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899322706,"filename":"image_16122025_16_34_05_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d858b96df07761a807be4722ea9ea4a6.jpg","text":"TemporaryFile(/tmp/multipartBody1678740370579750074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899322706,"filename":"image_16122025_16_34_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/16/45f53af4d3a95e1932b55b0df9a4ad0c.jpg","text":"TemporaryFile(/tmp/multipartBody8076796830650581211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899322706,"filename":"image_16122025_16_33_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bd51e435a70e998314b289be94fb63e.jpg","text":"TemporaryFile(/tmp/multipartBody4193267208960746543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899322706,"filename":"image_16122025_16_34_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1de88eb2a2398cb5b70fc3205299799c.jpg","text":"TemporaryFile(/tmp/multipartBody8950530917624654269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899322706,"filename":"image_16122025_16_34_35_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/16/ed594545242301541c63bd7df1884062.jpg","text":"TemporaryFile(/tmp/multipartBody8146059832966886295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899322706,"filename":"image_16122025_16_34_15_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399674973","file1":"1399674966","file0":"1399674963","file4":"1399674977","file5":"1399674980","file3":"1399674975"},"map_files_photo_id_array":[{"photo_id":"1399674980","filename":"file5"},{"photo_id":"1399674973","filename":"file2"},{"photo_id":"1399674977","filename":"file4"},{"photo_id":"1399674966","filename":"file1"},{"photo_id":"1399674963","filename":"file0"},{"photo_id":"1399674975","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674966":["hashtag1","hashtag2"]},{"1399674975":["hashtag1","hashtag2"]},{"1399674963":["hashtag1","hashtag2"]},{"1399674980":["hashtag1","hashtag2"]},{"1399674977":["hashtag1","hashtag2"]},{"1399674973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674966, 1399674975, 1399674963, 1399674980, 1399674977, 1399674973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.488635301589966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:35:02.883881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:35:12.459651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:35:22.326234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_55_10749.jpg', '/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_14_10051.jpg', '/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_24_10626.jpg', '/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_34_9816.jpg', '/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_44_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/34/image_16122025_16_34_55_10749.jpg
/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_14_10051.jpg
/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_24_10626.jpg
/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_34_9816.jpg
/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_44_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":["1399674993","1399675002","1399675026","1399675019","1399675004"],"photo_ids_order":["1399674993","1399675002","1399675004","1399675019","1399675026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe6e64abd49779a8e07509341ef214fc.jpg","text":"TemporaryFile(/tmp/multipartBody6598445015782922580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899382885,"filename":"image_16122025_16_34_55_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/16/2cacbf920b8ff92badada8f7f9bf8d57.jpg","text":"TemporaryFile(/tmp/multipartBody4861148762835752822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899382885,"filename":"image_16122025_16_35_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/16/08d77fcc5946ad9cdd41a6b59564692e.jpg","text":"TemporaryFile(/tmp/multipartBody2482138490579841736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899382885,"filename":"image_16122025_16_35_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/16/45aa78a5e9117390e79be77a35d06e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3729795332355276522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899382885,"filename":"image_16122025_16_35_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/16/5eeb80b49ec308b35520f9038d757bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5593657907864749272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899382885,"filename":"image_16122025_16_35_24_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675004","file1":"1399675002","file0":"1399674993","file4":"1399675026","file3":"1399675019"},"map_files_photo_id_array":[{"photo_id":"1399675004","filename":"file2"},{"photo_id":"1399675026","filename":"file4"},{"photo_id":"1399675002","filename":"file1"},{"photo_id":"1399674993","filename":"file0"},{"photo_id":"1399675019","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399674993":["hashtag1","hashtag2"]},{"1399675002":["hashtag1","hashtag2"]},{"1399675026":["hashtag1","hashtag2"]},{"1399675019":["hashtag1","hashtag2"]},{"1399675004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399674993, 1399675002, 1399675026, 1399675019, 1399675004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.98443675041199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:36:03.129612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 16:36:12.569533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 16:36:22.528067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:37:02.880669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:37:12.326448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:37:22.316962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_55_10576.jpg', '/home/pi/Desktop/images/16122025/16/35/image_16122025_16_36_04_9732.jpg', '/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_14_9697.jpg', '/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_25_10668.jpg', '/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_35_9855.jpg', '/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/35/image_16122025_16_35_55_10576.jpg
/home/pi/Desktop/images/16122025/16/35/image_16122025_16_36_04_9732.jpg
/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_14_9697.jpg
/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_25_10668.jpg
/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_35_9855.jpg
/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_44_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675082","1399675076","1399675079","1399675070","1399675072","1399675075"],"photo_ids_order":["1399675070","1399675072","1399675075","1399675076","1399675079","1399675082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3236a032d4cbc11542b2cf7e5aefd86d.jpg","text":"TemporaryFile(/tmp/multipartBody3077804305279531191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899502937,"filename":"image_16122025_16_36_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/16/b66d1c8e35b65d9d1e3ee82e929c198e.jpg","text":"TemporaryFile(/tmp/multipartBody4273857149788915467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899502937,"filename":"image_16122025_16_36_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/16/2cb3b834e98a0dfdc8c41f4da0640c11.jpg","text":"TemporaryFile(/tmp/multipartBody2422933305708395360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899502937,"filename":"image_16122025_16_36_35_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/16/8584a8ccf7af0894ccccdc1521ad773e.jpg","text":"TemporaryFile(/tmp/multipartBody3320720290167002646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899502937,"filename":"image_16122025_16_35_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52e804e09870d503a7db72303304e990.jpg","text":"TemporaryFile(/tmp/multipartBody8174518039497539236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899502937,"filename":"image_16122025_16_36_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/16/c01cc5f38e3cac8882e7ac378c169962.jpg","text":"TemporaryFile(/tmp/multipartBody4878395855448157806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899502937,"filename":"image_16122025_16_36_14_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675075","file1":"1399675072","file0":"1399675070","file4":"1399675079","file5":"1399675082","file3":"1399675076"},"map_files_photo_id_array":[{"photo_id":"1399675082","filename":"file5"},{"photo_id":"1399675075","filename":"file2"},{"photo_id":"1399675079","filename":"file4"},{"photo_id":"1399675072","filename":"file1"},{"photo_id":"1399675070","filename":"file0"},{"photo_id":"1399675076","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675082":["hashtag1","hashtag2"]},{"1399675076":["hashtag1","hashtag2"]},{"1399675079":["hashtag1","hashtag2"]},{"1399675070":["hashtag1","hashtag2"]},{"1399675072":["hashtag1","hashtag2"]},{"1399675075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675082, 1399675076, 1399675079, 1399675070, 1399675072, 1399675075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26550912857056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:38:03.105374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_54_9862.jpg', '/home/pi/Desktop/images/16122025/16/36/image_16122025_16_37_05_10589.jpg', '/home/pi/Desktop/images/16122025/16/37/image_16122025_16_37_35_10833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/36/image_16122025_16_36_54_9862.jpg
/home/pi/Desktop/images/16122025/16/36/image_16122025_16_37_05_10589.jpg
/home/pi/Desktop/images/16122025/16/37/image_16122025_16_37_35_10833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675088","1399675085","1399675084"],"photo_ids_order":["1399675084","1399675085","1399675088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae0c512d4bf102e736dc56a336d217a5.jpg","text":"TemporaryFile(/tmp/multipartBody4951516813944624032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899543589,"filename":"image_16122025_16_37_35_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c594d46f173f489c1d0792b9c2acc34.jpg","text":"TemporaryFile(/tmp/multipartBody6154866186832757195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899543589,"filename":"image_16122025_16_37_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66ee847aef1bc719cb3f780ff591f85f.jpg","text":"TemporaryFile(/tmp/multipartBody208286714651395918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899543589,"filename":"image_16122025_16_36_54_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675088","file1":"1399675085","file0":"1399675084"},"map_files_photo_id_array":[{"photo_id":"1399675088","filename":"file2"},{"photo_id":"1399675085","filename":"file1"},{"photo_id":"1399675084","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675088":["hashtag1","hashtag2"]},{"1399675085":["hashtag1","hashtag2"]},{"1399675084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675088, 1399675085, 1399675084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.65187096595764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:38:32.630045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:38:42.608068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_45_2624.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_49_3641.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_52_2675.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_57_2757.jpg', '/home/pi/Desktop/images/06112025/17/07/image_06112025_17_08_01_3561.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_04_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_45_2624.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_49_3641.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_52_2675.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_07_57_2757.jpg
/home/pi/Desktop/images/06112025/17/07/image_06112025_17_08_01_3561.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_04_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675098","1399675116","1399675119","1399675118","1399675096","1399675117"],"photo_ids_order":["1399675096","1399675098","1399675116","1399675117","1399675118","1399675119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e0f92beab1ca27680f74abbb8628508.jpg","text":"TemporaryFile(/tmp/multipartBody8063067824982567474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899583399,"filename":"image_06112025_17_07_49_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/16/7da1d5643d96768acd57c94f6a4746a3.jpg","text":"TemporaryFile(/tmp/multipartBody5933349900486026504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899583399,"filename":"image_06112025_17_07_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/16/5a42774c5bbf4406fc29d8fd80170ef3.jpg","text":"TemporaryFile(/tmp/multipartBody4174366249383517333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899583399,"filename":"image_06112025_17_08_04_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c94db04ff060521393aa3c289a82478.jpg","text":"TemporaryFile(/tmp/multipartBody4749451876749780842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899583399,"filename":"image_06112025_17_08_01_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/16/87001e1d727d4d3a3b9ed3d9f14012b8.jpg","text":"TemporaryFile(/tmp/multipartBody15705137229577947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899583399,"filename":"image_06112025_17_07_45_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/16/91fc672e46f658cef7a4559f47de80e5.jpg","text":"TemporaryFile(/tmp/multipartBody4742959630439077011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899583399,"filename":"image_06112025_17_07_57_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675116","file1":"1399675098","file0":"1399675096","file4":"1399675118","file5":"1399675119","file3":"1399675117"},"map_files_photo_id_array":[{"photo_id":"1399675119","filename":"file5"},{"photo_id":"1399675116","filename":"file2"},{"photo_id":"1399675118","filename":"file4"},{"photo_id":"1399675098","filename":"file1"},{"photo_id":"1399675096","filename":"file0"},{"photo_id":"1399675117","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675098":["hashtag1","hashtag2"]},{"1399675116":["hashtag1","hashtag2"]},{"1399675119":["hashtag1","hashtag2"]},{"1399675118":["hashtag1","hashtag2"]},{"1399675096":["hashtag1","hashtag2"]},{"1399675117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675098, 1399675116, 1399675119, 1399675118, 1399675096, 1399675117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.139254570007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:39:21.893118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/37/image_16122025_16_37_54_9280.jpg', '/home/pi/Desktop/images/16122025/16/37/image_16122025_16_38_05_10682.jpg', '/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_14_9847.jpg', '/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_24_9652.jpg', '/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_34_9737.jpg', '/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_45_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/37/image_16122025_16_37_54_9280.jpg
/home/pi/Desktop/images/16122025/16/37/image_16122025_16_38_05_10682.jpg
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_14_9847.jpg
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_24_9652.jpg
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_34_9737.jpg
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_45_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675131","1399675140","1399675134","1399675137","1399675135","1399675129"],"photo_ids_order":["1399675129","1399675131","1399675134","1399675135","1399675137","1399675140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4c191f383ac9862a2fcad805719d4c7.jpg","text":"TemporaryFile(/tmp/multipartBody7560823588701917003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899622498,"filename":"image_16122025_16_38_05_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e7c701f7d61bda31948d31b6f5a9978.jpg","text":"TemporaryFile(/tmp/multipartBody7546883420459282925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899622498,"filename":"image_16122025_16_38_45_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25b5eab166086bb1588b25a035937252.jpg","text":"TemporaryFile(/tmp/multipartBody4406522318461203856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899622498,"filename":"image_16122025_16_38_14_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/982e00944eeea938f17250b16091270a.jpg","text":"TemporaryFile(/tmp/multipartBody5531127916226276212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899622498,"filename":"image_16122025_16_38_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/16/4eb3c33f37a87732d489d42f08008d33.jpg","text":"TemporaryFile(/tmp/multipartBody7574021592699412498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899622498,"filename":"image_16122025_16_38_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c52aebb804fd08d0e1ef548602c547fb.jpg","text":"TemporaryFile(/tmp/multipartBody7259830135602236455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899622498,"filename":"image_16122025_16_37_54_9280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675134","file1":"1399675131","file0":"1399675129","file4":"1399675137","file5":"1399675140","file3":"1399675135"},"map_files_photo_id_array":[{"photo_id":"1399675140","filename":"file5"},{"photo_id":"1399675134","filename":"file2"},{"photo_id":"1399675137","filename":"file4"},{"photo_id":"1399675131","filename":"file1"},{"photo_id":"1399675129","filename":"file0"},{"photo_id":"1399675135","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675131":["hashtag1","hashtag2"]},{"1399675140":["hashtag1","hashtag2"]},{"1399675134":["hashtag1","hashtag2"]},{"1399675137":["hashtag1","hashtag2"]},{"1399675135":["hashtag1","hashtag2"]},{"1399675129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675131, 1399675140, 1399675134, 1399675137, 1399675135, 1399675129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.923418045043945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:40:02.711694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_54_9660.jpg', '/home/pi/Desktop/images/16122025/16/38/image_16122025_16_39_04_9640.jpg', '/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_15_10862.jpg', '/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_25_9771.jpg', '/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_44_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_54_9660.jpg
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_39_04_9640.jpg
/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_15_10862.jpg
/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_25_9771.jpg
/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_44_9677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4639437198638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:40:12.246109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:40:22.227589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_54_9660.jpg', '/home/pi/Desktop/images/16122025/16/38/image_16122025_16_39_04_9640.jpg', '/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_15_10862.jpg', '/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_25_9771.jpg', '/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_44_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_38_54_9660.jpg
/home/pi/Desktop/images/16122025/16/38/image_16122025_16_39_04_9640.jpg
/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_15_10862.jpg
/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_25_9771.jpg
/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_44_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":["1399675164","1399675152","1399675161","1399675154","1399675150"],"photo_ids_order":["1399675150","1399675152","1399675154","1399675161","1399675164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8960a6dfe9e5c65ddc13b7130c6b7a4.jpg","text":"TemporaryFile(/tmp/multipartBody9092814750341744562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899682768,"filename":"image_16122025_16_39_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/16/2c43ec013bac970ae86cff24eaebb235.jpg","text":"TemporaryFile(/tmp/multipartBody1668770836222807448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899682768,"filename":"image_16122025_16_39_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/025ba7f65a923086424954ca7ec8d93e.jpg","text":"TemporaryFile(/tmp/multipartBody750965064337314360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899682768,"filename":"image_16122025_16_39_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/16/be9d2894d52fabc005ae3c039e1d4ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1591990281232173807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899682768,"filename":"image_16122025_16_39_15_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/16/03d6d01ccc8a348f04b320a0463c41cd.jpg","text":"TemporaryFile(/tmp/multipartBody1087617215981397048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899682768,"filename":"image_16122025_16_38_54_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675154","file1":"1399675152","file0":"1399675150","file4":"1399675164","file3":"1399675161"},"map_files_photo_id_array":[{"photo_id":"1399675154","filename":"file2"},{"photo_id":"1399675164","filename":"file4"},{"photo_id":"1399675152","filename":"file1"},{"photo_id":"1399675150","filename":"file0"},{"photo_id":"1399675161","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675164":["hashtag1","hashtag2"]},{"1399675152":["hashtag1","hashtag2"]},{"1399675161":["hashtag1","hashtag2"]},{"1399675154":["hashtag1","hashtag2"]},{"1399675150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675164, 1399675152, 1399675161, 1399675154, 1399675150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.154966592788696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:41:03.148190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:41:12.431683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:41:22.469664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_55_10684.jpg', '/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_14_10037.jpg', '/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_24_10593.jpg', '/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_34_9700.jpg', '/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_44_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/39/image_16122025_16_39_55_10684.jpg
/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_14_10037.jpg
/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_24_10593.jpg
/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_34_9700.jpg
/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_44_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675188","1399675191","1399675185","1399675184","1399675189"],"photo_ids_order":["1399675184","1399675185","1399675188","1399675189","1399675191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/324f3717c77892ef02c39ca932de9655.jpg","text":"TemporaryFile(/tmp/multipartBody7599442390174193258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899743066,"filename":"image_16122025_16_41_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/16/c5bfba77d59a5343ef411731145a3b63.jpg","text":"TemporaryFile(/tmp/multipartBody709263002983772793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899743066,"filename":"image_16122025_16_41_44_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75740455a45233c3a9da8e98434664ce.jpg","text":"TemporaryFile(/tmp/multipartBody832545268917124696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899743066,"filename":"image_16122025_16_41_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2428a8c4d5484e8c884b8503466571f.jpg","text":"TemporaryFile(/tmp/multipartBody4138610214085018057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899743066,"filename":"image_16122025_16_39_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e5451a5ecc18e32d07542e01ee13c30.jpg","text":"TemporaryFile(/tmp/multipartBody2931944305091772795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899743066,"filename":"image_16122025_16_41_34_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675188","file1":"1399675185","file0":"1399675184","file4":"1399675191","file3":"1399675189"},"map_files_photo_id_array":[{"photo_id":"1399675188","filename":"file2"},{"photo_id":"1399675191","filename":"file4"},{"photo_id":"1399675185","filename":"file1"},{"photo_id":"1399675184","filename":"file0"},{"photo_id":"1399675189","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675188":["hashtag1","hashtag2"]},{"1399675191":["hashtag1","hashtag2"]},{"1399675185":["hashtag1","hashtag2"]},{"1399675184":["hashtag1","hashtag2"]},{"1399675189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675188, 1399675191, 1399675185, 1399675184, 1399675189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.42531704902649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:42:03.106556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:42:12.642720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:42:22.710425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_54_10673.jpg', '/home/pi/Desktop/images/16122025/16/41/image_16122025_16_42_04_9757.jpg', '/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_14_9795.jpg', '/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_25_10493.jpg', '/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_34_9589.jpg', '/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_44_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/41/image_16122025_16_41_54_10673.jpg
/home/pi/Desktop/images/16122025/16/41/image_16122025_16_42_04_9757.jpg
/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_14_9795.jpg
/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_25_10493.jpg
/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_34_9589.jpg
/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_44_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":["1399675230","1399675233","1399675227","1399675235","1399675223","1399675229"],"photo_ids_order":["1399675223","1399675227","1399675229","1399675230","1399675233","1399675235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e267f2bba3489e68a0f329ab0fa1b644.jpg","text":"TemporaryFile(/tmp/multipartBody9150390324225682354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899803405,"filename":"image_16122025_16_42_25_10493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30d45444b8448419c469b4e9473ef0ef.jpg","text":"TemporaryFile(/tmp/multipartBody3921495538296133629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899803405,"filename":"image_16122025_16_42_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/16/3aa96698b0b67fd8611cf97126c7ef82.jpg","text":"TemporaryFile(/tmp/multipartBody5073070199713832954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899803405,"filename":"image_16122025_16_42_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/16/5af0254bddd9ab3a32cca8e87a1fe8bc.jpg","text":"TemporaryFile(/tmp/multipartBody7819790918031330221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899803405,"filename":"image_16122025_16_42_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/048025ec9f8898e0051103bcc0990395.jpg","text":"TemporaryFile(/tmp/multipartBody6638832816897469162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899803405,"filename":"image_16122025_16_41_54_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/16/efa4991e3dc4fce7614671a0aa03a8a7.jpg","text":"TemporaryFile(/tmp/multipartBody9205458081225502385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899803405,"filename":"image_16122025_16_42_14_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675229","file1":"1399675227","file0":"1399675223","file4":"1399675233","file5":"1399675235","file3":"1399675230"},"map_files_photo_id_array":[{"photo_id":"1399675235","filename":"file5"},{"photo_id":"1399675229","filename":"file2"},{"photo_id":"1399675233","filename":"file4"},{"photo_id":"1399675227","filename":"file1"},{"photo_id":"1399675223","filename":"file0"},{"photo_id":"1399675230","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675230":["hashtag1","hashtag2"]},{"1399675233":["hashtag1","hashtag2"]},{"1399675227":["hashtag1","hashtag2"]},{"1399675235":["hashtag1","hashtag2"]},{"1399675223":["hashtag1","hashtag2"]},{"1399675229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675230, 1399675233, 1399675227, 1399675235, 1399675223, 1399675229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.020832777023315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:43:02.664543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:43:12.027947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:43:22.106289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_54_10768.jpg', '/home/pi/Desktop/images/16122025/16/42/image_16122025_16_43_04_9692.jpg', '/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_14_9768.jpg', '/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_25_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/42/image_16122025_16_42_54_10768.jpg
/home/pi/Desktop/images/16122025/16/42/image_16122025_16_43_04_9692.jpg
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_14_9768.jpg
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_25_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675260","1399675262","1399675256","1399675258"],"photo_ids_order":["1399675256","1399675258","1399675260","1399675262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/012f022179594c3c2327d762288e566c.jpg","text":"TemporaryFile(/tmp/multipartBody5955653771528787334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899862641,"filename":"image_16122025_16_43_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/16/3efea6fdcd95a60be30cff6a7b2caf2a.jpg","text":"TemporaryFile(/tmp/multipartBody3114507522186757068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899862641,"filename":"image_16122025_16_43_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/40be37bff7d436becb2a08dfb7d67e91.jpg","text":"TemporaryFile(/tmp/multipartBody2994335431500689733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899862641,"filename":"image_16122025_16_42_54_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/16/4301f83f02745b0e37fe9ae4a6a2686b.jpg","text":"TemporaryFile(/tmp/multipartBody7736659067350028269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899862641,"filename":"image_16122025_16_43_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675260","file1":"1399675258","file0":"1399675256","file3":"1399675262"},"map_files_photo_id_array":[{"photo_id":"1399675260","filename":"file2"},{"photo_id":"1399675258","filename":"file1"},{"photo_id":"1399675256","filename":"file0"},{"photo_id":"1399675262","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675260":["hashtag1","hashtag2"]},{"1399675262":["hashtag1","hashtag2"]},{"1399675256":["hashtag1","hashtag2"]},{"1399675258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675260, 1399675262, 1399675256, 1399675258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.508132696151733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:44:02.892511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:44:12.235038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:44:22.216014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_44_9714.jpg', '/home/pi/Desktop/images/16122025/16/43/image_16122025_16_44_04_9714.jpg', '/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_14_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_44_9714.jpg
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_44_04_9714.jpg
/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_14_10750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38793516159057617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:44:32.331204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:44:42.200230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_06_2608.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_10_3817.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_13_2720.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_16_2765.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_18_2670.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_25_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_06_2608.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_10_3817.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_13_2720.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_16_2765.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_18_2670.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_25_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675306","1399675296","1399675284","1399675302","1399675301","1399675309"],"photo_ids_order":["1399675284","1399675296","1399675301","1399675302","1399675306","1399675309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be247cdd7e1a579182a3b98ae866546a.jpg","text":"TemporaryFile(/tmp/multipartBody1733637059640884657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899942961,"filename":"image_06112025_17_08_18_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/16/6fcc65c112489bb38f10d5b60f8cebd2.jpg","text":"TemporaryFile(/tmp/multipartBody3573986306295012411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899942961,"filename":"image_06112025_17_08_10_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/16/a429239bfdd7c69cc6de16f523904a49.jpg","text":"TemporaryFile(/tmp/multipartBody547741801959219000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899942961,"filename":"image_06112025_17_08_06_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/16/003cab08bbcf77540ab716fe2188bb0e.jpg","text":"TemporaryFile(/tmp/multipartBody7812254991352836951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899942961,"filename":"image_06112025_17_08_16_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/16/ba2f4de1172a0765839d6e76fdd49eda.jpg","text":"TemporaryFile(/tmp/multipartBody2241736480641212705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899942961,"filename":"image_06112025_17_08_13_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/16/aa137dff25f7ef4be9f52d50f6670030.jpg","text":"TemporaryFile(/tmp/multipartBody1790498703504446936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765899942961,"filename":"image_06112025_17_08_25_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675301","file1":"1399675296","file0":"1399675284","file4":"1399675306","file5":"1399675309","file3":"1399675302"},"map_files_photo_id_array":[{"photo_id":"1399675309","filename":"file5"},{"photo_id":"1399675301","filename":"file2"},{"photo_id":"1399675306","filename":"file4"},{"photo_id":"1399675296","filename":"file1"},{"photo_id":"1399675284","filename":"file0"},{"photo_id":"1399675302","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675306":["hashtag1","hashtag2"]},{"1399675296":["hashtag1","hashtag2"]},{"1399675284":["hashtag1","hashtag2"]},{"1399675302":["hashtag1","hashtag2"]},{"1399675301":["hashtag1","hashtag2"]},{"1399675309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675306, 1399675296, 1399675284, 1399675302, 1399675301, 1399675309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79213285446167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:45:22.586976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_44_9714.jpg', '/home/pi/Desktop/images/16122025/16/43/image_16122025_16_44_04_9714.jpg', '/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_14_10750.jpg', '/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_54_9601.jpg', '/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_14_10054.jpg', '/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_34_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_44_9714.jpg
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_44_04_9714.jpg
/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_14_10750.jpg
/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_54_9601.jpg
/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_14_10054.jpg
/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_34_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.5051944255828857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:45:32.487102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:45:42.420778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_27_2645.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_31_3693.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_34_2626.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_36_2704.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_40_3565.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_42_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_27_2645.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_31_3693.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_34_2626.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_36_2704.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_40_3565.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_42_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675330","1399675324","1399675329","1399675331","1399675328","1399675327"],"photo_ids_order":["1399675324","1399675327","1399675328","1399675329","1399675330","1399675331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f9e15f43f5ff5eff6f9e10923c86b943.jpg","text":"TemporaryFile(/tmp/multipartBody612819995034101534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900003261,"filename":"image_06112025_17_08_40_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/16/252013c1f1c7a3e03c1a4dce4b2c2aee.jpg","text":"TemporaryFile(/tmp/multipartBody4309459414065709170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900003261,"filename":"image_06112025_17_08_27_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/16/36240e2e9a80de01606d5bb452de467f.jpg","text":"TemporaryFile(/tmp/multipartBody5858020939453880372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900003261,"filename":"image_06112025_17_08_36_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/16/4baf7d7ea8d5c71383526aedf28a4004.jpg","text":"TemporaryFile(/tmp/multipartBody4603805283170551106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900003261,"filename":"image_06112025_17_08_42_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/16/be2cea8290985f95f51d71f11f5c5d20.jpg","text":"TemporaryFile(/tmp/multipartBody2274341911067010252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900003261,"filename":"image_06112025_17_08_34_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f91aaa7ed6e972ad7d1ece9f9eb77beb.jpg","text":"TemporaryFile(/tmp/multipartBody2363083231338224519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900003261,"filename":"image_06112025_17_08_31_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675328","file1":"1399675327","file0":"1399675324","file4":"1399675330","file5":"1399675331","file3":"1399675329"},"map_files_photo_id_array":[{"photo_id":"1399675331","filename":"file5"},{"photo_id":"1399675328","filename":"file2"},{"photo_id":"1399675330","filename":"file4"},{"photo_id":"1399675327","filename":"file1"},{"photo_id":"1399675324","filename":"file0"},{"photo_id":"1399675329","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675330":["hashtag1","hashtag2"]},{"1399675324":["hashtag1","hashtag2"]},{"1399675329":["hashtag1","hashtag2"]},{"1399675331":["hashtag1","hashtag2"]},{"1399675328":["hashtag1","hashtag2"]},{"1399675327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675330, 1399675324, 1399675329, 1399675331, 1399675328, 1399675327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.042089223861694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:46:22.730750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_44_9714.jpg', '/home/pi/Desktop/images/16122025/16/43/image_16122025_16_44_04_9714.jpg', '/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_14_10750.jpg', '/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_54_9601.jpg', '/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_14_10054.jpg', '/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_34_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_43_44_9714.jpg
/home/pi/Desktop/images/16122025/16/43/image_16122025_16_44_04_9714.jpg
/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_14_10750.jpg
/home/pi/Desktop/images/16122025/16/44/image_16122025_16_44_54_9601.jpg
/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_14_10054.jpg
/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_34_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675341","1399675343","1399675337","1399675345","1399675339","1399675348"],"photo_ids_order":["1399675337","1399675339","1399675341","1399675343","1399675345","1399675348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d7c4a7415a2908721b0e813fffa7e32.jpg","text":"TemporaryFile(/tmp/multipartBody3841757308888969454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900043341,"filename":"image_16122025_16_44_14_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/16/b2f5c065ee069c31dda4c1aacc183056.jpg","text":"TemporaryFile(/tmp/multipartBody388536818287360560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900043341,"filename":"image_16122025_16_44_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/16/b4f71226fa6f62961cf41710f531f425.jpg","text":"TemporaryFile(/tmp/multipartBody8021971562054552744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900043341,"filename":"image_16122025_16_43_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/16/c04bd817278c6e5288fed0c7d300d9f9.jpg","text":"TemporaryFile(/tmp/multipartBody7164369339149491341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900043341,"filename":"image_16122025_16_45_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b00bd124c88e9e2a82426ca197bedee1.jpg","text":"TemporaryFile(/tmp/multipartBody2844123700753983962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900043341,"filename":"image_16122025_16_44_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/16/2482fed3cc863fd74f9f0bd587033a39.jpg","text":"TemporaryFile(/tmp/multipartBody371309081930375390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900043341,"filename":"image_16122025_16_45_34_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675341","file1":"1399675339","file0":"1399675337","file4":"1399675345","file5":"1399675348","file3":"1399675343"},"map_files_photo_id_array":[{"photo_id":"1399675348","filename":"file5"},{"photo_id":"1399675341","filename":"file2"},{"photo_id":"1399675345","filename":"file4"},{"photo_id":"1399675339","filename":"file1"},{"photo_id":"1399675337","filename":"file0"},{"photo_id":"1399675343","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675341":["hashtag1","hashtag2"]},{"1399675343":["hashtag1","hashtag2"]},{"1399675337":["hashtag1","hashtag2"]},{"1399675345":["hashtag1","hashtag2"]},{"1399675339":["hashtag1","hashtag2"]},{"1399675348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675341, 1399675343, 1399675337, 1399675345, 1399675339, 1399675348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.481014251708984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:47:02.621616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_54_9656.jpg', '/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_14_9632.jpg', '/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_25_10593.jpg', '/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_35_9774.jpg', '/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_44_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/45/image_16122025_16_45_54_9656.jpg
/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_14_9632.jpg
/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_25_10593.jpg
/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_35_9774.jpg
/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_44_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675356","1399675349","1399675358","1399675351","1399675354"],"photo_ids_order":["1399675349","1399675351","1399675354","1399675356","1399675358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2607e060975e530790d6ce99904d476c.jpg","text":"TemporaryFile(/tmp/multipartBody8310963174251522725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900083250,"filename":"image_16122025_16_46_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/16/8d92108d4bc50cb7c2adec6d3dde7fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1479321241365065978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900083250,"filename":"image_16122025_16_45_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43e167e36914631af4bc9327274b8495.jpg","text":"TemporaryFile(/tmp/multipartBody7268644328185816141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900083250,"filename":"image_16122025_16_46_44_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/517a4b8e27034ee6271cc730bb6061a4.jpg","text":"TemporaryFile(/tmp/multipartBody7878538183716426194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900083250,"filename":"image_16122025_16_46_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/16/945776627ef53a83ddc9e5bb84c3f4d8.jpg","text":"TemporaryFile(/tmp/multipartBody8198774338326470907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900083250,"filename":"image_16122025_16_46_25_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675354","file1":"1399675351","file0":"1399675349","file4":"1399675358","file3":"1399675356"},"map_files_photo_id_array":[{"photo_id":"1399675354","filename":"file2"},{"photo_id":"1399675358","filename":"file4"},{"photo_id":"1399675351","filename":"file1"},{"photo_id":"1399675349","filename":"file0"},{"photo_id":"1399675356","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675356":["hashtag1","hashtag2"]},{"1399675349":["hashtag1","hashtag2"]},{"1399675358":["hashtag1","hashtag2"]},{"1399675351":["hashtag1","hashtag2"]},{"1399675354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675356, 1399675349, 1399675358, 1399675351, 1399675354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.04861068725586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:47:41.891353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_46_3545.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_49_2731.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_51_2648.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_55_3645.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_58_2605.jpg', '/home/pi/Desktop/images/06112025/17/08/image_06112025_17_09_00_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_46_3545.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_49_2731.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_51_2648.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_55_3645.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_08_58_2605.jpg
/home/pi/Desktop/images/06112025/17/08/image_06112025_17_09_00_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675411","1399675367","1399675396","1399675369","1399675414","1399675408"],"photo_ids_order":["1399675367","1399675369","1399675396","1399675408","1399675411","1399675414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/459f1d78399b83d76864ebeb19d5ead2.jpg","text":"TemporaryFile(/tmp/multipartBody1216283674104192356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900122637,"filename":"image_06112025_17_08_58_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bef9e69f79b628f144ee4208a47ded3a.jpg","text":"TemporaryFile(/tmp/multipartBody6972899303392353524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900122637,"filename":"image_06112025_17_08_46_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/16/2f66028b8b720b22bb3f2204afe1a487.jpg","text":"TemporaryFile(/tmp/multipartBody4410312665794197451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900122637,"filename":"image_06112025_17_08_51_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/16/3399f268100aa64070ff090be0b523c9.jpg","text":"TemporaryFile(/tmp/multipartBody1223537413313149777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900122637,"filename":"image_06112025_17_08_49_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/16/7c60492e2d05132e8ad495893cc3ecf5.jpg","text":"TemporaryFile(/tmp/multipartBody2805855791526468896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900122637,"filename":"image_06112025_17_09_00_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af3c5143b334998f0281b60bfd72185b.jpg","text":"TemporaryFile(/tmp/multipartBody6843279813164922042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900122637,"filename":"image_06112025_17_08_55_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675396","file1":"1399675369","file0":"1399675367","file4":"1399675411","file5":"1399675414","file3":"1399675408"},"map_files_photo_id_array":[{"photo_id":"1399675414","filename":"file5"},{"photo_id":"1399675396","filename":"file2"},{"photo_id":"1399675411","filename":"file4"},{"photo_id":"1399675369","filename":"file1"},{"photo_id":"1399675367","filename":"file0"},{"photo_id":"1399675408","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675411":["hashtag1","hashtag2"]},{"1399675367":["hashtag1","hashtag2"]},{"1399675396":["hashtag1","hashtag2"]},{"1399675369":["hashtag1","hashtag2"]},{"1399675414":["hashtag1","hashtag2"]},{"1399675408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675411, 1399675367, 1399675396, 1399675369, 1399675414, 1399675408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34805345535278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:48:22.147225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_54_9797.jpg', '/home/pi/Desktop/images/16122025/16/46/image_16122025_16_47_04_9743.jpg', '/home/pi/Desktop/images/16122025/16/47/image_16122025_16_47_15_10716.jpg', '/home/pi/Desktop/images/16122025/16/47/image_16122025_16_47_24_9667.jpg', '/home/pi/Desktop/images/16122025/16/47/image_16122025_16_48_04_9608.jpg', '/home/pi/Desktop/images/16122025/16/48/image_16122025_16_48_15_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/46/image_16122025_16_46_54_9797.jpg
/home/pi/Desktop/images/16122025/16/46/image_16122025_16_47_04_9743.jpg
/home/pi/Desktop/images/16122025/16/47/image_16122025_16_47_15_10716.jpg
/home/pi/Desktop/images/16122025/16/47/image_16122025_16_47_24_9667.jpg
/home/pi/Desktop/images/16122025/16/47/image_16122025_16_48_04_9608.jpg
/home/pi/Desktop/images/16122025/16/48/image_16122025_16_48_15_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675423","1399675416","1399675438","1399675432","1399675435","1399675420"],"photo_ids_order":["1399675416","1399675420","1399675423","1399675432","1399675435","1399675438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43c2274777fffcf8b25c4f38cc755483.jpg","text":"TemporaryFile(/tmp/multipartBody6439488054991543382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900162750,"filename":"image_16122025_16_47_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/945c9c43fcfab76a2461a736329527ab.jpg","text":"TemporaryFile(/tmp/multipartBody5059212055371953480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900162750,"filename":"image_16122025_16_46_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/005b28db97c2f2a91dd1be6aecd0e7a9.jpg","text":"TemporaryFile(/tmp/multipartBody1040838532217435293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900162750,"filename":"image_16122025_16_48_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81efa29e7231e872acfaaba2b1b1d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody284362903807598305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900162750,"filename":"image_16122025_16_47_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe2b4c6826a239e8127a10b6ad4e59ad.jpg","text":"TemporaryFile(/tmp/multipartBody3858554708075809986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900162750,"filename":"image_16122025_16_48_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/16/ab9781a3cc83325c0c67ec022dbaeb6f.jpg","text":"TemporaryFile(/tmp/multipartBody4730392504284665878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900162750,"filename":"image_16122025_16_47_04_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675423","file1":"1399675420","file0":"1399675416","file4":"1399675435","file5":"1399675438","file3":"1399675432"},"map_files_photo_id_array":[{"photo_id":"1399675438","filename":"file5"},{"photo_id":"1399675423","filename":"file2"},{"photo_id":"1399675435","filename":"file4"},{"photo_id":"1399675420","filename":"file1"},{"photo_id":"1399675416","filename":"file0"},{"photo_id":"1399675432","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675423":["hashtag1","hashtag2"]},{"1399675416":["hashtag1","hashtag2"]},{"1399675438":["hashtag1","hashtag2"]},{"1399675432":["hashtag1","hashtag2"]},{"1399675435":["hashtag1","hashtag2"]},{"1399675420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675423, 1399675416, 1399675438, 1399675432, 1399675435, 1399675420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25563454627991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:49:03.308241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/48/image_16122025_16_48_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/48/image_16122025_16_48_24_9595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675443"],"photo_id":"1399675443","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60c05298219ebfb03a86ee293c3883f7.jpg","text":"TemporaryFile(/tmp/multipartBody6653832491274007513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900203794,"filename":"image_16122025_16_48_24_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399675443"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399675443"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.009909391403198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:49:22.674311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/48/image_16122025_16_48_34_9717.jpg', '/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_15_10645.jpg', '/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_34_9669.jpg', '/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_45_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/48/image_16122025_16_48_34_9717.jpg
/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_15_10645.jpg
/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_34_9669.jpg
/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_45_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675461","1399675463","1399675465","1399675459"],"photo_ids_order":["1399675459","1399675461","1399675463","1399675465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ed02aef898d2e0359b7eccef6660225a.jpg","text":"TemporaryFile(/tmp/multipartBody3302682192971925932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900223195,"filename":"image_16122025_16_49_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbfce092bdb3e157df22fdb738093b61.jpg","text":"TemporaryFile(/tmp/multipartBody6343583132848336037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900223195,"filename":"image_16122025_16_49_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db1346383ad33fdbe6ced57313ae962e.jpg","text":"TemporaryFile(/tmp/multipartBody1563816975142072118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900223195,"filename":"image_16122025_16_49_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/16/a5b204d2c2a2dc490b4ee1e976ce8c66.jpg","text":"TemporaryFile(/tmp/multipartBody6917383433719781578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900223195,"filename":"image_16122025_16_48_34_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675463","file1":"1399675461","file0":"1399675459","file3":"1399675465"},"map_files_photo_id_array":[{"photo_id":"1399675463","filename":"file2"},{"photo_id":"1399675461","filename":"file1"},{"photo_id":"1399675459","filename":"file0"},{"photo_id":"1399675465","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675461":["hashtag1","hashtag2"]},{"1399675463":["hashtag1","hashtag2"]},{"1399675465":["hashtag1","hashtag2"]},{"1399675459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675461, 1399675463, 1399675465, 1399675459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.44012427330017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:50:03.242921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:50:12.765256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:50:22.740633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_55_9722.jpg', '/home/pi/Desktop/images/16122025/16/50/image_16122025_16_50_35_9558.jpg', '/home/pi/Desktop/images/16122025/16/50/image_16122025_16_50_45_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/49/image_16122025_16_49_55_9722.jpg
/home/pi/Desktop/images/16122025/16/50/image_16122025_16_50_35_9558.jpg
/home/pi/Desktop/images/16122025/16/50/image_16122025_16_50_45_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":["1399675476","1399675472","1399675474"],"photo_ids_order":["1399675472","1399675474","1399675476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7fd7bd89470c4be48404b40b40dda79f.jpg","text":"TemporaryFile(/tmp/multipartBody8462576629899616022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900283222,"filename":"image_16122025_16_50_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0d14d8e28ea6643298916a95da86575.jpg","text":"TemporaryFile(/tmp/multipartBody8901863891938754206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900283222,"filename":"image_16122025_16_49_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/648ecdb3de937a9db43f134ae3268afa.jpg","text":"TemporaryFile(/tmp/multipartBody8708883357373093957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900283222,"filename":"image_16122025_16_50_35_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675476","file1":"1399675474","file0":"1399675472"},"map_files_photo_id_array":[{"photo_id":"1399675476","filename":"file2"},{"photo_id":"1399675474","filename":"file1"},{"photo_id":"1399675472","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675476":["hashtag1","hashtag2"]},{"1399675472":["hashtag1","hashtag2"]},{"1399675474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675476, 1399675472, 1399675474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.801928281784058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:51:02.669559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:51:11.986063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:51:22.133891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/50/image_16122025_16_50_55_9667.jpg', '/home/pi/Desktop/images/16122025/16/50/image_16122025_16_51_05_9547.jpg', '/home/pi/Desktop/images/16122025/16/51/image_16122025_16_51_25_9983.jpg', '/home/pi/Desktop/images/16122025/16/51/image_16122025_16_51_45_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/50/image_16122025_16_50_55_9667.jpg
/home/pi/Desktop/images/16122025/16/50/image_16122025_16_51_05_9547.jpg
/home/pi/Desktop/images/16122025/16/51/image_16122025_16_51_25_9983.jpg
/home/pi/Desktop/images/16122025/16/51/image_16122025_16_51_45_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675509","1399675511","1399675505","1399675507"],"photo_ids_order":["1399675505","1399675507","1399675509","1399675511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6fb69cb8f18908c5dd085bbffb90348.jpg","text":"TemporaryFile(/tmp/multipartBody7189301351971482503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900342655,"filename":"image_16122025_16_51_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/16/2eb51c5c7c91df00106278251ed94351.jpg","text":"TemporaryFile(/tmp/multipartBody5100138759660036584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900342655,"filename":"image_16122025_16_51_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91117741df670f6927408cfd64b62fab.jpg","text":"TemporaryFile(/tmp/multipartBody2542723654583076188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900342655,"filename":"image_16122025_16_50_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/16/3a7bdcc4cc26a207d7ea2ee58b2948fe.jpg","text":"TemporaryFile(/tmp/multipartBody1319812884724092356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900342655,"filename":"image_16122025_16_51_05_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675509","file1":"1399675507","file0":"1399675505","file3":"1399675511"},"map_files_photo_id_array":[{"photo_id":"1399675509","filename":"file2"},{"photo_id":"1399675507","filename":"file1"},{"photo_id":"1399675505","filename":"file0"},{"photo_id":"1399675511","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675509":["hashtag1","hashtag2"]},{"1399675511":["hashtag1","hashtag2"]},{"1399675505":["hashtag1","hashtag2"]},{"1399675507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675509, 1399675511, 1399675505, 1399675507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.569810152053833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:52:02.832970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:52:12.381875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:52:22.400886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/51/image_16122025_16_51_55_9600.jpg', '/home/pi/Desktop/images/16122025/16/51/image_16122025_16_52_05_9674.jpg', '/home/pi/Desktop/images/16122025/16/52/image_16122025_16_52_15_10585.jpg', '/home/pi/Desktop/images/16122025/16/52/image_16122025_16_52_25_9546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/51/image_16122025_16_51_55_9600.jpg
/home/pi/Desktop/images/16122025/16/51/image_16122025_16_52_05_9674.jpg
/home/pi/Desktop/images/16122025/16/52/image_16122025_16_52_15_10585.jpg
/home/pi/Desktop/images/16122025/16/52/image_16122025_16_52_25_9546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675521","1399675523","1399675525","1399675519"],"photo_ids_order":["1399675519","1399675521","1399675523","1399675525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a59666021a1eadc3493329324a32995.jpg","text":"TemporaryFile(/tmp/multipartBody78873567229314287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900402910,"filename":"image_16122025_16_52_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/16/93f95d9c9987de3f8fe270fb65af832f.jpg","text":"TemporaryFile(/tmp/multipartBody5188952124302676916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900402910,"filename":"image_16122025_16_52_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/16/d3e802475001bd343762c9ee9c14b1f4.jpg","text":"TemporaryFile(/tmp/multipartBody5512706803822745284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900402910,"filename":"image_16122025_16_52_25_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/16/3be81b2aafd691ec2e6720e2daf411ff.jpg","text":"TemporaryFile(/tmp/multipartBody2857138295550831684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900402910,"filename":"image_16122025_16_51_55_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675523","file1":"1399675521","file0":"1399675519","file3":"1399675525"},"map_files_photo_id_array":[{"photo_id":"1399675523","filename":"file2"},{"photo_id":"1399675521","filename":"file1"},{"photo_id":"1399675519","filename":"file0"},{"photo_id":"1399675525","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675521":["hashtag1","hashtag2"]},{"1399675523":["hashtag1","hashtag2"]},{"1399675525":["hashtag1","hashtag2"]},{"1399675519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675521, 1399675523, 1399675525, 1399675519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.207979917526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:53:03.416342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:53:12.651702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:53:22.854208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/52/image_16122025_16_52_34_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/52/image_16122025_16_52_34_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675546"],"photo_id":"1399675546","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7912cad2a7da39cf439af206ecbff9ae.jpg","text":"TemporaryFile(/tmp/multipartBody3008771434682684380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900463269,"filename":"image_16122025_16_52_34_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399675546"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399675546"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.240920305252075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:53:42.710520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_04_3539.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_06_2625.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_09_2799.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_13_3595.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_16_2874.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_18_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_04_3539.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_06_2625.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_09_2799.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_13_3595.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_16_2874.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_18_2542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675572","1399675569","1399675571","1399675568","1399675555","1399675570"],"photo_ids_order":["1399675555","1399675568","1399675569","1399675570","1399675571","1399675572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c35d2b4288cc8c7e2e6539fe256ad36.jpg","text":"TemporaryFile(/tmp/multipartBody8431474938155680848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900483488,"filename":"image_06112025_17_09_18_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/16/f12da3b7bb2cc102bf5232c36d8372d2.jpg","text":"TemporaryFile(/tmp/multipartBody1206912292769863300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900483488,"filename":"image_06112025_17_09_09_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4de8e6f61744236d799d1e71daab7427.jpg","text":"TemporaryFile(/tmp/multipartBody5419962076306388133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900483488,"filename":"image_06112025_17_09_16_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d39d855d1625331e5296f9431d94b2d6.jpg","text":"TemporaryFile(/tmp/multipartBody1186035120635889753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900483488,"filename":"image_06112025_17_09_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/16/271304ce3ba8ab74ade31f0c8fb5188e.jpg","text":"TemporaryFile(/tmp/multipartBody7683973627650170104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900483488,"filename":"image_06112025_17_09_04_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/16/58b7a0fb3d178959502cf173364089e2.jpg","text":"TemporaryFile(/tmp/multipartBody2360069345067243004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900483488,"filename":"image_06112025_17_09_13_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675569","file1":"1399675568","file0":"1399675555","file4":"1399675571","file5":"1399675572","file3":"1399675570"},"map_files_photo_id_array":[{"photo_id":"1399675572","filename":"file5"},{"photo_id":"1399675569","filename":"file2"},{"photo_id":"1399675571","filename":"file4"},{"photo_id":"1399675568","filename":"file1"},{"photo_id":"1399675555","filename":"file0"},{"photo_id":"1399675570","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675572":["hashtag1","hashtag2"]},{"1399675569":["hashtag1","hashtag2"]},{"1399675571":["hashtag1","hashtag2"]},{"1399675568":["hashtag1","hashtag2"]},{"1399675555":["hashtag1","hashtag2"]},{"1399675570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675572, 1399675569, 1399675571, 1399675568, 1399675555, 1399675570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97539210319519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:54:21.980616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_21_2739.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_25_3783.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_28_2866.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_31_2857.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_33_2713.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_37_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_21_2739.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_25_3783.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_28_2866.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_31_2857.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_33_2713.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_37_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675595","1399675589","1399675583","1399675577","1399675591","1399675579"],"photo_ids_order":["1399675577","1399675579","1399675583","1399675589","1399675591","1399675595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d1c57ef14737d1a13282f62d2ade8d7.jpg","text":"TemporaryFile(/tmp/multipartBody2664430453146903335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900522744,"filename":"image_06112025_17_09_37_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/16/ad050e48d9dcce70f21cfe20193c3064.jpg","text":"TemporaryFile(/tmp/multipartBody1361122905810934672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900522744,"filename":"image_06112025_17_09_31_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32bf1730b58c223918580d4982d7e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody3376704539124639891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900522744,"filename":"image_06112025_17_09_28_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/16/bfb92b59f71b51022a51c797255dfa27.jpg","text":"TemporaryFile(/tmp/multipartBody2711961844347143700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900522744,"filename":"image_06112025_17_09_21_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/16/cce6ba4f473fc28cb652080eeca540b8.jpg","text":"TemporaryFile(/tmp/multipartBody6210368213964934378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900522744,"filename":"image_06112025_17_09_33_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/16/870bbd8cc022563da6dbea188d405469.jpg","text":"TemporaryFile(/tmp/multipartBody6687466175172284312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900522744,"filename":"image_06112025_17_09_25_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675583","file1":"1399675579","file0":"1399675577","file4":"1399675591","file5":"1399675595","file3":"1399675589"},"map_files_photo_id_array":[{"photo_id":"1399675595","filename":"file5"},{"photo_id":"1399675583","filename":"file2"},{"photo_id":"1399675591","filename":"file4"},{"photo_id":"1399675579","filename":"file1"},{"photo_id":"1399675577","filename":"file0"},{"photo_id":"1399675589","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675595":["hashtag1","hashtag2"]},{"1399675589":["hashtag1","hashtag2"]},{"1399675583":["hashtag1","hashtag2"]},{"1399675577":["hashtag1","hashtag2"]},{"1399675591":["hashtag1","hashtag2"]},{"1399675579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675595, 1399675589, 1399675583, 1399675577, 1399675591, 1399675579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92894387245178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:55:02.887376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 16:55:12.125968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:55:22.162425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/52/image_16122025_16_53_05_9826.jpg', '/home/pi/Desktop/images/16122025/16/55/image_16122025_16_55_13_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/52/image_16122025_16_53_05_9826.jpg
/home/pi/Desktop/images/16122025/16/55/image_16122025_16_55_13_10056.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675608","1399675606"],"photo_ids_order":["1399675606","1399675608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dcb9bdbc756c8864606145e09c9c3cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3801691121657091942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900582618,"filename":"image_16122025_16_55_13_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12942509531192362edaa44b1dcd2e7a.jpg","text":"TemporaryFile(/tmp/multipartBody6550351371576332214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900582618,"filename":"image_16122025_16_53_05_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399675608","file0":"1399675606"},"map_files_photo_id_array":[{"photo_id":"1399675608","filename":"file1"},{"photo_id":"1399675606","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399675608":["hashtag1","hashtag2"]},{"1399675606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399675608, 1399675606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.65733242034912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:55:42.144739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_40_2637.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_42_2665.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_46_3597.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_48_2593.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_55_3561.jpg', '/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_57_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_40_2637.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_42_2665.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_46_3597.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_48_2593.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_55_3561.jpg
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_09_57_2843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675620","1399675617","1399675613","1399675622","1399675619","1399675618"],"photo_ids_order":["1399675613","1399675617","1399675618","1399675619","1399675620","1399675622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de1a436cdb1cc95da87535bc128277bc.jpg","text":"TemporaryFile(/tmp/multipartBody794247453046877453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900602912,"filename":"image_06112025_17_09_55_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/16/f30fa2911726cb6e699ea982a6b26115.jpg","text":"TemporaryFile(/tmp/multipartBody1019428053033938908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900602912,"filename":"image_06112025_17_09_42_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/16/21d0f9c3a4fe4727b8d15cd90a5e917e.jpg","text":"TemporaryFile(/tmp/multipartBody3210227784234909113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900602912,"filename":"image_06112025_17_09_40_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/16/ec989d8702651a9cc0ab3bedc28dfc17.jpg","text":"TemporaryFile(/tmp/multipartBody7478013510867304259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900602912,"filename":"image_06112025_17_09_57_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/16/6998ade626c503d2ab48854f4fdb8e17.jpg","text":"TemporaryFile(/tmp/multipartBody4553405872232614384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900602912,"filename":"image_06112025_17_09_48_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/16/9d1cc6c42f84298380d52fe3614d8e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4133447712934356718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900602912,"filename":"image_06112025_17_09_46_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675618","file1":"1399675617","file0":"1399675613","file4":"1399675620","file5":"1399675622","file3":"1399675619"},"map_files_photo_id_array":[{"photo_id":"1399675622","filename":"file5"},{"photo_id":"1399675618","filename":"file2"},{"photo_id":"1399675620","filename":"file4"},{"photo_id":"1399675617","filename":"file1"},{"photo_id":"1399675613","filename":"file0"},{"photo_id":"1399675619","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675620":["hashtag1","hashtag2"]},{"1399675617":["hashtag1","hashtag2"]},{"1399675613":["hashtag1","hashtag2"]},{"1399675622":["hashtag1","hashtag2"]},{"1399675619":["hashtag1","hashtag2"]},{"1399675618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675620, 1399675617, 1399675613, 1399675622, 1399675619, 1399675618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3845751285553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:56:22.383730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/55/image_16122025_16_55_53_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/55/image_16122025_16_55_53_9745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675626"],"photo_id":"1399675626","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61b1fefc8768f064274d6135bea0de6f.jpg","text":"TemporaryFile(/tmp/multipartBody8110793673961965607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900642800,"filename":"image_16122025_16_55_53_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399675626"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399675626"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.229271411895752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 16:56:42.352060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/09/image_06112025_17_10_00_2593.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_06_3011.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_10_3742.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_13_2720.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_16_2774.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_19_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/09/image_06112025_17_10_00_2593.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_06_3011.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_10_3742.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_13_2720.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_16_2774.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_19_3720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675653","1399675656","1399675655","1399675637","1399675654","1399675645"],"photo_ids_order":["1399675637","1399675645","1399675653","1399675654","1399675655","1399675656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b3f37737824be3bc8f276e609fa0e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3495334410129550669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900663061,"filename":"image_06112025_17_11_10_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/16/23eed853bca1250588c0371bcc96c4ab.jpg","text":"TemporaryFile(/tmp/multipartBody6900679014959188118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900663061,"filename":"image_06112025_17_11_19_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/16/5b5381308a497503144ce8892e1b101c.jpg","text":"TemporaryFile(/tmp/multipartBody2735032549594679653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900663061,"filename":"image_06112025_17_11_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/16/9e599521411ff40039f768f4dc40dd2f.jpg","text":"TemporaryFile(/tmp/multipartBody2694909928034520823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900663061,"filename":"image_06112025_17_10_00_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/16/15316f476a2a5ceb55c7ea1853f73a2f.jpg","text":"TemporaryFile(/tmp/multipartBody6356995184532245868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900663061,"filename":"image_06112025_17_11_13_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/16/3b1e483b1267b9a0351d093a2f3e8f61.jpg","text":"TemporaryFile(/tmp/multipartBody7182845390428875207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900663061,"filename":"image_06112025_17_11_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675653","file1":"1399675645","file0":"1399675637","file4":"1399675655","file5":"1399675656","file3":"1399675654"},"map_files_photo_id_array":[{"photo_id":"1399675656","filename":"file5"},{"photo_id":"1399675653","filename":"file2"},{"photo_id":"1399675655","filename":"file4"},{"photo_id":"1399675645","filename":"file1"},{"photo_id":"1399675637","filename":"file0"},{"photo_id":"1399675654","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675653":["hashtag1","hashtag2"]},{"1399675656":["hashtag1","hashtag2"]},{"1399675655":["hashtag1","hashtag2"]},{"1399675637":["hashtag1","hashtag2"]},{"1399675654":["hashtag1","hashtag2"]},{"1399675645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675653, 1399675656, 1399675655, 1399675637, 1399675654, 1399675645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57561111450195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:57:22.635459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_22_2668.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_25_2602.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_28_3687.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_31_2570.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_33_2651.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_37_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_22_2668.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_25_2602.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_28_3687.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_31_2570.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_33_2651.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_37_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":["1399675708","1399675668","1399675743","1399675778","1399675817","1399675660"],"photo_ids_order":["1399675660","1399675668","1399675708","1399675743","1399675778","1399675817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5cfca7243c051bbf4cf5f03ce61d3682.jpg","text":"TemporaryFile(/tmp/multipartBody3960148609048398371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900703348,"filename":"image_06112025_17_11_28_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/16/1906f1547b68ee5ee494281c0bc4310b.jpg","text":"TemporaryFile(/tmp/multipartBody1910008809076675777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900703348,"filename":"image_06112025_17_11_25_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/16/0f529fa3d5ac8421659fe62f957cbb6c.jpg","text":"TemporaryFile(/tmp/multipartBody6156969976436582500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900703348,"filename":"image_06112025_17_11_31_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/16/6e6b94891c1c16e4e9106ef79d292b82.jpg","text":"TemporaryFile(/tmp/multipartBody7799548664262125823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900703348,"filename":"image_06112025_17_11_33_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09f8de7d01145b6bad74284db29f7f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1675287415287785345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900703348,"filename":"image_06112025_17_11_37_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/16/1739c2b84106d5c895b15d5ac6182abd.jpg","text":"TemporaryFile(/tmp/multipartBody3925109494125655680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900703348,"filename":"image_06112025_17_11_22_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675708","file1":"1399675668","file0":"1399675660","file4":"1399675778","file5":"1399675817","file3":"1399675743"},"map_files_photo_id_array":[{"photo_id":"1399675817","filename":"file5"},{"photo_id":"1399675708","filename":"file2"},{"photo_id":"1399675778","filename":"file4"},{"photo_id":"1399675668","filename":"file1"},{"photo_id":"1399675660","filename":"file0"},{"photo_id":"1399675743","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399675708":["hashtag1","hashtag2"]},{"1399675668":["hashtag1","hashtag2"]},{"1399675743":["hashtag1","hashtag2"]},{"1399675778":["hashtag1","hashtag2"]},{"1399675817":["hashtag1","hashtag2"]},{"1399675660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399675708, 1399675668, 1399675743, 1399675778, 1399675817, 1399675660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.347599029541016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 16:59:03.066065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/55/image_16122025_16_56_04_10921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/55/image_16122025_16_56_04_10921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399675982"],"photo_id":"1399675982","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be775e3c3b523ff9f015954c06c13f50.jpg","text":"TemporaryFile(/tmp/multipartBody3858736259091993268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900803528,"filename":"image_16122025_16_56_04_10921.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399675982"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399675982"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.193832635879517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 16:59:22.092194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_40_2524.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_42_2659.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_46_3709.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_49_2570.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_52_3588.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_55_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_40_2524.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_42_2659.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_46_3709.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_49_2570.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_52_3588.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_55_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399676001","1399676000","1399675996","1399675999","1399675993","1399676011"],"photo_ids_order":["1399675993","1399675996","1399675999","1399676000","1399676001","1399676011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74b1de89096f6d3815a5211d4b188071.jpg","text":"TemporaryFile(/tmp/multipartBody287852483237281670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900822802,"filename":"image_06112025_17_11_52_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/16/b513e1d57246b828ff8c3388d3964f71.jpg","text":"TemporaryFile(/tmp/multipartBody8174190113058449090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900822802,"filename":"image_06112025_17_11_49_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/16/58caa62c89913fabef42c84c54a663d0.jpg","text":"TemporaryFile(/tmp/multipartBody6897863665331323349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900822802,"filename":"image_06112025_17_11_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/16/c0cc2c064f7aa5659edcb60b1833b01d.jpg","text":"TemporaryFile(/tmp/multipartBody5926323096180249975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900822802,"filename":"image_06112025_17_11_46_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/16/dba5fee90d802fbdd0c47b0af8b19d95.jpg","text":"TemporaryFile(/tmp/multipartBody4169540179368864247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900822802,"filename":"image_06112025_17_11_40_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/16/8720426b98c2ca99761ecc4d11b273ed.jpg","text":"TemporaryFile(/tmp/multipartBody8942982219711740181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900822802,"filename":"image_06112025_17_11_55_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399675999","file1":"1399675996","file0":"1399675993","file4":"1399676001","file5":"1399676011","file3":"1399676000"},"map_files_photo_id_array":[{"photo_id":"1399676011","filename":"file5"},{"photo_id":"1399675999","filename":"file2"},{"photo_id":"1399676001","filename":"file4"},{"photo_id":"1399675996","filename":"file1"},{"photo_id":"1399675993","filename":"file0"},{"photo_id":"1399676000","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399676001":["hashtag1","hashtag2"]},{"1399676000":["hashtag1","hashtag2"]},{"1399675996":["hashtag1","hashtag2"]},{"1399675999":["hashtag1","hashtag2"]},{"1399675993":["hashtag1","hashtag2"]},{"1399676011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399676001, 1399676000, 1399675996, 1399675999, 1399675993, 1399676011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65397763252258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:00:02.729463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:00:12.351902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:00:22.406878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/57/image_16122025_16_58_04_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/57/image_16122025_16_58_04_9603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3106825351715088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:00:32.351774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:00:42.316312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_58_2728.jpg', '/home/pi/Desktop/images/06112025/17/11/image_06112025_17_12_01_3586.jpg', '/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_23_21896.jpg', '/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_25_1734.jpg', '/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_38_11946.jpg', '/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_40_1912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_11_58_2728.jpg
/home/pi/Desktop/images/06112025/17/11/image_06112025_17_12_01_3586.jpg
/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_23_21896.jpg
/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_25_1734.jpg
/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_38_11946.jpg
/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_40_1912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399676139","1399676067","1399676034","1399676102","1399676185","1399676221"],"photo_ids_order":["1399676034","1399676067","1399676102","1399676139","1399676185","1399676221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32c72b1e9fa503947342adc5d1773428.jpg","text":"TemporaryFile(/tmp/multipartBody7396030726532288165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900903029,"filename":"image_06112025_17_12_25_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/16/b2f3a50447785ca1d9e9ad383e6419c9.jpg","text":"TemporaryFile(/tmp/multipartBody4023898656699188595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900903029,"filename":"image_06112025_17_12_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/16/ef197a0910df8ee6089a61597cbc7e12.jpg","text":"TemporaryFile(/tmp/multipartBody2566938817421637697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900903029,"filename":"image_06112025_17_11_58_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/16/c683e1d792fffc660a72504f0a93aa73.jpg","text":"TemporaryFile(/tmp/multipartBody6959023606942614235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900903029,"filename":"image_06112025_17_12_23_21896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff5853bc6ab79ef384fe8c44389be15d.jpg","text":"TemporaryFile(/tmp/multipartBody5101581297207434477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900903029,"filename":"image_06112025_17_12_38_11946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/054adc1709176157d75de2bb5a68ced0.jpg","text":"TemporaryFile(/tmp/multipartBody3713835730632930328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900903029,"filename":"image_06112025_17_12_40_1912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399676102","file1":"1399676067","file0":"1399676034","file4":"1399676185","file5":"1399676221","file3":"1399676139"},"map_files_photo_id_array":[{"photo_id":"1399676221","filename":"file5"},{"photo_id":"1399676102","filename":"file2"},{"photo_id":"1399676185","filename":"file4"},{"photo_id":"1399676067","filename":"file1"},{"photo_id":"1399676034","filename":"file0"},{"photo_id":"1399676139","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399676139":["hashtag1","hashtag2"]},{"1399676067":["hashtag1","hashtag2"]},{"1399676034":["hashtag1","hashtag2"]},{"1399676102":["hashtag1","hashtag2"]},{"1399676185":["hashtag1","hashtag2"]},{"1399676221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399676139, 1399676067, 1399676034, 1399676102, 1399676185, 1399676221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3516628742218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:01:22.569261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/16/57/image_16122025_16_58_04_9603.jpg', '/home/pi/Desktop/images/16122025/17/00/image_16122025_17_00_35_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/16/57/image_16122025_16_58_04_9603.jpg
/home/pi/Desktop/images/16122025/17/00/image_16122025_17_00_35_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399676366","1399676437"],"photo_ids_order":["1399676366","1399676437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de42d47caa3bccba10766b8f38fa4671.jpg","text":"TemporaryFile(/tmp/multipartBody9011879376251560782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900943019,"filename":"image_16122025_16_58_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/16/6c52a8303c6ec16bf503d1746109b6af.jpg","text":"TemporaryFile(/tmp/multipartBody5846064306324293476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900943019,"filename":"image_16122025_17_00_35_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399676437","file0":"1399676366"},"map_files_photo_id_array":[{"photo_id":"1399676437","filename":"file1"},{"photo_id":"1399676366","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399676366":["hashtag1","hashtag2"]},{"1399676437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399676366, 1399676437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.623766899108887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:01:42.523852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_42_1640.jpg', '/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_43_1642.jpg', '/home/pi/Desktop/images/06112025/17/13/image_06112025_17_13_01_17877.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_07_3019.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_10_3025.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_13_3194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_42_1640.jpg
/home/pi/Desktop/images/06112025/17/12/image_06112025_17_12_43_1642.jpg
/home/pi/Desktop/images/06112025/17/13/image_06112025_17_13_01_17877.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_07_3019.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_10_3025.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_13_3194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399676958","1399676817","1399676678","1399676744","1399677031","1399676886"],"photo_ids_order":["1399676678","1399676744","1399676817","1399676886","1399676958","1399677031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd252cf8ce24a36ee605b0da4455fa23.jpg","text":"TemporaryFile(/tmp/multipartBody5916426029716566517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900963230,"filename":"image_06112025_17_14_10_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8af78e11343afb73a21fb3a6da819362.jpg","text":"TemporaryFile(/tmp/multipartBody102803020830892907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900963230,"filename":"image_06112025_17_13_01_17877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/619ab717a003079fed48c2d3b09ed434.jpg","text":"TemporaryFile(/tmp/multipartBody2961443144116022761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900963230,"filename":"image_06112025_17_12_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/16/375e59f8cc21c2c4f3f23636842ab9a5.jpg","text":"TemporaryFile(/tmp/multipartBody3383716114087136846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900963230,"filename":"image_06112025_17_12_43_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/16/e73396ac72f549af7ad0fd876f8d29e5.jpg","text":"TemporaryFile(/tmp/multipartBody3664209613153211148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900963230,"filename":"image_06112025_17_14_13_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/16/a933ea82d0b459b649dd7426c0abec85.jpg","text":"TemporaryFile(/tmp/multipartBody7134520644256709805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765900963230,"filename":"image_06112025_17_14_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399676817","file1":"1399676744","file0":"1399676678","file4":"1399676958","file5":"1399677031","file3":"1399676886"},"map_files_photo_id_array":[{"photo_id":"1399677031","filename":"file5"},{"photo_id":"1399676817","filename":"file2"},{"photo_id":"1399676958","filename":"file4"},{"photo_id":"1399676744","filename":"file1"},{"photo_id":"1399676678","filename":"file0"},{"photo_id":"1399676886","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399676958":["hashtag1","hashtag2"]},{"1399676817":["hashtag1","hashtag2"]},{"1399676678":["hashtag1","hashtag2"]},{"1399676744":["hashtag1","hashtag2"]},{"1399677031":["hashtag1","hashtag2"]},{"1399676886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399676958, 1399676817, 1399676678, 1399676744, 1399677031, 1399676886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37702488899231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:02:22.745021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_17_3610.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_32_14418.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_33_1619.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_35_1779.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_37_1693.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_41_4136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_17_3610.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_32_14418.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_33_1619.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_35_1779.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_37_1693.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_41_4136.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6576228141784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:02:32.786560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:02:42.732834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_17_3610.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_32_14418.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_33_1619.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_35_1779.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_37_1693.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_41_4136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_17_3610.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_32_14418.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_33_1619.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_35_1779.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_37_1693.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_41_4136.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399677881","1399677779","1399677920","1399677707","1399677625","1399677843"],"photo_ids_order":["1399677625","1399677707","1399677779","1399677843","1399677881","1399677920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/983fd1ea826cfeb92ecfa068e270ad9f.jpg","text":"TemporaryFile(/tmp/multipartBody249027553913909940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901023339,"filename":"image_06112025_17_14_37_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/adffadc4cd9356435691a27aac23fda4.jpg","text":"TemporaryFile(/tmp/multipartBody4590757584897022685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901023339,"filename":"image_06112025_17_14_33_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/16/e378e83de94a2af6ae7a72243a724218.jpg","text":"TemporaryFile(/tmp/multipartBody4980239441046933710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901023339,"filename":"image_06112025_17_14_41_4136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8438f8608b5b489a2cef8bce95bf2fa9.jpg","text":"TemporaryFile(/tmp/multipartBody3854558955735696821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901023339,"filename":"image_06112025_17_14_32_14418.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3ad0a9b05dc0afb7f79d2f2b0e31cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3388879314300264495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901023339,"filename":"image_06112025_17_14_17_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/16/8d35bd682335c7b9bb05b90e0dd33206.jpg","text":"TemporaryFile(/tmp/multipartBody4515157580556345800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901023339,"filename":"image_06112025_17_14_35_1779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399677779","file1":"1399677707","file0":"1399677625","file4":"1399677881","file5":"1399677920","file3":"1399677843"},"map_files_photo_id_array":[{"photo_id":"1399677920","filename":"file5"},{"photo_id":"1399677779","filename":"file2"},{"photo_id":"1399677881","filename":"file4"},{"photo_id":"1399677707","filename":"file1"},{"photo_id":"1399677625","filename":"file0"},{"photo_id":"1399677843","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399677881":["hashtag1","hashtag2"]},{"1399677779":["hashtag1","hashtag2"]},{"1399677920":["hashtag1","hashtag2"]},{"1399677707":["hashtag1","hashtag2"]},{"1399677625":["hashtag1","hashtag2"]},{"1399677843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399677881, 1399677779, 1399677920, 1399677707, 1399677625, 1399677843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.598896741867065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:03:22.023683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/01/image_16122025_17_01_55_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/01/image_16122025_17_01_55_9665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399678028"],"photo_id":"1399678028","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d440e37ce55ea82eb816c5375e35721f.jpg","text":"TemporaryFile(/tmp/multipartBody1220152771450069183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901062450,"filename":"image_16122025_17_01_55_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399678028"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399678028"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.192377090454102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:03:42.000538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_42_1642.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_44_1676.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_46_1802.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_48_1648.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_49_1656.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_51_1763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_42_1642.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_44_1676.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_46_1802.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_48_1648.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_49_1656.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_51_1763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399678043","1399678037","1399678046","1399678041","1399678061","1399678055"],"photo_ids_order":["1399678037","1399678041","1399678043","1399678046","1399678055","1399678061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31715af0f91d2715107c72522dfc74f3.jpg","text":"TemporaryFile(/tmp/multipartBody4874340276664834831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901082678,"filename":"image_06112025_17_14_46_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/16/a0d8d433cbdb27e424b1b526989fbb0e.jpg","text":"TemporaryFile(/tmp/multipartBody4827614835759553950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901082678,"filename":"image_06112025_17_14_42_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/16/6d873ea35e32e6cfbe8f0752b8902ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6710018418473839628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901082678,"filename":"image_06112025_17_14_48_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/16/c47380c7815e43e71385baa5460f9292.jpg","text":"TemporaryFile(/tmp/multipartBody6423492745922007703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901082678,"filename":"image_06112025_17_14_44_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b74a3f39dcda125efd0a4592d6656071.jpg","text":"TemporaryFile(/tmp/multipartBody8777767640322831980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901082678,"filename":"image_06112025_17_14_51_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/852856843b52b80bcf634b9bfe6d187d.jpg","text":"TemporaryFile(/tmp/multipartBody4835656247007529455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901082678,"filename":"image_06112025_17_14_49_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399678043","file1":"1399678041","file0":"1399678037","file4":"1399678055","file5":"1399678061","file3":"1399678046"},"map_files_photo_id_array":[{"photo_id":"1399678061","filename":"file5"},{"photo_id":"1399678043","filename":"file2"},{"photo_id":"1399678055","filename":"file4"},{"photo_id":"1399678041","filename":"file1"},{"photo_id":"1399678037","filename":"file0"},{"photo_id":"1399678046","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399678043":["hashtag1","hashtag2"]},{"1399678037":["hashtag1","hashtag2"]},{"1399678046":["hashtag1","hashtag2"]},{"1399678041":["hashtag1","hashtag2"]},{"1399678061":["hashtag1","hashtag2"]},{"1399678055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399678043, 1399678037, 1399678046, 1399678041, 1399678061, 1399678055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11262822151184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:04:22.364016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/03/image_16122025_17_03_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/03/image_16122025_17_03_14_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399678209"],"photo_id":"1399678209","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f3f8f84b38c94d9b6a03a26a2bd40a8.jpg","text":"TemporaryFile(/tmp/multipartBody1083580075769199566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901122777,"filename":"image_16122025_17_03_14_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399678209"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399678209"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.063903093338013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:04:42.305822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_53_1683.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_55_2803.jpg', '/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_59_3641.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_06_3011.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_10_3772.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_13_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_53_1683.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_55_2803.jpg
/home/pi/Desktop/images/06112025/17/14/image_06112025_17_14_59_3641.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_06_3011.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_10_3772.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_13_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":["1399678601","1399678669","1399678744","1399678560","1399678518","1399678704"],"photo_ids_order":["1399678518","1399678560","1399678601","1399678669","1399678704","1399678744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c50d3a1babb5498f775b3e32ee1a3023.jpg","text":"TemporaryFile(/tmp/multipartBody1906353926914712502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901142992,"filename":"image_06112025_17_14_59_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/16/161578bcef651e47dd4d3b29aef6c595.jpg","text":"TemporaryFile(/tmp/multipartBody4006064877985880946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901142992,"filename":"image_06112025_17_15_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/16/808125d94b0ffed1c09bcf120f3ad0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3747908618585803944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901142992,"filename":"image_06112025_17_15_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/16/fdc791d0bed29a14cb79f903dacc31af.jpg","text":"TemporaryFile(/tmp/multipartBody7253685372417152539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901142992,"filename":"image_06112025_17_14_55_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/16/103f845582b9ab5d7e9b1dd50028b8af.jpg","text":"TemporaryFile(/tmp/multipartBody1972459298195271073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901142992,"filename":"image_06112025_17_14_53_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aefa83ca3d931572c7d1d91f623a2456.jpg","text":"TemporaryFile(/tmp/multipartBody7155367113266675462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901142992,"filename":"image_06112025_17_15_10_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399678601","file1":"1399678560","file0":"1399678518","file4":"1399678704","file5":"1399678744","file3":"1399678669"},"map_files_photo_id_array":[{"photo_id":"1399678744","filename":"file5"},{"photo_id":"1399678601","filename":"file2"},{"photo_id":"1399678704","filename":"file4"},{"photo_id":"1399678560","filename":"file1"},{"photo_id":"1399678518","filename":"file0"},{"photo_id":"1399678669","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399678601":["hashtag1","hashtag2"]},{"1399678669":["hashtag1","hashtag2"]},{"1399678744":["hashtag1","hashtag2"]},{"1399678560":["hashtag1","hashtag2"]},{"1399678518":["hashtag1","hashtag2"]},{"1399678704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399678601, 1399678669, 1399678744, 1399678560, 1399678518, 1399678704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9477174282074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:05:22.550030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/04/image_16122025_17_04_45_10858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/04/image_16122025_17_04_45_10858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399678809"],"photo_id":"1399678809","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de20bacf1b739978678089e30b8ceb71.jpg","text":"TemporaryFile(/tmp/multipartBody5674207770032429636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901182966,"filename":"image_16122025_17_04_45_10858.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399678809"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399678809"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.085287809371948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:05:42.661130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_15_2597.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_19_3737.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_22_2643.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_25_2855.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_27_2625.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_35_7594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_15_2597.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_19_3737.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_22_2643.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_25_2855.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_27_2625.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_35_7594.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.59033203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:06:02.342188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:06:11.825338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:06:21.870090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/05/image_16122025_17_05_55_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/05/image_16122025_17_05_55_10853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399678997"],"photo_id":"1399678997","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff8942e460006519b8a16d11df38d20a.jpg","text":"TemporaryFile(/tmp/multipartBody8994268485843373266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901242286,"filename":"image_16122025_17_05_55_10853.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399678997"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399678997"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.220085144042969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:06:41.917483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_15_2597.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_19_3737.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_22_2643.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_25_2855.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_27_2625.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_35_7594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_15_2597.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_19_3737.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_22_2643.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_25_2855.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_27_2625.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_35_7594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399679020","1399679005","1399679019","1399679013","1399679022","1399679021"],"photo_ids_order":["1399679005","1399679013","1399679019","1399679020","1399679021","1399679022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4537fd176f6eccc78e9878273f053ed2.jpg","text":"TemporaryFile(/tmp/multipartBody7231182436537725569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901262526,"filename":"image_06112025_17_15_25_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/16/78cbeaca5142c038ccd2969895d9bc01.jpg","text":"TemporaryFile(/tmp/multipartBody1506851487006924556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901262526,"filename":"image_06112025_17_15_15_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36190175a664e3f2ee7ea30467895d54.jpg","text":"TemporaryFile(/tmp/multipartBody8973806642661439576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901262526,"filename":"image_06112025_17_15_22_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/16/6788e5b47ae73cf52913167a70303f3c.jpg","text":"TemporaryFile(/tmp/multipartBody8598412044255628773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901262526,"filename":"image_06112025_17_15_19_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4e90cdc6101c8a217ba9c4ae6716cd6.jpg","text":"TemporaryFile(/tmp/multipartBody680709097764852167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901262526,"filename":"image_06112025_17_15_35_7594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7afdfe1863c6855ef4aac29e3becbe4.jpg","text":"TemporaryFile(/tmp/multipartBody4264202543903077615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901262526,"filename":"image_06112025_17_15_27_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679019","file1":"1399679013","file0":"1399679005","file4":"1399679021","file5":"1399679022","file3":"1399679020"},"map_files_photo_id_array":[{"photo_id":"1399679022","filename":"file5"},{"photo_id":"1399679019","filename":"file2"},{"photo_id":"1399679021","filename":"file4"},{"photo_id":"1399679013","filename":"file1"},{"photo_id":"1399679005","filename":"file0"},{"photo_id":"1399679020","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679020":["hashtag1","hashtag2"]},{"1399679005":["hashtag1","hashtag2"]},{"1399679019":["hashtag1","hashtag2"]},{"1399679013":["hashtag1","hashtag2"]},{"1399679022":["hashtag1","hashtag2"]},{"1399679021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679020, 1399679005, 1399679019, 1399679013, 1399679022, 1399679021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08257246017456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:07:22.367234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_37_1727.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_38_1557.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_40_1626.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_43_2741.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_46_3580.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_49_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_37_1727.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_38_1557.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_40_1626.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_43_2741.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_46_3580.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_49_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":["1399679027","1399679035","1399679037","1399679033","1399679045","1399679030"],"photo_ids_order":["1399679027","1399679030","1399679033","1399679035","1399679037","1399679045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/805a1a4bc173e5272b1f79eddee43ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2292811181591002468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901303106,"filename":"image_06112025_17_15_37_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c3f8e7561340e832f453358018373bf.jpg","text":"TemporaryFile(/tmp/multipartBody1194097259466665951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901303106,"filename":"image_06112025_17_15_43_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be3938c7eca7f1f34664bb8bb8b79098.jpg","text":"TemporaryFile(/tmp/multipartBody353454267047116974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901303106,"filename":"image_06112025_17_15_46_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/16/0496abe956738b710eb99ae4b96ea09a.jpg","text":"TemporaryFile(/tmp/multipartBody6111197572042070214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901303106,"filename":"image_06112025_17_15_40_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/16/8797c8f3d17360e0ec5c6edf575a57d9.jpg","text":"TemporaryFile(/tmp/multipartBody1103472300014105212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901303106,"filename":"image_06112025_17_15_49_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cb9f9e5f662ef8ab630105c5c1d87a4.jpg","text":"TemporaryFile(/tmp/multipartBody903429056844703916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901303106,"filename":"image_06112025_17_15_38_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679033","file1":"1399679030","file0":"1399679027","file4":"1399679037","file5":"1399679045","file3":"1399679035"},"map_files_photo_id_array":[{"photo_id":"1399679045","filename":"file5"},{"photo_id":"1399679033","filename":"file2"},{"photo_id":"1399679037","filename":"file4"},{"photo_id":"1399679030","filename":"file1"},{"photo_id":"1399679027","filename":"file0"},{"photo_id":"1399679035","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679027":["hashtag1","hashtag2"]},{"1399679035":["hashtag1","hashtag2"]},{"1399679037":["hashtag1","hashtag2"]},{"1399679033":["hashtag1","hashtag2"]},{"1399679045":["hashtag1","hashtag2"]},{"1399679030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679027, 1399679035, 1399679037, 1399679033, 1399679045, 1399679030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66846704483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:08:02.842997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:08:12.372115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:08:22.419383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_52_2787.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_55_3611.jpg', '/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_58_2731.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_01_2618.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_04_3590.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_07_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_52_2787.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_55_3611.jpg
/home/pi/Desktop/images/06112025/17/15/image_06112025_17_15_58_2731.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_01_2618.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_04_3590.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_07_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":["1399679077","1399679062","1399679056","1399679091","1399679058","1399679069"],"photo_ids_order":["1399679056","1399679058","1399679062","1399679069","1399679077","1399679091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d5dc450563140f623dd88c62021edbb.jpg","text":"TemporaryFile(/tmp/multipartBody2073351549282505006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901363187,"filename":"image_06112025_17_16_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/16/fdfaea761a3a8f16366a3ff8f648781d.jpg","text":"TemporaryFile(/tmp/multipartBody2970282465681591727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901363187,"filename":"image_06112025_17_15_58_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/16/b410ddf3b927de3926d33dfcc627f858.jpg","text":"TemporaryFile(/tmp/multipartBody6812348341430687492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901363187,"filename":"image_06112025_17_15_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/16/7d78b002016087fd0acfccbc1c3ed889.jpg","text":"TemporaryFile(/tmp/multipartBody6983003862792091065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901363187,"filename":"image_06112025_17_16_07_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/16/8f62f51dde5396461c6fe16fff645a4e.jpg","text":"TemporaryFile(/tmp/multipartBody2459907797536556226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901363187,"filename":"image_06112025_17_15_55_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/16/b805146fd0515213c06cff633112ba25.jpg","text":"TemporaryFile(/tmp/multipartBody4875972790399797794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901363187,"filename":"image_06112025_17_16_01_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679062","file1":"1399679058","file0":"1399679056","file4":"1399679077","file5":"1399679091","file3":"1399679069"},"map_files_photo_id_array":[{"photo_id":"1399679091","filename":"file5"},{"photo_id":"1399679062","filename":"file2"},{"photo_id":"1399679077","filename":"file4"},{"photo_id":"1399679058","filename":"file1"},{"photo_id":"1399679056","filename":"file0"},{"photo_id":"1399679069","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679077":["hashtag1","hashtag2"]},{"1399679062":["hashtag1","hashtag2"]},{"1399679056":["hashtag1","hashtag2"]},{"1399679091":["hashtag1","hashtag2"]},{"1399679058":["hashtag1","hashtag2"]},{"1399679069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679077, 1399679062, 1399679056, 1399679091, 1399679058, 1399679069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92816948890686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:09:03.822824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:09:13.057825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:09:23.087706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_09_2562.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_13_3680.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_16_2610.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_18_2656.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_22_3558.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_24_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_09_2562.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_13_3680.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_16_2610.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_18_2656.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_22_3558.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_24_2530.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6135847568511963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:09:33.258727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:09:43.036588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_09_2562.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_13_3680.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_16_2610.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_18_2656.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_22_3558.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_24_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_09_2562.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_13_3680.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_16_2610.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_18_2656.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_22_3558.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_24_2530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399679194","1399679245","1399679203","1399679223","1399679246","1399679213"],"photo_ids_order":["1399679194","1399679203","1399679213","1399679223","1399679245","1399679246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88ef2ce8cd42acdd8fbfa83a55c4a398.jpg","text":"TemporaryFile(/tmp/multipartBody3123209334629218454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901443613,"filename":"image_06112025_17_16_09_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/16/1fe6c5a6d7b1d4845e8cd863ed05f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody6376183059630437689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901443613,"filename":"image_06112025_17_16_22_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d97eb6505e4915785715d211eaa272a1.jpg","text":"TemporaryFile(/tmp/multipartBody3102336033363714130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901443613,"filename":"image_06112025_17_16_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/16/0842a97223f598882ed40a05285b011e.jpg","text":"TemporaryFile(/tmp/multipartBody1274600329534818427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901443613,"filename":"image_06112025_17_16_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/16/6ab621afd1ccfe02e5f7e011786034c4.jpg","text":"TemporaryFile(/tmp/multipartBody7323782558383114563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901443613,"filename":"image_06112025_17_16_24_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/16/c0ce9b4ea7c812d18a86c4350f04ae57.jpg","text":"TemporaryFile(/tmp/multipartBody7435512751523601185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901443613,"filename":"image_06112025_17_16_16_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679213","file1":"1399679203","file0":"1399679194","file4":"1399679245","file5":"1399679246","file3":"1399679223"},"map_files_photo_id_array":[{"photo_id":"1399679246","filename":"file5"},{"photo_id":"1399679213","filename":"file2"},{"photo_id":"1399679245","filename":"file4"},{"photo_id":"1399679203","filename":"file1"},{"photo_id":"1399679194","filename":"file0"},{"photo_id":"1399679223","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679194":["hashtag1","hashtag2"]},{"1399679245":["hashtag1","hashtag2"]},{"1399679203":["hashtag1","hashtag2"]},{"1399679223":["hashtag1","hashtag2"]},{"1399679246":["hashtag1","hashtag2"]},{"1399679213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679194, 1399679245, 1399679203, 1399679223, 1399679246, 1399679213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50216794013977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:10:22.276280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_28_3592.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_31_2597.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_33_2780.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_37_3545.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_40_2630.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_42_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_28_3592.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_31_2597.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_33_2780.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_37_3545.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_40_2630.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_42_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":["1399679269","1399679254","1399679251","1399679265","1399679256","1399679309"],"photo_ids_order":["1399679251","1399679254","1399679256","1399679265","1399679269","1399679309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44284954c2d6471a7f39da8680853a49.jpg","text":"TemporaryFile(/tmp/multipartBody5859475884186085370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901482983,"filename":"image_06112025_17_16_40_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/16/a7b3bef1bfcbb62d6604a9bb2d594934.jpg","text":"TemporaryFile(/tmp/multipartBody1349042811621356270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901482983,"filename":"image_06112025_17_16_31_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/00f819f467ce397f8e50ed7da1cf20bf.jpg","text":"TemporaryFile(/tmp/multipartBody2286176402713019985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901482983,"filename":"image_06112025_17_16_28_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/16/fea4a80c97fe23797257120b282ce91e.jpg","text":"TemporaryFile(/tmp/multipartBody9156466404182675459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901482983,"filename":"image_06112025_17_16_37_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/16/519f00ba571027629a44ec3ae9b96480.jpg","text":"TemporaryFile(/tmp/multipartBody6606616515269616905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901482983,"filename":"image_06112025_17_16_33_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/16/05e12197dd79395a7c4d1832b10586da.jpg","text":"TemporaryFile(/tmp/multipartBody5830602061809302666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901482983,"filename":"image_06112025_17_16_42_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679256","file1":"1399679254","file0":"1399679251","file4":"1399679269","file5":"1399679309","file3":"1399679265"},"map_files_photo_id_array":[{"photo_id":"1399679309","filename":"file5"},{"photo_id":"1399679256","filename":"file2"},{"photo_id":"1399679269","filename":"file4"},{"photo_id":"1399679254","filename":"file1"},{"photo_id":"1399679251","filename":"file0"},{"photo_id":"1399679265","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679269":["hashtag1","hashtag2"]},{"1399679254":["hashtag1","hashtag2"]},{"1399679251":["hashtag1","hashtag2"]},{"1399679265":["hashtag1","hashtag2"]},{"1399679256":["hashtag1","hashtag2"]},{"1399679309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679269, 1399679254, 1399679251, 1399679265, 1399679256, 1399679309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.251904010772705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:11:03.183813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:11:12.515647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:11:22.620585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/06/image_16122025_17_06_44_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/06/image_16122025_17_06_44_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399679437"],"photo_id":"1399679437","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d08a4ace49afa0556063d37f3f334836.jpg","text":"TemporaryFile(/tmp/multipartBody8432550753297223453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901543038,"filename":"image_16122025_17_06_44_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399679437"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399679437"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.463053703308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:11:42.476655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_46_3585.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_48_2642.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_52_3647.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_55_2766.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_58_2788.jpg', '/home/pi/Desktop/images/06112025/17/16/image_06112025_17_17_00_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_46_3585.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_48_2642.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_52_3647.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_55_2766.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_16_58_2788.jpg
/home/pi/Desktop/images/06112025/17/16/image_06112025_17_17_00_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399679470","1399679458","1399679471","1399679459","1399679444","1399679447"],"photo_ids_order":["1399679444","1399679447","1399679458","1399679459","1399679470","1399679471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c92d1ade0263e0e73fbae4dcbbdacce3.jpg","text":"TemporaryFile(/tmp/multipartBody97380578363205219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901563184,"filename":"image_06112025_17_16_58_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/16/215f070c85c7584550fea47d54cb2dbf.jpg","text":"TemporaryFile(/tmp/multipartBody426971900219296430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901563184,"filename":"image_06112025_17_16_52_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/16/c363dea083d71ab8cbafef314ebc1096.jpg","text":"TemporaryFile(/tmp/multipartBody5148886705086636567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901563184,"filename":"image_06112025_17_17_00_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/925ed07f05418c4e8542d8cbbc2651bd.jpg","text":"TemporaryFile(/tmp/multipartBody5686599973646900932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901563184,"filename":"image_06112025_17_16_55_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/16/f7a9f31ec2f45ff419a014a039af4a9d.jpg","text":"TemporaryFile(/tmp/multipartBody1811633100115814074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901563184,"filename":"image_06112025_17_16_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/16/6eef27af141551e5409f855c88906c02.jpg","text":"TemporaryFile(/tmp/multipartBody1832267070713203241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901563184,"filename":"image_06112025_17_16_48_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679458","file1":"1399679447","file0":"1399679444","file4":"1399679470","file5":"1399679471","file3":"1399679459"},"map_files_photo_id_array":[{"photo_id":"1399679471","filename":"file5"},{"photo_id":"1399679458","filename":"file2"},{"photo_id":"1399679470","filename":"file4"},{"photo_id":"1399679447","filename":"file1"},{"photo_id":"1399679444","filename":"file0"},{"photo_id":"1399679459","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679470":["hashtag1","hashtag2"]},{"1399679458":["hashtag1","hashtag2"]},{"1399679471":["hashtag1","hashtag2"]},{"1399679459":["hashtag1","hashtag2"]},{"1399679444":["hashtag1","hashtag2"]},{"1399679447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679470, 1399679458, 1399679471, 1399679459, 1399679444, 1399679447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80203199386597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:12:22.761832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_04_3618.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_06_2630.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_09_2741.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_13_3501.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_15_2584.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_19_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_04_3618.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_06_2630.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_09_2741.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_13_3501.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_15_2584.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_19_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399679503","1399679499","1399679532","1399679535","1399679495","1399679507"],"photo_ids_order":["1399679495","1399679499","1399679503","1399679507","1399679532","1399679535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0c0f8f01258e10b2c12fb9a2a10efb6.jpg","text":"TemporaryFile(/tmp/multipartBody4445156933871397013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901603520,"filename":"image_06112025_17_17_09_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/16/9dab139e38329dbbf0381fa961c0693f.jpg","text":"TemporaryFile(/tmp/multipartBody547475435655865204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901603520,"filename":"image_06112025_17_17_06_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/16/0b938e013fdac55e6fe8e67d55c16271.jpg","text":"TemporaryFile(/tmp/multipartBody3538241997222367997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901603520,"filename":"image_06112025_17_17_15_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/16/7d8fcf7fe8e7cf8e7b302c9d0ff2ccf7.jpg","text":"TemporaryFile(/tmp/multipartBody7929610477572682910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901603520,"filename":"image_06112025_17_17_19_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/16/9708d2265b5f9b6c98fd8c790264f329.jpg","text":"TemporaryFile(/tmp/multipartBody3572246162885945453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901603520,"filename":"image_06112025_17_17_04_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/16/8d36cb64910504dd2911628d34c4c016.jpg","text":"TemporaryFile(/tmp/multipartBody4552617500329613737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901603520,"filename":"image_06112025_17_17_13_3501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679503","file1":"1399679499","file0":"1399679495","file4":"1399679532","file5":"1399679535","file3":"1399679507"},"map_files_photo_id_array":[{"photo_id":"1399679535","filename":"file5"},{"photo_id":"1399679503","filename":"file2"},{"photo_id":"1399679532","filename":"file4"},{"photo_id":"1399679499","filename":"file1"},{"photo_id":"1399679495","filename":"file0"},{"photo_id":"1399679507","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679503":["hashtag1","hashtag2"]},{"1399679499":["hashtag1","hashtag2"]},{"1399679532":["hashtag1","hashtag2"]},{"1399679535":["hashtag1","hashtag2"]},{"1399679495":["hashtag1","hashtag2"]},{"1399679507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679503, 1399679499, 1399679532, 1399679535, 1399679495, 1399679507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.827057123184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:13:02.497525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:13:11.879720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:13:22.078403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/11/image_16122025_17_11_44_10645.jpg', '/home/pi/Desktop/images/16122025/17/12/image_16122025_17_13_04_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/11/image_16122025_17_11_44_10645.jpg
/home/pi/Desktop/images/16122025/17/12/image_16122025_17_13_04_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399679538","1399679570"],"photo_ids_order":["1399679538","1399679570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5595af05a4cea543d4b1ce84e5a1cccc.jpg","text":"TemporaryFile(/tmp/multipartBody5276857550032764999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901662539,"filename":"image_16122025_17_11_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/16/da42a7f2665c3d68073e90199208149f.jpg","text":"TemporaryFile(/tmp/multipartBody3963415476778675802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901662539,"filename":"image_16122025_17_13_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399679570","file0":"1399679538"},"map_files_photo_id_array":[{"photo_id":"1399679570","filename":"file1"},{"photo_id":"1399679538","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399679538":["hashtag1","hashtag2"]},{"1399679570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399679538, 1399679570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.865819692611694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:13:41.997465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_22_2612.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_24_2644.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_28_3678.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_30_2559.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_33_2662.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_37_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_22_2612.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_24_2644.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_28_3678.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_30_2559.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_33_2662.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_37_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":["1399679722","1399679719","1399679712","1399679715","1399679703","1399679717"],"photo_ids_order":["1399679703","1399679712","1399679715","1399679717","1399679719","1399679722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb2e7072711187b8c6f4a822c60aec26.jpg","text":"TemporaryFile(/tmp/multipartBody1083089887010234358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901682732,"filename":"image_06112025_17_17_37_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/16/7529a2e5b9e167e63aa35aa2b6dc0a09.jpg","text":"TemporaryFile(/tmp/multipartBody751601870138403773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901682732,"filename":"image_06112025_17_17_33_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/16/c6067a9ff6ccef78ce494c48ac324f2b.jpg","text":"TemporaryFile(/tmp/multipartBody7231061226080723800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901682732,"filename":"image_06112025_17_17_24_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/16/05daa13d458bdc3cb1809f485f356881.jpg","text":"TemporaryFile(/tmp/multipartBody1312731619688650657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901682732,"filename":"image_06112025_17_17_28_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/16/bc8fc36be0d6b57475b97315d43a136a.jpg","text":"TemporaryFile(/tmp/multipartBody615350526910834694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901682732,"filename":"image_06112025_17_17_22_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/16/d2ea87654cdb56d75be92595c3d53d6b.jpg","text":"TemporaryFile(/tmp/multipartBody409213707926085512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901682732,"filename":"image_06112025_17_17_30_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399679715","file1":"1399679712","file0":"1399679703","file4":"1399679719","file5":"1399679722","file3":"1399679717"},"map_files_photo_id_array":[{"photo_id":"1399679722","filename":"file5"},{"photo_id":"1399679715","filename":"file2"},{"photo_id":"1399679719","filename":"file4"},{"photo_id":"1399679712","filename":"file1"},{"photo_id":"1399679703","filename":"file0"},{"photo_id":"1399679717","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399679722":["hashtag1","hashtag2"]},{"1399679719":["hashtag1","hashtag2"]},{"1399679712":["hashtag1","hashtag2"]},{"1399679715":["hashtag1","hashtag2"]},{"1399679703":["hashtag1","hashtag2"]},{"1399679717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399679722, 1399679719, 1399679712, 1399679715, 1399679703, 1399679717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.204264879226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:14:22.275921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/13/image_16122025_17_13_13_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/13/image_16122025_17_13_13_9570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.312274694442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:14:32.342037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:14:42.261129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_39_2639.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_43_3546.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_46_2624.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_48_2635.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_52_3641.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_55_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_39_2639.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_43_3546.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_46_2624.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_48_2635.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_52_3641.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_55_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":["1399680020","1399680023","1399680019","1399680007","1399680024","1399680018"],"photo_ids_order":["1399680007","1399680018","1399680019","1399680020","1399680023","1399680024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af96e0d64dd0f1e7fe0ac4c82c4c4a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1811677148232818251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901743007,"filename":"image_06112025_17_17_48_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17d51862ef100b777c0c62cd33f96709.jpg","text":"TemporaryFile(/tmp/multipartBody7601377736258904024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901743007,"filename":"image_06112025_17_17_52_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/16/cb00f906f3da26517bc4a6e9f72948b8.jpg","text":"TemporaryFile(/tmp/multipartBody3373163782000485000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901743007,"filename":"image_06112025_17_17_46_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/acd8763758519ff3b6d51b12e563f89e.jpg","text":"TemporaryFile(/tmp/multipartBody8499057953190511797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901743007,"filename":"image_06112025_17_17_39_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/16/a0174919e556f53d41e5b62bed5f1de9.jpg","text":"TemporaryFile(/tmp/multipartBody2387313122009370091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901743007,"filename":"image_06112025_17_17_55_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/16/fd374f9eddb2aea71781945b7813769d.jpg","text":"TemporaryFile(/tmp/multipartBody3554931742891576084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901743007,"filename":"image_06112025_17_17_43_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399680019","file1":"1399680018","file0":"1399680007","file4":"1399680023","file5":"1399680024","file3":"1399680020"},"map_files_photo_id_array":[{"photo_id":"1399680024","filename":"file5"},{"photo_id":"1399680019","filename":"file2"},{"photo_id":"1399680023","filename":"file4"},{"photo_id":"1399680018","filename":"file1"},{"photo_id":"1399680007","filename":"file0"},{"photo_id":"1399680020","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399680020":["hashtag1","hashtag2"]},{"1399680023":["hashtag1","hashtag2"]},{"1399680019":["hashtag1","hashtag2"]},{"1399680007":["hashtag1","hashtag2"]},{"1399680024":["hashtag1","hashtag2"]},{"1399680018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399680020, 1399680023, 1399680019, 1399680007, 1399680024, 1399680018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06125259399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:15:22.568015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/13/image_16122025_17_13_13_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/13/image_16122025_17_13_13_9570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399680094"],"photo_id":"1399680094","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9622d6a40034e5c6d7f8060d4aea23ad.jpg","text":"TemporaryFile(/tmp/multipartBody5397302962581320274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901782980,"filename":"image_16122025_17_13_13_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399680094"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399680094"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.069943904876709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:15:42.586767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_57_2666.jpg', '/home/pi/Desktop/images/06112025/17/17/image_06112025_17_18_01_3570.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_03_2590.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_06_2854.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_09_2773.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_13_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_17_57_2666.jpg
/home/pi/Desktop/images/06112025/17/17/image_06112025_17_18_01_3570.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_03_2590.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_06_2854.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_09_2773.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_13_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":["1399680211","1399680214","1399680252","1399680261","1399680210","1399680207"],"photo_ids_order":["1399680207","1399680210","1399680211","1399680214","1399680252","1399680261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf7ef376d1f022f6209322fb4c3cbb90.jpg","text":"TemporaryFile(/tmp/multipartBody1239670099971894599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901803327,"filename":"image_06112025_17_18_03_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/16/d716de21a73af465228ead3c1e50f826.jpg","text":"TemporaryFile(/tmp/multipartBody6346586264731527527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901803327,"filename":"image_06112025_17_18_06_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/16/d8babbe4da5f5cfe505f462ef1174f38.jpg","text":"TemporaryFile(/tmp/multipartBody4778988087613190156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901803327,"filename":"image_06112025_17_18_09_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/16/20177376e35e3a7fa521177ed565af13.jpg","text":"TemporaryFile(/tmp/multipartBody5104912249602448285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901803327,"filename":"image_06112025_17_18_13_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/16/cd227fcd0f8452ee3b40db17db15d94d.jpg","text":"TemporaryFile(/tmp/multipartBody4106726072804455543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901803327,"filename":"image_06112025_17_18_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/16/5f99d4120debe522519c3ff5ca875200.jpg","text":"TemporaryFile(/tmp/multipartBody9045833127088060984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901803327,"filename":"image_06112025_17_17_57_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399680211","file1":"1399680210","file0":"1399680207","file4":"1399680252","file5":"1399680261","file3":"1399680214"},"map_files_photo_id_array":[{"photo_id":"1399680261","filename":"file5"},{"photo_id":"1399680211","filename":"file2"},{"photo_id":"1399680252","filename":"file4"},{"photo_id":"1399680210","filename":"file1"},{"photo_id":"1399680207","filename":"file0"},{"photo_id":"1399680214","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399680211":["hashtag1","hashtag2"]},{"1399680214":["hashtag1","hashtag2"]},{"1399680252":["hashtag1","hashtag2"]},{"1399680261":["hashtag1","hashtag2"]},{"1399680210":["hashtag1","hashtag2"]},{"1399680207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399680211, 1399680214, 1399680252, 1399680261, 1399680210, 1399680207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32728695869446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:16:21.927968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_15_2649.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_18_2703.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_22_3716.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_25_2708.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_27_2571.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_31_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_15_2649.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_18_2703.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_22_3716.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_25_2708.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_27_2571.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_31_3768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399680305","1399680297","1399680301","1399680312","1399680303","1399680299"],"photo_ids_order":["1399680297","1399680299","1399680301","1399680303","1399680305","1399680312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/55e21f481f1b24defd834b3192965242.jpg","text":"TemporaryFile(/tmp/multipartBody4946752765609126732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901842667,"filename":"image_06112025_17_18_27_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/850e8d6b4c1a8f4d8ca18d163d3c332c.jpg","text":"TemporaryFile(/tmp/multipartBody7060470337122604242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901842667,"filename":"image_06112025_17_18_15_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0467e9a08afcd326e2c3d820e79a2c57.jpg","text":"TemporaryFile(/tmp/multipartBody6875670292999709425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901842667,"filename":"image_06112025_17_18_22_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/16/3cec3278d41d3d724a45a7bd96e522d4.jpg","text":"TemporaryFile(/tmp/multipartBody9091870999785507664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901842667,"filename":"image_06112025_17_18_31_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/16/62c72afc234427cf19ba2f70cf83d1c3.jpg","text":"TemporaryFile(/tmp/multipartBody1317570857462242752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901842667,"filename":"image_06112025_17_18_25_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1fb1f43d062481830a82c3e5700bda6.jpg","text":"TemporaryFile(/tmp/multipartBody1574782813786810068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901842667,"filename":"image_06112025_17_18_18_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399680301","file1":"1399680299","file0":"1399680297","file4":"1399680305","file5":"1399680312","file3":"1399680303"},"map_files_photo_id_array":[{"photo_id":"1399680312","filename":"file5"},{"photo_id":"1399680301","filename":"file2"},{"photo_id":"1399680305","filename":"file4"},{"photo_id":"1399680299","filename":"file1"},{"photo_id":"1399680297","filename":"file0"},{"photo_id":"1399680303","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399680305":["hashtag1","hashtag2"]},{"1399680297":["hashtag1","hashtag2"]},{"1399680301":["hashtag1","hashtag2"]},{"1399680312":["hashtag1","hashtag2"]},{"1399680303":["hashtag1","hashtag2"]},{"1399680299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399680305, 1399680297, 1399680301, 1399680312, 1399680303, 1399680299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28504014015198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:17:02.798907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:17:11.997971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:17:22.112924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/14/image_16122025_17_14_14_9660.jpg', '/home/pi/Desktop/images/16122025/17/17/image_16122025_17_17_24_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/14/image_16122025_17_14_14_9660.jpg
/home/pi/Desktop/images/16122025/17/17/image_16122025_17_17_24_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399680403","1399680400"],"photo_ids_order":["1399680400","1399680403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9eda63f6b506165599df5f54b9835aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3902611873725118714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901902551,"filename":"image_16122025_17_17_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c230ec208dfa033621e6896021b1d04.jpg","text":"TemporaryFile(/tmp/multipartBody6819394844529684179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901902551,"filename":"image_16122025_17_14_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399680403","file0":"1399680400"},"map_files_photo_id_array":[{"photo_id":"1399680403","filename":"file1"},{"photo_id":"1399680400","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399680403":["hashtag1","hashtag2"]},{"1399680400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399680403, 1399680400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.001261472702026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:17:42.060034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_34_2739.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_36_2664.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_40_3630.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_43_2756.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_45_2584.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_48_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_34_2739.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_36_2664.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_40_3630.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_43_2756.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_45_2584.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_48_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399680419","1399680428","1399680427","1399680409","1399680430","1399680424"],"photo_ids_order":["1399680409","1399680419","1399680424","1399680427","1399680428","1399680430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2522c8b787fe9e744d8d61210d58909e.jpg","text":"TemporaryFile(/tmp/multipartBody3407100343465492490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901922764,"filename":"image_06112025_17_18_36_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fab0f02c1ad84e4bfa0ed114a467b355.jpg","text":"TemporaryFile(/tmp/multipartBody7415652315470121733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901922764,"filename":"image_06112025_17_18_45_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/16/4e9e6a1a1446aad280e72f61ccc816b7.jpg","text":"TemporaryFile(/tmp/multipartBody6505331611162318753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901922764,"filename":"image_06112025_17_18_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/16/5979e2df37b3625f51c06b5333885ed9.jpg","text":"TemporaryFile(/tmp/multipartBody2649808577820340476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901922764,"filename":"image_06112025_17_18_34_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/16/469b8684fe68dbf3d7813268cbf3502e.jpg","text":"TemporaryFile(/tmp/multipartBody6127886406301858337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901922764,"filename":"image_06112025_17_18_48_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/16/d4ea8b5c6df4a486c7bfd9c81617d610.jpg","text":"TemporaryFile(/tmp/multipartBody3863090266782424797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901922764,"filename":"image_06112025_17_18_40_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399680424","file1":"1399680419","file0":"1399680409","file4":"1399680428","file5":"1399680430","file3":"1399680427"},"map_files_photo_id_array":[{"photo_id":"1399680430","filename":"file5"},{"photo_id":"1399680424","filename":"file2"},{"photo_id":"1399680428","filename":"file4"},{"photo_id":"1399680419","filename":"file1"},{"photo_id":"1399680409","filename":"file0"},{"photo_id":"1399680427","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399680419":["hashtag1","hashtag2"]},{"1399680428":["hashtag1","hashtag2"]},{"1399680427":["hashtag1","hashtag2"]},{"1399680409":["hashtag1","hashtag2"]},{"1399680430":["hashtag1","hashtag2"]},{"1399680424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399680419, 1399680428, 1399680427, 1399680409, 1399680430, 1399680424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.546292781829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:18:22.317258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/17/image_16122025_17_17_34_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/17/image_16122025_17_17_34_9847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399680431"],"photo_id":"1399680431","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce6e3d213c17a11d64f542203cf161a3.jpg","text":"TemporaryFile(/tmp/multipartBody4238557560700380955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901962742,"filename":"image_16122025_17_17_34_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399680431"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399680431"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.847488164901733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:18:42.284717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_52_3618.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_54_2617.jpg', '/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_58_3653.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_01_2684.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_03_2692.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_07_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_52_3618.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_54_2617.jpg
/home/pi/Desktop/images/06112025/17/18/image_06112025_17_18_58_3653.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_01_2684.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_03_2692.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_07_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399680458","1399680454","1399680457","1399680450","1399680447","1399680449"],"photo_ids_order":["1399680447","1399680449","1399680450","1399680454","1399680457","1399680458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07d05cfc2741f6350b853878450a069c.jpg","text":"TemporaryFile(/tmp/multipartBody347311188800484534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901982988,"filename":"image_06112025_17_19_07_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/16/088a90d6295ba601d904887ec5cc6a44.jpg","text":"TemporaryFile(/tmp/multipartBody428644902151909756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901982988,"filename":"image_06112025_17_19_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/16/f4c72947b283cf3fa826d2588f0a4df3.jpg","text":"TemporaryFile(/tmp/multipartBody5535272862982767303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901982988,"filename":"image_06112025_17_19_03_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0eb7d787bac5620a36eb2e7ea01da494.jpg","text":"TemporaryFile(/tmp/multipartBody746812659044802058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901982988,"filename":"image_06112025_17_18_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/16/5e1e71cc2daf78dd7f2aa3fe588b4a03.jpg","text":"TemporaryFile(/tmp/multipartBody8799317608899367050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901982988,"filename":"image_06112025_17_18_52_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/16/a9d1aeb76042428500fae2166c2592cf.jpg","text":"TemporaryFile(/tmp/multipartBody4930338703961323683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765901982988,"filename":"image_06112025_17_18_54_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399680450","file1":"1399680449","file0":"1399680447","file4":"1399680457","file5":"1399680458","file3":"1399680454"},"map_files_photo_id_array":[{"photo_id":"1399680458","filename":"file5"},{"photo_id":"1399680450","filename":"file2"},{"photo_id":"1399680457","filename":"file4"},{"photo_id":"1399680449","filename":"file1"},{"photo_id":"1399680447","filename":"file0"},{"photo_id":"1399680454","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399680458":["hashtag1","hashtag2"]},{"1399680454":["hashtag1","hashtag2"]},{"1399680457":["hashtag1","hashtag2"]},{"1399680450":["hashtag1","hashtag2"]},{"1399680447":["hashtag1","hashtag2"]},{"1399680449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399680458, 1399680454, 1399680457, 1399680450, 1399680447, 1399680449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86547493934631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:19:22.580297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/18/image_16122025_17_18_54_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/18/image_16122025_17_18_54_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399680600"],"photo_id":"1399680600","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1588c36a8c81bd4b790ac4c383865c2f.jpg","text":"TemporaryFile(/tmp/multipartBody288344316138416096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902023003,"filename":"image_16122025_17_18_54_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399680600"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399680600"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.299070835113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:19:42.618442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_10_2665.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_12_2928.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_15_2599.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_19_3640.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_21_2712.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_24_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_10_2665.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_12_2928.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_15_2599.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_19_3640.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_21_2712.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_24_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":["1399680973","1399681080","1399680931","1399680878","1399681195","1399681148"],"photo_ids_order":["1399680878","1399680931","1399680973","1399681080","1399681148","1399681195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c2f7319484f1f17ceb6b0433043f409.jpg","text":"TemporaryFile(/tmp/multipartBody7737081937296367349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902043346,"filename":"image_06112025_17_19_15_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dae4a7ec6a79e0a46166cf2d0514b84b.jpg","text":"TemporaryFile(/tmp/multipartBody3354088026584257619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902043346,"filename":"image_06112025_17_19_19_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/16/6c04d330ab1e998acb8ff6ce2b76e814.jpg","text":"TemporaryFile(/tmp/multipartBody2584646676746882619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902043346,"filename":"image_06112025_17_19_12_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7a7bea41a81e9092acefe593713893d.jpg","text":"TemporaryFile(/tmp/multipartBody3706439660780383259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902043346,"filename":"image_06112025_17_19_10_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/16/90a57cecce1b6c96fb48c0bf0165d811.jpg","text":"TemporaryFile(/tmp/multipartBody4490083461304321579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902043346,"filename":"image_06112025_17_19_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/16/8ed2b22ef31fd939213a7f88821e24e3.jpg","text":"TemporaryFile(/tmp/multipartBody4622585731895500831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902043346,"filename":"image_06112025_17_19_21_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399680973","file1":"1399680931","file0":"1399680878","file4":"1399681148","file5":"1399681195","file3":"1399681080"},"map_files_photo_id_array":[{"photo_id":"1399681195","filename":"file5"},{"photo_id":"1399680973","filename":"file2"},{"photo_id":"1399681148","filename":"file4"},{"photo_id":"1399680931","filename":"file1"},{"photo_id":"1399680878","filename":"file0"},{"photo_id":"1399681080","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399680973":["hashtag1","hashtag2"]},{"1399681080":["hashtag1","hashtag2"]},{"1399680931":["hashtag1","hashtag2"]},{"1399680878":["hashtag1","hashtag2"]},{"1399681195":["hashtag1","hashtag2"]},{"1399681148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399680973, 1399681080, 1399680931, 1399680878, 1399681195, 1399681148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94963502883911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:20:21.843771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_28_3548.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_30_2774.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_33_2693.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_37_3662.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_39_2570.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_42_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_28_3548.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_30_2774.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_33_2693.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_37_3662.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_39_2570.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_42_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":["1399681351","1399681392","1399681464","1399681425","1399681481","1399681314"],"photo_ids_order":["1399681314","1399681351","1399681392","1399681425","1399681464","1399681481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78318cd42839b5e629d8d2dc3852be60.jpg","text":"TemporaryFile(/tmp/multipartBody2369715460695677732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902082531,"filename":"image_06112025_17_19_30_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/16/275a9566fc4c6f3c7fccf11bc59fb14f.jpg","text":"TemporaryFile(/tmp/multipartBody144819069904535895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902082531,"filename":"image_06112025_17_19_33_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0fbc45b04fa94498cdbef78b12b5783.jpg","text":"TemporaryFile(/tmp/multipartBody8663211609343453661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902082531,"filename":"image_06112025_17_19_39_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/16/f8583db2fc11317dbaa8d5ecfaa59a24.jpg","text":"TemporaryFile(/tmp/multipartBody2385639448805163553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902082531,"filename":"image_06112025_17_19_37_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/16/a28975c5f2159f7d55593fcc0a1e414f.jpg","text":"TemporaryFile(/tmp/multipartBody5802592862779305015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902082531,"filename":"image_06112025_17_19_42_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/16/af94fe0b316c5578ff8f5fc3634bc3f2.jpg","text":"TemporaryFile(/tmp/multipartBody8274089407547988574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902082531,"filename":"image_06112025_17_19_28_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681392","file1":"1399681351","file0":"1399681314","file4":"1399681464","file5":"1399681481","file3":"1399681425"},"map_files_photo_id_array":[{"photo_id":"1399681481","filename":"file5"},{"photo_id":"1399681392","filename":"file2"},{"photo_id":"1399681464","filename":"file4"},{"photo_id":"1399681351","filename":"file1"},{"photo_id":"1399681314","filename":"file0"},{"photo_id":"1399681425","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681351":["hashtag1","hashtag2"]},{"1399681392":["hashtag1","hashtag2"]},{"1399681464":["hashtag1","hashtag2"]},{"1399681425":["hashtag1","hashtag2"]},{"1399681481":["hashtag1","hashtag2"]},{"1399681314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681351, 1399681392, 1399681464, 1399681425, 1399681481, 1399681314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53569483757019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:21:02.849329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:21:12.094246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:21:22.169004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_46_3649.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_48_2640.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_51_2699.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_55_3594.jpg', '/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_57_2582.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_46_3649.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_48_2640.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_51_2699.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_55_3594.jpg
/home/pi/Desktop/images/06112025/17/19/image_06112025_17_19_57_2582.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_08_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399681619","1399681604","1399681657","1399681692","1399681608","1399681607"],"photo_ids_order":["1399681604","1399681607","1399681608","1399681619","1399681657","1399681692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/352542252a285f65d6ec078860f683c2.jpg","text":"TemporaryFile(/tmp/multipartBody1801337590882407005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902142885,"filename":"image_06112025_17_19_55_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/838dd63c249a8b6a34de419da39b3fab.jpg","text":"TemporaryFile(/tmp/multipartBody6143928851182837107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902142885,"filename":"image_06112025_17_19_46_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/16/4da0acb6d3331f31e1d9dd77fec12a05.jpg","text":"TemporaryFile(/tmp/multipartBody8760006128579761541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902142885,"filename":"image_06112025_17_19_57_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/16/f4f209cb6841caf8f35b0a848c5a7d81.jpg","text":"TemporaryFile(/tmp/multipartBody4353848395976702104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902142885,"filename":"image_06112025_17_20_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/16/eddf105a850942131e72c249daea3b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2884612381084219499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902142885,"filename":"image_06112025_17_19_51_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/16/54a9017b66f4cd7b0658bf4949efeaeb.jpg","text":"TemporaryFile(/tmp/multipartBody975945042843156056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902142885,"filename":"image_06112025_17_19_48_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681608","file1":"1399681607","file0":"1399681604","file4":"1399681657","file5":"1399681692","file3":"1399681619"},"map_files_photo_id_array":[{"photo_id":"1399681692","filename":"file5"},{"photo_id":"1399681608","filename":"file2"},{"photo_id":"1399681657","filename":"file4"},{"photo_id":"1399681607","filename":"file1"},{"photo_id":"1399681604","filename":"file0"},{"photo_id":"1399681619","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681619":["hashtag1","hashtag2"]},{"1399681604":["hashtag1","hashtag2"]},{"1399681657":["hashtag1","hashtag2"]},{"1399681692":["hashtag1","hashtag2"]},{"1399681608":["hashtag1","hashtag2"]},{"1399681607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681619, 1399681604, 1399681657, 1399681692, 1399681608, 1399681607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.739444971084595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:22:02.717612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:22:12.297749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:22:22.408471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/19/image_16122025_17_19_54_10560.jpg', '/home/pi/Desktop/images/16122025/17/22/image_16122025_17_22_33_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/19/image_16122025_17_19_54_10560.jpg
/home/pi/Desktop/images/16122025/17/22/image_16122025_17_22_33_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399681780","1399681819"],"photo_ids_order":["1399681780","1399681819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/894c5905cea9d53d37a85d6185204c43.jpg","text":"TemporaryFile(/tmp/multipartBody5347419059858836195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902202825,"filename":"image_16122025_17_19_54_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04274e41936656d196711b8d54e85c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8659270146216276014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902202825,"filename":"image_16122025_17_22_33_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399681819","file0":"1399681780"},"map_files_photo_id_array":[{"photo_id":"1399681819","filename":"file1"},{"photo_id":"1399681780","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399681780":["hashtag1","hashtag2"]},{"1399681819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399681780, 1399681819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.59432816505432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:22:42.289594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_12_3594.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_14_2638.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_18_3687.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_21_2833.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_23_2619.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_26_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_12_3594.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_14_2638.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_18_3687.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_21_2833.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_23_2619.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_26_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399681861","1399681863","1399681857","1399681853","1399681862","1399681856"],"photo_ids_order":["1399681853","1399681856","1399681857","1399681861","1399681862","1399681863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9ecb4c2639729c02cc12042251b77bd.jpg","text":"TemporaryFile(/tmp/multipartBody4151184854931898716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902222979,"filename":"image_06112025_17_20_21_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/16/4c01816fdfc9e6ffa9a34cc6ee4a929f.jpg","text":"TemporaryFile(/tmp/multipartBody4083447705416945889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902222979,"filename":"image_06112025_17_20_26_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/16/12f40432fa6838b47401abee2cae2b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7513959129050770590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902222979,"filename":"image_06112025_17_20_18_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/16/5f5d4817c5128895ebf55adf45aa9dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6899502483633009157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902222979,"filename":"image_06112025_17_20_12_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/16/0936e96b548d3e6d8669845b4912ec0c.jpg","text":"TemporaryFile(/tmp/multipartBody4068780188885230343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902222979,"filename":"image_06112025_17_20_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/16/e7f9b77ea387417748921d2fa05585f1.jpg","text":"TemporaryFile(/tmp/multipartBody6686193333487813332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902222979,"filename":"image_06112025_17_20_14_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681857","file1":"1399681856","file0":"1399681853","file4":"1399681862","file5":"1399681863","file3":"1399681861"},"map_files_photo_id_array":[{"photo_id":"1399681863","filename":"file5"},{"photo_id":"1399681857","filename":"file2"},{"photo_id":"1399681862","filename":"file4"},{"photo_id":"1399681856","filename":"file1"},{"photo_id":"1399681853","filename":"file0"},{"photo_id":"1399681861","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681861":["hashtag1","hashtag2"]},{"1399681863":["hashtag1","hashtag2"]},{"1399681857":["hashtag1","hashtag2"]},{"1399681853":["hashtag1","hashtag2"]},{"1399681862":["hashtag1","hashtag2"]},{"1399681856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681861, 1399681863, 1399681857, 1399681853, 1399681862, 1399681856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38974118232727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:23:22.632013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_30_3621.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_32_2646.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_35_2815.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_38_2934.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_44_2615.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_48_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_30_3621.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_32_2646.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_35_2815.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_38_2934.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_44_2615.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_48_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399681873","1399681876","1399681890","1399681878","1399681871","1399681868"],"photo_ids_order":["1399681868","1399681871","1399681873","1399681876","1399681878","1399681890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5fbf3bc8b116fb051214b221466cf815.jpg","text":"TemporaryFile(/tmp/multipartBody896542555270135901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902263349,"filename":"image_06112025_17_20_35_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/16/5c3fb70080e28a4d2baac3328606e1ae.jpg","text":"TemporaryFile(/tmp/multipartBody283111814676366826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902263349,"filename":"image_06112025_17_20_38_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34a5af54f40f314f4346ef4dbf8b5f65.jpg","text":"TemporaryFile(/tmp/multipartBody6203729045287742578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902263349,"filename":"image_06112025_17_20_48_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/16/2a36ae4eb2e6a51736e6989c0b6f27cb.jpg","text":"TemporaryFile(/tmp/multipartBody4911687474707391201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902263349,"filename":"image_06112025_17_20_44_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/16/250c0d4fe672300b5954e3ab5160024b.jpg","text":"TemporaryFile(/tmp/multipartBody6801123884539144351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902263349,"filename":"image_06112025_17_20_32_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/16/05b2c47f8e475bba7a4913c0fa34ee53.jpg","text":"TemporaryFile(/tmp/multipartBody9120555843527319655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902263349,"filename":"image_06112025_17_20_30_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681873","file1":"1399681871","file0":"1399681868","file4":"1399681878","file5":"1399681890","file3":"1399681876"},"map_files_photo_id_array":[{"photo_id":"1399681890","filename":"file5"},{"photo_id":"1399681873","filename":"file2"},{"photo_id":"1399681878","filename":"file4"},{"photo_id":"1399681871","filename":"file1"},{"photo_id":"1399681868","filename":"file0"},{"photo_id":"1399681876","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681873":["hashtag1","hashtag2"]},{"1399681876":["hashtag1","hashtag2"]},{"1399681890":["hashtag1","hashtag2"]},{"1399681878":["hashtag1","hashtag2"]},{"1399681871":["hashtag1","hashtag2"]},{"1399681868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681873, 1399681876, 1399681890, 1399681878, 1399681871, 1399681868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49182057380676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:24:03.300927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:24:12.825177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:24:22.909094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_50_2698.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_53_2549.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_57_3696.jpg', '/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_59_2669.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_02_2671.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_06_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_50_2698.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_53_2549.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_57_3696.jpg
/home/pi/Desktop/images/06112025/17/20/image_06112025_17_20_59_2669.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_02_2671.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_06_3637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399681901","1399681903","1399681898","1399681905","1399681904","1399681907"],"photo_ids_order":["1399681898","1399681901","1399681903","1399681904","1399681905","1399681907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/24f54dedc808da60506870f093cfed8d.jpg","text":"TemporaryFile(/tmp/multipartBody3755462645746083712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902323613,"filename":"image_06112025_17_20_53_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/16/55f4501a44bf8f40da0c4a79368b8021.jpg","text":"TemporaryFile(/tmp/multipartBody5429124714769486304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902323613,"filename":"image_06112025_17_20_57_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/16/58bdbd8a48d8bfd930ea547c836a94f0.jpg","text":"TemporaryFile(/tmp/multipartBody5400260793376296609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902323613,"filename":"image_06112025_17_20_50_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/16/8f796f9836d762f33016564586eb4c86.jpg","text":"TemporaryFile(/tmp/multipartBody6040852294239682769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902323613,"filename":"image_06112025_17_21_02_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/16/5dd31425439b046b2284ac14875c3f13.jpg","text":"TemporaryFile(/tmp/multipartBody8296359638401250917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902323613,"filename":"image_06112025_17_20_59_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/16/a64a7b8a8524a8da6ae4c5949d35b861.jpg","text":"TemporaryFile(/tmp/multipartBody7659760058583162677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902323613,"filename":"image_06112025_17_21_06_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681903","file1":"1399681901","file0":"1399681898","file4":"1399681905","file5":"1399681907","file3":"1399681904"},"map_files_photo_id_array":[{"photo_id":"1399681907","filename":"file5"},{"photo_id":"1399681903","filename":"file2"},{"photo_id":"1399681905","filename":"file4"},{"photo_id":"1399681901","filename":"file1"},{"photo_id":"1399681898","filename":"file0"},{"photo_id":"1399681904","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681901":["hashtag1","hashtag2"]},{"1399681903":["hashtag1","hashtag2"]},{"1399681898":["hashtag1","hashtag2"]},{"1399681905":["hashtag1","hashtag2"]},{"1399681904":["hashtag1","hashtag2"]},{"1399681907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681901, 1399681903, 1399681898, 1399681905, 1399681904, 1399681907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03864145278931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:25:02.529931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:25:12.000881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:25:21.972564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_09_2942.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_11_2615.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_15_3636.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_17_2693.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_20_2663.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_24_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_09_2942.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_11_2615.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_15_3636.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_17_2693.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_20_2663.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_24_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399681921","1399681930","1399681924","1399681934","1399681931","1399681928"],"photo_ids_order":["1399681921","1399681924","1399681928","1399681930","1399681931","1399681934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fa2df846ba9a6c1ff368c9060c7dde3.jpg","text":"TemporaryFile(/tmp/multipartBody3423920025380033048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902382665,"filename":"image_06112025_17_21_09_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9de6bd9baeb480c7efbf29eb9552777.jpg","text":"TemporaryFile(/tmp/multipartBody1281787881670509513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902382665,"filename":"image_06112025_17_21_17_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/16/e6facc2bd223c9bf780d3941cacbe215.jpg","text":"TemporaryFile(/tmp/multipartBody1825284177154416911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902382665,"filename":"image_06112025_17_21_11_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c06f373177556844ba2384b16f8fb80.jpg","text":"TemporaryFile(/tmp/multipartBody2510921895459376393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902382665,"filename":"image_06112025_17_21_24_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/16/d40ebe0c5a64b055a0fff8a89377d88e.jpg","text":"TemporaryFile(/tmp/multipartBody8425806721983904369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902382665,"filename":"image_06112025_17_21_20_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/16/5fc5182861d98d3f5f45ec030f82befb.jpg","text":"TemporaryFile(/tmp/multipartBody5202618345260442346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902382665,"filename":"image_06112025_17_21_15_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681928","file1":"1399681924","file0":"1399681921","file4":"1399681931","file5":"1399681934","file3":"1399681930"},"map_files_photo_id_array":[{"photo_id":"1399681934","filename":"file5"},{"photo_id":"1399681928","filename":"file2"},{"photo_id":"1399681931","filename":"file4"},{"photo_id":"1399681924","filename":"file1"},{"photo_id":"1399681921","filename":"file0"},{"photo_id":"1399681930","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681921":["hashtag1","hashtag2"]},{"1399681930":["hashtag1","hashtag2"]},{"1399681924":["hashtag1","hashtag2"]},{"1399681934":["hashtag1","hashtag2"]},{"1399681931":["hashtag1","hashtag2"]},{"1399681928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681921, 1399681930, 1399681924, 1399681934, 1399681931, 1399681928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.919440507888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:26:02.742113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:26:12.196068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:26:22.379192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_27_2919.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_29_2552.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_32_2609.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_35_3644.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_38_2748.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_41_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_27_2919.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_29_2552.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_32_2609.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_35_3644.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_38_2748.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_41_2698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6486160755157471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:26:32.354692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:26:42.280945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_27_2919.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_29_2552.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_32_2609.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_35_3644.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_38_2748.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_41_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_27_2919.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_29_2552.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_32_2609.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_35_3644.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_38_2748.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_41_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":["1399681978","1399681980","1399681977","1399681979","1399681982","1399681964"],"photo_ids_order":["1399681964","1399681977","1399681978","1399681979","1399681980","1399681982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd8dfe9018a7f24b28de871888c5861a.jpg","text":"TemporaryFile(/tmp/multipartBody8892116495050582233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902462920,"filename":"image_06112025_17_21_32_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/16/64b9c15ec4f9d25290d293a9070be356.jpg","text":"TemporaryFile(/tmp/multipartBody4965879800951966243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902462920,"filename":"image_06112025_17_21_38_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/16/dc1b70245fe0f1c3d5226dd169618790.jpg","text":"TemporaryFile(/tmp/multipartBody1063333463042319475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902462920,"filename":"image_06112025_17_21_29_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/16/92e40393865df1f86a9efdd4df907101.jpg","text":"TemporaryFile(/tmp/multipartBody7573158052751311089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902462920,"filename":"image_06112025_17_21_35_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/16/c2fe51404b9d634c624d711ac43c2186.jpg","text":"TemporaryFile(/tmp/multipartBody8315903723201201876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902462920,"filename":"image_06112025_17_21_41_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/16/877716d6f5c297082326ecdde4ae0f61.jpg","text":"TemporaryFile(/tmp/multipartBody2264855243988606704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902462920,"filename":"image_06112025_17_21_27_2919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681978","file1":"1399681977","file0":"1399681964","file4":"1399681980","file5":"1399681982","file3":"1399681979"},"map_files_photo_id_array":[{"photo_id":"1399681982","filename":"file5"},{"photo_id":"1399681978","filename":"file2"},{"photo_id":"1399681980","filename":"file4"},{"photo_id":"1399681977","filename":"file1"},{"photo_id":"1399681964","filename":"file0"},{"photo_id":"1399681979","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681978":["hashtag1","hashtag2"]},{"1399681980":["hashtag1","hashtag2"]},{"1399681977":["hashtag1","hashtag2"]},{"1399681979":["hashtag1","hashtag2"]},{"1399681982":["hashtag1","hashtag2"]},{"1399681964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681978, 1399681980, 1399681977, 1399681979, 1399681982, 1399681964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80467200279236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:27:22.624067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_45_3584.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_47_2620.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_51_3530.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_53_2668.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_56_2749.jpg', '/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_59_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_45_3584.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_47_2620.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_51_3530.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_53_2668.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_56_2749.jpg
/home/pi/Desktop/images/06112025/17/21/image_06112025_17_21_59_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399681987","1399681992","1399681995","1399681989","1399681998","1399681996"],"photo_ids_order":["1399681987","1399681989","1399681992","1399681995","1399681996","1399681998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91c669e73ea3c97b99e9fc7ec5915470.jpg","text":"TemporaryFile(/tmp/multipartBody5306721303204866086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902503364,"filename":"image_06112025_17_21_45_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/16/2363f370ecc4c50a436b944e55a22487.jpg","text":"TemporaryFile(/tmp/multipartBody6400628041665107544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902503364,"filename":"image_06112025_17_21_51_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/16/2eec671bd6ba0220861e02b5476a12c8.jpg","text":"TemporaryFile(/tmp/multipartBody5405669877990553693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902503364,"filename":"image_06112025_17_21_53_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/16/7936a794f31b1f22d76afc79b7d8068a.jpg","text":"TemporaryFile(/tmp/multipartBody3657043157334251505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902503364,"filename":"image_06112025_17_21_47_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/16/aec0e752b72199363666c4a051ccae2e.jpg","text":"TemporaryFile(/tmp/multipartBody2175569371816767417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902503364,"filename":"image_06112025_17_21_59_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/16/815fc40af1cff785f794180c9bded4c6.jpg","text":"TemporaryFile(/tmp/multipartBody7179244495833996598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902503364,"filename":"image_06112025_17_21_56_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399681992","file1":"1399681989","file0":"1399681987","file4":"1399681996","file5":"1399681998","file3":"1399681995"},"map_files_photo_id_array":[{"photo_id":"1399681998","filename":"file5"},{"photo_id":"1399681992","filename":"file2"},{"photo_id":"1399681996","filename":"file4"},{"photo_id":"1399681989","filename":"file1"},{"photo_id":"1399681987","filename":"file0"},{"photo_id":"1399681995","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399681987":["hashtag1","hashtag2"]},{"1399681992":["hashtag1","hashtag2"]},{"1399681995":["hashtag1","hashtag2"]},{"1399681989":["hashtag1","hashtag2"]},{"1399681998":["hashtag1","hashtag2"]},{"1399681996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399681987, 1399681992, 1399681995, 1399681989, 1399681998, 1399681996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93762803077698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:28:02.298914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:28:11.872657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:28:21.891354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_05_2719.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_12_3731.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_14_2607.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_17_2835.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_21_3524.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_35_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_05_2719.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_12_3731.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_14_2607.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_17_2835.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_21_3524.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_35_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682014","1399682017","1399682005","1399682010","1399682007","1399682021"],"photo_ids_order":["1399682005","1399682007","1399682010","1399682014","1399682017","1399682021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ed71177970f070fe22231a97560234df.jpg","text":"TemporaryFile(/tmp/multipartBody308181242958078710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902562601,"filename":"image_06112025_17_22_17_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/16/9e4f799cfde352261f12bce52e2a4242.jpg","text":"TemporaryFile(/tmp/multipartBody7181710418903615148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902562601,"filename":"image_06112025_17_22_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/16/0c6d0fbdbc24784da0ca8dae90c3a2fd.jpg","text":"TemporaryFile(/tmp/multipartBody3816513795474691759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902562601,"filename":"image_06112025_17_22_05_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/16/360bea8cf5bdb3cc8b11db062ef523e3.jpg","text":"TemporaryFile(/tmp/multipartBody4123167231731493331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902562601,"filename":"image_06112025_17_22_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/16/5b4ba13fee8154aa3e4da8a33129cd97.jpg","text":"TemporaryFile(/tmp/multipartBody2139353225727708984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902562601,"filename":"image_06112025_17_22_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/16/4e46d4b2b6ce8af6579309587017b710.jpg","text":"TemporaryFile(/tmp/multipartBody721450262874868922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902562601,"filename":"image_06112025_17_22_35_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682010","file1":"1399682007","file0":"1399682005","file4":"1399682017","file5":"1399682021","file3":"1399682014"},"map_files_photo_id_array":[{"photo_id":"1399682021","filename":"file5"},{"photo_id":"1399682010","filename":"file2"},{"photo_id":"1399682017","filename":"file4"},{"photo_id":"1399682007","filename":"file1"},{"photo_id":"1399682005","filename":"file0"},{"photo_id":"1399682014","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682014":["hashtag1","hashtag2"]},{"1399682017":["hashtag1","hashtag2"]},{"1399682005":["hashtag1","hashtag2"]},{"1399682010":["hashtag1","hashtag2"]},{"1399682007":["hashtag1","hashtag2"]},{"1399682021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682014, 1399682017, 1399682005, 1399682010, 1399682007, 1399682021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1144061088562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:29:02.786146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:29:12.217391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:29:22.305849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/22/image_16122025_17_22_43_9590.jpg', '/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_24_9801.jpg', '/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_34_9755.jpg', '/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_45_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/22/image_16122025_17_22_43_9590.jpg
/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_24_9801.jpg
/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_34_9755.jpg
/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_45_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682047","1399682040","1399682042","1399682044"],"photo_ids_order":["1399682040","1399682042","1399682044","1399682047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb07d85985321742bcd658e615e45865.jpg","text":"TemporaryFile(/tmp/multipartBody1989720559040316739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902622835,"filename":"image_16122025_17_29_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/16/08b1c997780b47400d5598023dba8a86.jpg","text":"TemporaryFile(/tmp/multipartBody3267968430672942539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902622835,"filename":"image_16122025_17_22_43_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/16/daf653a0b06a1d76d9d0280a8794584f.jpg","text":"TemporaryFile(/tmp/multipartBody5788289920213681669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902622835,"filename":"image_16122025_17_29_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/16/f3107291df13ca65b4a6214d4aff09b9.jpg","text":"TemporaryFile(/tmp/multipartBody7213531927744695737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902622835,"filename":"image_16122025_17_29_34_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682044","file1":"1399682042","file0":"1399682040","file3":"1399682047"},"map_files_photo_id_array":[{"photo_id":"1399682044","filename":"file2"},{"photo_id":"1399682042","filename":"file1"},{"photo_id":"1399682040","filename":"file0"},{"photo_id":"1399682047","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399682047":["hashtag1","hashtag2"]},{"1399682040":["hashtag1","hashtag2"]},{"1399682042":["hashtag1","hashtag2"]},{"1399682044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399682047, 1399682040, 1399682042, 1399682044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.874091625213623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:30:02.761447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:30:12.346623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:30:22.310830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_38_2638.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_41_3610.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_44_2667.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_47_2584.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_50_3641.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_53_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_38_2638.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_41_3610.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_44_2667.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_47_2584.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_50_3641.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_53_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":["1399682068","1399682085","1399682064","1399682072","1399682066","1399682069"],"photo_ids_order":["1399682064","1399682066","1399682068","1399682069","1399682072","1399682085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf97eb7144434b7ad6f74fde69d2680d.jpg","text":"TemporaryFile(/tmp/multipartBody2094226577754407874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902685893,"filename":"image_06112025_17_22_44_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/16/6883793787e69ad1429346f08622b984.jpg","text":"TemporaryFile(/tmp/multipartBody563193356579883423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902685893,"filename":"image_06112025_17_22_53_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/16/35c70b94d148631103d9a861a6b8548e.jpg","text":"TemporaryFile(/tmp/multipartBody4655903478753899084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902685893,"filename":"image_06112025_17_22_38_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/16/9e34788e6d544ffec28d10b76a95a887.jpg","text":"TemporaryFile(/tmp/multipartBody758399750516590754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902685893,"filename":"image_06112025_17_22_50_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/16/ce5a9f06bb4a8b4186235c1e62bb7bac.jpg","text":"TemporaryFile(/tmp/multipartBody950754753500544372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902685893,"filename":"image_06112025_17_22_41_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/16/c30dc328f7bc2037b30a86603a263451.jpg","text":"TemporaryFile(/tmp/multipartBody1037250543860456699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902685893,"filename":"image_06112025_17_22_47_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682068","file1":"1399682066","file0":"1399682064","file4":"1399682072","file5":"1399682085","file3":"1399682069"},"map_files_photo_id_array":[{"photo_id":"1399682085","filename":"file5"},{"photo_id":"1399682068","filename":"file2"},{"photo_id":"1399682072","filename":"file4"},{"photo_id":"1399682066","filename":"file1"},{"photo_id":"1399682064","filename":"file0"},{"photo_id":"1399682069","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682068":["hashtag1","hashtag2"]},{"1399682085":["hashtag1","hashtag2"]},{"1399682064":["hashtag1","hashtag2"]},{"1399682072":["hashtag1","hashtag2"]},{"1399682066":["hashtag1","hashtag2"]},{"1399682069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682068, 1399682085, 1399682064, 1399682072, 1399682066, 1399682069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.088266134262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:31:12.585126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:31:22.651391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_54_9610.jpg', '/home/pi/Desktop/images/16122025/17/31/image_16122025_17_31_14_10038.jpg', '/home/pi/Desktop/images/16122025/17/31/image_16122025_17_31_25_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/29/image_16122025_17_29_54_9610.jpg
/home/pi/Desktop/images/16122025/17/31/image_16122025_17_31_14_10038.jpg
/home/pi/Desktop/images/16122025/17/31/image_16122025_17_31_25_10797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682091","1399682089","1399682092"],"photo_ids_order":["1399682089","1399682091","1399682092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e3fdb0deaf96a65d6385b7b1ddb6ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3845080836895036845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902743115,"filename":"image_16122025_17_31_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/16/df9346cd2597e9c960f24adaa2d81af1.jpg","text":"TemporaryFile(/tmp/multipartBody4964595165028496445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902743115,"filename":"image_16122025_17_29_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/16/29c5356939011612b4f09ec6679b9470.jpg","text":"TemporaryFile(/tmp/multipartBody3772574243138593660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902743115,"filename":"image_16122025_17_31_25_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682092","file1":"1399682091","file0":"1399682089"},"map_files_photo_id_array":[{"photo_id":"1399682092","filename":"file2"},{"photo_id":"1399682091","filename":"file1"},{"photo_id":"1399682089","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399682091":["hashtag1","hashtag2"]},{"1399682089":["hashtag1","hashtag2"]},{"1399682092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399682091, 1399682089, 1399682092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.118192434310913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:32:02.225832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:32:11.839636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:32:21.916514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/31/image_16122025_17_31_44_9513.jpg', '/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_14_9590.jpg', '/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_25_10654.jpg', '/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_34_9614.jpg', '/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/31/image_16122025_17_31_44_9513.jpg
/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_14_9590.jpg
/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_25_10654.jpg
/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_34_9614.jpg
/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682125","1399682122","1399682110","1399682129","1399682095"],"photo_ids_order":["1399682095","1399682110","1399682122","1399682125","1399682129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f6b25255e6dcd443531311df9c41b1e.jpg","text":"TemporaryFile(/tmp/multipartBody3110446428857343003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902802464,"filename":"image_16122025_17_32_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/16/c2e00aaf85b53f030ea39ff499fe828f.jpg","text":"TemporaryFile(/tmp/multipartBody527619816047947751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902802464,"filename":"image_16122025_17_32_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b69b5c5842700079ca24fdc8ce5e51a0.jpg","text":"TemporaryFile(/tmp/multipartBody1099037711348968941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902802464,"filename":"image_16122025_17_32_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/16/7705b294e202d69b0c6a77d8dcabd9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5785982875713646234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902802464,"filename":"image_16122025_17_32_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/16/643bb066d2046713e7f811a7ff35191b.jpg","text":"TemporaryFile(/tmp/multipartBody4943617873666111710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902802464,"filename":"image_16122025_17_31_44_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682122","file1":"1399682110","file0":"1399682095","file4":"1399682129","file3":"1399682125"},"map_files_photo_id_array":[{"photo_id":"1399682122","filename":"file2"},{"photo_id":"1399682129","filename":"file4"},{"photo_id":"1399682110","filename":"file1"},{"photo_id":"1399682095","filename":"file0"},{"photo_id":"1399682125","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399682125":["hashtag1","hashtag2"]},{"1399682122":["hashtag1","hashtag2"]},{"1399682110":["hashtag1","hashtag2"]},{"1399682129":["hashtag1","hashtag2"]},{"1399682095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399682125, 1399682122, 1399682110, 1399682129, 1399682095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.766764402389526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:33:02.627290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:33:12.002368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:33:22.130449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_54_10656.jpg', '/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_14_9770.jpg', '/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_25_10876.jpg', '/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_44_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/32/image_16122025_17_32_54_10656.jpg
/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_14_9770.jpg
/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_25_10876.jpg
/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_44_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":["1399682299","1399682225","1399682263","1399682185"],"photo_ids_order":["1399682185","1399682225","1399682263","1399682299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac7dc71a6eddd47ba4bada01c7857726.jpg","text":"TemporaryFile(/tmp/multipartBody2211526118886093404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902862628,"filename":"image_16122025_17_33_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/16/0925ce11bf77f4ddd5e93faa4cd70c66.jpg","text":"TemporaryFile(/tmp/multipartBody3008266977645367522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902862628,"filename":"image_16122025_17_33_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/16/53945fd933a21cc487128f691c3c5a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2875969267219956677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902862628,"filename":"image_16122025_17_33_25_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd391d7fb13097454062bafa8c111b26.jpg","text":"TemporaryFile(/tmp/multipartBody7091563336420119047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902862628,"filename":"image_16122025_17_32_54_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682263","file1":"1399682225","file0":"1399682185","file3":"1399682299"},"map_files_photo_id_array":[{"photo_id":"1399682263","filename":"file2"},{"photo_id":"1399682225","filename":"file1"},{"photo_id":"1399682185","filename":"file0"},{"photo_id":"1399682299","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399682299":["hashtag1","hashtag2"]},{"1399682225":["hashtag1","hashtag2"]},{"1399682263":["hashtag1","hashtag2"]},{"1399682185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399682299, 1399682225, 1399682263, 1399682185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.711641788482666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:34:02.994791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:34:12.453473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:34:22.471007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_54_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/33/image_16122025_17_33_54_9749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682367"],"photo_id":"1399682367","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbc8364814e8957a968c5b596764cc39.jpg","text":"TemporaryFile(/tmp/multipartBody6224971680371940118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902922881,"filename":"image_16122025_17_33_54_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399682367"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399682367"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.510071039199829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:34:42.422050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_56_2805.jpg', '/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_59_3667.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_14_3358.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_23_2609.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_26_2848.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_29_3192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_56_2805.jpg
/home/pi/Desktop/images/06112025/17/22/image_06112025_17_22_59_3667.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_14_3358.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_23_2609.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_26_2848.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_29_3192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682443","1399682446","1399682442","1399682444","1399682441","1399682440"],"photo_ids_order":["1399682440","1399682441","1399682442","1399682443","1399682444","1399682446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a5a9765cedbf782743e4d1b084daaef6.jpg","text":"TemporaryFile(/tmp/multipartBody7016535058317265903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902943096,"filename":"image_06112025_17_23_23_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04b1406ea578e908883037febcdcac0c.jpg","text":"TemporaryFile(/tmp/multipartBody6432779358344327022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902943096,"filename":"image_06112025_17_23_29_3192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b1b99d3b99773fcaacca09cf55285e9.jpg","text":"TemporaryFile(/tmp/multipartBody8372388778927127249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902943096,"filename":"image_06112025_17_23_14_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/16/75b4d4d059f16964a923ca70028237d5.jpg","text":"TemporaryFile(/tmp/multipartBody4379397347531212180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902943096,"filename":"image_06112025_17_23_26_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/16/7a25d9540fa15dd1131e7ba3f4ebcb5c.jpg","text":"TemporaryFile(/tmp/multipartBody3884526076237293018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902943096,"filename":"image_06112025_17_22_59_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/557a5f126e2c12b75c77abc5c7b36ae4.jpg","text":"TemporaryFile(/tmp/multipartBody930021091604079667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902943096,"filename":"image_06112025_17_22_56_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682442","file1":"1399682441","file0":"1399682440","file4":"1399682444","file5":"1399682446","file3":"1399682443"},"map_files_photo_id_array":[{"photo_id":"1399682446","filename":"file5"},{"photo_id":"1399682442","filename":"file2"},{"photo_id":"1399682444","filename":"file4"},{"photo_id":"1399682441","filename":"file1"},{"photo_id":"1399682440","filename":"file0"},{"photo_id":"1399682443","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682443":["hashtag1","hashtag2"]},{"1399682446":["hashtag1","hashtag2"]},{"1399682442":["hashtag1","hashtag2"]},{"1399682444":["hashtag1","hashtag2"]},{"1399682441":["hashtag1","hashtag2"]},{"1399682440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682443, 1399682446, 1399682442, 1399682444, 1399682441, 1399682440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.446128606796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:35:22.684260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_32_2983.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_35_2933.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_38_2908.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_42_3673.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_47_2892.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_50_3389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_32_2983.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_35_2933.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_38_2908.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_42_3673.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_47_2892.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_50_3389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682451","1399682448","1399682457","1399682459","1399682455","1399682449"],"photo_ids_order":["1399682448","1399682449","1399682451","1399682455","1399682457","1399682459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b59b181170610bec50114eea5790e63d.jpg","text":"TemporaryFile(/tmp/multipartBody1928408365049041316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902983358,"filename":"image_06112025_17_23_38_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b76a33a6b2985fe2e07af0ce25529508.jpg","text":"TemporaryFile(/tmp/multipartBody8363528643671697386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902983358,"filename":"image_06112025_17_23_32_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/16/a81ea9f24e40fe23726a3f54da1137f9.jpg","text":"TemporaryFile(/tmp/multipartBody4581535012919291739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902983358,"filename":"image_06112025_17_23_47_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7811b6003e4e62cc5f39cee809c8483b.jpg","text":"TemporaryFile(/tmp/multipartBody2407273902626431742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902983358,"filename":"image_06112025_17_23_50_3389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cfb0ec25df8ed6bfc24d33c700b76f7.jpg","text":"TemporaryFile(/tmp/multipartBody1448135622153646867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902983358,"filename":"image_06112025_17_23_42_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/16/623b8b60f239d453498d5d1a3c79908b.jpg","text":"TemporaryFile(/tmp/multipartBody3268831121095758930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765902983358,"filename":"image_06112025_17_23_35_2933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682451","file1":"1399682449","file0":"1399682448","file4":"1399682457","file5":"1399682459","file3":"1399682455"},"map_files_photo_id_array":[{"photo_id":"1399682459","filename":"file5"},{"photo_id":"1399682451","filename":"file2"},{"photo_id":"1399682457","filename":"file4"},{"photo_id":"1399682449","filename":"file1"},{"photo_id":"1399682448","filename":"file0"},{"photo_id":"1399682455","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682451":["hashtag1","hashtag2"]},{"1399682448":["hashtag1","hashtag2"]},{"1399682457":["hashtag1","hashtag2"]},{"1399682459":["hashtag1","hashtag2"]},{"1399682455":["hashtag1","hashtag2"]},{"1399682449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682451, 1399682448, 1399682457, 1399682459, 1399682455, 1399682449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77710771560669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:36:02.394904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:36:11.928683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:36:22.015695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_53_2654.jpg', '/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_56_2428.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_02_2925.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_05_2909.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_08_2898.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_15_7447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_53_2654.jpg
/home/pi/Desktop/images/06112025/17/23/image_06112025_17_23_56_2428.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_02_2925.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_05_2909.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_08_2898.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_15_7447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682496","1399682490","1399682493","1399682492","1399682494","1399682488"],"photo_ids_order":["1399682488","1399682490","1399682492","1399682493","1399682494","1399682496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa3b43991e60554642da491eecddbf8a.jpg","text":"TemporaryFile(/tmp/multipartBody6719085112132694907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903042690,"filename":"image_06112025_17_24_15_7447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3b57bbf6b4bc4d205c6a09c93ec0ed10.jpg","text":"TemporaryFile(/tmp/multipartBody585366205203927759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903042690,"filename":"image_06112025_17_23_56_2428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/780013bb2968d3e4489be788651a057d.jpg","text":"TemporaryFile(/tmp/multipartBody843535591193779233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903042690,"filename":"image_06112025_17_24_05_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb41aad0f360146b2b57582a5783d8d3.jpg","text":"TemporaryFile(/tmp/multipartBody2511879302921301561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903042690,"filename":"image_06112025_17_24_02_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/28375eeae18cfa0a305597aec40381c3.jpg","text":"TemporaryFile(/tmp/multipartBody3780506572121760791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903042690,"filename":"image_06112025_17_24_08_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72389402969c0ab3840351e6bc0c792f.jpg","text":"TemporaryFile(/tmp/multipartBody5778931606369031241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903042690,"filename":"image_06112025_17_23_53_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682492","file1":"1399682490","file0":"1399682488","file4":"1399682494","file5":"1399682496","file3":"1399682493"},"map_files_photo_id_array":[{"photo_id":"1399682496","filename":"file5"},{"photo_id":"1399682492","filename":"file2"},{"photo_id":"1399682494","filename":"file4"},{"photo_id":"1399682490","filename":"file1"},{"photo_id":"1399682488","filename":"file0"},{"photo_id":"1399682493","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682496":["hashtag1","hashtag2"]},{"1399682490":["hashtag1","hashtag2"]},{"1399682493":["hashtag1","hashtag2"]},{"1399682492":["hashtag1","hashtag2"]},{"1399682494":["hashtag1","hashtag2"]},{"1399682488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682496, 1399682490, 1399682493, 1399682492, 1399682494, 1399682488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25636601448059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:37:03.018279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:37:12.214939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:37:22.286007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/33/image_16122025_17_34_05_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/33/image_16122025_17_34_05_10715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682575"],"photo_id":"1399682575","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30ab545dd5e2e69e5537b02f26919ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8059050357545277927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903102697,"filename":"image_16122025_17_34_05_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399682575"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399682575"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.523269414901733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:37:42.224205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_18_2498.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_19_1602.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_21_1692.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_26_3195.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_29_2853.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_32_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_18_2498.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_19_1602.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_21_1692.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_26_3195.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_29_2853.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_32_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682617","1399682580","1399682598","1399682583","1399682582","1399682584"],"photo_ids_order":["1399682580","1399682582","1399682583","1399682584","1399682598","1399682617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c4612b2091587b63cae68dc7cd8133ed.jpg","text":"TemporaryFile(/tmp/multipartBody7613725441224408230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903122860,"filename":"image_06112025_17_24_32_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/16/9fddb82d2af9d46a4ecff55cc2dc13f6.jpg","text":"TemporaryFile(/tmp/multipartBody3069956510583323916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903122860,"filename":"image_06112025_17_24_18_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/16/2d6aefed48059b960809ee5f959210b3.jpg","text":"TemporaryFile(/tmp/multipartBody2737742832716326957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903122860,"filename":"image_06112025_17_24_29_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da3bebb6404be6566bb67554cf88ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody4854268836086860115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903122860,"filename":"image_06112025_17_24_21_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/16/65b9a447a3e0dbbe725737bdbf93ce3c.jpg","text":"TemporaryFile(/tmp/multipartBody5639946465073312255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903122860,"filename":"image_06112025_17_24_19_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/16/f9d2f9c6c47199966855676ca0d693fe.jpg","text":"TemporaryFile(/tmp/multipartBody5593671005079490174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903122860,"filename":"image_06112025_17_24_26_3195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682583","file1":"1399682582","file0":"1399682580","file4":"1399682598","file5":"1399682617","file3":"1399682584"},"map_files_photo_id_array":[{"photo_id":"1399682617","filename":"file5"},{"photo_id":"1399682583","filename":"file2"},{"photo_id":"1399682598","filename":"file4"},{"photo_id":"1399682582","filename":"file1"},{"photo_id":"1399682580","filename":"file0"},{"photo_id":"1399682584","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682617":["hashtag1","hashtag2"]},{"1399682580":["hashtag1","hashtag2"]},{"1399682598":["hashtag1","hashtag2"]},{"1399682583":["hashtag1","hashtag2"]},{"1399682582":["hashtag1","hashtag2"]},{"1399682584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682617, 1399682580, 1399682598, 1399682583, 1399682582, 1399682584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46246075630188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:38:22.539702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_38_3392.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_43_4410.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_53_2657.jpg', '/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_56_2661.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_10_3603.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_16_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_38_3392.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_43_4410.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_53_2657.jpg
/home/pi/Desktop/images/06112025/17/24/image_06112025_17_24_56_2661.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_10_3603.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_16_3551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682635","1399682629","1399682631","1399682625","1399682624","1399682632"],"photo_ids_order":["1399682624","1399682625","1399682629","1399682631","1399682632","1399682635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11b5d4bd7d36964fa2c48bb49b202dff.jpg","text":"TemporaryFile(/tmp/multipartBody2133179105813576362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903163210,"filename":"image_06112025_17_25_16_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/16/973a0a4cdd8be96d04ccaef614d26d57.jpg","text":"TemporaryFile(/tmp/multipartBody7311468010382823610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903163210,"filename":"image_06112025_17_24_53_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae644f46dfa31e926bfe4ade9ea09d03.jpg","text":"TemporaryFile(/tmp/multipartBody8119488710054053887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903163210,"filename":"image_06112025_17_24_56_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c06bc8dfc60ba1c1231ce03750ef5b78.jpg","text":"TemporaryFile(/tmp/multipartBody2203993723122396590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903163210,"filename":"image_06112025_17_24_43_4410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d523ef421f742f3e7221600e4817fb53.jpg","text":"TemporaryFile(/tmp/multipartBody7816234614082983454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903163210,"filename":"image_06112025_17_24_38_3392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60b776b1ecd128635ae14fa7e079ac86.jpg","text":"TemporaryFile(/tmp/multipartBody114667063341770897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903163210,"filename":"image_06112025_17_25_10_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682629","file1":"1399682625","file0":"1399682624","file4":"1399682632","file5":"1399682635","file3":"1399682631"},"map_files_photo_id_array":[{"photo_id":"1399682635","filename":"file5"},{"photo_id":"1399682629","filename":"file2"},{"photo_id":"1399682632","filename":"file4"},{"photo_id":"1399682625","filename":"file1"},{"photo_id":"1399682624","filename":"file0"},{"photo_id":"1399682631","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682635":["hashtag1","hashtag2"]},{"1399682629":["hashtag1","hashtag2"]},{"1399682631":["hashtag1","hashtag2"]},{"1399682625":["hashtag1","hashtag2"]},{"1399682624":["hashtag1","hashtag2"]},{"1399682632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682635, 1399682629, 1399682631, 1399682625, 1399682624, 1399682632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.316712379455566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:39:03.383196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:39:12.623312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:39:22.687647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/37/image_16122025_17_37_25_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/37/image_16122025_17_37_25_10710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682639"],"photo_id":"1399682639","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cd9d0ca4a039cf2508e81156c38731d.jpg","text":"TemporaryFile(/tmp/multipartBody167564943553636120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903223103,"filename":"image_16122025_17_37_25_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399682639"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399682639"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.704766273498535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:39:42.619153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_19_2649.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_22_3304.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_25_2613.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_28_3530.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_31_2656.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_34_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_19_2649.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_22_3304.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_25_2613.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_28_3530.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_31_2656.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_34_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":["1399682661","1399682664","1399682666","1399682663","1399682665","1399682659"],"photo_ids_order":["1399682659","1399682661","1399682663","1399682664","1399682665","1399682666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5324014729442a20a6e3d77d02eb9b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5882021801084195556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903243262,"filename":"image_06112025_17_25_22_3304.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c311690a7fda27da6d454774333533f.jpg","text":"TemporaryFile(/tmp/multipartBody3792306363650637605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903243262,"filename":"image_06112025_17_25_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/16/f9c5f864fc90d79e81132cc32f92bb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4518568732922678759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903243262,"filename":"image_06112025_17_25_34_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3eb911dd9ed768dff6346c35e098d3ec.jpg","text":"TemporaryFile(/tmp/multipartBody414344640251899826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903243262,"filename":"image_06112025_17_25_25_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/16/e9100fdb14448034f9373a7ff1d3eac4.jpg","text":"TemporaryFile(/tmp/multipartBody2427667471382313051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903243262,"filename":"image_06112025_17_25_31_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/16/3605e4e85dbdc7646a7625fd10a9ea85.jpg","text":"TemporaryFile(/tmp/multipartBody6215819386316019155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903243262,"filename":"image_06112025_17_25_19_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682663","file1":"1399682661","file0":"1399682659","file4":"1399682665","file5":"1399682666","file3":"1399682664"},"map_files_photo_id_array":[{"photo_id":"1399682666","filename":"file5"},{"photo_id":"1399682663","filename":"file2"},{"photo_id":"1399682665","filename":"file4"},{"photo_id":"1399682661","filename":"file1"},{"photo_id":"1399682659","filename":"file0"},{"photo_id":"1399682664","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682661":["hashtag1","hashtag2"]},{"1399682664":["hashtag1","hashtag2"]},{"1399682666":["hashtag1","hashtag2"]},{"1399682663":["hashtag1","hashtag2"]},{"1399682665":["hashtag1","hashtag2"]},{"1399682659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682661, 1399682664, 1399682666, 1399682663, 1399682665, 1399682659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54165720939636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:40:21.958093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_37_3600.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_40_2539.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_43_3521.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_46_2858.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_49_2526.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_53_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_37_3600.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_40_2539.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_43_3521.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_46_2858.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_49_2526.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_53_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682673","1399682676","1399682681","1399682669","1399682671","1399682668"],"photo_ids_order":["1399682668","1399682669","1399682671","1399682673","1399682676","1399682681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/950282579da6584d2eb52e187f76c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody937703879249093602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903282619,"filename":"image_06112025_17_25_46_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/16/ecfe251194928013a17594868a120727.jpg","text":"TemporaryFile(/tmp/multipartBody2493475462748752989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903282619,"filename":"image_06112025_17_25_49_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d3210cbcdd4227980a9ea9d6e1de50c.jpg","text":"TemporaryFile(/tmp/multipartBody8276171301331442895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903282619,"filename":"image_06112025_17_25_53_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e766a1b746fb60d045b7553f0ee1f0a.jpg","text":"TemporaryFile(/tmp/multipartBody4270031013716081804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903282619,"filename":"image_06112025_17_25_40_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/16/fa9d9cff215fec595aa02fce62cb8ede.jpg","text":"TemporaryFile(/tmp/multipartBody4536639683115268152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903282619,"filename":"image_06112025_17_25_43_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/16/086c8fe6de5fab2aa8c71bcc8cb71480.jpg","text":"TemporaryFile(/tmp/multipartBody8498649348033039510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903282619,"filename":"image_06112025_17_25_37_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682671","file1":"1399682669","file0":"1399682668","file4":"1399682676","file5":"1399682681","file3":"1399682673"},"map_files_photo_id_array":[{"photo_id":"1399682681","filename":"file5"},{"photo_id":"1399682671","filename":"file2"},{"photo_id":"1399682676","filename":"file4"},{"photo_id":"1399682669","filename":"file1"},{"photo_id":"1399682668","filename":"file0"},{"photo_id":"1399682673","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682673":["hashtag1","hashtag2"]},{"1399682676":["hashtag1","hashtag2"]},{"1399682681":["hashtag1","hashtag2"]},{"1399682669":["hashtag1","hashtag2"]},{"1399682671":["hashtag1","hashtag2"]},{"1399682668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682673, 1399682676, 1399682681, 1399682669, 1399682671, 1399682668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50199842453003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:41:02.663869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:41:12.092688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:41:22.179583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/39/image_16122025_17_39_55_9679.jpg', '/home/pi/Desktop/images/16122025/17/41/image_16122025_17_41_35_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/39/image_16122025_17_39_55_9679.jpg
/home/pi/Desktop/images/16122025/17/41/image_16122025_17_41_35_9587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682701","1399682703"],"photo_ids_order":["1399682701","1399682703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/267e3966ac47fa34f7bf6a46d4ade065.jpg","text":"TemporaryFile(/tmp/multipartBody5642024443619662833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903342620,"filename":"image_16122025_17_39_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6af022141894830927a5e0cb77953d44.jpg","text":"TemporaryFile(/tmp/multipartBody3251353068904438640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903342620,"filename":"image_16122025_17_41_35_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399682703","file0":"1399682701"},"map_files_photo_id_array":[{"photo_id":"1399682703","filename":"file1"},{"photo_id":"1399682701","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399682701":["hashtag1","hashtag2"]},{"1399682703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399682701, 1399682703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.773321628570557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:41:42.029268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_55_2493.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_58_2583.jpg', '/home/pi/Desktop/images/06112025/17/25/image_06112025_17_26_01_3630.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_04_2700.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_07_2667.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_10_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_55_2493.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_25_58_2583.jpg
/home/pi/Desktop/images/06112025/17/25/image_06112025_17_26_01_3630.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_04_2700.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_07_2667.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_10_3526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682728","1399682722","1399682725","1399682727","1399682729","1399682726"],"photo_ids_order":["1399682722","1399682725","1399682726","1399682727","1399682728","1399682729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/40f38c72a363876fee757a3f4d392056.jpg","text":"TemporaryFile(/tmp/multipartBody1157484360262780656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903362695,"filename":"image_06112025_17_26_07_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/16/fec85b6aaee9bae07985df3ca02145c9.jpg","text":"TemporaryFile(/tmp/multipartBody2025655860962464099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903362695,"filename":"image_06112025_17_25_55_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/16/34de5d71d4f112c08b68f6ab7482ab87.jpg","text":"TemporaryFile(/tmp/multipartBody3489243304112928463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903362695,"filename":"image_06112025_17_25_58_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/16/1d0b7198711bd73ae492a027496b987d.jpg","text":"TemporaryFile(/tmp/multipartBody4539967399129386353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903362695,"filename":"image_06112025_17_26_04_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/16/a93db47cdcf4bb1323c0dfccf1716988.jpg","text":"TemporaryFile(/tmp/multipartBody3964299185679729175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903362695,"filename":"image_06112025_17_26_10_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/16/7a4a7dbd9606d908e43fdde9eb35f8fa.jpg","text":"TemporaryFile(/tmp/multipartBody6438102040275619149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903362695,"filename":"image_06112025_17_26_01_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682726","file1":"1399682725","file0":"1399682722","file4":"1399682728","file5":"1399682729","file3":"1399682727"},"map_files_photo_id_array":[{"photo_id":"1399682729","filename":"file5"},{"photo_id":"1399682726","filename":"file2"},{"photo_id":"1399682728","filename":"file4"},{"photo_id":"1399682725","filename":"file1"},{"photo_id":"1399682722","filename":"file0"},{"photo_id":"1399682727","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399682728":["hashtag1","hashtag2"]},{"1399682722":["hashtag1","hashtag2"]},{"1399682725":["hashtag1","hashtag2"]},{"1399682727":["hashtag1","hashtag2"]},{"1399682729":["hashtag1","hashtag2"]},{"1399682726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399682728, 1399682722, 1399682725, 1399682727, 1399682729, 1399682726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.573418855667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:42:22.295436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/41/image_16122025_17_41_46_10667.jpg', '/home/pi/Desktop/images/16122025/17/41/image_16122025_17_42_05_9698.jpg', '/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_16_10779.jpg', '/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_25_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/41/image_16122025_17_41_46_10667.jpg
/home/pi/Desktop/images/16122025/17/41/image_16122025_17_42_05_9698.jpg
/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_16_10779.jpg
/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_25_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399682734","1399682742","1399682730","1399682744"],"photo_ids_order":["1399682730","1399682734","1399682742","1399682744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19db75efb9aebc591b796e73ac58bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody2798253238892783815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903402793,"filename":"image_16122025_17_42_05_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b0b9ca1d9350fb137cf97c86069ad53.jpg","text":"TemporaryFile(/tmp/multipartBody7797256759594999350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903402793,"filename":"image_16122025_17_42_16_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/16/f7c346e221b25545781d54132e0ff518.jpg","text":"TemporaryFile(/tmp/multipartBody7971374151058474957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903402793,"filename":"image_16122025_17_41_46_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/16/f8e905ad275c668b049f881c138929af.jpg","text":"TemporaryFile(/tmp/multipartBody8289597440057699587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903402793,"filename":"image_16122025_17_42_25_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399682742","file1":"1399682734","file0":"1399682730","file3":"1399682744"},"map_files_photo_id_array":[{"photo_id":"1399682742","filename":"file2"},{"photo_id":"1399682734","filename":"file1"},{"photo_id":"1399682730","filename":"file0"},{"photo_id":"1399682744","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399682734":["hashtag1","hashtag2"]},{"1399682742":["hashtag1","hashtag2"]},{"1399682730":["hashtag1","hashtag2"]},{"1399682744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399682734, 1399682742, 1399682730, 1399682744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.221736669540405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:43:03.240074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:43:12.495404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:43:22.528576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_35_9639.jpg', '/home/pi/Desktop/images/16122025/17/43/image_16122025_17_43_35_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_35_9639.jpg
/home/pi/Desktop/images/16122025/17/43/image_16122025_17_43_35_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.33176541328430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:43:32.508872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:43:42.591674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_13_2670.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_17_4496.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_19_1650.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_22_2653.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_25_3648.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_28_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_13_2670.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_17_4496.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_19_1650.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_22_2653.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_25_3648.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_28_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":["1399683090","1399683093","1399683092","1399683091","1399683085","1399683088"],"photo_ids_order":["1399683085","1399683088","1399683090","1399683091","1399683092","1399683093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a1ad28154ed3135cf3af56f70004948.jpg","text":"TemporaryFile(/tmp/multipartBody5272038536710379898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903483236,"filename":"image_06112025_17_26_19_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ebf0a1f0f05a79c3c162c9a5121da966.jpg","text":"TemporaryFile(/tmp/multipartBody89680645930592140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903483236,"filename":"image_06112025_17_26_28_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3a2105689dd7cb82560d4b57f61b07d.jpg","text":"TemporaryFile(/tmp/multipartBody5060323797806849515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903483236,"filename":"image_06112025_17_26_25_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/16/2d675bc2c132078b9e59b16f9b9f0505.jpg","text":"TemporaryFile(/tmp/multipartBody2842840027621270868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903483236,"filename":"image_06112025_17_26_22_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34cf5d972415a4609d48c7f48d80f89b.jpg","text":"TemporaryFile(/tmp/multipartBody7370969882957812884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903483236,"filename":"image_06112025_17_26_13_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89bcb09ed4d2ee8f0a82c48310815199.jpg","text":"TemporaryFile(/tmp/multipartBody1525816875331429121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903483236,"filename":"image_06112025_17_26_17_4496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683090","file1":"1399683088","file0":"1399683085","file4":"1399683092","file5":"1399683093","file3":"1399683091"},"map_files_photo_id_array":[{"photo_id":"1399683093","filename":"file5"},{"photo_id":"1399683090","filename":"file2"},{"photo_id":"1399683092","filename":"file4"},{"photo_id":"1399683088","filename":"file1"},{"photo_id":"1399683085","filename":"file0"},{"photo_id":"1399683091","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399683090":["hashtag1","hashtag2"]},{"1399683093":["hashtag1","hashtag2"]},{"1399683092":["hashtag1","hashtag2"]},{"1399683091":["hashtag1","hashtag2"]},{"1399683085":["hashtag1","hashtag2"]},{"1399683088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399683090, 1399683093, 1399683092, 1399683091, 1399683085, 1399683088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34590768814087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:44:21.882060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_35_9639.jpg', '/home/pi/Desktop/images/16122025/17/43/image_16122025_17_43_35_9807.jpg', '/home/pi/Desktop/images/16122025/17/43/image_16122025_17_43_45_9785.jpg', '/home/pi/Desktop/images/16122025/17/44/image_16122025_17_44_16_10538.jpg', '/home/pi/Desktop/images/16122025/17/44/image_16122025_17_44_25_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/42/image_16122025_17_42_35_9639.jpg
/home/pi/Desktop/images/16122025/17/43/image_16122025_17_43_35_9807.jpg
/home/pi/Desktop/images/16122025/17/43/image_16122025_17_43_45_9785.jpg
/home/pi/Desktop/images/16122025/17/44/image_16122025_17_44_16_10538.jpg
/home/pi/Desktop/images/16122025/17/44/image_16122025_17_44_25_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":["1399683099","1399683138","1399683095","1399683176","1399683232"],"photo_ids_order":["1399683095","1399683099","1399683138","1399683176","1399683232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/deff915584fa1e4afe1ad2ae529517e2.jpg","text":"TemporaryFile(/tmp/multipartBody5199574821520281084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903522416,"filename":"image_16122025_17_43_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/16/42c09939fbd4fe97e63c416aa2f4f063.jpg","text":"TemporaryFile(/tmp/multipartBody8559146927380165868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903522416,"filename":"image_16122025_17_43_45_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91d957897c6721704401b14b5528e2ec.jpg","text":"TemporaryFile(/tmp/multipartBody7818351876068608708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903522416,"filename":"image_16122025_17_42_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89ab686561abd9189bc831627640b2a6.jpg","text":"TemporaryFile(/tmp/multipartBody2805750583459846875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903522416,"filename":"image_16122025_17_44_16_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/16/0d534c06de970aadc921a82ed29a8206.jpg","text":"TemporaryFile(/tmp/multipartBody2047102783259337880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903522416,"filename":"image_16122025_17_44_25_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683138","file1":"1399683099","file0":"1399683095","file4":"1399683232","file3":"1399683176"},"map_files_photo_id_array":[{"photo_id":"1399683138","filename":"file2"},{"photo_id":"1399683232","filename":"file4"},{"photo_id":"1399683099","filename":"file1"},{"photo_id":"1399683095","filename":"file0"},{"photo_id":"1399683176","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399683099":["hashtag1","hashtag2"]},{"1399683138":["hashtag1","hashtag2"]},{"1399683095":["hashtag1","hashtag2"]},{"1399683176":["hashtag1","hashtag2"]},{"1399683232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399683099, 1399683138, 1399683095, 1399683176, 1399683232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.23909044265747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:45:02.861100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:45:12.217021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:45:22.238893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/44/image_16122025_17_44_55_10577.jpg', '/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_13_10056.jpg', '/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_24_10677.jpg', '/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_34_9576.jpg', '/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_43_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/44/image_16122025_17_44_55_10577.jpg
/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_13_10056.jpg
/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_24_10677.jpg
/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_34_9576.jpg
/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_43_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":["1399683299","1399683296","1399683305","1399683302","1399683301"],"photo_ids_order":["1399683296","1399683299","1399683301","1399683302","1399683305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f2e92b66835fa39ae9a02ae5cbc834e.jpg","text":"TemporaryFile(/tmp/multipartBody3810039459121644999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903582788,"filename":"image_16122025_17_45_13_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/960bb653a03164fea77a3f973f39a893.jpg","text":"TemporaryFile(/tmp/multipartBody2247164022011531376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903582788,"filename":"image_16122025_17_44_55_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4e586f11c1f1e6f6e927e14630a102c.jpg","text":"TemporaryFile(/tmp/multipartBody8083553191963922899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903582788,"filename":"image_16122025_17_45_43_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/16/edd892e9cfe5dbb808f28d73ed5c307b.jpg","text":"TemporaryFile(/tmp/multipartBody4991097510987598483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903582788,"filename":"image_16122025_17_45_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c3aa3182c73605e18fe7597c0160b30.jpg","text":"TemporaryFile(/tmp/multipartBody1947059779928603826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903582788,"filename":"image_16122025_17_45_24_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683301","file1":"1399683299","file0":"1399683296","file4":"1399683305","file3":"1399683302"},"map_files_photo_id_array":[{"photo_id":"1399683301","filename":"file2"},{"photo_id":"1399683305","filename":"file4"},{"photo_id":"1399683299","filename":"file1"},{"photo_id":"1399683296","filename":"file0"},{"photo_id":"1399683302","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399683299":["hashtag1","hashtag2"]},{"1399683296":["hashtag1","hashtag2"]},{"1399683305":["hashtag1","hashtag2"]},{"1399683302":["hashtag1","hashtag2"]},{"1399683301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399683299, 1399683296, 1399683305, 1399683302, 1399683301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.50416803359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:46:02.946236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:46:12.490352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:46:22.488977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_53_9892.jpg', '/home/pi/Desktop/images/16122025/17/45/image_16122025_17_46_04_10561.jpg', '/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_14_9760.jpg', '/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_23_9716.jpg', '/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_34_10577.jpg', '/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/45/image_16122025_17_45_53_9892.jpg
/home/pi/Desktop/images/16122025/17/45/image_16122025_17_46_04_10561.jpg
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_14_9760.jpg
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_23_9716.jpg
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_34_10577.jpg
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_44_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399683378","1399683321","1399683338","1399683323","1399683314","1399683364"],"photo_ids_order":["1399683314","1399683321","1399683323","1399683338","1399683364","1399683378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/755e9518c248b7a123aa135e2f57153c.jpg","text":"TemporaryFile(/tmp/multipartBody5114907811660073063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903643065,"filename":"image_16122025_17_46_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36e46e2582c0d8a7ba04834b058dcdfb.jpg","text":"TemporaryFile(/tmp/multipartBody3686413794490460152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903643065,"filename":"image_16122025_17_46_04_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/728fb01bdca63d088c926daab25a260f.jpg","text":"TemporaryFile(/tmp/multipartBody1716600377220120264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903643065,"filename":"image_16122025_17_46_23_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/16/9a715425b8d61462d2a4d6501c40b455.jpg","text":"TemporaryFile(/tmp/multipartBody840841730546367561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903643065,"filename":"image_16122025_17_46_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/16/76d2f69af6d39492d52471ae1df6b798.jpg","text":"TemporaryFile(/tmp/multipartBody6669924037185980775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903643065,"filename":"image_16122025_17_45_53_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/16/0c9bf009c6de955ee18b0b3a378d74bd.jpg","text":"TemporaryFile(/tmp/multipartBody8403807026294188557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903643065,"filename":"image_16122025_17_46_34_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683323","file1":"1399683321","file0":"1399683314","file4":"1399683364","file5":"1399683378","file3":"1399683338"},"map_files_photo_id_array":[{"photo_id":"1399683378","filename":"file5"},{"photo_id":"1399683323","filename":"file2"},{"photo_id":"1399683364","filename":"file4"},{"photo_id":"1399683321","filename":"file1"},{"photo_id":"1399683314","filename":"file0"},{"photo_id":"1399683338","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399683378":["hashtag1","hashtag2"]},{"1399683321":["hashtag1","hashtag2"]},{"1399683338":["hashtag1","hashtag2"]},{"1399683323":["hashtag1","hashtag2"]},{"1399683314":["hashtag1","hashtag2"]},{"1399683364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399683378, 1399683321, 1399683338, 1399683323, 1399683314, 1399683364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99234914779663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:47:03.402911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:47:12.698012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:47:22.720893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_53_9649.jpg', '/home/pi/Desktop/images/16122025/17/46/image_16122025_17_47_04_10623.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_14_9629.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_23_9719.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_34_10779.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_44_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_53_9649.jpg
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_47_04_10623.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_14_9629.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_23_9719.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_34_10779.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_44_9690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.478440523147583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:47:32.731712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:47:42.739840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_31_2785.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_34_3704.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_37_2567.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_40_2604.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_43_3669.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_46_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_31_2785.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_34_3704.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_37_2567.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_40_2604.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_43_3669.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_46_2522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399683753","1399683660","1399683708","1399683698","1399683716","1399683709"],"photo_ids_order":["1399683660","1399683698","1399683708","1399683709","1399683716","1399683753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/298fbd0c170a5a4f52e03c2491c92cf3.jpg","text":"TemporaryFile(/tmp/multipartBody3211319148472928276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903723390,"filename":"image_06112025_17_26_46_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/16/924c5c94f0df18ec0ca15ac10a7d778e.jpg","text":"TemporaryFile(/tmp/multipartBody3424418546511652227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903723390,"filename":"image_06112025_17_26_31_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/16/fcee4b2e6403df5269f0f8dbc14b5aab.jpg","text":"TemporaryFile(/tmp/multipartBody7907593476377634751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903723390,"filename":"image_06112025_17_26_37_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/16/3ad26fac62005bf215640c063693979f.jpg","text":"TemporaryFile(/tmp/multipartBody6390408247245005311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903723390,"filename":"image_06112025_17_26_34_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c8fe00cd28c39ef56f1a0e400f462b7.jpg","text":"TemporaryFile(/tmp/multipartBody93283732338416932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903723390,"filename":"image_06112025_17_26_43_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/16/77fea0d44ea93ef2f9ea808752b2b249.jpg","text":"TemporaryFile(/tmp/multipartBody3925916072544640638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903723390,"filename":"image_06112025_17_26_40_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683708","file1":"1399683698","file0":"1399683660","file4":"1399683716","file5":"1399683753","file3":"1399683709"},"map_files_photo_id_array":[{"photo_id":"1399683753","filename":"file5"},{"photo_id":"1399683708","filename":"file2"},{"photo_id":"1399683716","filename":"file4"},{"photo_id":"1399683698","filename":"file1"},{"photo_id":"1399683660","filename":"file0"},{"photo_id":"1399683709","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399683753":["hashtag1","hashtag2"]},{"1399683660":["hashtag1","hashtag2"]},{"1399683708":["hashtag1","hashtag2"]},{"1399683698":["hashtag1","hashtag2"]},{"1399683716":["hashtag1","hashtag2"]},{"1399683709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399683753, 1399683660, 1399683708, 1399683698, 1399683716, 1399683709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55633735656738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:48:21.943966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_53_9649.jpg', '/home/pi/Desktop/images/16122025/17/46/image_16122025_17_47_04_10623.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_14_9629.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_23_9719.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_34_10779.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_44_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_46_53_9649.jpg
/home/pi/Desktop/images/16122025/17/46/image_16122025_17_47_04_10623.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_14_9629.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_23_9719.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_34_10779.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_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":["1399683771","1399683852","1399683777","1399683816","1399683773","1399683882"],"photo_ids_order":["1399683771","1399683773","1399683777","1399683816","1399683852","1399683882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f0102582df622b62be9912cb8f0d427.jpg","text":"TemporaryFile(/tmp/multipartBody2713631567327202855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903762543,"filename":"image_16122025_17_46_53_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/16/315ee8291f910d0f162b5643d6b4da06.jpg","text":"TemporaryFile(/tmp/multipartBody3747501237740484271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903762543,"filename":"image_16122025_17_47_34_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/16/06d3a8b567f821aa89ab7c45c8d412c9.jpg","text":"TemporaryFile(/tmp/multipartBody2874768390553669044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903762543,"filename":"image_16122025_17_47_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bb8e259ffefd192c555f51e27ff6ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6943179508495679315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903762543,"filename":"image_16122025_17_47_23_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/16/302c8979724823599bf9d466880df2d7.jpg","text":"TemporaryFile(/tmp/multipartBody5269560150454637646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903762543,"filename":"image_16122025_17_47_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/16/367f362713e5419bdd1f68eceffb6145.jpg","text":"TemporaryFile(/tmp/multipartBody7557947743820851519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903762543,"filename":"image_16122025_17_47_44_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683777","file1":"1399683773","file0":"1399683771","file4":"1399683852","file5":"1399683882","file3":"1399683816"},"map_files_photo_id_array":[{"photo_id":"1399683882","filename":"file5"},{"photo_id":"1399683777","filename":"file2"},{"photo_id":"1399683852","filename":"file4"},{"photo_id":"1399683773","filename":"file1"},{"photo_id":"1399683771","filename":"file0"},{"photo_id":"1399683816","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399683771":["hashtag1","hashtag2"]},{"1399683852":["hashtag1","hashtag2"]},{"1399683777":["hashtag1","hashtag2"]},{"1399683816":["hashtag1","hashtag2"]},{"1399683773":["hashtag1","hashtag2"]},{"1399683882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399683771, 1399683852, 1399683777, 1399683816, 1399683773, 1399683882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.272796869277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:49:02.991619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_53_9722.jpg', '/home/pi/Desktop/images/16122025/17/47/image_16122025_17_48_04_10693.jpg', '/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_14_9608.jpg', '/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_24_9726.jpg', '/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_34_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_47_53_9722.jpg
/home/pi/Desktop/images/16122025/17/47/image_16122025_17_48_04_10693.jpg
/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_14_9608.jpg
/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_24_9726.jpg
/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_34_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":["1399683893","1399683890","1399683884","1399683895","1399683894"],"photo_ids_order":["1399683884","1399683890","1399683893","1399683894","1399683895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/586b4dc40532d2838bc269b92a28c75d.jpg","text":"TemporaryFile(/tmp/multipartBody4759276972545601687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903803707,"filename":"image_16122025_17_48_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ef970c6cbba5753a213b146e29f835a.jpg","text":"TemporaryFile(/tmp/multipartBody2873175245647903403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903803707,"filename":"image_16122025_17_48_04_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/16/80a261ef4266e19c168d8bb43f418b01.jpg","text":"TemporaryFile(/tmp/multipartBody4310046848772923534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903803707,"filename":"image_16122025_17_47_53_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06ec4fa9b7ab1c45611cc2b904f7df2d.jpg","text":"TemporaryFile(/tmp/multipartBody256389068852824023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903803707,"filename":"image_16122025_17_48_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46227f90448836ca2eaaf9b023fa1815.jpg","text":"TemporaryFile(/tmp/multipartBody7554584094498366781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903803707,"filename":"image_16122025_17_48_24_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683893","file1":"1399683890","file0":"1399683884","file4":"1399683895","file3":"1399683894"},"map_files_photo_id_array":[{"photo_id":"1399683893","filename":"file2"},{"photo_id":"1399683895","filename":"file4"},{"photo_id":"1399683890","filename":"file1"},{"photo_id":"1399683884","filename":"file0"},{"photo_id":"1399683894","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399683893":["hashtag1","hashtag2"]},{"1399683890":["hashtag1","hashtag2"]},{"1399683884":["hashtag1","hashtag2"]},{"1399683895":["hashtag1","hashtag2"]},{"1399683894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399683893, 1399683890, 1399683884, 1399683895, 1399683894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.263019561767578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:49:42.252322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_49_2777.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_52_3721.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_55_2669.jpg', '/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_58_3552.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_01_2502.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_04_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_49_2777.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_52_3721.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_55_2669.jpg
/home/pi/Desktop/images/06112025/17/26/image_06112025_17_26_58_3552.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_01_2502.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_04_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":["1399683901","1399683903","1399683899","1399683905","1399683902","1399683904"],"photo_ids_order":["1399683899","1399683901","1399683902","1399683903","1399683904","1399683905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f975f08780263e6456982d1bda90629.jpg","text":"TemporaryFile(/tmp/multipartBody8689948206066331690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903842899,"filename":"image_06112025_17_26_52_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/16/ba21020eb3a37db1a81440afa7d2b718.jpg","text":"TemporaryFile(/tmp/multipartBody8306177805323378974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903842899,"filename":"image_06112025_17_26_58_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/16/47c138fd8c06ac7f3b4f636281f0f982.jpg","text":"TemporaryFile(/tmp/multipartBody8514067971701525200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903842899,"filename":"image_06112025_17_26_49_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69ab0e1b07db19342e284962c2759a63.jpg","text":"TemporaryFile(/tmp/multipartBody811567478670394259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903842899,"filename":"image_06112025_17_27_04_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a445f77ce211080a9e2db4a2ea8151a.jpg","text":"TemporaryFile(/tmp/multipartBody5215479306969321864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903842899,"filename":"image_06112025_17_26_55_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/149040afcc18c012a03307cf235f93be.jpg","text":"TemporaryFile(/tmp/multipartBody6818157069621010638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903842899,"filename":"image_06112025_17_27_01_2502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683902","file1":"1399683901","file0":"1399683899","file4":"1399683904","file5":"1399683905","file3":"1399683903"},"map_files_photo_id_array":[{"photo_id":"1399683905","filename":"file5"},{"photo_id":"1399683902","filename":"file2"},{"photo_id":"1399683904","filename":"file4"},{"photo_id":"1399683901","filename":"file1"},{"photo_id":"1399683899","filename":"file0"},{"photo_id":"1399683903","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399683901":["hashtag1","hashtag2"]},{"1399683903":["hashtag1","hashtag2"]},{"1399683899":["hashtag1","hashtag2"]},{"1399683905":["hashtag1","hashtag2"]},{"1399683902":["hashtag1","hashtag2"]},{"1399683904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399683901, 1399683903, 1399683899, 1399683905, 1399683902, 1399683904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.793084144592285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:50:22.491316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_44_9739.jpg', '/home/pi/Desktop/images/16122025/17/48/image_16122025_17_49_04_10604.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_14_9703.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_24_9685.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_34_10638.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_44_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_44_9739.jpg
/home/pi/Desktop/images/16122025/17/48/image_16122025_17_49_04_10604.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_14_9703.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_24_9685.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_34_10638.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_44_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.47147393226623535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:50:32.492290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:50:42.495795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_07_3701.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_10_2619.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_13_2673.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_16_3575.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_19_2662.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_22_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_07_3701.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_10_2619.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_13_2673.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_16_3575.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_19_2662.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_22_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":["1399683963","1399683945","1399683948","1399683947","1399683940","1399683946"],"photo_ids_order":["1399683940","1399683945","1399683946","1399683947","1399683948","1399683963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e39b982e87561f535bd3582d9c57101.jpg","text":"TemporaryFile(/tmp/multipartBody317125274791903369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903903143,"filename":"image_06112025_17_27_22_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/16/fe024a7722f52fdd26e4e539a8a3d132.jpg","text":"TemporaryFile(/tmp/multipartBody1600317168070771470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903903143,"filename":"image_06112025_17_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/16/1ac9bd7e6d27fc838d3ffc40e586c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3638186458234541283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903903143,"filename":"image_06112025_17_27_19_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/16/5cb32dd4b3901ba5dfdd22642566b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody3854340493540520092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903903143,"filename":"image_06112025_17_27_16_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/16/b27fa60f15596a440714dd6b089bafb0.jpg","text":"TemporaryFile(/tmp/multipartBody3501676791477091831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903903143,"filename":"image_06112025_17_27_07_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/16/2012330777d34d6d6a7951808a0b7114.jpg","text":"TemporaryFile(/tmp/multipartBody5334444613411739798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903903143,"filename":"image_06112025_17_27_13_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399683946","file1":"1399683945","file0":"1399683940","file4":"1399683948","file5":"1399683963","file3":"1399683947"},"map_files_photo_id_array":[{"photo_id":"1399683963","filename":"file5"},{"photo_id":"1399683946","filename":"file2"},{"photo_id":"1399683948","filename":"file4"},{"photo_id":"1399683945","filename":"file1"},{"photo_id":"1399683940","filename":"file0"},{"photo_id":"1399683947","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399683963":["hashtag1","hashtag2"]},{"1399683945":["hashtag1","hashtag2"]},{"1399683948":["hashtag1","hashtag2"]},{"1399683947":["hashtag1","hashtag2"]},{"1399683940":["hashtag1","hashtag2"]},{"1399683946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399683963, 1399683945, 1399683948, 1399683947, 1399683940, 1399683946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.736926317214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:51:22.742049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_44_9739.jpg', '/home/pi/Desktop/images/16122025/17/48/image_16122025_17_49_04_10604.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_14_9703.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_24_9685.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_34_10638.jpg', '/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_44_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/48/image_16122025_17_48_44_9739.jpg
/home/pi/Desktop/images/16122025/17/48/image_16122025_17_49_04_10604.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_14_9703.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_24_9685.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_34_10638.jpg
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_44_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684139","1399684103","1399684232","1399684234","1399684207","1399684173"],"photo_ids_order":["1399684103","1399684139","1399684173","1399684207","1399684232","1399684234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89b1a3a123387de3b2944dd975b340a2.jpg","text":"TemporaryFile(/tmp/multipartBody9155101194732072767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903943338,"filename":"image_16122025_17_49_04_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/16/6f077bf6960790330ca31c01e66ad8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7131361806608023922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903943338,"filename":"image_16122025_17_48_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87c5807f5244203547cbb41cd06a01ca.jpg","text":"TemporaryFile(/tmp/multipartBody5460547608608711992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903943338,"filename":"image_16122025_17_49_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58ff3f11a222e04f084dd66cf3e4851f.jpg","text":"TemporaryFile(/tmp/multipartBody6180266117548651310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903943338,"filename":"image_16122025_17_49_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69e364122a11430edb8d24be15405561.jpg","text":"TemporaryFile(/tmp/multipartBody720346101811237561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903943338,"filename":"image_16122025_17_49_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/45713d0fd3d3a0d543da7ea217c353c8.jpg","text":"TemporaryFile(/tmp/multipartBody617368070115487881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903943338,"filename":"image_16122025_17_49_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684173","file1":"1399684139","file0":"1399684103","file4":"1399684232","file5":"1399684234","file3":"1399684207"},"map_files_photo_id_array":[{"photo_id":"1399684234","filename":"file5"},{"photo_id":"1399684173","filename":"file2"},{"photo_id":"1399684232","filename":"file4"},{"photo_id":"1399684139","filename":"file1"},{"photo_id":"1399684103","filename":"file0"},{"photo_id":"1399684207","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684139":["hashtag1","hashtag2"]},{"1399684103":["hashtag1","hashtag2"]},{"1399684232":["hashtag1","hashtag2"]},{"1399684234":["hashtag1","hashtag2"]},{"1399684207":["hashtag1","hashtag2"]},{"1399684173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684139, 1399684103, 1399684232, 1399684234, 1399684207, 1399684173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97865056991577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:52:02.361556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_54_9946.jpg', '/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_14_10054.jpg', '/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_25_10793.jpg', '/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_35_9579.jpg', '/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_45_9791.jpg', '/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_55_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/49/image_16122025_17_49_54_9946.jpg
/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_14_10054.jpg
/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_25_10793.jpg
/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_35_9579.jpg
/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_45_9791.jpg
/home/pi/Desktop/images/16122025/17/50/image_16122025_17_50_55_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684245","1399684239","1399684241","1399684244","1399684243","1399684237"],"photo_ids_order":["1399684237","1399684239","1399684241","1399684243","1399684244","1399684245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6aa94becd014cc4f5bd04f0109f30c51.jpg","text":"TemporaryFile(/tmp/multipartBody6205952052337626262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903983003,"filename":"image_16122025_17_50_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b82d41e3a710256783c3fd093b302ce.jpg","text":"TemporaryFile(/tmp/multipartBody5727774420640158712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903983003,"filename":"image_16122025_17_50_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/16/210d42887b0d2112447bd77d6a629325.jpg","text":"TemporaryFile(/tmp/multipartBody4210502435752202471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903983003,"filename":"image_16122025_17_50_25_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6d03c70b28560eb971c89122385217d.jpg","text":"TemporaryFile(/tmp/multipartBody2552957253746338727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903983003,"filename":"image_16122025_17_50_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/16/6ce76b7bb0c09c410c43c42eef3d3d94.jpg","text":"TemporaryFile(/tmp/multipartBody7784991967071062768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903983003,"filename":"image_16122025_17_50_35_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/16/14a753bbcea1e9ff2efac09c326ae836.jpg","text":"TemporaryFile(/tmp/multipartBody9043186187963431595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765903983003,"filename":"image_16122025_17_49_54_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684241","file1":"1399684239","file0":"1399684237","file4":"1399684244","file5":"1399684245","file3":"1399684243"},"map_files_photo_id_array":[{"photo_id":"1399684245","filename":"file5"},{"photo_id":"1399684241","filename":"file2"},{"photo_id":"1399684244","filename":"file4"},{"photo_id":"1399684239","filename":"file1"},{"photo_id":"1399684237","filename":"file0"},{"photo_id":"1399684243","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684245":["hashtag1","hashtag2"]},{"1399684239":["hashtag1","hashtag2"]},{"1399684241":["hashtag1","hashtag2"]},{"1399684244":["hashtag1","hashtag2"]},{"1399684243":["hashtag1","hashtag2"]},{"1399684237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684245, 1399684239, 1399684241, 1399684244, 1399684243, 1399684237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3810555934906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:52:41.962772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_25_2627.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_28_2708.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_31_3689.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_34_2590.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_43_2553.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_46_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_25_2627.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_28_2708.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_31_3689.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_34_2590.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_43_2553.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_46_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684251","1399684248","1399684247","1399684250","1399684246","1399684249"],"photo_ids_order":["1399684246","1399684247","1399684248","1399684249","1399684250","1399684251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3233c0198b5bbb209c1e0c2625c993d.jpg","text":"TemporaryFile(/tmp/multipartBody7232827742637421968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904022633,"filename":"image_06112025_17_27_46_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/16/00b2acf9fb1f927d8f4b4c5ef35f4ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6030625451736666431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904022633,"filename":"image_06112025_17_27_31_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ead99176396627e7547b1b573f85fd17.jpg","text":"TemporaryFile(/tmp/multipartBody4465599897974580423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904022633,"filename":"image_06112025_17_27_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/16/511f4c3f89dce11ee44f070b316b349d.jpg","text":"TemporaryFile(/tmp/multipartBody6125859021360820259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904022633,"filename":"image_06112025_17_27_43_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/16/959965eb244155a0d0f20ba8161dc683.jpg","text":"TemporaryFile(/tmp/multipartBody9054663846052038680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904022633,"filename":"image_06112025_17_27_25_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3f3f54ba4be9bd3dd730d612011f393.jpg","text":"TemporaryFile(/tmp/multipartBody4059404797626472721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904022633,"filename":"image_06112025_17_27_34_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684248","file1":"1399684247","file0":"1399684246","file4":"1399684250","file5":"1399684251","file3":"1399684249"},"map_files_photo_id_array":[{"photo_id":"1399684251","filename":"file5"},{"photo_id":"1399684248","filename":"file2"},{"photo_id":"1399684250","filename":"file4"},{"photo_id":"1399684247","filename":"file1"},{"photo_id":"1399684246","filename":"file0"},{"photo_id":"1399684249","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684251":["hashtag1","hashtag2"]},{"1399684248":["hashtag1","hashtag2"]},{"1399684247":["hashtag1","hashtag2"]},{"1399684250":["hashtag1","hashtag2"]},{"1399684246":["hashtag1","hashtag2"]},{"1399684249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684251, 1399684248, 1399684247, 1399684250, 1399684246, 1399684249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35119032859802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:53:22.324537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/50/image_16122025_17_51_05_9800.jpg', '/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_15_9586.jpg', '/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_25_10653.jpg', '/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_35_9769.jpg', '/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_45_9704.jpg', '/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_54_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/50/image_16122025_17_51_05_9800.jpg
/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_15_9586.jpg
/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_25_10653.jpg
/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_35_9769.jpg
/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_45_9704.jpg
/home/pi/Desktop/images/16122025/17/51/image_16122025_17_51_54_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":["1399684253","1399684256","1399684264","1399684252","1399684255","1399684254"],"photo_ids_order":["1399684252","1399684253","1399684254","1399684255","1399684256","1399684264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e19e98d8d659087881469dc76fdfa74.jpg","text":"TemporaryFile(/tmp/multipartBody689741487924794985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904062917,"filename":"image_16122025_17_51_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/16/653b6344d5112df09a53cd5712fd3918.jpg","text":"TemporaryFile(/tmp/multipartBody8850839614585538403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904062917,"filename":"image_16122025_17_51_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/16/9d3fb99507af978a52defd8800db3bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1889078174470603148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904062917,"filename":"image_16122025_17_51_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5576522a8d0868c3b0558d86fc11920a.jpg","text":"TemporaryFile(/tmp/multipartBody461268914068301124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904062917,"filename":"image_16122025_17_51_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/16/965d1d8d99fcd509daed10bc1d4ccba7.jpg","text":"TemporaryFile(/tmp/multipartBody5839925851407419560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904062917,"filename":"image_16122025_17_51_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/16/35f81518335e70f148a5bdbe4e71409b.jpg","text":"TemporaryFile(/tmp/multipartBody3093358554927177216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904062917,"filename":"image_16122025_17_51_25_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684254","file1":"1399684253","file0":"1399684252","file4":"1399684256","file5":"1399684264","file3":"1399684255"},"map_files_photo_id_array":[{"photo_id":"1399684264","filename":"file5"},{"photo_id":"1399684254","filename":"file2"},{"photo_id":"1399684256","filename":"file4"},{"photo_id":"1399684253","filename":"file1"},{"photo_id":"1399684252","filename":"file0"},{"photo_id":"1399684255","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684253":["hashtag1","hashtag2"]},{"1399684256":["hashtag1","hashtag2"]},{"1399684264":["hashtag1","hashtag2"]},{"1399684252":["hashtag1","hashtag2"]},{"1399684255":["hashtag1","hashtag2"]},{"1399684254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684253, 1399684256, 1399684264, 1399684252, 1399684255, 1399684254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23523545265198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:54:03.059033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/51/image_16122025_17_52_05_10709.jpg', '/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_15_9639.jpg', '/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_24_9670.jpg', '/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_35_10925.jpg', '/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_45_9623.jpg', '/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_55_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/51/image_16122025_17_52_05_10709.jpg
/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_15_9639.jpg
/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_24_9670.jpg
/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_35_10925.jpg
/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_45_9623.jpg
/home/pi/Desktop/images/16122025/17/52/image_16122025_17_52_55_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":["1399684266","1399684286","1399684268","1399684285","1399684267","1399684269"],"photo_ids_order":["1399684266","1399684267","1399684268","1399684269","1399684285","1399684286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cae75fffcd89070a6dffd76a63af8852.jpg","text":"TemporaryFile(/tmp/multipartBody1673745452469484636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904103703,"filename":"image_16122025_17_52_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/16/6414e9d610c3d6bf6f26bd01d2c779a5.jpg","text":"TemporaryFile(/tmp/multipartBody6667032233070638815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904103703,"filename":"image_16122025_17_52_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3675bac6c08790ac93f7c931e90d59da.jpg","text":"TemporaryFile(/tmp/multipartBody4575488534522056968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904103703,"filename":"image_16122025_17_52_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/16/5e159082e4105baa7359994edd01293b.jpg","text":"TemporaryFile(/tmp/multipartBody6833310589534416405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904103703,"filename":"image_16122025_17_52_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6123c552b3cc6fa32953c772d99f077.jpg","text":"TemporaryFile(/tmp/multipartBody2975890646380074388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904103703,"filename":"image_16122025_17_52_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c54b7dc7ca9b5178657f8ce8660b617d.jpg","text":"TemporaryFile(/tmp/multipartBody3278932357784644810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904103703,"filename":"image_16122025_17_52_35_10925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684268","file1":"1399684267","file0":"1399684266","file4":"1399684285","file5":"1399684286","file3":"1399684269"},"map_files_photo_id_array":[{"photo_id":"1399684286","filename":"file5"},{"photo_id":"1399684268","filename":"file2"},{"photo_id":"1399684285","filename":"file4"},{"photo_id":"1399684267","filename":"file1"},{"photo_id":"1399684266","filename":"file0"},{"photo_id":"1399684269","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684266":["hashtag1","hashtag2"]},{"1399684286":["hashtag1","hashtag2"]},{"1399684268":["hashtag1","hashtag2"]},{"1399684285":["hashtag1","hashtag2"]},{"1399684267":["hashtag1","hashtag2"]},{"1399684269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684266, 1399684286, 1399684268, 1399684285, 1399684267, 1399684269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39910554885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:54:42.406645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_49_2607.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_52_2574.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_55_3806.jpg', '/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_58_2669.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_13_2625.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_16_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_49_2607.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_52_2574.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_55_3806.jpg
/home/pi/Desktop/images/06112025/17/27/image_06112025_17_27_58_2669.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_13_2625.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_16_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":["1399684311","1399684314","1399684310","1399684313","1399684312","1399684296"],"photo_ids_order":["1399684296","1399684310","1399684311","1399684312","1399684313","1399684314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9c4835e22c70002d1d02224e0757875.jpg","text":"TemporaryFile(/tmp/multipartBody2149866189276912332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904143085,"filename":"image_06112025_17_27_55_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/16/52a4e5e83b0f7015848a7347e50370e1.jpg","text":"TemporaryFile(/tmp/multipartBody192246557974381951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904143085,"filename":"image_06112025_17_28_16_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/16/940317bf9bb346a23953eb6e0192d2cf.jpg","text":"TemporaryFile(/tmp/multipartBody8856732990335011322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904143085,"filename":"image_06112025_17_27_52_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/068988f82ce49ff1509ef3a6062b0c76.jpg","text":"TemporaryFile(/tmp/multipartBody8537138919793990815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904143085,"filename":"image_06112025_17_28_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/16/1dddccbe6299ee853ea3e818e8a01361.jpg","text":"TemporaryFile(/tmp/multipartBody4463630099158902249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904143085,"filename":"image_06112025_17_27_58_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/463e4f6167a4eb1dca51e6778bb4a289.jpg","text":"TemporaryFile(/tmp/multipartBody4382424167590524944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904143085,"filename":"image_06112025_17_27_49_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684311","file1":"1399684310","file0":"1399684296","file4":"1399684313","file5":"1399684314","file3":"1399684312"},"map_files_photo_id_array":[{"photo_id":"1399684314","filename":"file5"},{"photo_id":"1399684311","filename":"file2"},{"photo_id":"1399684313","filename":"file4"},{"photo_id":"1399684310","filename":"file1"},{"photo_id":"1399684296","filename":"file0"},{"photo_id":"1399684312","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684311":["hashtag1","hashtag2"]},{"1399684314":["hashtag1","hashtag2"]},{"1399684310":["hashtag1","hashtag2"]},{"1399684313":["hashtag1","hashtag2"]},{"1399684312":["hashtag1","hashtag2"]},{"1399684296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684311, 1399684314, 1399684310, 1399684313, 1399684312, 1399684296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15048861503601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:55:22.703367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/52/image_16122025_17_53_05_10637.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_15_9689.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_25_9765.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_35_10541.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_45_9690.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_55_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/52/image_16122025_17_53_05_10637.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_15_9689.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_25_9765.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_35_10541.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_45_9690.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_55_9750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4730062484741211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 17:55:32.681010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:55:42.693597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_19_2685.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_21_2705.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_25_3590.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_28_2547.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_31_3650.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_34_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_19_2685.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_21_2705.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_25_3590.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_28_2547.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_31_3650.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_34_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":["1399684332","1399684329","1399684331","1399684325","1399684330","1399684333"],"photo_ids_order":["1399684325","1399684329","1399684330","1399684331","1399684332","1399684333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b2b46a0ddc4f2750a665610919d768d.jpg","text":"TemporaryFile(/tmp/multipartBody3833107620902542378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904203352,"filename":"image_06112025_17_28_31_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/16/a6ff9a9cc3d13ef0c17771bb6fb7ad41.jpg","text":"TemporaryFile(/tmp/multipartBody8807820287474404001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904203352,"filename":"image_06112025_17_28_21_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf3142b5fdcc8102acf79456bfa5f91b.jpg","text":"TemporaryFile(/tmp/multipartBody3081710397084968229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904203352,"filename":"image_06112025_17_28_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/16/7f5226c1a25ad2daa9fd6fcfb2e946f4.jpg","text":"TemporaryFile(/tmp/multipartBody5972840889209598022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904203352,"filename":"image_06112025_17_28_19_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/16/a1eb9650ef45f073ea75e584da41387d.jpg","text":"TemporaryFile(/tmp/multipartBody6323860459650496183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904203352,"filename":"image_06112025_17_28_25_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/16/abb10bfdb79be01ca7c4a3821452bf2c.jpg","text":"TemporaryFile(/tmp/multipartBody22630286873408600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904203352,"filename":"image_06112025_17_28_34_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684330","file1":"1399684329","file0":"1399684325","file4":"1399684332","file5":"1399684333","file3":"1399684331"},"map_files_photo_id_array":[{"photo_id":"1399684333","filename":"file5"},{"photo_id":"1399684330","filename":"file2"},{"photo_id":"1399684332","filename":"file4"},{"photo_id":"1399684329","filename":"file1"},{"photo_id":"1399684325","filename":"file0"},{"photo_id":"1399684331","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684332":["hashtag1","hashtag2"]},{"1399684329":["hashtag1","hashtag2"]},{"1399684331":["hashtag1","hashtag2"]},{"1399684325":["hashtag1","hashtag2"]},{"1399684330":["hashtag1","hashtag2"]},{"1399684333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684332, 1399684329, 1399684331, 1399684325, 1399684330, 1399684333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53017210960388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 17:56:21.948337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/52/image_16122025_17_53_05_10637.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_15_9689.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_25_9765.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_35_10541.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_45_9690.jpg', '/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_55_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/52/image_16122025_17_53_05_10637.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_15_9689.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_25_9765.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_35_10541.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_45_9690.jpg
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_53_55_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684338","1399684340","1399684334","1399684342","1399684345","1399684336"],"photo_ids_order":["1399684334","1399684336","1399684338","1399684340","1399684342","1399684345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fbad3c14952e38ca6620376d95fc1c5c.jpg","text":"TemporaryFile(/tmp/multipartBody1342462044080157628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904242552,"filename":"image_16122025_17_53_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/16/39bcd0f1a79913e2cb51f60655eb6f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2375648545092779912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904242552,"filename":"image_16122025_17_53_35_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/16/bf48261adac8fce9602b796765bf8618.jpg","text":"TemporaryFile(/tmp/multipartBody7705334466076083779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904242552,"filename":"image_16122025_17_53_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f3c4890c7774c3e7f20a95ebcf3f0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3532905721369959905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904242552,"filename":"image_16122025_17_53_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/16/352ac08929e1cf7335a43ed511efd5f8.jpg","text":"TemporaryFile(/tmp/multipartBody8067419361924789039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904242552,"filename":"image_16122025_17_53_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/16/6b8593ac2e20759045c3661a391d8992.jpg","text":"TemporaryFile(/tmp/multipartBody596474233213553786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904242552,"filename":"image_16122025_17_53_15_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684338","file1":"1399684336","file0":"1399684334","file4":"1399684342","file5":"1399684345","file3":"1399684340"},"map_files_photo_id_array":[{"photo_id":"1399684345","filename":"file5"},{"photo_id":"1399684338","filename":"file2"},{"photo_id":"1399684342","filename":"file4"},{"photo_id":"1399684336","filename":"file1"},{"photo_id":"1399684334","filename":"file0"},{"photo_id":"1399684340","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684338":["hashtag1","hashtag2"]},{"1399684340":["hashtag1","hashtag2"]},{"1399684334":["hashtag1","hashtag2"]},{"1399684342":["hashtag1","hashtag2"]},{"1399684345":["hashtag1","hashtag2"]},{"1399684336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684338, 1399684340, 1399684334, 1399684342, 1399684345, 1399684336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51852035522461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:57:02.742609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/53/image_16122025_17_54_05_10704.jpg', '/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_15_9687.jpg', '/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_25_9791.jpg', '/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_35_9885.jpg', '/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_45_10626.jpg', '/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/53/image_16122025_17_54_05_10704.jpg
/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_15_9687.jpg
/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_25_9791.jpg
/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_35_9885.jpg
/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_45_10626.jpg
/home/pi/Desktop/images/16122025/17/54/image_16122025_17_54_55_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684359","1399684358","1399684360","1399684357","1399684362","1399684356"],"photo_ids_order":["1399684356","1399684357","1399684358","1399684359","1399684360","1399684362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d46d2a6c0e93d6691abaca4fdb87433c.jpg","text":"TemporaryFile(/tmp/multipartBody3965609403092868004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904283401,"filename":"image_16122025_17_54_35_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/16/afe9d35f56c246ef9805d707a23907d7.jpg","text":"TemporaryFile(/tmp/multipartBody27680026317215181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904283401,"filename":"image_16122025_17_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/16/ed92b163a80c472a568f99d011a98a35.jpg","text":"TemporaryFile(/tmp/multipartBody1472961541334026390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904283401,"filename":"image_16122025_17_54_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb52cc9ec718f95f48b64b46b2682358.jpg","text":"TemporaryFile(/tmp/multipartBody1560822222702423822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904283401,"filename":"image_16122025_17_54_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/16/5199f44e557863d674ccaff9a028bef2.jpg","text":"TemporaryFile(/tmp/multipartBody6409172891685039368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904283401,"filename":"image_16122025_17_54_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb24d048d5d078d1c0577bca43536153.jpg","text":"TemporaryFile(/tmp/multipartBody1022465479544381279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904283401,"filename":"image_16122025_17_54_05_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684358","file1":"1399684357","file0":"1399684356","file4":"1399684360","file5":"1399684362","file3":"1399684359"},"map_files_photo_id_array":[{"photo_id":"1399684362","filename":"file5"},{"photo_id":"1399684358","filename":"file2"},{"photo_id":"1399684360","filename":"file4"},{"photo_id":"1399684357","filename":"file1"},{"photo_id":"1399684356","filename":"file0"},{"photo_id":"1399684359","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684359":["hashtag1","hashtag2"]},{"1399684358":["hashtag1","hashtag2"]},{"1399684360":["hashtag1","hashtag2"]},{"1399684357":["hashtag1","hashtag2"]},{"1399684362":["hashtag1","hashtag2"]},{"1399684356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684359, 1399684358, 1399684360, 1399684357, 1399684362, 1399684356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04543733596802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:57:42.181711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_40_3558.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_43_2609.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_45_2708.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_49_3497.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_51_2619.jpg', '/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_55_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_40_3558.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_43_2609.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_45_2708.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_49_3497.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_51_2619.jpg
/home/pi/Desktop/images/06112025/17/28/image_06112025_17_28_55_3629.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684373","1399684367","1399684375","1399684372","1399684371","1399684374"],"photo_ids_order":["1399684367","1399684371","1399684372","1399684373","1399684374","1399684375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c98c7b4c5cf0c9775e3e4304d193d919.jpg","text":"TemporaryFile(/tmp/multipartBody5060953521266948308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904322826,"filename":"image_06112025_17_28_49_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77d2637f08572584729765210e0bdace.jpg","text":"TemporaryFile(/tmp/multipartBody7629264450782422939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904322826,"filename":"image_06112025_17_28_40_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/16/8d28223cf7fd130a188873a4b671ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody2533658460078169031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904322826,"filename":"image_06112025_17_28_55_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e5a9abc44456937a2ec761012d56483.jpg","text":"TemporaryFile(/tmp/multipartBody7771438464210236204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904322826,"filename":"image_06112025_17_28_45_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7373c67f407b56ad278dcef23faf729.jpg","text":"TemporaryFile(/tmp/multipartBody9061466242849428445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904322826,"filename":"image_06112025_17_28_43_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/16/dbc44307c2cfcc42ff83ac93c64f9bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6500727716682810707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904322826,"filename":"image_06112025_17_28_51_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684372","file1":"1399684371","file0":"1399684367","file4":"1399684374","file5":"1399684375","file3":"1399684373"},"map_files_photo_id_array":[{"photo_id":"1399684375","filename":"file5"},{"photo_id":"1399684372","filename":"file2"},{"photo_id":"1399684374","filename":"file4"},{"photo_id":"1399684371","filename":"file1"},{"photo_id":"1399684367","filename":"file0"},{"photo_id":"1399684373","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684373":["hashtag1","hashtag2"]},{"1399684367":["hashtag1","hashtag2"]},{"1399684375":["hashtag1","hashtag2"]},{"1399684372":["hashtag1","hashtag2"]},{"1399684371":["hashtag1","hashtag2"]},{"1399684374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684373, 1399684367, 1399684375, 1399684372, 1399684371, 1399684374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.565260887145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 17:59:03.466966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_14_10054.jpg', '/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_25_10843.jpg', '/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_35_9625.jpg', '/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_44_9597.jpg', '/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_55_10615.jpg', '/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_14_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_14_10054.jpg
/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_25_10843.jpg
/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_35_9625.jpg
/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_44_9597.jpg
/home/pi/Desktop/images/16122025/17/55/image_16122025_17_55_55_10615.jpg
/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_14_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684385","1399684379","1399684387","1399684389","1399684383","1399684377"],"photo_ids_order":["1399684377","1399684379","1399684383","1399684385","1399684387","1399684389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/55d38a0f5c4bdeee79012938400d59cb.jpg","text":"TemporaryFile(/tmp/multipartBody8540485244235199628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904404177,"filename":"image_16122025_17_55_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9ae78296807b7c603fc3039325aa562.jpg","text":"TemporaryFile(/tmp/multipartBody5441479773899661587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904404177,"filename":"image_16122025_17_55_25_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ffee789d18413fb6140948d6c32a6399.jpg","text":"TemporaryFile(/tmp/multipartBody2695603435143590514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904404177,"filename":"image_16122025_17_55_55_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/16/bc09a4b81b8446328f784404fe647a55.jpg","text":"TemporaryFile(/tmp/multipartBody4707049982801762688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904404177,"filename":"image_16122025_17_56_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19a47f152dfa42b8a325e35c5c89cbb5.jpg","text":"TemporaryFile(/tmp/multipartBody1115881422629762851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904404177,"filename":"image_16122025_17_55_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/16/b1018e7c5e19e7dcf1bc0522c41d334e.jpg","text":"TemporaryFile(/tmp/multipartBody7219638363120621307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904404177,"filename":"image_16122025_17_55_14_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684383","file1":"1399684379","file0":"1399684377","file4":"1399684387","file5":"1399684389","file3":"1399684385"},"map_files_photo_id_array":[{"photo_id":"1399684389","filename":"file5"},{"photo_id":"1399684383","filename":"file2"},{"photo_id":"1399684387","filename":"file4"},{"photo_id":"1399684379","filename":"file1"},{"photo_id":"1399684377","filename":"file0"},{"photo_id":"1399684385","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684385":["hashtag1","hashtag2"]},{"1399684379":["hashtag1","hashtag2"]},{"1399684387":["hashtag1","hashtag2"]},{"1399684389":["hashtag1","hashtag2"]},{"1399684383":["hashtag1","hashtag2"]},{"1399684377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684385, 1399684379, 1399684387, 1399684389, 1399684383, 1399684377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61213755607605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 17:59:42.534263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_06_10878.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_08_1578.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_09_1562.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_15_6024.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_17_1538.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_18_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_06_10878.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_08_1578.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_09_1562.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_15_6024.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_17_1538.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_18_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684404","1399684393","1399684406","1399684396","1399684399","1399684402"],"photo_ids_order":["1399684393","1399684396","1399684399","1399684402","1399684404","1399684406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/695758fe4775b7a219e52e8d3ec363ee.jpg","text":"TemporaryFile(/tmp/multipartBody7472328979781840016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904443188,"filename":"image_06112025_17_29_17_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5fa6b6feec2e0871fdf89028d9717331.jpg","text":"TemporaryFile(/tmp/multipartBody5038603115014401559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904443188,"filename":"image_06112025_17_29_06_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/16/7fd463e4e6fa8c587966877f273184aa.jpg","text":"TemporaryFile(/tmp/multipartBody7951385267454613373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904443188,"filename":"image_06112025_17_29_18_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d95c2dbfd2a0958aea6cb337a5427a0.jpg","text":"TemporaryFile(/tmp/multipartBody5255665809784012654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904443188,"filename":"image_06112025_17_29_08_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7446d73f38faa208c10978f24201cabc.jpg","text":"TemporaryFile(/tmp/multipartBody5584830083965102043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904443188,"filename":"image_06112025_17_29_09_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/16/3f9ce7e63dcb55d1ba8015cf4dc478e0.jpg","text":"TemporaryFile(/tmp/multipartBody2948799412799837168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904443188,"filename":"image_06112025_17_29_15_6024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684399","file1":"1399684396","file0":"1399684393","file4":"1399684404","file5":"1399684406","file3":"1399684402"},"map_files_photo_id_array":[{"photo_id":"1399684406","filename":"file5"},{"photo_id":"1399684399","filename":"file2"},{"photo_id":"1399684404","filename":"file4"},{"photo_id":"1399684396","filename":"file1"},{"photo_id":"1399684393","filename":"file0"},{"photo_id":"1399684402","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684404":["hashtag1","hashtag2"]},{"1399684393":["hashtag1","hashtag2"]},{"1399684406":["hashtag1","hashtag2"]},{"1399684396":["hashtag1","hashtag2"]},{"1399684399":["hashtag1","hashtag2"]},{"1399684402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684404, 1399684393, 1399684406, 1399684396, 1399684399, 1399684402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96394062042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:00:22.844355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_25_10746.jpg', '/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_35_9693.jpg', '/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_44_9628.jpg', '/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_55_10697.jpg', '/home/pi/Desktop/images/16122025/17/56/image_16122025_17_57_05_9681.jpg', '/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_14_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_25_10746.jpg
/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_35_9693.jpg
/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_44_9628.jpg
/home/pi/Desktop/images/16122025/17/56/image_16122025_17_56_55_10697.jpg
/home/pi/Desktop/images/16122025/17/56/image_16122025_17_57_05_9681.jpg
/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_14_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":["1399684431","1399684419","1399684413","1399684409","1399684411","1399684408"],"photo_ids_order":["1399684408","1399684409","1399684411","1399684413","1399684419","1399684431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e88a01b8e3038cd3bb4fe55d4cea4b3.jpg","text":"TemporaryFile(/tmp/multipartBody8529974157389033678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904483422,"filename":"image_16122025_17_57_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/16/637b21446b0111b912d7a9727fba12d7.jpg","text":"TemporaryFile(/tmp/multipartBody2002317692851573583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904483422,"filename":"image_16122025_17_57_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/16/31c90351de11fce0d92dc5cc84d6f4e8.jpg","text":"TemporaryFile(/tmp/multipartBody7479086890402724666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904483422,"filename":"image_16122025_17_56_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/147f16947219c0c93970d7a3d4c7e7d1.jpg","text":"TemporaryFile(/tmp/multipartBody9201305428853737594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904483422,"filename":"image_16122025_17_56_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/16/e9b15d5cd17bc7c6d8a24501a893a8d7.jpg","text":"TemporaryFile(/tmp/multipartBody3114553595844620988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904483422,"filename":"image_16122025_17_56_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/16/b43b291006a382b0f19066ed4b83c161.jpg","text":"TemporaryFile(/tmp/multipartBody3978121260625020909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904483422,"filename":"image_16122025_17_56_25_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684411","file1":"1399684409","file0":"1399684408","file4":"1399684419","file5":"1399684431","file3":"1399684413"},"map_files_photo_id_array":[{"photo_id":"1399684431","filename":"file5"},{"photo_id":"1399684411","filename":"file2"},{"photo_id":"1399684419","filename":"file4"},{"photo_id":"1399684409","filename":"file1"},{"photo_id":"1399684408","filename":"file0"},{"photo_id":"1399684413","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684431":["hashtag1","hashtag2"]},{"1399684419":["hashtag1","hashtag2"]},{"1399684413":["hashtag1","hashtag2"]},{"1399684409":["hashtag1","hashtag2"]},{"1399684411":["hashtag1","hashtag2"]},{"1399684408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684431, 1399684419, 1399684413, 1399684409, 1399684411, 1399684408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73124837875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:01:02.404800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_24_9781.jpg', '/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_35_10823.jpg', '/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_45_9899.jpg', '/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_54_9537.jpg', '/home/pi/Desktop/images/16122025/17/57/image_16122025_17_58_05_10593.jpg', '/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_15_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_24_9781.jpg
/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_35_10823.jpg
/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_45_9899.jpg
/home/pi/Desktop/images/16122025/17/57/image_16122025_17_57_54_9537.jpg
/home/pi/Desktop/images/16122025/17/57/image_16122025_17_58_05_10593.jpg
/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_15_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684442","1399684450","1399684444","1399684438","1399684447","1399684440"],"photo_ids_order":["1399684438","1399684440","1399684442","1399684444","1399684447","1399684450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49b4c7ef6633ba3bde55ab9da727d25a.jpg","text":"TemporaryFile(/tmp/multipartBody3632041407139894098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904523054,"filename":"image_16122025_17_57_45_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/16/92fbd6a74acadaa89c38cf7d480c434e.jpg","text":"TemporaryFile(/tmp/multipartBody6622197730288655441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904523054,"filename":"image_16122025_17_58_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f0af867523ec74625a09aaa0ea7732f.jpg","text":"TemporaryFile(/tmp/multipartBody4374185710220979122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904523054,"filename":"image_16122025_17_57_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/16/e472f5b7302d02d2cbfcfe105df8cceb.jpg","text":"TemporaryFile(/tmp/multipartBody1297810778523041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904523054,"filename":"image_16122025_17_57_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/16/13a5312363a81c8de37abb2e2f3ce56e.jpg","text":"TemporaryFile(/tmp/multipartBody5802555159245855809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904523054,"filename":"image_16122025_17_58_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ad88352f1ec41a0f49f8b0ede9e525f2.jpg","text":"TemporaryFile(/tmp/multipartBody8932268883326893151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904523054,"filename":"image_16122025_17_57_35_10823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684442","file1":"1399684440","file0":"1399684438","file4":"1399684447","file5":"1399684450","file3":"1399684444"},"map_files_photo_id_array":[{"photo_id":"1399684450","filename":"file5"},{"photo_id":"1399684442","filename":"file2"},{"photo_id":"1399684447","filename":"file4"},{"photo_id":"1399684440","filename":"file1"},{"photo_id":"1399684438","filename":"file0"},{"photo_id":"1399684444","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684442":["hashtag1","hashtag2"]},{"1399684450":["hashtag1","hashtag2"]},{"1399684444":["hashtag1","hashtag2"]},{"1399684438":["hashtag1","hashtag2"]},{"1399684447":["hashtag1","hashtag2"]},{"1399684440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684442, 1399684450, 1399684444, 1399684438, 1399684447, 1399684440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.236055850982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:01:41.999178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_24_5490.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_27_3020.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_28_1507.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_30_1704.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_32_1542.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_35_3818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_24_5490.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_27_3020.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_28_1507.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_30_1704.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_32_1542.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_35_3818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684458","1399684460","1399684462","1399684459","1399684461","1399684455"],"photo_ids_order":["1399684455","1399684458","1399684459","1399684460","1399684461","1399684462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc2f7d9f7d870a56156e6371d501fffe.jpg","text":"TemporaryFile(/tmp/multipartBody1440574699565647086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904562651,"filename":"image_06112025_17_29_27_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31b9309ede84e56beff76038faa1207f.jpg","text":"TemporaryFile(/tmp/multipartBody2511694697492206716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904562651,"filename":"image_06112025_17_29_30_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/16/9930d1c62c14e6bb0d2a045069432c72.jpg","text":"TemporaryFile(/tmp/multipartBody4669994547444892430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904562651,"filename":"image_06112025_17_29_35_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d71ad043101f6092ff935ed26ae6cb11.jpg","text":"TemporaryFile(/tmp/multipartBody2736518259141047031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904562651,"filename":"image_06112025_17_29_28_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/117666451cc431b0da8803e5bfd5741c.jpg","text":"TemporaryFile(/tmp/multipartBody5791835156703538285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904562651,"filename":"image_06112025_17_29_32_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/16/bb4fb1b51f7dc07e815e1ecb7b34208d.jpg","text":"TemporaryFile(/tmp/multipartBody6450044002920365427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904562651,"filename":"image_06112025_17_29_24_5490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684459","file1":"1399684458","file0":"1399684455","file4":"1399684461","file5":"1399684462","file3":"1399684460"},"map_files_photo_id_array":[{"photo_id":"1399684462","filename":"file5"},{"photo_id":"1399684459","filename":"file2"},{"photo_id":"1399684461","filename":"file4"},{"photo_id":"1399684458","filename":"file1"},{"photo_id":"1399684455","filename":"file0"},{"photo_id":"1399684460","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684458":["hashtag1","hashtag2"]},{"1399684460":["hashtag1","hashtag2"]},{"1399684462":["hashtag1","hashtag2"]},{"1399684459":["hashtag1","hashtag2"]},{"1399684461":["hashtag1","hashtag2"]},{"1399684455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684458, 1399684460, 1399684462, 1399684459, 1399684461, 1399684455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.156288623809814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:02:22.312420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_25_9597.jpg', '/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_35_10522.jpg', '/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_45_9689.jpg', '/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_54_9727.jpg', '/home/pi/Desktop/images/16122025/17/58/image_16122025_17_59_05_10728.jpg', '/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_15_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_25_9597.jpg
/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_35_10522.jpg
/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_45_9689.jpg
/home/pi/Desktop/images/16122025/17/58/image_16122025_17_58_54_9727.jpg
/home/pi/Desktop/images/16122025/17/58/image_16122025_17_59_05_10728.jpg
/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_15_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684472","1399684466","1399684469","1399684486","1399684474","1399684476"],"photo_ids_order":["1399684466","1399684469","1399684472","1399684474","1399684476","1399684486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4534fb6f311d8a9c25d0445e538f691c.jpg","text":"TemporaryFile(/tmp/multipartBody7045920684724284978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904602914,"filename":"image_16122025_17_58_45_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/401f57393501f9a1329f0283a98008fb.jpg","text":"TemporaryFile(/tmp/multipartBody5397240203883176180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904602914,"filename":"image_16122025_17_58_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/16/ab685efe14954ffc467eda6633fe2903.jpg","text":"TemporaryFile(/tmp/multipartBody3209647615860861046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904602914,"filename":"image_16122025_17_58_35_10522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bab4927aefb5a80c3840ee119a33ba5d.jpg","text":"TemporaryFile(/tmp/multipartBody998387947422531221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904602914,"filename":"image_16122025_17_59_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f2fb432183154f4bea38ae91550db0a.jpg","text":"TemporaryFile(/tmp/multipartBody114869891333669265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904602914,"filename":"image_16122025_17_58_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a83d20c8daba1380d44b04c74fd811c.jpg","text":"TemporaryFile(/tmp/multipartBody3756267572762437089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904602914,"filename":"image_16122025_17_59_05_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684472","file1":"1399684469","file0":"1399684466","file4":"1399684476","file5":"1399684486","file3":"1399684474"},"map_files_photo_id_array":[{"photo_id":"1399684486","filename":"file5"},{"photo_id":"1399684472","filename":"file2"},{"photo_id":"1399684476","filename":"file4"},{"photo_id":"1399684469","filename":"file1"},{"photo_id":"1399684466","filename":"file0"},{"photo_id":"1399684474","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684472":["hashtag1","hashtag2"]},{"1399684466":["hashtag1","hashtag2"]},{"1399684469":["hashtag1","hashtag2"]},{"1399684486":["hashtag1","hashtag2"]},{"1399684474":["hashtag1","hashtag2"]},{"1399684476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684472, 1399684466, 1399684469, 1399684486, 1399684474, 1399684476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45566749572754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:03:03.262177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_24_9658.jpg', '/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_34_9858.jpg', '/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_45_10727.jpg', '/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_55_9668.jpg', '/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_15_10056.jpg', '/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_25_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_24_9658.jpg
/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_34_9858.jpg
/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_45_10727.jpg
/home/pi/Desktop/images/16122025/17/59/image_16122025_17_59_55_9668.jpg
/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_15_10056.jpg
/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_25_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684490","1399684487","1399684492","1399684497","1399684494","1399684488"],"photo_ids_order":["1399684487","1399684488","1399684490","1399684492","1399684494","1399684497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04e16d4a7e4745ff3f79ff904ed9ea24.jpg","text":"TemporaryFile(/tmp/multipartBody3869123318090054049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904643911,"filename":"image_16122025_17_59_45_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e6670a66650162aa4064af38f6c0c7d.jpg","text":"TemporaryFile(/tmp/multipartBody4319476932070428959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904643911,"filename":"image_16122025_17_59_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/16/cde4faa00823c672bd2aedbfb66514c5.jpg","text":"TemporaryFile(/tmp/multipartBody2602377584977237548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904643911,"filename":"image_16122025_17_59_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/32422fb8c146b1c14e325ae1657ce416.jpg","text":"TemporaryFile(/tmp/multipartBody3795259114405411618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904643911,"filename":"image_16122025_18_00_25_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3af2df14c885d885b3bb39dece22659e.jpg","text":"TemporaryFile(/tmp/multipartBody8685963514763089372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904643911,"filename":"image_16122025_18_00_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1070bf989afb298cab66b95bf5deb7c.jpg","text":"TemporaryFile(/tmp/multipartBody7894629782882614719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904643911,"filename":"image_16122025_17_59_34_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684490","file1":"1399684488","file0":"1399684487","file4":"1399684494","file5":"1399684497","file3":"1399684492"},"map_files_photo_id_array":[{"photo_id":"1399684497","filename":"file5"},{"photo_id":"1399684490","filename":"file2"},{"photo_id":"1399684494","filename":"file4"},{"photo_id":"1399684488","filename":"file1"},{"photo_id":"1399684487","filename":"file0"},{"photo_id":"1399684492","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684490":["hashtag1","hashtag2"]},{"1399684487":["hashtag1","hashtag2"]},{"1399684492":["hashtag1","hashtag2"]},{"1399684497":["hashtag1","hashtag2"]},{"1399684494":["hashtag1","hashtag2"]},{"1399684488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684490, 1399684487, 1399684492, 1399684497, 1399684494, 1399684488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56466460227966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:03:42.479810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_37_1525.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_39_1569.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_40_1799.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_43_2606.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_46_3355.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_49_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_37_1525.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_39_1569.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_40_1799.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_43_2606.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_46_3355.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_49_2639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5714526176452637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:04:03.434547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_35_9699.jpg', '/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_45_9732.jpg', '/home/pi/Desktop/images/16122025/18/00/image_16122025_18_01_05_9674.jpg', '/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_16_10603.jpg', '/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_25_9671.jpg', '/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_35_10002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_35_9699.jpg
/home/pi/Desktop/images/16122025/18/00/image_16122025_18_00_45_9732.jpg
/home/pi/Desktop/images/16122025/18/00/image_16122025_18_01_05_9674.jpg
/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_16_10603.jpg
/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_25_9671.jpg
/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_35_10002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684518","1399684512","1399684520","1399684514","1399684510","1399684516"],"photo_ids_order":["1399684510","1399684512","1399684514","1399684516","1399684518","1399684520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4566ece7b6a18db7f83a5a2e43f0b94.jpg","text":"TemporaryFile(/tmp/multipartBody7437298120190128342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904704125,"filename":"image_16122025_18_01_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/16/0034ca331991ce8af470e675915beb35.jpg","text":"TemporaryFile(/tmp/multipartBody3573830577560117190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904704125,"filename":"image_16122025_18_00_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/16/22d43bbef57dc5f3a9c342fbc8b16fdb.jpg","text":"TemporaryFile(/tmp/multipartBody5470145012170116354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904704125,"filename":"image_16122025_18_01_35_10002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f445add300348f729821174e69f42f7.jpg","text":"TemporaryFile(/tmp/multipartBody3538281520429247564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904704125,"filename":"image_16122025_18_01_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/16/d6c0584b91143a8c4a1af457cee8cb7a.jpg","text":"TemporaryFile(/tmp/multipartBody9031939945852754706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904704125,"filename":"image_16122025_18_00_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/16/5ee6279c33cf084c355f181f7926bea9.jpg","text":"TemporaryFile(/tmp/multipartBody8208708033396941074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904704125,"filename":"image_16122025_18_01_16_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684514","file1":"1399684512","file0":"1399684510","file4":"1399684518","file5":"1399684520","file3":"1399684516"},"map_files_photo_id_array":[{"photo_id":"1399684520","filename":"file5"},{"photo_id":"1399684514","filename":"file2"},{"photo_id":"1399684518","filename":"file4"},{"photo_id":"1399684512","filename":"file1"},{"photo_id":"1399684510","filename":"file0"},{"photo_id":"1399684516","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684518":["hashtag1","hashtag2"]},{"1399684512":["hashtag1","hashtag2"]},{"1399684520":["hashtag1","hashtag2"]},{"1399684514":["hashtag1","hashtag2"]},{"1399684510":["hashtag1","hashtag2"]},{"1399684516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684518, 1399684512, 1399684520, 1399684514, 1399684510, 1399684516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16620111465454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:04:42.723890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_37_1525.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_39_1569.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_40_1799.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_43_2606.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_46_3355.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_49_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_37_1525.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_39_1569.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_40_1799.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_43_2606.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_46_3355.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_49_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":["1399684541","1399684535","1399684543","1399684537","1399684531","1399684534"],"photo_ids_order":["1399684531","1399684534","1399684535","1399684537","1399684541","1399684543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19ca9d36cb1d69656ec11eeda40e624b.jpg","text":"TemporaryFile(/tmp/multipartBody7925029872065080020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904743312,"filename":"image_06112025_17_29_46_3355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/317675befa9ddd4769813993393c0733.jpg","text":"TemporaryFile(/tmp/multipartBody4722015234115986367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904743312,"filename":"image_06112025_17_29_40_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/16/9305f2dfe20d1ff1e932c5925c127ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2672924276562711984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904743312,"filename":"image_06112025_17_29_49_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/67fc62f98ae8b1f800fd2d5be25698cf.jpg","text":"TemporaryFile(/tmp/multipartBody2295025052991728769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904743312,"filename":"image_06112025_17_29_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/16/3b1c594bf4c322752862f383c2cd08a6.jpg","text":"TemporaryFile(/tmp/multipartBody2990458831800427904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904743312,"filename":"image_06112025_17_29_37_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/16/442bc7d25a9d243522c4ef60c74d9459.jpg","text":"TemporaryFile(/tmp/multipartBody8357884842709875468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904743312,"filename":"image_06112025_17_29_39_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684535","file1":"1399684534","file0":"1399684531","file4":"1399684541","file5":"1399684543","file3":"1399684537"},"map_files_photo_id_array":[{"photo_id":"1399684543","filename":"file5"},{"photo_id":"1399684535","filename":"file2"},{"photo_id":"1399684541","filename":"file4"},{"photo_id":"1399684534","filename":"file1"},{"photo_id":"1399684531","filename":"file0"},{"photo_id":"1399684537","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684541":["hashtag1","hashtag2"]},{"1399684535":["hashtag1","hashtag2"]},{"1399684543":["hashtag1","hashtag2"]},{"1399684537":["hashtag1","hashtag2"]},{"1399684531":["hashtag1","hashtag2"]},{"1399684534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684541, 1399684535, 1399684543, 1399684537, 1399684531, 1399684534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5640184879303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:05:22.001901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_56_10549.jpg', '/home/pi/Desktop/images/16122025/18/01/image_16122025_18_02_05_9566.jpg', '/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_15_9660.jpg', '/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_26_10698.jpg', '/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_35_9767.jpg', '/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_45_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/01/image_16122025_18_01_56_10549.jpg
/home/pi/Desktop/images/16122025/18/01/image_16122025_18_02_05_9566.jpg
/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_15_9660.jpg
/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_26_10698.jpg
/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_35_9767.jpg
/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_45_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":["1399684559","1399684553","1399684547","1399684555","1399684549","1399684551"],"photo_ids_order":["1399684547","1399684549","1399684551","1399684553","1399684555","1399684559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a4dcd30b9dd2d51c74eff0f8250ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody1868696623681924655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904782618,"filename":"image_16122025_18_02_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a85aa59446d72ef12071d016f836e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5734823839011150980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904782618,"filename":"image_16122025_18_02_26_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/16/2c3abfbddc51c199eecf11d02ded94de.jpg","text":"TemporaryFile(/tmp/multipartBody127902936618522837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904782618,"filename":"image_16122025_18_01_56_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27e224f9452b0919a740c03a4bdafa26.jpg","text":"TemporaryFile(/tmp/multipartBody3572681938840342124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904782618,"filename":"image_16122025_18_02_35_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/523c6319587405c3316977c99646668d.jpg","text":"TemporaryFile(/tmp/multipartBody911931074845055071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904782618,"filename":"image_16122025_18_02_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/16/a623d93c8500b423ed37065a7fddfcd2.jpg","text":"TemporaryFile(/tmp/multipartBody4622598806459507564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904782618,"filename":"image_16122025_18_02_15_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684551","file1":"1399684549","file0":"1399684547","file4":"1399684555","file5":"1399684559","file3":"1399684553"},"map_files_photo_id_array":[{"photo_id":"1399684559","filename":"file5"},{"photo_id":"1399684551","filename":"file2"},{"photo_id":"1399684555","filename":"file4"},{"photo_id":"1399684549","filename":"file1"},{"photo_id":"1399684547","filename":"file0"},{"photo_id":"1399684553","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684559":["hashtag1","hashtag2"]},{"1399684553":["hashtag1","hashtag2"]},{"1399684547":["hashtag1","hashtag2"]},{"1399684555":["hashtag1","hashtag2"]},{"1399684549":["hashtag1","hashtag2"]},{"1399684551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684559, 1399684553, 1399684547, 1399684555, 1399684549, 1399684551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98395133018494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:06:02.630575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_55_9785.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_15_9668.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_25_9666.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_36_10623.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_55_9804.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_04_06_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_55_9785.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_15_9668.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_25_9666.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_36_10623.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_55_9804.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_04_06_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.5092616081237793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:06:12.187987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:06:22.192116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_55_9785.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_15_9668.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_25_9666.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_36_10623.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_55_9804.jpg', '/home/pi/Desktop/images/16122025/18/03/image_16122025_18_04_06_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/02/image_16122025_18_02_55_9785.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_15_9668.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_25_9666.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_36_10623.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_03_55_9804.jpg
/home/pi/Desktop/images/16122025/18/03/image_16122025_18_04_06_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684577","1399684571","1399684573","1399684582","1399684579","1399684575"],"photo_ids_order":["1399684571","1399684573","1399684575","1399684577","1399684579","1399684582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42db564227b64e185d30cb00d322a07f.jpg","text":"TemporaryFile(/tmp/multipartBody7372311294180356534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904842834,"filename":"image_16122025_18_03_36_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/16/ff21d58f92144c1a985708c8cd55a29f.jpg","text":"TemporaryFile(/tmp/multipartBody495023720778414144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904842834,"filename":"image_16122025_18_02_55_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/120873ece3a1590be38c254b67b8ebfa.jpg","text":"TemporaryFile(/tmp/multipartBody3679386219868168756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904842834,"filename":"image_16122025_18_03_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd46817bc7c7476e1b0f0b6a2386e182.jpg","text":"TemporaryFile(/tmp/multipartBody2685443701223912405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904842834,"filename":"image_16122025_18_04_06_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/16/7cea8812d113ca70c338c286ef9ca6c6.jpg","text":"TemporaryFile(/tmp/multipartBody1360250115649730766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904842834,"filename":"image_16122025_18_03_55_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1b34f73b31e356511dc86e4f84be094.jpg","text":"TemporaryFile(/tmp/multipartBody5124261642907939608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904842834,"filename":"image_16122025_18_03_25_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684575","file1":"1399684573","file0":"1399684571","file4":"1399684579","file5":"1399684582","file3":"1399684577"},"map_files_photo_id_array":[{"photo_id":"1399684582","filename":"file5"},{"photo_id":"1399684575","filename":"file2"},{"photo_id":"1399684579","filename":"file4"},{"photo_id":"1399684573","filename":"file1"},{"photo_id":"1399684571","filename":"file0"},{"photo_id":"1399684577","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684577":["hashtag1","hashtag2"]},{"1399684571":["hashtag1","hashtag2"]},{"1399684573":["hashtag1","hashtag2"]},{"1399684582":["hashtag1","hashtag2"]},{"1399684579":["hashtag1","hashtag2"]},{"1399684575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684577, 1399684571, 1399684573, 1399684582, 1399684579, 1399684575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83185839653015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:07:02.970568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_15_9634.jpg', '/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_25_9752.jpg', '/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_45_10598.jpg', '/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_55_9744.jpg', '/home/pi/Desktop/images/16122025/18/04/image_16122025_18_05_06_10637.jpg', '/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_15_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_15_9634.jpg
/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_25_9752.jpg
/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_45_10598.jpg
/home/pi/Desktop/images/16122025/18/04/image_16122025_18_04_55_9744.jpg
/home/pi/Desktop/images/16122025/18/04/image_16122025_18_05_06_10637.jpg
/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_15_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":["1399684595","1399684589","1399684586","1399684591","1399684585","1399684587"],"photo_ids_order":["1399684585","1399684586","1399684587","1399684589","1399684591","1399684595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d896abebe28127ef3ef34053ecead8a9.jpg","text":"TemporaryFile(/tmp/multipartBody2137198712742943398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904883674,"filename":"image_16122025_18_05_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/16/9ae4c920a757a1a3b5d93f4c9dbbbe80.jpg","text":"TemporaryFile(/tmp/multipartBody6989366213466008655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904883674,"filename":"image_16122025_18_04_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/16/a0fbd8a1567da8135f84b1072019ccc8.jpg","text":"TemporaryFile(/tmp/multipartBody4615817203599041767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904883674,"filename":"image_16122025_18_04_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/16/b5374b4df91a5a4e8e8204f81c007e31.jpg","text":"TemporaryFile(/tmp/multipartBody4459340336668025550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904883674,"filename":"image_16122025_18_05_06_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6d76082433e8f2c8835ce765b8173b1.jpg","text":"TemporaryFile(/tmp/multipartBody1803320239851878241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904883674,"filename":"image_16122025_18_04_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e6d61dcbf1f4ab1fd8c98e1cdab0ae02.jpg","text":"TemporaryFile(/tmp/multipartBody3505424664071704837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904883674,"filename":"image_16122025_18_04_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684587","file1":"1399684586","file0":"1399684585","file4":"1399684591","file5":"1399684595","file3":"1399684589"},"map_files_photo_id_array":[{"photo_id":"1399684595","filename":"file5"},{"photo_id":"1399684587","filename":"file2"},{"photo_id":"1399684591","filename":"file4"},{"photo_id":"1399684586","filename":"file1"},{"photo_id":"1399684585","filename":"file0"},{"photo_id":"1399684589","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684595":["hashtag1","hashtag2"]},{"1399684589":["hashtag1","hashtag2"]},{"1399684586":["hashtag1","hashtag2"]},{"1399684591":["hashtag1","hashtag2"]},{"1399684585":["hashtag1","hashtag2"]},{"1399684587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684595, 1399684589, 1399684586, 1399684591, 1399684585, 1399684587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.696099519729614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:07:42.328165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_55_3694.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_58_2526.jpg', '/home/pi/Desktop/images/06112025/17/29/image_06112025_17_30_00_2629.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_07_3023.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_11_3485.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_14_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_55_3694.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_29_58_2526.jpg
/home/pi/Desktop/images/06112025/17/29/image_06112025_17_30_00_2629.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_07_3023.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_11_3485.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_14_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":["1399684614","1399684608","1399684602","1399684610","1399684612","1399684606"],"photo_ids_order":["1399684602","1399684606","1399684608","1399684610","1399684612","1399684614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/031ed5cf501f333cd889fc254f363233.jpg","text":"TemporaryFile(/tmp/multipartBody8991890401584737985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904922984,"filename":"image_06112025_17_30_14_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61ce3cc760949d4fa1d4bfa29749ed7c.jpg","text":"TemporaryFile(/tmp/multipartBody8784835293985904062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904922984,"filename":"image_06112025_17_30_00_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/16/d19661e7030b629037bd7ed1326957c3.jpg","text":"TemporaryFile(/tmp/multipartBody5453374324333240939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904922984,"filename":"image_06112025_17_29_55_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/16/e841734e764876b41062822ed95a8ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7168835450751635573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904922984,"filename":"image_06112025_17_30_07_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/16/f9ed004d19a109bd200f5d076b719c0f.jpg","text":"TemporaryFile(/tmp/multipartBody86305202072559396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904922984,"filename":"image_06112025_17_30_11_3485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1934e59ccaf02d6af8e81daa4fdf44c5.jpg","text":"TemporaryFile(/tmp/multipartBody5855133639124887191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904922984,"filename":"image_06112025_17_29_58_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684608","file1":"1399684606","file0":"1399684602","file4":"1399684612","file5":"1399684614","file3":"1399684610"},"map_files_photo_id_array":[{"photo_id":"1399684614","filename":"file5"},{"photo_id":"1399684608","filename":"file2"},{"photo_id":"1399684612","filename":"file4"},{"photo_id":"1399684606","filename":"file1"},{"photo_id":"1399684602","filename":"file0"},{"photo_id":"1399684610","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684614":["hashtag1","hashtag2"]},{"1399684608":["hashtag1","hashtag2"]},{"1399684602":["hashtag1","hashtag2"]},{"1399684610":["hashtag1","hashtag2"]},{"1399684612":["hashtag1","hashtag2"]},{"1399684606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684614, 1399684608, 1399684602, 1399684610, 1399684612, 1399684606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06749773025513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:08:22.608029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_25_9548.jpg', '/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_35_10589.jpg', '/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_55_9596.jpg', '/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_15_9923.jpg', '/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_25_9700.jpg', '/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_36_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_25_9548.jpg
/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_35_10589.jpg
/home/pi/Desktop/images/16122025/18/05/image_16122025_18_05_55_9596.jpg
/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_15_9923.jpg
/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_25_9700.jpg
/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_36_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684635","1399684623","1399684617","1399684619","1399684628","1399684630"],"photo_ids_order":["1399684617","1399684619","1399684623","1399684628","1399684630","1399684635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9c4dbe8a94569e1b382fdc2d8997221.jpg","text":"TemporaryFile(/tmp/multipartBody7465993268040950011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904963217,"filename":"image_16122025_18_06_36_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/16/d727f734a30a4de491582a4cb72436cf.jpg","text":"TemporaryFile(/tmp/multipartBody7572574301391326231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904963217,"filename":"image_16122025_18_05_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/16/04ab8f83b5a73ba24845f785cab5f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8793222422779502133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904963217,"filename":"image_16122025_18_05_25_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/16/6b0ee2f8657f6da04cb2e5c51469a9a3.jpg","text":"TemporaryFile(/tmp/multipartBody812573309954699278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904963217,"filename":"image_16122025_18_05_35_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/16/8e68860bd37fbb2601efacd134d99b28.jpg","text":"TemporaryFile(/tmp/multipartBody1124839948421903065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904963217,"filename":"image_16122025_18_06_15_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53ffe21ad51f9fe507f515e1c5dc5483.jpg","text":"TemporaryFile(/tmp/multipartBody5675402372395101833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765904963217,"filename":"image_16122025_18_06_25_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684623","file1":"1399684619","file0":"1399684617","file4":"1399684630","file5":"1399684635","file3":"1399684628"},"map_files_photo_id_array":[{"photo_id":"1399684635","filename":"file5"},{"photo_id":"1399684623","filename":"file2"},{"photo_id":"1399684630","filename":"file4"},{"photo_id":"1399684619","filename":"file1"},{"photo_id":"1399684617","filename":"file0"},{"photo_id":"1399684628","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684635":["hashtag1","hashtag2"]},{"1399684623":["hashtag1","hashtag2"]},{"1399684617":["hashtag1","hashtag2"]},{"1399684619":["hashtag1","hashtag2"]},{"1399684628":["hashtag1","hashtag2"]},{"1399684630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684635, 1399684623, 1399684617, 1399684619, 1399684628, 1399684630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10940432548523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:09:03.609640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_46_9972.jpg', '/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_55_9790.jpg', '/home/pi/Desktop/images/16122025/18/06/image_16122025_18_07_05_9716.jpg', '/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_15_9630.jpg', '/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_35_9687.jpg', '/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_45_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_46_9972.jpg
/home/pi/Desktop/images/16122025/18/06/image_16122025_18_06_55_9790.jpg
/home/pi/Desktop/images/16122025/18/06/image_16122025_18_07_05_9716.jpg
/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_15_9630.jpg
/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_35_9687.jpg
/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_45_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684655","1399684658","1399684646","1399684649","1399684651","1399684653"],"photo_ids_order":["1399684646","1399684649","1399684651","1399684653","1399684655","1399684658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/152e15ff80709a3e321eceb3f68b8fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7217233068498778716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905004383,"filename":"image_16122025_18_07_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dcf1e1b865f31dd430b314e2d69c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody5050034447272010235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905004383,"filename":"image_16122025_18_07_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/494a63e44de1f472985f88092abb19be.jpg","text":"TemporaryFile(/tmp/multipartBody615238349676157323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905004383,"filename":"image_16122025_18_06_46_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/16/c6de1e7c1f3961cb5ff839b2dec55096.jpg","text":"TemporaryFile(/tmp/multipartBody2022791145851050968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905004383,"filename":"image_16122025_18_06_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/16/10f4b5d7146a92685581f36194c4ac63.jpg","text":"TemporaryFile(/tmp/multipartBody6705102848687352640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905004383,"filename":"image_16122025_18_07_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/16/a47d66973815ea34655838b1493c6f99.jpg","text":"TemporaryFile(/tmp/multipartBody1075551760619052551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905004383,"filename":"image_16122025_18_07_15_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684651","file1":"1399684649","file0":"1399684646","file4":"1399684655","file5":"1399684658","file3":"1399684653"},"map_files_photo_id_array":[{"photo_id":"1399684658","filename":"file5"},{"photo_id":"1399684651","filename":"file2"},{"photo_id":"1399684655","filename":"file4"},{"photo_id":"1399684649","filename":"file1"},{"photo_id":"1399684646","filename":"file0"},{"photo_id":"1399684653","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684655":["hashtag1","hashtag2"]},{"1399684658":["hashtag1","hashtag2"]},{"1399684646":["hashtag1","hashtag2"]},{"1399684649":["hashtag1","hashtag2"]},{"1399684651":["hashtag1","hashtag2"]},{"1399684653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684655, 1399684658, 1399684646, 1399684649, 1399684651, 1399684653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.309200286865234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:09:42.784125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_17_2717.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_20_2594.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_23_3553.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_30_7227.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_32_1654.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_34_2123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_17_2717.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_20_2594.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_23_3553.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_30_7227.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_32_1654.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_34_2123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684670","1399684664","1399684667","1399684666","1399684669","1399684668"],"photo_ids_order":["1399684664","1399684666","1399684667","1399684668","1399684669","1399684670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d2661fa920d8b72489b293b7f68b6f7.jpg","text":"TemporaryFile(/tmp/multipartBody1404718286687611473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905043448,"filename":"image_06112025_17_30_34_2123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0bcbcda2f9f56d4df01c6d87697920e.jpg","text":"TemporaryFile(/tmp/multipartBody6966331623037204356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905043448,"filename":"image_06112025_17_30_17_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9af993038f717bc855ce558c79d8a363.jpg","text":"TemporaryFile(/tmp/multipartBody7964461886161802983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905043448,"filename":"image_06112025_17_30_23_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/16/3166a6092646818385a5fbd52f914036.jpg","text":"TemporaryFile(/tmp/multipartBody2515470546599827810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905043448,"filename":"image_06112025_17_30_20_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/16/fed760e557a907fc689cab603b7fe284.jpg","text":"TemporaryFile(/tmp/multipartBody6459461589811874763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905043448,"filename":"image_06112025_17_30_32_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e9a234b55b5a64a2eedd2f67de05926.jpg","text":"TemporaryFile(/tmp/multipartBody2797156664529252753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905043448,"filename":"image_06112025_17_30_30_7227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684667","file1":"1399684666","file0":"1399684664","file4":"1399684669","file5":"1399684670","file3":"1399684668"},"map_files_photo_id_array":[{"photo_id":"1399684670","filename":"file5"},{"photo_id":"1399684667","filename":"file2"},{"photo_id":"1399684669","filename":"file4"},{"photo_id":"1399684666","filename":"file1"},{"photo_id":"1399684664","filename":"file0"},{"photo_id":"1399684668","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684670":["hashtag1","hashtag2"]},{"1399684664":["hashtag1","hashtag2"]},{"1399684667":["hashtag1","hashtag2"]},{"1399684666":["hashtag1","hashtag2"]},{"1399684669":["hashtag1","hashtag2"]},{"1399684668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684670, 1399684664, 1399684667, 1399684666, 1399684669, 1399684668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65005350112915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:10:22.146260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_55_10618.jpg', '/home/pi/Desktop/images/16122025/18/07/image_16122025_18_08_05_9554.jpg', '/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_16_10706.jpg', '/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_25_9876.jpg', '/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_35_9789.jpg', '/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_55_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/07/image_16122025_18_07_55_10618.jpg
/home/pi/Desktop/images/16122025/18/07/image_16122025_18_08_05_9554.jpg
/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_16_10706.jpg
/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_25_9876.jpg
/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_35_9789.jpg
/home/pi/Desktop/images/16122025/18/08/image_16122025_18_08_55_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":["1399684682","1399684684","1399684678","1399684675","1399684689","1399684686"],"photo_ids_order":["1399684675","1399684678","1399684682","1399684684","1399684686","1399684689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07c65438dba070ede70e645094a16405.jpg","text":"TemporaryFile(/tmp/multipartBody1729110223726335584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905082753,"filename":"image_16122025_18_08_16_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/16/5fe2ac8fa7e665e486befc3fa2f9979c.jpg","text":"TemporaryFile(/tmp/multipartBody7156910468451391763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905082753,"filename":"image_16122025_18_08_25_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/16/3531a0c043d1b826f881f5fa51ec3808.jpg","text":"TemporaryFile(/tmp/multipartBody8485153549590192679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905082753,"filename":"image_16122025_18_08_05_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7957d24b8a158c40da32d15df430d8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1098583913122495186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905082753,"filename":"image_16122025_18_07_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/892d59236394b4c596298b04cafe4308.jpg","text":"TemporaryFile(/tmp/multipartBody394584649138976627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905082753,"filename":"image_16122025_18_08_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/16/a5e7d5f08fe5509a623ef44b3e03875f.jpg","text":"TemporaryFile(/tmp/multipartBody7249605294413120978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905082753,"filename":"image_16122025_18_08_35_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684682","file1":"1399684678","file0":"1399684675","file4":"1399684686","file5":"1399684689","file3":"1399684684"},"map_files_photo_id_array":[{"photo_id":"1399684689","filename":"file5"},{"photo_id":"1399684682","filename":"file2"},{"photo_id":"1399684686","filename":"file4"},{"photo_id":"1399684678","filename":"file1"},{"photo_id":"1399684675","filename":"file0"},{"photo_id":"1399684684","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684682":["hashtag1","hashtag2"]},{"1399684684":["hashtag1","hashtag2"]},{"1399684678":["hashtag1","hashtag2"]},{"1399684675":["hashtag1","hashtag2"]},{"1399684689":["hashtag1","hashtag2"]},{"1399684686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684682, 1399684684, 1399684678, 1399684675, 1399684689, 1399684686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04780697822571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:11:03.061539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/08/image_16122025_18_09_05_9570.jpg', '/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_15_9850.jpg', '/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_25_9832.jpg', '/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_35_10556.jpg', '/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_55_9664.jpg', '/home/pi/Desktop/images/16122025/18/09/image_16122025_18_10_05_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/08/image_16122025_18_09_05_9570.jpg
/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_15_9850.jpg
/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_25_9832.jpg
/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_35_10556.jpg
/home/pi/Desktop/images/16122025/18/09/image_16122025_18_09_55_9664.jpg
/home/pi/Desktop/images/16122025/18/09/image_16122025_18_10_05_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684691","1399684697","1399684699","1399684693","1399684702","1399684695"],"photo_ids_order":["1399684691","1399684693","1399684695","1399684697","1399684699","1399684702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ddc26cb0a23e3d903146aef26e63ffb6.jpg","text":"TemporaryFile(/tmp/multipartBody7783819495512243363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905123700,"filename":"image_16122025_18_09_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/16/58eca17e919e64e237b521b041a8acf4.jpg","text":"TemporaryFile(/tmp/multipartBody4816131910149767577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905123700,"filename":"image_16122025_18_09_35_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/16/78c548eaa43ec74ec3fb7b0b140ba14b.jpg","text":"TemporaryFile(/tmp/multipartBody4111644767884458995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905123700,"filename":"image_16122025_18_09_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/16/9da091eb48c8be81699186500beb8e92.jpg","text":"TemporaryFile(/tmp/multipartBody4976859076054057125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905123700,"filename":"image_16122025_18_09_15_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54634039eba3c275dcb062b7e343d384.jpg","text":"TemporaryFile(/tmp/multipartBody5926305669697718493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905123700,"filename":"image_16122025_18_10_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54b58a8fd645056ce230fb42f5358ba8.jpg","text":"TemporaryFile(/tmp/multipartBody7849384603717136914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905123700,"filename":"image_16122025_18_09_25_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684695","file1":"1399684693","file0":"1399684691","file4":"1399684699","file5":"1399684702","file3":"1399684697"},"map_files_photo_id_array":[{"photo_id":"1399684702","filename":"file5"},{"photo_id":"1399684695","filename":"file2"},{"photo_id":"1399684699","filename":"file4"},{"photo_id":"1399684693","filename":"file1"},{"photo_id":"1399684691","filename":"file0"},{"photo_id":"1399684697","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684691":["hashtag1","hashtag2"]},{"1399684697":["hashtag1","hashtag2"]},{"1399684699":["hashtag1","hashtag2"]},{"1399684693":["hashtag1","hashtag2"]},{"1399684702":["hashtag1","hashtag2"]},{"1399684695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684691, 1399684697, 1399684699, 1399684693, 1399684702, 1399684695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13996362686157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:11:42.552544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_40_6135.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_42_1627.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_45_3417.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_47_1635.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_51_4159.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_53_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_40_6135.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_42_1627.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_45_3417.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_47_1635.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_51_4159.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_53_1591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684713","1399684710","1399684712","1399684709","1399684711","1399684708"],"photo_ids_order":["1399684708","1399684709","1399684710","1399684711","1399684712","1399684713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e7619a9cd55409f91f6d3bfecad8b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1879976767130838098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905163212,"filename":"image_06112025_17_30_53_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a125eda24c78bcba583570d05024cb67.jpg","text":"TemporaryFile(/tmp/multipartBody4017486654128569824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905163212,"filename":"image_06112025_17_30_45_3417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06cc67239ff6eea6351aeec5f015c7cd.jpg","text":"TemporaryFile(/tmp/multipartBody807810097928638723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905163212,"filename":"image_06112025_17_30_51_4159.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3098be99b85da2ca9f5e2cff0be0bbf5.jpg","text":"TemporaryFile(/tmp/multipartBody3419716014539943697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905163212,"filename":"image_06112025_17_30_42_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/16/8a0955734fb163a7fa7a0781ec3cd2fc.jpg","text":"TemporaryFile(/tmp/multipartBody2035631979921103246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905163212,"filename":"image_06112025_17_30_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/16/46e1e700c9fea6ce262a4f519323b603.jpg","text":"TemporaryFile(/tmp/multipartBody1172268953861923765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905163212,"filename":"image_06112025_17_30_40_6135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684710","file1":"1399684709","file0":"1399684708","file4":"1399684712","file5":"1399684713","file3":"1399684711"},"map_files_photo_id_array":[{"photo_id":"1399684713","filename":"file5"},{"photo_id":"1399684710","filename":"file2"},{"photo_id":"1399684712","filename":"file4"},{"photo_id":"1399684709","filename":"file1"},{"photo_id":"1399684708","filename":"file0"},{"photo_id":"1399684711","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684713":["hashtag1","hashtag2"]},{"1399684710":["hashtag1","hashtag2"]},{"1399684712":["hashtag1","hashtag2"]},{"1399684709":["hashtag1","hashtag2"]},{"1399684711":["hashtag1","hashtag2"]},{"1399684708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684713, 1399684710, 1399684712, 1399684709, 1399684711, 1399684708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49384570121765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:12:22.811762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/10/image_16122025_18_10_15_9613.jpg', '/home/pi/Desktop/images/16122025/18/10/image_16122025_18_10_26_10625.jpg', '/home/pi/Desktop/images/16122025/18/10/image_16122025_18_10_35_9745.jpg', '/home/pi/Desktop/images/16122025/18/10/image_16122025_18_11_05_9817.jpg', '/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_15_9876.jpg', '/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_25_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/10/image_16122025_18_10_15_9613.jpg
/home/pi/Desktop/images/16122025/18/10/image_16122025_18_10_26_10625.jpg
/home/pi/Desktop/images/16122025/18/10/image_16122025_18_10_35_9745.jpg
/home/pi/Desktop/images/16122025/18/10/image_16122025_18_11_05_9817.jpg
/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_15_9876.jpg
/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_25_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":["1399684734","1399684728","1399684721","1399684723","1399684731","1399684725"],"photo_ids_order":["1399684721","1399684723","1399684725","1399684728","1399684731","1399684734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e55d39d42c4111545b7ef34ca09aa54f.jpg","text":"TemporaryFile(/tmp/multipartBody7915887365012047398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905203401,"filename":"image_16122025_18_11_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a0b7677d0a308455c2eb0ea90e1b13c7.jpg","text":"TemporaryFile(/tmp/multipartBody6847274147621711657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905203401,"filename":"image_16122025_18_11_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/16/9aab1a1b9102b7c43b6979b26c085905.jpg","text":"TemporaryFile(/tmp/multipartBody644115163536377908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905203401,"filename":"image_16122025_18_10_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3a93728a6e227a89f3000bb35074cdc.jpg","text":"TemporaryFile(/tmp/multipartBody769023576157334793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905203401,"filename":"image_16122025_18_10_26_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/16/f4493816108b6bb6c5143e95e7dde566.jpg","text":"TemporaryFile(/tmp/multipartBody146524520312064616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905203401,"filename":"image_16122025_18_11_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/16/eba32317a981f37d17cf66d9350aac20.jpg","text":"TemporaryFile(/tmp/multipartBody4784396025555926909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905203401,"filename":"image_16122025_18_10_35_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684725","file1":"1399684723","file0":"1399684721","file4":"1399684731","file5":"1399684734","file3":"1399684728"},"map_files_photo_id_array":[{"photo_id":"1399684734","filename":"file5"},{"photo_id":"1399684725","filename":"file2"},{"photo_id":"1399684731","filename":"file4"},{"photo_id":"1399684723","filename":"file1"},{"photo_id":"1399684721","filename":"file0"},{"photo_id":"1399684728","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684734":["hashtag1","hashtag2"]},{"1399684728":["hashtag1","hashtag2"]},{"1399684721":["hashtag1","hashtag2"]},{"1399684723":["hashtag1","hashtag2"]},{"1399684731":["hashtag1","hashtag2"]},{"1399684725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684734, 1399684728, 1399684721, 1399684723, 1399684731, 1399684725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060081005096436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:13:02.780587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_36_10643.jpg', '/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_55_9758.jpg', '/home/pi/Desktop/images/16122025/18/11/image_16122025_18_12_06_10550.jpg', '/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_15_9721.jpg', '/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_36_10698.jpg', '/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_45_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_36_10643.jpg
/home/pi/Desktop/images/16122025/18/11/image_16122025_18_11_55_9758.jpg
/home/pi/Desktop/images/16122025/18/11/image_16122025_18_12_06_10550.jpg
/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_15_9721.jpg
/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_36_10698.jpg
/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_45_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":["1399684749","1399684742","1399684739","1399684741","1399684743","1399684746"],"photo_ids_order":["1399684739","1399684741","1399684742","1399684743","1399684746","1399684749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd3afd9e1e9e3a68b4df41d61095f5e8.jpg","text":"TemporaryFile(/tmp/multipartBody864987657289268006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905243425,"filename":"image_16122025_18_12_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/16/59eef58fe53700dab631d3bd15e85430.jpg","text":"TemporaryFile(/tmp/multipartBody906202040219164962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905243425,"filename":"image_16122025_18_12_06_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5037ba7606aa910860a3d0a44bbe6a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7033612132379040791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905243425,"filename":"image_16122025_18_11_36_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/646b8f981c18a4b49de63bb58f25bdad.jpg","text":"TemporaryFile(/tmp/multipartBody1335169847771489367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905243425,"filename":"image_16122025_18_11_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b1a56aa42feb2d247a2a2fb3100ae88.jpg","text":"TemporaryFile(/tmp/multipartBody9044283658348669259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905243425,"filename":"image_16122025_18_12_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/16/1c20dd0b4bf75c71ea125930aa978021.jpg","text":"TemporaryFile(/tmp/multipartBody2698742480879495084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905243425,"filename":"image_16122025_18_12_36_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684742","file1":"1399684741","file0":"1399684739","file4":"1399684746","file5":"1399684749","file3":"1399684743"},"map_files_photo_id_array":[{"photo_id":"1399684749","filename":"file5"},{"photo_id":"1399684742","filename":"file2"},{"photo_id":"1399684746","filename":"file4"},{"photo_id":"1399684741","filename":"file1"},{"photo_id":"1399684739","filename":"file0"},{"photo_id":"1399684743","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684749":["hashtag1","hashtag2"]},{"1399684742":["hashtag1","hashtag2"]},{"1399684739":["hashtag1","hashtag2"]},{"1399684741":["hashtag1","hashtag2"]},{"1399684743":["hashtag1","hashtag2"]},{"1399684746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684749, 1399684742, 1399684739, 1399684741, 1399684743, 1399684746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68950581550598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:13:42.054928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_54_1726.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_56_1678.jpg', '/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_59_2550.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_01_2782.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_04_2732.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_08_4230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_54_1726.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_56_1678.jpg
/home/pi/Desktop/images/06112025/17/30/image_06112025_17_30_59_2550.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_01_2782.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_04_2732.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_08_4230.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684760","1399684763","1399684757","1399684766","1399684765","1399684759"],"photo_ids_order":["1399684757","1399684759","1399684760","1399684763","1399684765","1399684766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a96c599f1b188627ca552f5b7c76211.jpg","text":"TemporaryFile(/tmp/multipartBody2925424785597220953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905282734,"filename":"image_06112025_17_30_59_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/16/662ca693778f6f3c0aa79f5e32070520.jpg","text":"TemporaryFile(/tmp/multipartBody2513384512316889229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905282734,"filename":"image_06112025_17_31_01_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6cca7034c5904e789c8ee4bee7777a9.jpg","text":"TemporaryFile(/tmp/multipartBody5814814315749388505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905282734,"filename":"image_06112025_17_30_54_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/16/3e2ba372297fdfd0b1607b62c64dd992.jpg","text":"TemporaryFile(/tmp/multipartBody7487398953057978315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905282734,"filename":"image_06112025_17_31_08_4230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/335e8f491a0ed3bce3062afede3ec8f1.jpg","text":"TemporaryFile(/tmp/multipartBody8756392124677205899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905282734,"filename":"image_06112025_17_31_04_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/16/ada7dab25d009cb111a645e68ab2d41a.jpg","text":"TemporaryFile(/tmp/multipartBody2217091910757807221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905282734,"filename":"image_06112025_17_30_56_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684760","file1":"1399684759","file0":"1399684757","file4":"1399684765","file5":"1399684766","file3":"1399684763"},"map_files_photo_id_array":[{"photo_id":"1399684766","filename":"file5"},{"photo_id":"1399684760","filename":"file2"},{"photo_id":"1399684765","filename":"file4"},{"photo_id":"1399684759","filename":"file1"},{"photo_id":"1399684757","filename":"file0"},{"photo_id":"1399684763","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684760":["hashtag1","hashtag2"]},{"1399684763":["hashtag1","hashtag2"]},{"1399684757":["hashtag1","hashtag2"]},{"1399684766":["hashtag1","hashtag2"]},{"1399684765":["hashtag1","hashtag2"]},{"1399684759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684760, 1399684763, 1399684757, 1399684766, 1399684765, 1399684759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83018088340759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:14:22.380685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_55_9703.jpg', '/home/pi/Desktop/images/16122025/18/12/image_16122025_18_13_05_9732.jpg', '/home/pi/Desktop/images/16122025/18/13/image_16122025_18_13_15_10701.jpg', '/home/pi/Desktop/images/16122025/18/13/image_16122025_18_13_25_9696.jpg', '/home/pi/Desktop/images/16122025/18/13/image_16122025_18_13_55_9753.jpg', '/home/pi/Desktop/images/16122025/18/13/image_16122025_18_14_05_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/12/image_16122025_18_12_55_9703.jpg
/home/pi/Desktop/images/16122025/18/12/image_16122025_18_13_05_9732.jpg
/home/pi/Desktop/images/16122025/18/13/image_16122025_18_13_15_10701.jpg
/home/pi/Desktop/images/16122025/18/13/image_16122025_18_13_25_9696.jpg
/home/pi/Desktop/images/16122025/18/13/image_16122025_18_13_55_9753.jpg
/home/pi/Desktop/images/16122025/18/13/image_16122025_18_14_05_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684796","1399684778","1399684783","1399684776","1399684770","1399684773"],"photo_ids_order":["1399684770","1399684773","1399684776","1399684778","1399684783","1399684796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0707706d68d28d3d0ab7067626150386.jpg","text":"TemporaryFile(/tmp/multipartBody6384091674817989230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905322974,"filename":"image_16122025_18_14_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/16/955114be70fdf341ddd03b7173cb2324.jpg","text":"TemporaryFile(/tmp/multipartBody353787952176697401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905322974,"filename":"image_16122025_18_13_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d782a83e78e6ed587779d21fd3b91bcb.jpg","text":"TemporaryFile(/tmp/multipartBody1042218486633275101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905322974,"filename":"image_16122025_18_13_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6cc7a6547f38c039bd222833517fa12b.jpg","text":"TemporaryFile(/tmp/multipartBody5106265952926850256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905322974,"filename":"image_16122025_18_13_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bee970c0f4e973af7fe5a30e8390b29c.jpg","text":"TemporaryFile(/tmp/multipartBody6473404883214902904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905322974,"filename":"image_16122025_18_12_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/16/f8bf46319b469b33470c3391230b6b38.jpg","text":"TemporaryFile(/tmp/multipartBody5114174925001502976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905322974,"filename":"image_16122025_18_13_05_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684776","file1":"1399684773","file0":"1399684770","file4":"1399684783","file5":"1399684796","file3":"1399684778"},"map_files_photo_id_array":[{"photo_id":"1399684796","filename":"file5"},{"photo_id":"1399684776","filename":"file2"},{"photo_id":"1399684783","filename":"file4"},{"photo_id":"1399684773","filename":"file1"},{"photo_id":"1399684770","filename":"file0"},{"photo_id":"1399684778","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684796":["hashtag1","hashtag2"]},{"1399684778":["hashtag1","hashtag2"]},{"1399684783":["hashtag1","hashtag2"]},{"1399684776":["hashtag1","hashtag2"]},{"1399684770":["hashtag1","hashtag2"]},{"1399684773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684796, 1399684778, 1399684783, 1399684776, 1399684770, 1399684773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.764612913131714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:15:03.101203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_15_9887.jpg', '/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_45_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_15_9887.jpg
/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_45_9806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684803","1399684807"],"photo_ids_order":["1399684803","1399684807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98506e45dd15b75512644f7d2cc15929.jpg","text":"TemporaryFile(/tmp/multipartBody862342859971000547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905363604,"filename":"image_16122025_18_14_15_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39aed76a65ce15ff8a5fc38ead812ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1121708063906416768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905363604,"filename":"image_16122025_18_14_45_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399684807","file0":"1399684803"},"map_files_photo_id_array":[{"photo_id":"1399684807","filename":"file1"},{"photo_id":"1399684803","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684803":["hashtag1","hashtag2"]},{"1399684807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684803, 1399684807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.299662828445435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:15:22.543858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_55_9703.jpg', '/home/pi/Desktop/images/16122025/18/14/image_16122025_18_15_05_10659.jpg', '/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_15_9593.jpg', '/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_55_9703.jpg
/home/pi/Desktop/images/16122025/18/14/image_16122025_18_15_05_10659.jpg
/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_15_9593.jpg
/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_45_9677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40291357040405273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:15:32.609937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:15:42.562385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_10_1738.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_14_3644.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_34_11699.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_38_3096.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_39_1588.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_41_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_10_1738.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_14_3644.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_34_11699.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_38_3096.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_39_1588.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_41_1548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684827","1399684821","1399684823","1399684826","1399684825","1399684824"],"photo_ids_order":["1399684821","1399684823","1399684824","1399684825","1399684826","1399684827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14ef5e5b03f8bd5a5ed448177e2cf96d.jpg","text":"TemporaryFile(/tmp/multipartBody2455990836961996142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905403216,"filename":"image_06112025_17_31_41_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f96799b288068c02d5c0d322ec6fa7dc.jpg","text":"TemporaryFile(/tmp/multipartBody961863211723767655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905403216,"filename":"image_06112025_17_31_10_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22b682ffe5f5f958f58d82b7fc102da3.jpg","text":"TemporaryFile(/tmp/multipartBody528487276900090385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905403216,"filename":"image_06112025_17_31_14_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/16/8969bc6ccee8c5fbf529951bdd350055.jpg","text":"TemporaryFile(/tmp/multipartBody1385872878008642668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905403216,"filename":"image_06112025_17_31_39_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18c29e7b969a3971f0610325e43d2de9.jpg","text":"TemporaryFile(/tmp/multipartBody488396170928384330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905403216,"filename":"image_06112025_17_31_38_3096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8d1943e480a108a48084bc9f0e5bb18.jpg","text":"TemporaryFile(/tmp/multipartBody7519550844184793794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905403216,"filename":"image_06112025_17_31_34_11699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684824","file1":"1399684823","file0":"1399684821","file4":"1399684826","file5":"1399684827","file3":"1399684825"},"map_files_photo_id_array":[{"photo_id":"1399684827","filename":"file5"},{"photo_id":"1399684824","filename":"file2"},{"photo_id":"1399684826","filename":"file4"},{"photo_id":"1399684823","filename":"file1"},{"photo_id":"1399684821","filename":"file0"},{"photo_id":"1399684825","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399684827":["hashtag1","hashtag2"]},{"1399684821":["hashtag1","hashtag2"]},{"1399684823":["hashtag1","hashtag2"]},{"1399684826":["hashtag1","hashtag2"]},{"1399684825":["hashtag1","hashtag2"]},{"1399684824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399684827, 1399684821, 1399684823, 1399684826, 1399684825, 1399684824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88914942741394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:16:22.804270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_55_9703.jpg', '/home/pi/Desktop/images/16122025/18/14/image_16122025_18_15_05_10659.jpg', '/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_15_9593.jpg', '/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_45_9677.jpg', '/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_55_9693.jpg', '/home/pi/Desktop/images/16122025/18/15/image_16122025_18_16_05_10544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/14/image_16122025_18_14_55_9703.jpg
/home/pi/Desktop/images/16122025/18/14/image_16122025_18_15_05_10659.jpg
/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_15_9593.jpg
/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_45_9677.jpg
/home/pi/Desktop/images/16122025/18/15/image_16122025_18_15_55_9693.jpg
/home/pi/Desktop/images/16122025/18/15/image_16122025_18_16_05_10544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684852","1399684840","1399684834","1399684837","1399684845","1399684839"],"photo_ids_order":["1399684834","1399684837","1399684839","1399684840","1399684845","1399684852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fed61a79d1e1166f8038ef30de6d9aad.jpg","text":"TemporaryFile(/tmp/multipartBody1208900591308433321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905443428,"filename":"image_16122025_18_16_05_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/16/4435a110359f786eb4fa6a728e93c41b.jpg","text":"TemporaryFile(/tmp/multipartBody6006612430088984233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905443428,"filename":"image_16122025_18_15_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10f877e1cb9ade37a1f62566c9767db7.jpg","text":"TemporaryFile(/tmp/multipartBody4460507823844149355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905443428,"filename":"image_16122025_18_14_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/16/d77016625d2a9d8e52320c590b57b605.jpg","text":"TemporaryFile(/tmp/multipartBody4812509577293457600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905443428,"filename":"image_16122025_18_15_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aeeef34fdc23a937099e9fa643c9fcc3.jpg","text":"TemporaryFile(/tmp/multipartBody7625683721119533838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905443428,"filename":"image_16122025_18_15_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81236a00e63b65e7296fc12401d42012.jpg","text":"TemporaryFile(/tmp/multipartBody6410878493204693809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905443428,"filename":"image_16122025_18_15_15_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684839","file1":"1399684837","file0":"1399684834","file4":"1399684845","file5":"1399684852","file3":"1399684840"},"map_files_photo_id_array":[{"photo_id":"1399684852","filename":"file5"},{"photo_id":"1399684839","filename":"file2"},{"photo_id":"1399684845","filename":"file4"},{"photo_id":"1399684837","filename":"file1"},{"photo_id":"1399684834","filename":"file0"},{"photo_id":"1399684840","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684852":["hashtag1","hashtag2"]},{"1399684840":["hashtag1","hashtag2"]},{"1399684834":["hashtag1","hashtag2"]},{"1399684837":["hashtag1","hashtag2"]},{"1399684845":["hashtag1","hashtag2"]},{"1399684839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684852, 1399684840, 1399684834, 1399684837, 1399684845, 1399684839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54613900184631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:17:02.574707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:17:12.015373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:17:22.078988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/16/image_16122025_18_16_15_9566.jpg', '/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_15_9566.jpg', '/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_25_10597.jpg', '/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_35_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/16/image_16122025_18_16_15_9566.jpg
/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_15_9566.jpg
/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_25_10597.jpg
/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_35_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684870","1399684864","1399684873","1399684867"],"photo_ids_order":["1399684864","1399684867","1399684870","1399684873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/963fb7b4a4427066f8e696b1d7551937.jpg","text":"TemporaryFile(/tmp/multipartBody7039584332876654855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905502627,"filename":"image_16122025_18_17_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aa64e33f75d3a6c7d01da34a3c125d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5178876756198945512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905502627,"filename":"image_16122025_18_16_15_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6b2efc63a7c50574b2aecc864787c38.jpg","text":"TemporaryFile(/tmp/multipartBody6449846682789629261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905502627,"filename":"image_16122025_18_17_35_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b84a531628faad3fdf6052a2df648c3.jpg","text":"TemporaryFile(/tmp/multipartBody3930315048780110351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905502627,"filename":"image_16122025_18_17_15_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684870","file1":"1399684867","file0":"1399684864","file3":"1399684873"},"map_files_photo_id_array":[{"photo_id":"1399684870","filename":"file2"},{"photo_id":"1399684867","filename":"file1"},{"photo_id":"1399684864","filename":"file0"},{"photo_id":"1399684873","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684870":["hashtag1","hashtag2"]},{"1399684864":["hashtag1","hashtag2"]},{"1399684873":["hashtag1","hashtag2"]},{"1399684867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684870, 1399684864, 1399684873, 1399684867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.298913717269897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:18:02.807864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:18:12.330101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:18:22.352542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_55_10659.jpg', '/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_15_9584.jpg', '/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_25_10763.jpg', '/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_35_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/17/image_16122025_18_17_55_10659.jpg
/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_15_9584.jpg
/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_25_10763.jpg
/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_35_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684897","1399684903","1399684893","1399684890"],"photo_ids_order":["1399684890","1399684893","1399684897","1399684903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1d18248bbab4561ce69530ed98564e6.jpg","text":"TemporaryFile(/tmp/multipartBody8372516701092590201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905562891,"filename":"image_16122025_18_18_25_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcf0d5085ad7ace57ce2fc2537ceadb0.jpg","text":"TemporaryFile(/tmp/multipartBody297098778004125216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905562891,"filename":"image_16122025_18_18_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8f25bb05fb2dd31abc9d13fb04f564c.jpg","text":"TemporaryFile(/tmp/multipartBody231866915061495080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905562891,"filename":"image_16122025_18_18_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/16/ecc3d08c632d8e4ac8e87dea98a980d3.jpg","text":"TemporaryFile(/tmp/multipartBody6429797959472204959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905562891,"filename":"image_16122025_18_17_55_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684897","file1":"1399684893","file0":"1399684890","file3":"1399684903"},"map_files_photo_id_array":[{"photo_id":"1399684897","filename":"file2"},{"photo_id":"1399684893","filename":"file1"},{"photo_id":"1399684890","filename":"file0"},{"photo_id":"1399684903","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684897":["hashtag1","hashtag2"]},{"1399684903":["hashtag1","hashtag2"]},{"1399684893":["hashtag1","hashtag2"]},{"1399684890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684897, 1399684903, 1399684893, 1399684890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.84776759147644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:19:03.503782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:19:12.533073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:19:22.655248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_55_10756.jpg', '/home/pi/Desktop/images/16122025/18/18/image_16122025_18_19_05_9841.jpg', '/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_15_9720.jpg', '/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_25_9775.jpg', '/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_35_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/18/image_16122025_18_18_55_10756.jpg
/home/pi/Desktop/images/16122025/18/18/image_16122025_18_19_05_9841.jpg
/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_15_9720.jpg
/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_25_9775.jpg
/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_35_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684926","1399684928","1399684922","1399684919","1399684924"],"photo_ids_order":["1399684919","1399684922","1399684924","1399684926","1399684928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36c028bfbf795dbd46916bbb5fb46c8e.jpg","text":"TemporaryFile(/tmp/multipartBody7337595584295315058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905623207,"filename":"image_16122025_18_19_25_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7393fcada69a372ff5e0fc6ddb5c298.jpg","text":"TemporaryFile(/tmp/multipartBody1880594717038926975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905623207,"filename":"image_16122025_18_19_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c76e7c96873ccd005e1567260fbeea21.jpg","text":"TemporaryFile(/tmp/multipartBody1380553721206203514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905623207,"filename":"image_16122025_18_19_05_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/276068323219dcb231e22cb0519a0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody4859269505974358833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905623207,"filename":"image_16122025_18_18_55_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/16/ee387d0d0818677a12b93badd4267c66.jpg","text":"TemporaryFile(/tmp/multipartBody6826943175134203208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905623207,"filename":"image_16122025_18_19_15_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684924","file1":"1399684922","file0":"1399684919","file4":"1399684928","file3":"1399684926"},"map_files_photo_id_array":[{"photo_id":"1399684924","filename":"file2"},{"photo_id":"1399684928","filename":"file4"},{"photo_id":"1399684922","filename":"file1"},{"photo_id":"1399684919","filename":"file0"},{"photo_id":"1399684926","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684926":["hashtag1","hashtag2"]},{"1399684928":["hashtag1","hashtag2"]},{"1399684922":["hashtag1","hashtag2"]},{"1399684919":["hashtag1","hashtag2"]},{"1399684924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684926, 1399684928, 1399684922, 1399684919, 1399684924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.960442781448364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:20:03.316110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:20:12.715182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:20:22.832117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_45_9737.jpg', '/home/pi/Desktop/images/16122025/18/19/image_16122025_18_20_05_10671.jpg', '/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_15_9623.jpg', '/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_35_10559.jpg', '/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_45_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/19/image_16122025_18_19_45_9737.jpg
/home/pi/Desktop/images/16122025/18/19/image_16122025_18_20_05_10671.jpg
/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_15_9623.jpg
/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_35_10559.jpg
/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_45_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684947","1399684943","1399684939","1399684959","1399684950"],"photo_ids_order":["1399684939","1399684943","1399684947","1399684950","1399684959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4ec4326cc75d46131586418078dc5304.jpg","text":"TemporaryFile(/tmp/multipartBody4534162612489447145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905683416,"filename":"image_16122025_18_20_15_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/16/221bb30d86300808651125405502384d.jpg","text":"TemporaryFile(/tmp/multipartBody7133395399646623905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905683416,"filename":"image_16122025_18_20_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/16/fcc3397c9534aada6bb746bac34ce4d2.jpg","text":"TemporaryFile(/tmp/multipartBody6989821930870247223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905683416,"filename":"image_16122025_18_19_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/16/a545f3d472d05b5464ce831ef97d8dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7299871939765936346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905683416,"filename":"image_16122025_18_20_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/427d5c885700b74e125b76c58b748c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5267248987737866119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905683416,"filename":"image_16122025_18_20_35_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684947","file1":"1399684943","file0":"1399684939","file4":"1399684959","file3":"1399684950"},"map_files_photo_id_array":[{"photo_id":"1399684947","filename":"file2"},{"photo_id":"1399684959","filename":"file4"},{"photo_id":"1399684943","filename":"file1"},{"photo_id":"1399684939","filename":"file0"},{"photo_id":"1399684950","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684947":["hashtag1","hashtag2"]},{"1399684943":["hashtag1","hashtag2"]},{"1399684939":["hashtag1","hashtag2"]},{"1399684959":["hashtag1","hashtag2"]},{"1399684950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684947, 1399684943, 1399684939, 1399684959, 1399684950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.82405972480774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:21:02.714374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:21:12.024636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:21:22.079304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_55_9705.jpg', '/home/pi/Desktop/images/16122025/18/20/image_16122025_18_21_05_10775.jpg', '/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_15_9664.jpg', '/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_35_10624.jpg', '/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_45_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/20/image_16122025_18_20_55_9705.jpg
/home/pi/Desktop/images/16122025/18/20/image_16122025_18_21_05_10775.jpg
/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_15_9664.jpg
/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_35_10624.jpg
/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_45_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684982","1399684979","1399684984","1399684986","1399684977"],"photo_ids_order":["1399684977","1399684979","1399684982","1399684984","1399684986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5290cae0ec7d6cd7c94e939ae05cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody3303952652993205047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905742663,"filename":"image_16122025_18_21_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/16/bb726163ca08985fb46d233a27230e13.jpg","text":"TemporaryFile(/tmp/multipartBody7739423424403530967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905742663,"filename":"image_16122025_18_21_05_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61949a9b08d9382c53140cd354267fae.jpg","text":"TemporaryFile(/tmp/multipartBody4721412919856022572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905742663,"filename":"image_16122025_18_21_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/079b7c99bd4529e2327cf3386754fa53.jpg","text":"TemporaryFile(/tmp/multipartBody4697831809732368355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905742663,"filename":"image_16122025_18_21_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7cfe47463ea0d2670df48a5c9518c957.jpg","text":"TemporaryFile(/tmp/multipartBody1592403359362630635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905742663,"filename":"image_16122025_18_20_55_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684982","file1":"1399684979","file0":"1399684977","file4":"1399684986","file3":"1399684984"},"map_files_photo_id_array":[{"photo_id":"1399684982","filename":"file2"},{"photo_id":"1399684986","filename":"file4"},{"photo_id":"1399684979","filename":"file1"},{"photo_id":"1399684977","filename":"file0"},{"photo_id":"1399684984","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684982":["hashtag1","hashtag2"]},{"1399684979":["hashtag1","hashtag2"]},{"1399684984":["hashtag1","hashtag2"]},{"1399684986":["hashtag1","hashtag2"]},{"1399684977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684982, 1399684979, 1399684984, 1399684986, 1399684977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.31024146080017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:22:02.730762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:22:12.363532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:22:22.326687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_55_9684.jpg', '/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_25_9781.jpg', '/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_35_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/21/image_16122025_18_21_55_9684.jpg
/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_25_9781.jpg
/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_35_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399684991","1399684994","1399684992"],"photo_ids_order":["1399684991","1399684992","1399684994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf1167df6f8cb4ddc9a99800399d10ba.jpg","text":"TemporaryFile(/tmp/multipartBody428757431959773891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905802818,"filename":"image_16122025_18_21_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17effc6b3563b84cf08dcb7522227dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3843523749033416667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905802818,"filename":"image_16122025_18_22_35_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/16/f13e1073740caedafe7c4abcc4006a19.jpg","text":"TemporaryFile(/tmp/multipartBody8962182259364764163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905802818,"filename":"image_16122025_18_22_25_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399684994","file1":"1399684992","file0":"1399684991"},"map_files_photo_id_array":[{"photo_id":"1399684994","filename":"file2"},{"photo_id":"1399684992","filename":"file1"},{"photo_id":"1399684991","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399684991":["hashtag1","hashtag2"]},{"1399684994":["hashtag1","hashtag2"]},{"1399684992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399684991, 1399684994, 1399684992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.07521915435791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:23:03.285102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:23:12.564961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:23:22.607913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_45_10731.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_25_10635.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_35_9602.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_45_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_45_10731.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_25_10635.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_35_9602.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_45_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.4258854389190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:23:32.686848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:23:42.624146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_42_1623.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_46_3897.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_48_1654.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_52_4138.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_54_1645.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_56_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_42_1623.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_46_3897.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_48_1654.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_52_4138.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_54_1645.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_56_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":["1399685042","1399685039","1399685041","1399685035","1399685040","1399685043"],"photo_ids_order":["1399685035","1399685039","1399685040","1399685041","1399685042","1399685043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25b5c0895ef20b125cdcd7814e01313c.jpg","text":"TemporaryFile(/tmp/multipartBody200382372501430089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905883358,"filename":"image_06112025_17_31_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/16/856b56d3a4876c5ce562d1dba0f540fc.jpg","text":"TemporaryFile(/tmp/multipartBody2912424586737265989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905883358,"filename":"image_06112025_17_31_46_3897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2a7b3a8a260bb6ba7b1dd947d2fa60a4.jpg","text":"TemporaryFile(/tmp/multipartBody5910941024040221265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905883358,"filename":"image_06112025_17_31_52_4138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bad3c96f76dfec2d0589c7d7b457aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2639120108287811529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905883358,"filename":"image_06112025_17_31_42_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/efbac29d71eaefed490dbd2e58a5d0d0.jpg","text":"TemporaryFile(/tmp/multipartBody828160696967946028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905883358,"filename":"image_06112025_17_31_48_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/16/53d474feaf5171b0e92cb3ad53092392.jpg","text":"TemporaryFile(/tmp/multipartBody7611146374673340421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905883358,"filename":"image_06112025_17_31_56_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685040","file1":"1399685039","file0":"1399685035","file4":"1399685042","file5":"1399685043","file3":"1399685041"},"map_files_photo_id_array":[{"photo_id":"1399685043","filename":"file5"},{"photo_id":"1399685040","filename":"file2"},{"photo_id":"1399685042","filename":"file4"},{"photo_id":"1399685039","filename":"file1"},{"photo_id":"1399685035","filename":"file0"},{"photo_id":"1399685041","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399685042":["hashtag1","hashtag2"]},{"1399685039":["hashtag1","hashtag2"]},{"1399685041":["hashtag1","hashtag2"]},{"1399685035":["hashtag1","hashtag2"]},{"1399685040":["hashtag1","hashtag2"]},{"1399685043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399685042, 1399685039, 1399685041, 1399685035, 1399685040, 1399685043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.134408712387085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:24:21.853991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_45_10731.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_25_10635.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_35_9602.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_45_9868.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_56_10684.jpg', '/home/pi/Desktop/images/16122025/18/23/image_16122025_18_24_05_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/22/image_16122025_18_22_45_10731.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_25_10635.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_35_9602.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_45_9868.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_23_56_10684.jpg
/home/pi/Desktop/images/16122025/18/23/image_16122025_18_24_05_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":["1399685054","1399685048","1399685057","1399685044","1399685052","1399685046"],"photo_ids_order":["1399685044","1399685046","1399685048","1399685052","1399685054","1399685057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c52a4afd0f619df41e0a7d6285174bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7825099312391509601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905922474,"filename":"image_16122025_18_23_56_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6253f4e3afdf7d32a78b6c01d0a3d30.jpg","text":"TemporaryFile(/tmp/multipartBody1119781676385580413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905922474,"filename":"image_16122025_18_23_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a95ea848fe029f15c8e0ac61084715e.jpg","text":"TemporaryFile(/tmp/multipartBody228035713730925116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905922474,"filename":"image_16122025_18_24_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2febed6d6abb01ecfb94ff52697bb488.jpg","text":"TemporaryFile(/tmp/multipartBody6047250107335901022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905922474,"filename":"image_16122025_18_22_45_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26511e763cc32aed41d1c39781a4d01d.jpg","text":"TemporaryFile(/tmp/multipartBody7520746431540859530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905922474,"filename":"image_16122025_18_23_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/16/f4074483d506f81044929c9b0675435f.jpg","text":"TemporaryFile(/tmp/multipartBody6176675337601865056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905922474,"filename":"image_16122025_18_23_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685048","file1":"1399685046","file0":"1399685044","file4":"1399685054","file5":"1399685057","file3":"1399685052"},"map_files_photo_id_array":[{"photo_id":"1399685057","filename":"file5"},{"photo_id":"1399685048","filename":"file2"},{"photo_id":"1399685054","filename":"file4"},{"photo_id":"1399685046","filename":"file1"},{"photo_id":"1399685044","filename":"file0"},{"photo_id":"1399685052","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685054":["hashtag1","hashtag2"]},{"1399685048":["hashtag1","hashtag2"]},{"1399685057":["hashtag1","hashtag2"]},{"1399685044":["hashtag1","hashtag2"]},{"1399685052":["hashtag1","hashtag2"]},{"1399685046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685054, 1399685048, 1399685057, 1399685044, 1399685052, 1399685046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.281012773513794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:25:02.664606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_15_9772.jpg', '/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_26_10609.jpg', '/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_35_9660.jpg', '/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_45_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_15_9772.jpg
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_26_10609.jpg
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_35_9660.jpg
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_45_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":["1399685063","1399685062","1399685061","1399685064"],"photo_ids_order":["1399685061","1399685062","1399685063","1399685064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/faff319ed0980816a7ac23b7371ac9f6.jpg","text":"TemporaryFile(/tmp/multipartBody3817135960982043737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905963257,"filename":"image_16122025_18_24_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/164bcbf765711868cd67ffa83febd293.jpg","text":"TemporaryFile(/tmp/multipartBody918103625407924663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905963257,"filename":"image_16122025_18_24_26_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7de9ae6b909904ff45e486d82d7c8269.jpg","text":"TemporaryFile(/tmp/multipartBody3224515556945968308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905963257,"filename":"image_16122025_18_24_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aedf9481bb88604a6b71da6cc41cddb1.jpg","text":"TemporaryFile(/tmp/multipartBody8906629191704215362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765905963257,"filename":"image_16122025_18_24_45_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685063","file1":"1399685062","file0":"1399685061","file3":"1399685064"},"map_files_photo_id_array":[{"photo_id":"1399685063","filename":"file2"},{"photo_id":"1399685062","filename":"file1"},{"photo_id":"1399685061","filename":"file0"},{"photo_id":"1399685064","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685063":["hashtag1","hashtag2"]},{"1399685062":["hashtag1","hashtag2"]},{"1399685061":["hashtag1","hashtag2"]},{"1399685064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685063, 1399685062, 1399685061, 1399685064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.53434133529663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:25:32.079488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:25:42.082465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_58_1659.jpg', '/home/pi/Desktop/images/06112025/17/31/image_06112025_17_32_00_1661.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_01_1614.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_05_3523.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_08_2852.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_10_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_31_58_1659.jpg
/home/pi/Desktop/images/06112025/17/31/image_06112025_17_32_00_1661.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_01_1614.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_05_3523.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_08_2852.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_10_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685072","1399685075","1399685069","1399685074","1399685073","1399685076"],"photo_ids_order":["1399685069","1399685072","1399685073","1399685074","1399685075","1399685076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b4320695f43f567aeb186e4b6371617.jpg","text":"TemporaryFile(/tmp/multipartBody3588251797687921316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906002742,"filename":"image_06112025_17_32_00_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/686fbd5cbd4645c1463e3e86efa9c853.jpg","text":"TemporaryFile(/tmp/multipartBody1637851090643543854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906002742,"filename":"image_06112025_17_32_08_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/16/ea8bb21277b6c0108faaaabe9cade7a2.jpg","text":"TemporaryFile(/tmp/multipartBody7202643407575179317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906002742,"filename":"image_06112025_17_31_58_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/16/adde7b1b913c886044d33f2fb4a333ee.jpg","text":"TemporaryFile(/tmp/multipartBody1886502026215972673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906002742,"filename":"image_06112025_17_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/16/dbc8fbff63032c7bfe38af04dd6fd5d4.jpg","text":"TemporaryFile(/tmp/multipartBody2661322691858517568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906002742,"filename":"image_06112025_17_32_01_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5df46b538a2526025fecb95ff1589756.jpg","text":"TemporaryFile(/tmp/multipartBody5807269263045703259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906002742,"filename":"image_06112025_17_32_10_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685073","file1":"1399685072","file0":"1399685069","file4":"1399685075","file5":"1399685076","file3":"1399685074"},"map_files_photo_id_array":[{"photo_id":"1399685076","filename":"file5"},{"photo_id":"1399685073","filename":"file2"},{"photo_id":"1399685075","filename":"file4"},{"photo_id":"1399685072","filename":"file1"},{"photo_id":"1399685069","filename":"file0"},{"photo_id":"1399685074","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399685072":["hashtag1","hashtag2"]},{"1399685075":["hashtag1","hashtag2"]},{"1399685069":["hashtag1","hashtag2"]},{"1399685074":["hashtag1","hashtag2"]},{"1399685073":["hashtag1","hashtag2"]},{"1399685076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399685072, 1399685075, 1399685069, 1399685074, 1399685073, 1399685076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50096845626831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:26:22.368908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_55_10003.jpg', '/home/pi/Desktop/images/16122025/18/24/image_16122025_18_25_05_10605.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_15_9660.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_25_9661.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_35_10681.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_55_10003.jpg
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_25_05_10605.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_15_9660.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_25_9661.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_35_10681.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_45_9694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47199034690856934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:26:32.390664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:26:42.352919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_13_2671.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_18_4973.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_20_1619.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_22_2600.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_26_3632.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_29_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_13_2671.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_18_4973.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_20_1619.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_22_2600.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_26_3632.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_29_2876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685087","1399685095","1399685089","1399685094","1399685097","1399685096"],"photo_ids_order":["1399685087","1399685089","1399685094","1399685095","1399685096","1399685097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37c63c604b0296cb59ccd7e64c4e0017.jpg","text":"TemporaryFile(/tmp/multipartBody5064713203608994678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906063013,"filename":"image_06112025_17_32_13_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/16/245b412a4022d481e89d965a935ff700.jpg","text":"TemporaryFile(/tmp/multipartBody8169964600680466598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906063013,"filename":"image_06112025_17_32_22_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08a1a1f9ec0690baec654405e6b5769f.jpg","text":"TemporaryFile(/tmp/multipartBody412463137976896007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906063013,"filename":"image_06112025_17_32_18_4973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c02c513fb5e65304dcac3c62f214ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2337627209905199133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906063013,"filename":"image_06112025_17_32_20_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/16/bfb6e4cf05f8a873e51c30f4d3fa6f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6284248485967737272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906063013,"filename":"image_06112025_17_32_29_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/16/2f70b006f8987af0f9bc644301188f98.jpg","text":"TemporaryFile(/tmp/multipartBody4899589077008162526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906063013,"filename":"image_06112025_17_32_26_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685094","file1":"1399685089","file0":"1399685087","file4":"1399685096","file5":"1399685097","file3":"1399685095"},"map_files_photo_id_array":[{"photo_id":"1399685097","filename":"file5"},{"photo_id":"1399685094","filename":"file2"},{"photo_id":"1399685096","filename":"file4"},{"photo_id":"1399685089","filename":"file1"},{"photo_id":"1399685087","filename":"file0"},{"photo_id":"1399685095","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399685087":["hashtag1","hashtag2"]},{"1399685095":["hashtag1","hashtag2"]},{"1399685089":["hashtag1","hashtag2"]},{"1399685094":["hashtag1","hashtag2"]},{"1399685097":["hashtag1","hashtag2"]},{"1399685096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399685087, 1399685095, 1399685089, 1399685094, 1399685097, 1399685096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.666510820388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:27:22.559432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_55_10003.jpg', '/home/pi/Desktop/images/16122025/18/24/image_16122025_18_25_05_10605.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_15_9660.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_25_9661.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_35_10681.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_24_55_10003.jpg
/home/pi/Desktop/images/16122025/18/24/image_16122025_18_25_05_10605.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_15_9660.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_25_9661.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_35_10681.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_45_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":["1399685109","1399685099","1399685105","1399685098","1399685101","1399685103"],"photo_ids_order":["1399685098","1399685099","1399685101","1399685103","1399685105","1399685109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92e29d2c85cd026b89784792bdaa79ec.jpg","text":"TemporaryFile(/tmp/multipartBody2297297026389076390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906103159,"filename":"image_16122025_18_25_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/16/5fe6a61392e5ede92fa96a600dafed37.jpg","text":"TemporaryFile(/tmp/multipartBody2233225573800644621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906103159,"filename":"image_16122025_18_25_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e96e5e8fd29819de89c327cb67695b5.jpg","text":"TemporaryFile(/tmp/multipartBody1993188934476189170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906103159,"filename":"image_16122025_18_25_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/16/9f2a67abc808c633e516620f556fc3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2244684526648357563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906103159,"filename":"image_16122025_18_24_55_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c1c73410d1f0651cb0355e68f3a535a.jpg","text":"TemporaryFile(/tmp/multipartBody311172830724154655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906103159,"filename":"image_16122025_18_25_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/16/8702eb9e521b6c4ab0fd9987451ceafb.jpg","text":"TemporaryFile(/tmp/multipartBody8611271784808296858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906103159,"filename":"image_16122025_18_25_25_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685101","file1":"1399685099","file0":"1399685098","file4":"1399685105","file5":"1399685109","file3":"1399685103"},"map_files_photo_id_array":[{"photo_id":"1399685109","filename":"file5"},{"photo_id":"1399685101","filename":"file2"},{"photo_id":"1399685105","filename":"file4"},{"photo_id":"1399685099","filename":"file1"},{"photo_id":"1399685098","filename":"file0"},{"photo_id":"1399685103","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685109":["hashtag1","hashtag2"]},{"1399685099":["hashtag1","hashtag2"]},{"1399685105":["hashtag1","hashtag2"]},{"1399685098":["hashtag1","hashtag2"]},{"1399685101":["hashtag1","hashtag2"]},{"1399685103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685109, 1399685099, 1399685105, 1399685098, 1399685101, 1399685103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9119188785553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:28:02.290538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_55_9668.jpg', '/home/pi/Desktop/images/16122025/18/25/image_16122025_18_26_05_10642.jpg', '/home/pi/Desktop/images/16122025/18/26/image_16122025_18_26_15_9847.jpg', '/home/pi/Desktop/images/16122025/18/26/image_16122025_18_26_25_9660.jpg', '/home/pi/Desktop/images/16122025/18/26/image_16122025_18_26_55_9873.jpg', '/home/pi/Desktop/images/16122025/18/26/image_16122025_18_27_05_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_25_55_9668.jpg
/home/pi/Desktop/images/16122025/18/25/image_16122025_18_26_05_10642.jpg
/home/pi/Desktop/images/16122025/18/26/image_16122025_18_26_15_9847.jpg
/home/pi/Desktop/images/16122025/18/26/image_16122025_18_26_25_9660.jpg
/home/pi/Desktop/images/16122025/18/26/image_16122025_18_26_55_9873.jpg
/home/pi/Desktop/images/16122025/18/26/image_16122025_18_27_05_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":["1399685115","1399685120","1399685117","1399685119","1399685122","1399685118"],"photo_ids_order":["1399685115","1399685117","1399685118","1399685119","1399685120","1399685122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec804a062653360c33d7b158e7354183.jpg","text":"TemporaryFile(/tmp/multipartBody3137743615818589728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906142907,"filename":"image_16122025_18_25_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/597224a77027247d8ddb598eafbb587f.jpg","text":"TemporaryFile(/tmp/multipartBody4830893179650047721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906142907,"filename":"image_16122025_18_26_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/16/0e12fa2287137f9092c46d5fd7a93ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2139968660591206205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906142907,"filename":"image_16122025_18_26_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78f3ff3f3fa66da7216162fbdca5f311.jpg","text":"TemporaryFile(/tmp/multipartBody4932119741956549946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906142907,"filename":"image_16122025_18_26_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/16/a5491d853567bec933b40dfff2a1ea03.jpg","text":"TemporaryFile(/tmp/multipartBody8286359605016695048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906142907,"filename":"image_16122025_18_27_05_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ebd3c6b38f1f9a970b8aac279ff2c6a2.jpg","text":"TemporaryFile(/tmp/multipartBody1603639886460173261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906142907,"filename":"image_16122025_18_26_15_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685118","file1":"1399685117","file0":"1399685115","file4":"1399685120","file5":"1399685122","file3":"1399685119"},"map_files_photo_id_array":[{"photo_id":"1399685122","filename":"file5"},{"photo_id":"1399685118","filename":"file2"},{"photo_id":"1399685120","filename":"file4"},{"photo_id":"1399685117","filename":"file1"},{"photo_id":"1399685115","filename":"file0"},{"photo_id":"1399685119","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685115":["hashtag1","hashtag2"]},{"1399685120":["hashtag1","hashtag2"]},{"1399685117":["hashtag1","hashtag2"]},{"1399685119":["hashtag1","hashtag2"]},{"1399685122":["hashtag1","hashtag2"]},{"1399685118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685115, 1399685120, 1399685117, 1399685119, 1399685122, 1399685118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52193570137024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:28:41.802382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_31_2717.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_34_2593.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_37_2916.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_41_3951.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_44_3340.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_47_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_31_2717.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_34_2593.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_37_2916.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_41_3951.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_44_3340.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_47_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685132","1399685135","1399685137","1399685134","1399685136","1399685130"],"photo_ids_order":["1399685130","1399685132","1399685134","1399685135","1399685136","1399685137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d0eb6247ac2ce9956f1526ce78ede5f.jpg","text":"TemporaryFile(/tmp/multipartBody1623085012549107491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906182492,"filename":"image_06112025_17_32_34_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/16/ba12f16bdab98e71c58f904eba2b76f6.jpg","text":"TemporaryFile(/tmp/multipartBody3621794520743978082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906182492,"filename":"image_06112025_17_32_41_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/16/e34ad790e982a673c5ff96f01198582d.jpg","text":"TemporaryFile(/tmp/multipartBody7507607595110131109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906182492,"filename":"image_06112025_17_32_47_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5f46150dfcb61517074f28f0125b6396.jpg","text":"TemporaryFile(/tmp/multipartBody4304605886357598249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906182492,"filename":"image_06112025_17_32_37_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/16/2c949a737ea395ff451fa3ac60e584cb.jpg","text":"TemporaryFile(/tmp/multipartBody1560041583711018683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906182492,"filename":"image_06112025_17_32_44_3340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf7b311e686f94d893473abc5f2f3628.jpg","text":"TemporaryFile(/tmp/multipartBody8055443808835648199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906182492,"filename":"image_06112025_17_32_31_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685134","file1":"1399685132","file0":"1399685130","file4":"1399685136","file5":"1399685137","file3":"1399685135"},"map_files_photo_id_array":[{"photo_id":"1399685137","filename":"file5"},{"photo_id":"1399685134","filename":"file2"},{"photo_id":"1399685136","filename":"file4"},{"photo_id":"1399685132","filename":"file1"},{"photo_id":"1399685130","filename":"file0"},{"photo_id":"1399685135","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399685132":["hashtag1","hashtag2"]},{"1399685135":["hashtag1","hashtag2"]},{"1399685137":["hashtag1","hashtag2"]},{"1399685134":["hashtag1","hashtag2"]},{"1399685136":["hashtag1","hashtag2"]},{"1399685130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399685132, 1399685135, 1399685137, 1399685134, 1399685136, 1399685130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98321533203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:29:22.249724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_16_10594.jpg', '/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_25_9754.jpg', '/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_45_9578.jpg', '/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_55_10714.jpg', '/home/pi/Desktop/images/16122025/18/27/image_16122025_18_28_05_9738.jpg', '/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_25_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_16_10594.jpg
/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_25_9754.jpg
/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_45_9578.jpg
/home/pi/Desktop/images/16122025/18/27/image_16122025_18_27_55_10714.jpg
/home/pi/Desktop/images/16122025/18/27/image_16122025_18_28_05_9738.jpg
/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_25_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685150","1399685144","1399685153","1399685146","1399685148","1399685142"],"photo_ids_order":["1399685142","1399685144","1399685146","1399685148","1399685150","1399685153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5405fc57386b143f86ef506de74a2815.jpg","text":"TemporaryFile(/tmp/multipartBody8245321603503945451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906222833,"filename":"image_16122025_18_28_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/16/ae9f07eb7b072624d8af6fac1b4d068e.jpg","text":"TemporaryFile(/tmp/multipartBody4768662992353424111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906222833,"filename":"image_16122025_18_27_25_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c933dbea4545b3710e415e9a77e5f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8763088542164030662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906222833,"filename":"image_16122025_18_28_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d88f2c5074790894aec0828aea495b8.jpg","text":"TemporaryFile(/tmp/multipartBody5543963843242181046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906222833,"filename":"image_16122025_18_27_45_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c45dd770145b6025cf7ce5e32c11944.jpg","text":"TemporaryFile(/tmp/multipartBody7548817813451003801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906222833,"filename":"image_16122025_18_27_55_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd48270b7cd859363cb7fe33e7054c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8740037318494363308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906222833,"filename":"image_16122025_18_27_16_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685146","file1":"1399685144","file0":"1399685142","file4":"1399685150","file5":"1399685153","file3":"1399685148"},"map_files_photo_id_array":[{"photo_id":"1399685153","filename":"file5"},{"photo_id":"1399685146","filename":"file2"},{"photo_id":"1399685150","filename":"file4"},{"photo_id":"1399685144","filename":"file1"},{"photo_id":"1399685142","filename":"file0"},{"photo_id":"1399685148","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685150":["hashtag1","hashtag2"]},{"1399685144":["hashtag1","hashtag2"]},{"1399685153":["hashtag1","hashtag2"]},{"1399685146":["hashtag1","hashtag2"]},{"1399685148":["hashtag1","hashtag2"]},{"1399685142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685150, 1399685144, 1399685153, 1399685146, 1399685148, 1399685142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.739346981048584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:30:02.725538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_35_9672.jpg', '/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_45_9834.jpg', '/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_55_9766.jpg', '/home/pi/Desktop/images/16122025/18/28/image_16122025_18_29_05_10648.jpg', '/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_15_9740.jpg', '/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_25_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_35_9672.jpg
/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_45_9834.jpg
/home/pi/Desktop/images/16122025/18/28/image_16122025_18_28_55_9766.jpg
/home/pi/Desktop/images/16122025/18/28/image_16122025_18_29_05_10648.jpg
/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_15_9740.jpg
/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_25_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685159","1399685161","1399685155","1399685160","1399685163","1399685157"],"photo_ids_order":["1399685155","1399685157","1399685159","1399685160","1399685161","1399685163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aa5717cf8105381d1b86904086462be7.jpg","text":"TemporaryFile(/tmp/multipartBody3215909753129200133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906263348,"filename":"image_16122025_18_28_55_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/16/33dc3eb1a0f86d57eaa45f649824a438.jpg","text":"TemporaryFile(/tmp/multipartBody8730295355043350012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906263348,"filename":"image_16122025_18_29_15_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5149af294d5f4c3f152f4b087d51567a.jpg","text":"TemporaryFile(/tmp/multipartBody8246395660993861677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906263348,"filename":"image_16122025_18_28_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/16/9a99b9647177df2676315ab5695751b6.jpg","text":"TemporaryFile(/tmp/multipartBody6871368860004424842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906263348,"filename":"image_16122025_18_29_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91918945fe19d5849f0802700a7cdfad.jpg","text":"TemporaryFile(/tmp/multipartBody4372117043553358766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906263348,"filename":"image_16122025_18_29_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/16/213e0054ffda24b6d927a42f2b987f11.jpg","text":"TemporaryFile(/tmp/multipartBody3933840422851246658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906263348,"filename":"image_16122025_18_28_45_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685159","file1":"1399685157","file0":"1399685155","file4":"1399685161","file5":"1399685163","file3":"1399685160"},"map_files_photo_id_array":[{"photo_id":"1399685163","filename":"file5"},{"photo_id":"1399685159","filename":"file2"},{"photo_id":"1399685161","filename":"file4"},{"photo_id":"1399685157","filename":"file1"},{"photo_id":"1399685155","filename":"file0"},{"photo_id":"1399685160","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685159":["hashtag1","hashtag2"]},{"1399685161":["hashtag1","hashtag2"]},{"1399685155":["hashtag1","hashtag2"]},{"1399685160":["hashtag1","hashtag2"]},{"1399685163":["hashtag1","hashtag2"]},{"1399685157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685159, 1399685161, 1399685155, 1399685160, 1399685163, 1399685157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92506694793701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:30:42.166164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_50_2701.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_52_2508.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_56_3595.jpg', '/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_58_2568.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_01_2683.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_04_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_50_2701.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_52_2508.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_56_3595.jpg
/home/pi/Desktop/images/06112025/17/32/image_06112025_17_32_58_2568.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_01_2683.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_04_3540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685183","1399685173","1399685182","1399685179","1399685181","1399685180"],"photo_ids_order":["1399685173","1399685179","1399685180","1399685181","1399685182","1399685183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8161aaa2e4d7f4755c7e12acb474082.jpg","text":"TemporaryFile(/tmp/multipartBody1184466646546751530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906302849,"filename":"image_06112025_17_33_04_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/16/275624955391bb3b2062f3c1724ada62.jpg","text":"TemporaryFile(/tmp/multipartBody3771550956674087007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906302849,"filename":"image_06112025_17_32_50_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ba5ff1b0ed39d5aa00425c08056e6cc.jpg","text":"TemporaryFile(/tmp/multipartBody6811031951993971773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906302849,"filename":"image_06112025_17_33_01_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d231d7078d532b0a1e394e4f7b1e6cf.jpg","text":"TemporaryFile(/tmp/multipartBody8534707114119155514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906302849,"filename":"image_06112025_17_32_52_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/16/9a923887e42cf8048db09bdb0a906250.jpg","text":"TemporaryFile(/tmp/multipartBody8929805667314969667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906302849,"filename":"image_06112025_17_32_58_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/16/38973b8fa67d20eb18ea1097c40294f1.jpg","text":"TemporaryFile(/tmp/multipartBody1300132182672804233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906302849,"filename":"image_06112025_17_32_56_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685180","file1":"1399685179","file0":"1399685173","file4":"1399685182","file5":"1399685183","file3":"1399685181"},"map_files_photo_id_array":[{"photo_id":"1399685183","filename":"file5"},{"photo_id":"1399685180","filename":"file2"},{"photo_id":"1399685182","filename":"file4"},{"photo_id":"1399685179","filename":"file1"},{"photo_id":"1399685173","filename":"file0"},{"photo_id":"1399685181","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399685183":["hashtag1","hashtag2"]},{"1399685173":["hashtag1","hashtag2"]},{"1399685182":["hashtag1","hashtag2"]},{"1399685179":["hashtag1","hashtag2"]},{"1399685181":["hashtag1","hashtag2"]},{"1399685180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399685183, 1399685173, 1399685182, 1399685179, 1399685181, 1399685180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00853729248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:31:22.431743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_35_10612.jpg', '/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_55_9638.jpg', '/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_14_10038.jpg', '/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_24_10712.jpg', '/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_34_9641.jpg', '/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_35_10612.jpg
/home/pi/Desktop/images/16122025/18/29/image_16122025_18_29_55_9638.jpg
/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_14_10038.jpg
/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_24_10712.jpg
/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_34_9641.jpg
/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685214","1399685208","1399685216","1399685220","1399685217","1399685211"],"photo_ids_order":["1399685208","1399685211","1399685214","1399685216","1399685217","1399685220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0920ff99b5b380d38d55a90e4dd00ff7.jpg","text":"TemporaryFile(/tmp/multipartBody7146653647512976983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906343025,"filename":"image_16122025_18_31_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/16/afbfd74ddf621e2b4a0c45e8bc60075e.jpg","text":"TemporaryFile(/tmp/multipartBody1322091750275066873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906343025,"filename":"image_16122025_18_29_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1acf74ae289d8ed51f42946f98188e7.jpg","text":"TemporaryFile(/tmp/multipartBody1492202013945465149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906343025,"filename":"image_16122025_18_31_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/16/9b2bb70bce224cc0573fcc7311728888.jpg","text":"TemporaryFile(/tmp/multipartBody3194354032540994507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906343025,"filename":"image_16122025_18_31_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/16/04ea53834e6cc93f8fd85e8d1051f2a0.jpg","text":"TemporaryFile(/tmp/multipartBody5595575435406177483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906343025,"filename":"image_16122025_18_31_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/592b4d67393ac551d335753ef75da886.jpg","text":"TemporaryFile(/tmp/multipartBody5962493938222348943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906343025,"filename":"image_16122025_18_29_55_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685214","file1":"1399685211","file0":"1399685208","file4":"1399685217","file5":"1399685220","file3":"1399685216"},"map_files_photo_id_array":[{"photo_id":"1399685220","filename":"file5"},{"photo_id":"1399685214","filename":"file2"},{"photo_id":"1399685217","filename":"file4"},{"photo_id":"1399685211","filename":"file1"},{"photo_id":"1399685208","filename":"file0"},{"photo_id":"1399685216","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685214":["hashtag1","hashtag2"]},{"1399685208":["hashtag1","hashtag2"]},{"1399685216":["hashtag1","hashtag2"]},{"1399685220":["hashtag1","hashtag2"]},{"1399685217":["hashtag1","hashtag2"]},{"1399685211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685214, 1399685208, 1399685216, 1399685220, 1399685217, 1399685211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58178186416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:32:03.050586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:32:12.555116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:32:22.595583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_54_10555.jpg', '/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_14_10644.jpg', '/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_24_9722.jpg', '/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_34_9729.jpg', '/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_44_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/31/image_16122025_18_31_54_10555.jpg
/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_14_10644.jpg
/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_24_9722.jpg
/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_34_9729.jpg
/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_44_10573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685225","1399685234","1399685228","1399685236","1399685232"],"photo_ids_order":["1399685225","1399685228","1399685232","1399685234","1399685236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83acefeda7d74058cd2177198c7268e0.jpg","text":"TemporaryFile(/tmp/multipartBody1486144795627256689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906403154,"filename":"image_16122025_18_31_54_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/16/8dfa7f33d274fe023291032a9c9a9ab2.jpg","text":"TemporaryFile(/tmp/multipartBody8494977440093838788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906403154,"filename":"image_16122025_18_32_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b73a30bb28f9474be76207b435052d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7724050331990082999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906403154,"filename":"image_16122025_18_32_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b424c6c27099c386babc3a1785c8f14.jpg","text":"TemporaryFile(/tmp/multipartBody7049425152216830195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906403154,"filename":"image_16122025_18_32_44_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/16/cdbca00adbf763a5ec0218e3d0cfb8f8.jpg","text":"TemporaryFile(/tmp/multipartBody5718925748644591399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906403154,"filename":"image_16122025_18_32_24_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685232","file1":"1399685228","file0":"1399685225","file4":"1399685236","file3":"1399685234"},"map_files_photo_id_array":[{"photo_id":"1399685232","filename":"file2"},{"photo_id":"1399685236","filename":"file4"},{"photo_id":"1399685228","filename":"file1"},{"photo_id":"1399685225","filename":"file0"},{"photo_id":"1399685234","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685225":["hashtag1","hashtag2"]},{"1399685234":["hashtag1","hashtag2"]},{"1399685228":["hashtag1","hashtag2"]},{"1399685236":["hashtag1","hashtag2"]},{"1399685232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685225, 1399685234, 1399685228, 1399685236, 1399685232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.62667417526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:33:02.524564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:33:11.798202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:33:21.964788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_54_9800.jpg', '/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_14_9800.jpg', '/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_24_10688.jpg', '/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_44_10548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/32/image_16122025_18_32_54_9800.jpg
/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_14_9800.jpg
/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_24_10688.jpg
/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_44_10548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685264","1399685266","1399685259","1399685262"],"photo_ids_order":["1399685259","1399685262","1399685264","1399685266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/caba6e97ef0eeeb8aec89394148977fe.jpg","text":"TemporaryFile(/tmp/multipartBody7062685936040667060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906462487,"filename":"image_16122025_18_33_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/16/f8b76d3be6f422e013047e7cc6f62d83.jpg","text":"TemporaryFile(/tmp/multipartBody8643787348379428592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906462487,"filename":"image_16122025_18_33_44_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/16/2c0597cadebbd48ad59184b0ae6cd695.jpg","text":"TemporaryFile(/tmp/multipartBody8102429675183350503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906462487,"filename":"image_16122025_18_32_54_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/16/e987896b3647dabe0d923e4cf38e434c.jpg","text":"TemporaryFile(/tmp/multipartBody5150084740124906028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906462487,"filename":"image_16122025_18_33_14_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685264","file1":"1399685262","file0":"1399685259","file3":"1399685266"},"map_files_photo_id_array":[{"photo_id":"1399685264","filename":"file2"},{"photo_id":"1399685262","filename":"file1"},{"photo_id":"1399685259","filename":"file0"},{"photo_id":"1399685266","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685264":["hashtag1","hashtag2"]},{"1399685266":["hashtag1","hashtag2"]},{"1399685259":["hashtag1","hashtag2"]},{"1399685262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685264, 1399685266, 1399685259, 1399685262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.02323007583618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:34:02.688883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:34:12.096192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:34:22.120926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_54_9733.jpg', '/home/pi/Desktop/images/16122025/18/34/image_16122025_18_34_14_10561.jpg', '/home/pi/Desktop/images/16122025/18/34/image_16122025_18_34_24_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/33/image_16122025_18_33_54_9733.jpg
/home/pi/Desktop/images/16122025/18/34/image_16122025_18_34_14_10561.jpg
/home/pi/Desktop/images/16122025/18/34/image_16122025_18_34_24_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":["1399685273","1399685275","1399685277"],"photo_ids_order":["1399685273","1399685275","1399685277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/997b6721733d59e98b5c786f21c116f7.jpg","text":"TemporaryFile(/tmp/multipartBody4117774882620330242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906522616,"filename":"image_16122025_18_33_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/16/0cbe373a2cf7d400bcdd423de9539e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8481986567214837851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906522616,"filename":"image_16122025_18_34_14_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4aba3615410fac12fc731b9d8742c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody7571042622377964203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906522616,"filename":"image_16122025_18_34_24_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685277","file1":"1399685275","file0":"1399685273"},"map_files_photo_id_array":[{"photo_id":"1399685277","filename":"file2"},{"photo_id":"1399685275","filename":"file1"},{"photo_id":"1399685273","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685273":["hashtag1","hashtag2"]},{"1399685275":["hashtag1","hashtag2"]},{"1399685277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685273, 1399685275, 1399685277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.802738189697266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:35:03.001157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:35:12.410001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:35:22.288279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/34/image_16122025_18_34_34_9737.jpg', '/home/pi/Desktop/images/16122025/18/34/image_16122025_18_35_04_9563.jpg', '/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_14_9665.jpg', '/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_24_10765.jpg', '/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_34_9674.jpg', '/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_44_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/34/image_16122025_18_34_34_9737.jpg
/home/pi/Desktop/images/16122025/18/34/image_16122025_18_35_04_9563.jpg
/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_14_9665.jpg
/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_24_10765.jpg
/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_34_9674.jpg
/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_44_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":["1399685312","1399685309","1399685299","1399685303","1399685296","1399685305"],"photo_ids_order":["1399685296","1399685299","1399685303","1399685305","1399685309","1399685312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9abde676224e3610d4c30595706383f.jpg","text":"TemporaryFile(/tmp/multipartBody4513902777674404413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906582875,"filename":"image_16122025_18_35_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/16/f3f31b0fa8c55d66c20cc660e8ed4be8.jpg","text":"TemporaryFile(/tmp/multipartBody1201439742628607956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906582875,"filename":"image_16122025_18_35_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/16/23665f31f8d81cbc2a25d71e071b309e.jpg","text":"TemporaryFile(/tmp/multipartBody3841178484484911135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906582875,"filename":"image_16122025_18_35_04_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a5ab385479921f1189e35e97f0eb744.jpg","text":"TemporaryFile(/tmp/multipartBody7102918018123571202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906582875,"filename":"image_16122025_18_35_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/16/1b3b9d141387ed46db761abfadd49775.jpg","text":"TemporaryFile(/tmp/multipartBody6541570034155223226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906582875,"filename":"image_16122025_18_34_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/16/791209a24a2568602baac965a8985a60.jpg","text":"TemporaryFile(/tmp/multipartBody8410781803354799522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906582875,"filename":"image_16122025_18_35_24_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685303","file1":"1399685299","file0":"1399685296","file4":"1399685309","file5":"1399685312","file3":"1399685305"},"map_files_photo_id_array":[{"photo_id":"1399685312","filename":"file5"},{"photo_id":"1399685303","filename":"file2"},{"photo_id":"1399685309","filename":"file4"},{"photo_id":"1399685299","filename":"file1"},{"photo_id":"1399685296","filename":"file0"},{"photo_id":"1399685305","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685312":["hashtag1","hashtag2"]},{"1399685309":["hashtag1","hashtag2"]},{"1399685299":["hashtag1","hashtag2"]},{"1399685303":["hashtag1","hashtag2"]},{"1399685296":["hashtag1","hashtag2"]},{"1399685305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685312, 1399685309, 1399685299, 1399685303, 1399685296, 1399685305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72812366485596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:36:02.950829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:36:12.452438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:36:22.531366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_54_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_54_10709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3098616600036621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:36:32.522654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:36:42.508078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_07_2534.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_11_3605.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_13_2611.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_16_2780.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_20_3655.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_22_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_07_2534.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_11_3605.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_13_2611.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_16_2780.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_20_3655.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_22_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685336","1399685338","1399685323","1399685332","1399685334","1399685337"],"photo_ids_order":["1399685323","1399685332","1399685334","1399685336","1399685337","1399685338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb71ed76c307ab63440a1c8bb44c3dad.jpg","text":"TemporaryFile(/tmp/multipartBody4044740827501159590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906663162,"filename":"image_06112025_17_33_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/16/58d41b7e6642b6eea0266fde7c61592c.jpg","text":"TemporaryFile(/tmp/multipartBody1395488732015461373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906663162,"filename":"image_06112025_17_33_22_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/745d58eb4d0c4d982c61b8c0e236cb13.jpg","text":"TemporaryFile(/tmp/multipartBody6693594567605581445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906663162,"filename":"image_06112025_17_33_07_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/16/7063a04ff00436add12adc626430be37.jpg","text":"TemporaryFile(/tmp/multipartBody8276090035415729323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906663162,"filename":"image_06112025_17_33_11_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8dd512460bc4b3b61f5a8e9eddd0dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody2026699364449397911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906663162,"filename":"image_06112025_17_33_13_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/16/1788979a46f5c96885ed5f3fa5389cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6071834140036334379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906663162,"filename":"image_06112025_17_33_20_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685334","file1":"1399685332","file0":"1399685323","file4":"1399685337","file5":"1399685338","file3":"1399685336"},"map_files_photo_id_array":[{"photo_id":"1399685338","filename":"file5"},{"photo_id":"1399685334","filename":"file2"},{"photo_id":"1399685337","filename":"file4"},{"photo_id":"1399685332","filename":"file1"},{"photo_id":"1399685323","filename":"file0"},{"photo_id":"1399685336","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399685336":["hashtag1","hashtag2"]},{"1399685338":["hashtag1","hashtag2"]},{"1399685323":["hashtag1","hashtag2"]},{"1399685332":["hashtag1","hashtag2"]},{"1399685334":["hashtag1","hashtag2"]},{"1399685337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399685336, 1399685338, 1399685323, 1399685332, 1399685334, 1399685337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.558998584747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:37:22.889488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_54_10709.jpg', '/home/pi/Desktop/images/16122025/18/36/image_16122025_18_36_44_10556.jpg', '/home/pi/Desktop/images/16122025/18/36/image_16122025_18_37_04_9638.jpg', '/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_14_9848.jpg', '/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_24_10671.jpg', '/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_34_9530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/35/image_16122025_18_35_54_10709.jpg
/home/pi/Desktop/images/16122025/18/36/image_16122025_18_36_44_10556.jpg
/home/pi/Desktop/images/16122025/18/36/image_16122025_18_37_04_9638.jpg
/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_14_9848.jpg
/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_24_10671.jpg
/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_34_9530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685357","1399685354","1399685352","1399685346","1399685349","1399685343"],"photo_ids_order":["1399685343","1399685346","1399685349","1399685352","1399685354","1399685357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d67f56cc67269633a6e3ef82aa21b63.jpg","text":"TemporaryFile(/tmp/multipartBody5820304703503020545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906703491,"filename":"image_16122025_18_37_34_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c38d09e8d01ea6428c49716bd02e9e7.jpg","text":"TemporaryFile(/tmp/multipartBody2396732310060704846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906703491,"filename":"image_16122025_18_37_24_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f38affeca8cc7722335bd48adb9bc622.jpg","text":"TemporaryFile(/tmp/multipartBody4561404614530587826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906703491,"filename":"image_16122025_18_37_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/16/12333096ab164a9143c1b666895dc417.jpg","text":"TemporaryFile(/tmp/multipartBody9129104027272122015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906703491,"filename":"image_16122025_18_36_44_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e86e00dde5debe6cb4a6aee0b246856a.jpg","text":"TemporaryFile(/tmp/multipartBody6986099401529426975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906703491,"filename":"image_16122025_18_37_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/200564b8f137da6c53ff8c389c376872.jpg","text":"TemporaryFile(/tmp/multipartBody7791960610320838555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906703491,"filename":"image_16122025_18_35_54_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685349","file1":"1399685346","file0":"1399685343","file4":"1399685354","file5":"1399685357","file3":"1399685352"},"map_files_photo_id_array":[{"photo_id":"1399685357","filename":"file5"},{"photo_id":"1399685349","filename":"file2"},{"photo_id":"1399685354","filename":"file4"},{"photo_id":"1399685346","filename":"file1"},{"photo_id":"1399685343","filename":"file0"},{"photo_id":"1399685352","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685357":["hashtag1","hashtag2"]},{"1399685354":["hashtag1","hashtag2"]},{"1399685352":["hashtag1","hashtag2"]},{"1399685346":["hashtag1","hashtag2"]},{"1399685349":["hashtag1","hashtag2"]},{"1399685343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685357, 1399685354, 1399685352, 1399685346, 1399685349, 1399685343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.620020389556885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:38:02.437406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_44_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_44_9742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685362"],"photo_id":"1399685362","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c500f470087ca90a03c04800048f64c.jpg","text":"TemporaryFile(/tmp/multipartBody7335181009260778318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906742884,"filename":"image_16122025_18_37_44_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399685362"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399685362"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.484195232391357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:38:21.959988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_54_10738.jpg', '/home/pi/Desktop/images/16122025/18/37/image_16122025_18_38_04_9683.jpg', '/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_14_9776.jpg', '/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_24_9969.jpg', '/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_44_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/37/image_16122025_18_37_54_10738.jpg
/home/pi/Desktop/images/16122025/18/37/image_16122025_18_38_04_9683.jpg
/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_14_9776.jpg
/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_24_9969.jpg
/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_44_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":["1399685369","1399685366","1399685371","1399685377","1399685373"],"photo_ids_order":["1399685366","1399685369","1399685371","1399685373","1399685377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/446137d3cae9dd49c98a5c0bef8b6b62.jpg","text":"TemporaryFile(/tmp/multipartBody1385389674693059477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906762548,"filename":"image_16122025_18_38_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ced21a00b39c0af2c79b0e94137f3e6.jpg","text":"TemporaryFile(/tmp/multipartBody188432380501728196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906762548,"filename":"image_16122025_18_37_54_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/16/f6aa5ae6ad4f361987fefb0229701a2c.jpg","text":"TemporaryFile(/tmp/multipartBody2796548222164969855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906762548,"filename":"image_16122025_18_38_14_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/16/434ae809e44cd5d77906a75a528d2aec.jpg","text":"TemporaryFile(/tmp/multipartBody2884404637281049515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906762548,"filename":"image_16122025_18_38_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/16/7efecea953158725f36b275acafb071e.jpg","text":"TemporaryFile(/tmp/multipartBody2162307686324679898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906762548,"filename":"image_16122025_18_38_24_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685371","file1":"1399685369","file0":"1399685366","file4":"1399685377","file3":"1399685373"},"map_files_photo_id_array":[{"photo_id":"1399685371","filename":"file2"},{"photo_id":"1399685377","filename":"file4"},{"photo_id":"1399685369","filename":"file1"},{"photo_id":"1399685366","filename":"file0"},{"photo_id":"1399685373","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685369":["hashtag1","hashtag2"]},{"1399685366":["hashtag1","hashtag2"]},{"1399685371":["hashtag1","hashtag2"]},{"1399685377":["hashtag1","hashtag2"]},{"1399685373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685369, 1399685366, 1399685371, 1399685377, 1399685373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.839834451675415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:39:03.460805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:39:12.122027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:39:22.418616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_54_9702.jpg', '/home/pi/Desktop/images/16122025/18/38/image_16122025_18_39_04_10636.jpg', '/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_14_9607.jpg', '/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_24_9945.jpg', '/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_34_9628.jpg', '/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_44_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/38/image_16122025_18_38_54_9702.jpg
/home/pi/Desktop/images/16122025/18/38/image_16122025_18_39_04_10636.jpg
/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_14_9607.jpg
/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_24_9945.jpg
/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_34_9628.jpg
/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_44_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685405","1399685407","1399685412","1399685409","1399685400","1399685403"],"photo_ids_order":["1399685400","1399685403","1399685405","1399685407","1399685409","1399685412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0959429b80ccd95a5bf369447885e8b9.jpg","text":"TemporaryFile(/tmp/multipartBody4547050480199931980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906823012,"filename":"image_16122025_18_39_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1658043d617fbb1bc96db8a98dbf5fac.jpg","text":"TemporaryFile(/tmp/multipartBody5610848412976356920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906823012,"filename":"image_16122025_18_39_24_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/718a971b6edfd09cd028b368bbc678b4.jpg","text":"TemporaryFile(/tmp/multipartBody6773451696368948946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906823012,"filename":"image_16122025_18_39_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/16/e7fe2b78aa1f733e86c14c358a2021ca.jpg","text":"TemporaryFile(/tmp/multipartBody1262280806637168632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906823012,"filename":"image_16122025_18_39_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ba0f19f006949441e69f6648282b3f8.jpg","text":"TemporaryFile(/tmp/multipartBody6165887281956759635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906823012,"filename":"image_16122025_18_38_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/16/b6a4ca5cb6084bb901a0bda866510e93.jpg","text":"TemporaryFile(/tmp/multipartBody5912963044310077474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906823012,"filename":"image_16122025_18_39_04_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685405","file1":"1399685403","file0":"1399685400","file4":"1399685409","file5":"1399685412","file3":"1399685407"},"map_files_photo_id_array":[{"photo_id":"1399685412","filename":"file5"},{"photo_id":"1399685405","filename":"file2"},{"photo_id":"1399685409","filename":"file4"},{"photo_id":"1399685403","filename":"file1"},{"photo_id":"1399685400","filename":"file0"},{"photo_id":"1399685407","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685405":["hashtag1","hashtag2"]},{"1399685407":["hashtag1","hashtag2"]},{"1399685412":["hashtag1","hashtag2"]},{"1399685409":["hashtag1","hashtag2"]},{"1399685400":["hashtag1","hashtag2"]},{"1399685403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685405, 1399685407, 1399685412, 1399685409, 1399685400, 1399685403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57293629646301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:40:02.986513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:40:12.470193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:40:22.501288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_54_9707.jpg', '/home/pi/Desktop/images/16122025/18/39/image_16122025_18_40_04_9652.jpg', '/home/pi/Desktop/images/16122025/18/40/image_16122025_18_40_14_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/39/image_16122025_18_39_54_9707.jpg
/home/pi/Desktop/images/16122025/18/39/image_16122025_18_40_04_9652.jpg
/home/pi/Desktop/images/16122025/18/40/image_16122025_18_40_14_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":["1399685420","1399685428","1399685424"],"photo_ids_order":["1399685420","1399685424","1399685428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1fd8296f7840846ca8251bb3d4a9dda8.jpg","text":"TemporaryFile(/tmp/multipartBody3981845181378094673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906882990,"filename":"image_16122025_18_39_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/16/c4ab0d169396bcaeb0ce737f5796a56f.jpg","text":"TemporaryFile(/tmp/multipartBody4366299070966236442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906882990,"filename":"image_16122025_18_40_14_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb7b59c66e5f296ad74a167759ca32a5.jpg","text":"TemporaryFile(/tmp/multipartBody7602799135419669415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906882990,"filename":"image_16122025_18_40_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685428","file1":"1399685424","file0":"1399685420"},"map_files_photo_id_array":[{"photo_id":"1399685428","filename":"file2"},{"photo_id":"1399685424","filename":"file1"},{"photo_id":"1399685420","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685420":["hashtag1","hashtag2"]},{"1399685428":["hashtag1","hashtag2"]},{"1399685424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685420, 1399685428, 1399685424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.75855302810669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:41:02.454762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:41:11.809454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:41:21.844821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/40/image_16122025_18_40_44_10686.jpg', '/home/pi/Desktop/images/16122025/18/40/image_16122025_18_41_04_9618.jpg', '/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_14_10890.jpg', '/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_24_9713.jpg', '/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_34_9609.jpg', '/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_44_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/40/image_16122025_18_40_44_10686.jpg
/home/pi/Desktop/images/16122025/18/40/image_16122025_18_41_04_9618.jpg
/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_14_10890.jpg
/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_24_9713.jpg
/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_34_9609.jpg
/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_44_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":["1399685459","1399685453","1399685461","1399685455","1399685457","1399685466"],"photo_ids_order":["1399685453","1399685455","1399685457","1399685459","1399685461","1399685466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd21c1ec26f224b054a2ab0af1e4cfb0.jpg","text":"TemporaryFile(/tmp/multipartBody1004170969217699946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906942440,"filename":"image_16122025_18_41_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/16/941cb18420fa2e61fa99475c79dbdf95.jpg","text":"TemporaryFile(/tmp/multipartBody463874460518311134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906942440,"filename":"image_16122025_18_40_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/16/49228d9e8b59c0539d187b269d61dea9.jpg","text":"TemporaryFile(/tmp/multipartBody8982052823280384634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906942440,"filename":"image_16122025_18_41_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/391cc3bf6e9b720b49d8a08b0170211f.jpg","text":"TemporaryFile(/tmp/multipartBody7579091063886213289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906942440,"filename":"image_16122025_18_41_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c11b2782b2c2ff6a1ba4af856ffcb4c2.jpg","text":"TemporaryFile(/tmp/multipartBody3225813202931943154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906942440,"filename":"image_16122025_18_41_14_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/16/758fd94a612ddf0e142bc595fc44e32c.jpg","text":"TemporaryFile(/tmp/multipartBody8103237417168524368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765906942440,"filename":"image_16122025_18_41_44_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685457","file1":"1399685455","file0":"1399685453","file4":"1399685461","file5":"1399685466","file3":"1399685459"},"map_files_photo_id_array":[{"photo_id":"1399685466","filename":"file5"},{"photo_id":"1399685457","filename":"file2"},{"photo_id":"1399685461","filename":"file4"},{"photo_id":"1399685455","filename":"file1"},{"photo_id":"1399685453","filename":"file0"},{"photo_id":"1399685459","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685459":["hashtag1","hashtag2"]},{"1399685453":["hashtag1","hashtag2"]},{"1399685461":["hashtag1","hashtag2"]},{"1399685455":["hashtag1","hashtag2"]},{"1399685457":["hashtag1","hashtag2"]},{"1399685466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685459, 1399685453, 1399685461, 1399685455, 1399685457, 1399685466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50944995880127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:42:02.526843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:42:12.019470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:42:22.069097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_54_10646.jpg', '/home/pi/Desktop/images/16122025/18/41/image_16122025_18_42_04_9627.jpg', '/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_14_10595.jpg', '/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_24_9589.jpg', '/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_34_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/41/image_16122025_18_41_54_10646.jpg
/home/pi/Desktop/images/16122025/18/41/image_16122025_18_42_04_9627.jpg
/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_14_10595.jpg
/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_24_9589.jpg
/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_34_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685474","1399685483","1399685479","1399685488","1399685486"],"photo_ids_order":["1399685474","1399685479","1399685483","1399685486","1399685488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6cc55aa7378145ddcc81c225b96cf0cd.jpg","text":"TemporaryFile(/tmp/multipartBody5886211404550341132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907002622,"filename":"image_16122025_18_41_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/16/e7cc29a1d1b7310b6bd3c03038c48a22.jpg","text":"TemporaryFile(/tmp/multipartBody3286014289259481883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907002622,"filename":"image_16122025_18_42_14_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c54ebc0def3abf12d480197cd9aaa8d0.jpg","text":"TemporaryFile(/tmp/multipartBody1292474954834354244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907002622,"filename":"image_16122025_18_42_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cdd26e25e9bf7c6872e40ef923b192ef.jpg","text":"TemporaryFile(/tmp/multipartBody2859979376574298075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907002622,"filename":"image_16122025_18_42_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/935595032447db689f9865ef5a122e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5877414111159886144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907002622,"filename":"image_16122025_18_42_24_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685483","file1":"1399685479","file0":"1399685474","file4":"1399685488","file3":"1399685486"},"map_files_photo_id_array":[{"photo_id":"1399685483","filename":"file2"},{"photo_id":"1399685488","filename":"file4"},{"photo_id":"1399685479","filename":"file1"},{"photo_id":"1399685474","filename":"file0"},{"photo_id":"1399685486","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685474":["hashtag1","hashtag2"]},{"1399685483":["hashtag1","hashtag2"]},{"1399685479":["hashtag1","hashtag2"]},{"1399685488":["hashtag1","hashtag2"]},{"1399685486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685474, 1399685483, 1399685479, 1399685488, 1399685486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.530389070510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:43:02.874329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:43:12.260730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:43:22.367473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_44_10748.jpg', '/home/pi/Desktop/images/16122025/18/42/image_16122025_18_43_04_9705.jpg', '/home/pi/Desktop/images/16122025/18/43/image_16122025_18_43_14_9636.jpg', '/home/pi/Desktop/images/16122025/18/43/image_16122025_18_43_24_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/42/image_16122025_18_42_44_10748.jpg
/home/pi/Desktop/images/16122025/18/42/image_16122025_18_43_04_9705.jpg
/home/pi/Desktop/images/16122025/18/43/image_16122025_18_43_14_9636.jpg
/home/pi/Desktop/images/16122025/18/43/image_16122025_18_43_24_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":["1399685504","1399685497","1399685501","1399685506"],"photo_ids_order":["1399685497","1399685501","1399685504","1399685506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/185ac3738b131058a7d7dcaca5dc1b3d.jpg","text":"TemporaryFile(/tmp/multipartBody1211376116243308443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907062894,"filename":"image_16122025_18_43_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b395002dcdef0126a55b464ad4610e96.jpg","text":"TemporaryFile(/tmp/multipartBody1972478762024849011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907062894,"filename":"image_16122025_18_42_44_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/16/0150efd085dca31c083451b43c2f6707.jpg","text":"TemporaryFile(/tmp/multipartBody2181717429337995585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907062894,"filename":"image_16122025_18_43_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/16/bc18df8200bd8c783b82b7938efd065d.jpg","text":"TemporaryFile(/tmp/multipartBody3253400949190593832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907062894,"filename":"image_16122025_18_43_24_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685504","file1":"1399685501","file0":"1399685497","file3":"1399685506"},"map_files_photo_id_array":[{"photo_id":"1399685504","filename":"file2"},{"photo_id":"1399685501","filename":"file1"},{"photo_id":"1399685497","filename":"file0"},{"photo_id":"1399685506","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685504":["hashtag1","hashtag2"]},{"1399685497":["hashtag1","hashtag2"]},{"1399685501":["hashtag1","hashtag2"]},{"1399685506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685504, 1399685497, 1399685501, 1399685506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.083533763885498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:44:03.268401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:44:12.571507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:44:22.747857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/43/image_16122025_18_43_44_9818.jpg', '/home/pi/Desktop/images/16122025/18/43/image_16122025_18_44_04_9616.jpg', '/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_14_9707.jpg', '/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_24_10722.jpg', '/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_34_9658.jpg', '/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_44_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/43/image_16122025_18_43_44_9818.jpg
/home/pi/Desktop/images/16122025/18/43/image_16122025_18_44_04_9616.jpg
/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_14_9707.jpg
/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_24_10722.jpg
/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_34_9658.jpg
/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_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":["1399685519","1399685513","1399685521","1399685532","1399685514","1399685517"],"photo_ids_order":["1399685513","1399685514","1399685517","1399685519","1399685521","1399685532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d26359c1451fc80b29f97fa9cfdb6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3810658477005717222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907123342,"filename":"image_16122025_18_44_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/16/58f7a40ef95ce1451474f7c44fd1b093.jpg","text":"TemporaryFile(/tmp/multipartBody331015619116728028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907123342,"filename":"image_16122025_18_43_44_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea05cffb55ff63757a3a61b88f8347a2.jpg","text":"TemporaryFile(/tmp/multipartBody7422412052414548055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907123342,"filename":"image_16122025_18_44_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/16/f000a576720423ce36a72c6b58fccddf.jpg","text":"TemporaryFile(/tmp/multipartBody7731602097663532271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907123342,"filename":"image_16122025_18_44_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/16/d3122a3c758e5a653bce0b27ee8badea.jpg","text":"TemporaryFile(/tmp/multipartBody906588917304949254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907123342,"filename":"image_16122025_18_44_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/16/44c563e9d7cea6353da09bd6560bb8e9.jpg","text":"TemporaryFile(/tmp/multipartBody5981769892224866759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907123342,"filename":"image_16122025_18_44_14_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685517","file1":"1399685514","file0":"1399685513","file4":"1399685521","file5":"1399685532","file3":"1399685519"},"map_files_photo_id_array":[{"photo_id":"1399685532","filename":"file5"},{"photo_id":"1399685517","filename":"file2"},{"photo_id":"1399685521","filename":"file4"},{"photo_id":"1399685514","filename":"file1"},{"photo_id":"1399685513","filename":"file0"},{"photo_id":"1399685519","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685519":["hashtag1","hashtag2"]},{"1399685513":["hashtag1","hashtag2"]},{"1399685521":["hashtag1","hashtag2"]},{"1399685532":["hashtag1","hashtag2"]},{"1399685514":["hashtag1","hashtag2"]},{"1399685517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685519, 1399685513, 1399685521, 1399685532, 1399685514, 1399685517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76743841171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:45:02.529933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:45:11.727087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:45:21.788315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_54_10696.jpg', '/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_24_10626.jpg', '/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_34_9815.jpg', '/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_44_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/44/image_16122025_18_44_54_10696.jpg
/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_24_10626.jpg
/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_34_9815.jpg
/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_44_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685551","1399685548","1399685556","1399685553"],"photo_ids_order":["1399685548","1399685551","1399685553","1399685556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f72d6ddd4e9b4e8bcc8f27db48d850b.jpg","text":"TemporaryFile(/tmp/multipartBody8030399300007973323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907182305,"filename":"image_16122025_18_45_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1da9f34917c4b1f2f58a7364e6e2f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody2643245113282808721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907182305,"filename":"image_16122025_18_44_54_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/16/6754e8bba5f93079e95124c25892148b.jpg","text":"TemporaryFile(/tmp/multipartBody1136296937138288235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907182305,"filename":"image_16122025_18_45_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83d09c5a08e6edcd3970417dd275a1ce.jpg","text":"TemporaryFile(/tmp/multipartBody108125719866439752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907182305,"filename":"image_16122025_18_45_34_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685553","file1":"1399685551","file0":"1399685548","file3":"1399685556"},"map_files_photo_id_array":[{"photo_id":"1399685553","filename":"file2"},{"photo_id":"1399685551","filename":"file1"},{"photo_id":"1399685548","filename":"file0"},{"photo_id":"1399685556","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685551":["hashtag1","hashtag2"]},{"1399685548":["hashtag1","hashtag2"]},{"1399685556":["hashtag1","hashtag2"]},{"1399685553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685551, 1399685548, 1399685556, 1399685553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.605568170547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:46:02.569998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:46:12.085786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:46:22.204384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_54_9807.jpg', '/home/pi/Desktop/images/16122025/18/45/image_16122025_18_46_04_10575.jpg', '/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_14_9593.jpg', '/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_24_10545.jpg', '/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_34_9581.jpg', '/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_44_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/45/image_16122025_18_45_54_9807.jpg
/home/pi/Desktop/images/16122025/18/45/image_16122025_18_46_04_10575.jpg
/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_14_9593.jpg
/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_24_10545.jpg
/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_34_9581.jpg
/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_44_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685573","1399685567","1399685582","1399685564","1399685587","1399685569"],"photo_ids_order":["1399685564","1399685567","1399685569","1399685573","1399685582","1399685587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc077c03460fb10fc74c3cd3ef8d3788.jpg","text":"TemporaryFile(/tmp/multipartBody2694687077400963428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907242802,"filename":"image_16122025_18_46_24_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ff6a8789ff67d9ac535adec839d484b.jpg","text":"TemporaryFile(/tmp/multipartBody8560287004156343294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907242802,"filename":"image_16122025_18_46_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/16/16037a6877853cee93fb9b7779a7e86b.jpg","text":"TemporaryFile(/tmp/multipartBody4897809459557145004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907242802,"filename":"image_16122025_18_46_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6161a710f5a8713a1adb195bd567d146.jpg","text":"TemporaryFile(/tmp/multipartBody1557668921326601605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907242802,"filename":"image_16122025_18_45_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/16/ed958ff6c126414c637b2716dd3885d9.jpg","text":"TemporaryFile(/tmp/multipartBody4255297651417958789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907242802,"filename":"image_16122025_18_46_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4bc59084ea79824e4bbc903394211b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4052673425535600974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907242802,"filename":"image_16122025_18_46_14_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685569","file1":"1399685567","file0":"1399685564","file4":"1399685582","file5":"1399685587","file3":"1399685573"},"map_files_photo_id_array":[{"photo_id":"1399685587","filename":"file5"},{"photo_id":"1399685569","filename":"file2"},{"photo_id":"1399685582","filename":"file4"},{"photo_id":"1399685567","filename":"file1"},{"photo_id":"1399685564","filename":"file0"},{"photo_id":"1399685573","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685573":["hashtag1","hashtag2"]},{"1399685567":["hashtag1","hashtag2"]},{"1399685582":["hashtag1","hashtag2"]},{"1399685564":["hashtag1","hashtag2"]},{"1399685587":["hashtag1","hashtag2"]},{"1399685569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685573, 1399685567, 1399685582, 1399685564, 1399685587, 1399685569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17523646354675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:47:03.068771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:47:12.440639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:47:22.420841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_54_9603.jpg', '/home/pi/Desktop/images/16122025/18/46/image_16122025_18_47_04_9609.jpg', '/home/pi/Desktop/images/16122025/18/47/image_16122025_18_47_14_10587.jpg', '/home/pi/Desktop/images/16122025/18/47/image_16122025_18_47_24_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/46/image_16122025_18_46_54_9603.jpg
/home/pi/Desktop/images/16122025/18/46/image_16122025_18_47_04_9609.jpg
/home/pi/Desktop/images/16122025/18/47/image_16122025_18_47_14_10587.jpg
/home/pi/Desktop/images/16122025/18/47/image_16122025_18_47_24_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":["1399685608","1399685602","1399685611","1399685605"],"photo_ids_order":["1399685602","1399685605","1399685608","1399685611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9615804a8cfe3e58e8cfafa7090e467.jpg","text":"TemporaryFile(/tmp/multipartBody2125313185380059423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907302949,"filename":"image_16122025_18_47_14_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f692cbccf698ffcb482df6a05bca268.jpg","text":"TemporaryFile(/tmp/multipartBody688259041366080723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907302949,"filename":"image_16122025_18_46_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b3ad0f0b418a2d20532cb9d5b708dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2840362787033652010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907302949,"filename":"image_16122025_18_47_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/16/c92752ac09f95a8cd8d121068853a58b.jpg","text":"TemporaryFile(/tmp/multipartBody1222435102304104807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907302949,"filename":"image_16122025_18_47_04_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685608","file1":"1399685605","file0":"1399685602","file3":"1399685611"},"map_files_photo_id_array":[{"photo_id":"1399685608","filename":"file2"},{"photo_id":"1399685605","filename":"file1"},{"photo_id":"1399685602","filename":"file0"},{"photo_id":"1399685611","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685608":["hashtag1","hashtag2"]},{"1399685602":["hashtag1","hashtag2"]},{"1399685611":["hashtag1","hashtag2"]},{"1399685605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685608, 1399685602, 1399685611, 1399685605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.73094940185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:48:03.084237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:48:12.575541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:48:22.711281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/47/image_16122025_18_47_54_9677.jpg', '/home/pi/Desktop/images/16122025/18/47/image_16122025_18_48_04_9593.jpg', '/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_14_10608.jpg', '/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_24_9586.jpg', '/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_34_10682.jpg', '/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_44_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/47/image_16122025_18_47_54_9677.jpg
/home/pi/Desktop/images/16122025/18/47/image_16122025_18_48_04_9593.jpg
/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_14_10608.jpg
/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_24_9586.jpg
/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_34_10682.jpg
/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_44_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":["1399685639","1399685633","1399685641","1399685629","1399685638","1399685625"],"photo_ids_order":["1399685625","1399685629","1399685633","1399685638","1399685639","1399685641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c08446370789d6876d30c74d7ff6cfdb.jpg","text":"TemporaryFile(/tmp/multipartBody2228459728600344226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907363308,"filename":"image_16122025_18_48_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/16/1ff4ab9e8c96f755634eec5e957fb137.jpg","text":"TemporaryFile(/tmp/multipartBody2825379937367809604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907363308,"filename":"image_16122025_18_48_14_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fae936f0cc184f92846dcdf21b2af820.jpg","text":"TemporaryFile(/tmp/multipartBody4193794083527777384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907363308,"filename":"image_16122025_18_48_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/16/e675c27b467bde9982b447ca337cd55e.jpg","text":"TemporaryFile(/tmp/multipartBody8119088285006136976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907363308,"filename":"image_16122025_18_48_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42f9aaacb6a7c98b87ed9a0508569d44.jpg","text":"TemporaryFile(/tmp/multipartBody8834924269491277538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907363308,"filename":"image_16122025_18_48_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33c4edd4700c68a7deac70b5d43dd6bd.jpg","text":"TemporaryFile(/tmp/multipartBody4116438180694629427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907363308,"filename":"image_16122025_18_47_54_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685633","file1":"1399685629","file0":"1399685625","file4":"1399685639","file5":"1399685641","file3":"1399685638"},"map_files_photo_id_array":[{"photo_id":"1399685641","filename":"file5"},{"photo_id":"1399685633","filename":"file2"},{"photo_id":"1399685639","filename":"file4"},{"photo_id":"1399685629","filename":"file1"},{"photo_id":"1399685625","filename":"file0"},{"photo_id":"1399685638","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685639":["hashtag1","hashtag2"]},{"1399685633":["hashtag1","hashtag2"]},{"1399685641":["hashtag1","hashtag2"]},{"1399685629":["hashtag1","hashtag2"]},{"1399685638":["hashtag1","hashtag2"]},{"1399685625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685639, 1399685633, 1399685641, 1399685629, 1399685638, 1399685625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03771162033081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:49:03.887611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:49:12.886415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:49:22.921561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_54_9700.jpg', '/home/pi/Desktop/images/16122025/18/48/image_16122025_18_49_04_9724.jpg', '/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_24_9694.jpg', '/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_34_9683.jpg', '/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_44_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/48/image_16122025_18_48_54_9700.jpg
/home/pi/Desktop/images/16122025/18/48/image_16122025_18_49_04_9724.jpg
/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_24_9694.jpg
/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_34_9683.jpg
/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_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":["1399685657","1399685653","1399685655","1399685652","1399685649"],"photo_ids_order":["1399685649","1399685652","1399685653","1399685655","1399685657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85d7bf104c677d011e057840577bb3ac.jpg","text":"TemporaryFile(/tmp/multipartBody1636387826165137172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907423486,"filename":"image_16122025_18_49_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/16/d31f9b2f50383974170ac98d5b1f4945.jpg","text":"TemporaryFile(/tmp/multipartBody1995811061579755599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907423486,"filename":"image_16122025_18_49_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/16/b1295e1854ba6e5932928438fd3643b9.jpg","text":"TemporaryFile(/tmp/multipartBody8206604107958079084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907423486,"filename":"image_16122025_18_49_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/16/21a8427ec52198c1a3e3338fd3b53401.jpg","text":"TemporaryFile(/tmp/multipartBody8025945683358672518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907423486,"filename":"image_16122025_18_49_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/16/49694b27e5bf599bf90d8dc9eb7dab0e.jpg","text":"TemporaryFile(/tmp/multipartBody8080855855762329076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907423486,"filename":"image_16122025_18_48_54_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685653","file1":"1399685652","file0":"1399685649","file4":"1399685657","file3":"1399685655"},"map_files_photo_id_array":[{"photo_id":"1399685653","filename":"file2"},{"photo_id":"1399685657","filename":"file4"},{"photo_id":"1399685652","filename":"file1"},{"photo_id":"1399685649","filename":"file0"},{"photo_id":"1399685655","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685657":["hashtag1","hashtag2"]},{"1399685653":["hashtag1","hashtag2"]},{"1399685655":["hashtag1","hashtag2"]},{"1399685652":["hashtag1","hashtag2"]},{"1399685649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685657, 1399685653, 1399685655, 1399685652, 1399685649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.883098363876343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:50:02.472247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:50:12.119588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:50:22.158583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_54_9773.jpg', '/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_14_9692.jpg', '/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_24_10695.jpg', '/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_34_9748.jpg', '/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_44_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/49/image_16122025_18_49_54_9773.jpg
/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_14_9692.jpg
/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_24_10695.jpg
/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_34_9748.jpg
/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_44_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685663","1399685671","1399685664","1399685667","1399685678"],"photo_ids_order":["1399685663","1399685664","1399685667","1399685671","1399685678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96875b192d0c95977a78d3b6589d0a08.jpg","text":"TemporaryFile(/tmp/multipartBody6056250775243601290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907482721,"filename":"image_16122025_18_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/16/730ef62619cbec78cc3ebd2322599352.jpg","text":"TemporaryFile(/tmp/multipartBody5499386212602649148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907482721,"filename":"image_16122025_18_50_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/16/8bb15ad602139438fb7f0ab78bdca3a3.jpg","text":"TemporaryFile(/tmp/multipartBody3518687249655458985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907482721,"filename":"image_16122025_18_50_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b09df2425fe47997fe462bea0ba260e0.jpg","text":"TemporaryFile(/tmp/multipartBody8691726464163151867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907482721,"filename":"image_16122025_18_50_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/16/78a2cca2687e5344f7c513bb3aa5c005.jpg","text":"TemporaryFile(/tmp/multipartBody3565962658894181623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907482721,"filename":"image_16122025_18_50_44_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685667","file1":"1399685664","file0":"1399685663","file4":"1399685678","file3":"1399685671"},"map_files_photo_id_array":[{"photo_id":"1399685667","filename":"file2"},{"photo_id":"1399685678","filename":"file4"},{"photo_id":"1399685664","filename":"file1"},{"photo_id":"1399685663","filename":"file0"},{"photo_id":"1399685671","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685663":["hashtag1","hashtag2"]},{"1399685671":["hashtag1","hashtag2"]},{"1399685664":["hashtag1","hashtag2"]},{"1399685667":["hashtag1","hashtag2"]},{"1399685678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685663, 1399685671, 1399685664, 1399685667, 1399685678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.44994020462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:51:03.080079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:51:12.233768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:51:22.323699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_54_10644.jpg', '/home/pi/Desktop/images/16122025/18/50/image_16122025_18_51_04_9597.jpg', '/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_14_9833.jpg', '/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_24_9640.jpg', '/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_34_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/50/image_16122025_18_50_54_10644.jpg
/home/pi/Desktop/images/16122025/18/50/image_16122025_18_51_04_9597.jpg
/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_14_9833.jpg
/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_24_9640.jpg
/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_34_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685720","1399685717","1399685711","1399685713","1399685716"],"photo_ids_order":["1399685711","1399685713","1399685716","1399685717","1399685720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3096969953daf2947335522b46b658a.jpg","text":"TemporaryFile(/tmp/multipartBody1615883609357703330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907542887,"filename":"image_16122025_18_51_34_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c9ad8b2b124f26f11d21b8ab0319ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8197247740079826967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907542887,"filename":"image_16122025_18_51_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/16/f113bf7eeaa38c1b077af5c10d4b1053.jpg","text":"TemporaryFile(/tmp/multipartBody5771529175243944263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907542887,"filename":"image_16122025_18_50_54_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8ffefd82b754aa3600d8552ed4752ab.jpg","text":"TemporaryFile(/tmp/multipartBody4855752002079382358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907542887,"filename":"image_16122025_18_51_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/16/f1a22bce8157dfa6b05ee2c1d6ca77b3.jpg","text":"TemporaryFile(/tmp/multipartBody3012283989971052560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907542887,"filename":"image_16122025_18_51_14_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685716","file1":"1399685713","file0":"1399685711","file4":"1399685720","file3":"1399685717"},"map_files_photo_id_array":[{"photo_id":"1399685716","filename":"file2"},{"photo_id":"1399685720","filename":"file4"},{"photo_id":"1399685713","filename":"file1"},{"photo_id":"1399685711","filename":"file0"},{"photo_id":"1399685717","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685720":["hashtag1","hashtag2"]},{"1399685717":["hashtag1","hashtag2"]},{"1399685711":["hashtag1","hashtag2"]},{"1399685713":["hashtag1","hashtag2"]},{"1399685716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685720, 1399685717, 1399685711, 1399685713, 1399685716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.99346971511841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:52:02.931682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:52:12.487599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:52:22.594890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_44_9712.jpg', '/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_14_9579.jpg', '/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_24_9607.jpg', '/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_34_10711.jpg', '/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_44_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/51/image_16122025_18_51_44_9712.jpg
/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_14_9579.jpg
/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_24_9607.jpg
/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_34_10711.jpg
/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_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":["1399685750","1399685744","1399685740","1399685734","1399685737"],"photo_ids_order":["1399685734","1399685737","1399685740","1399685744","1399685750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bfd8e4586d865989f3bed948d1b1293.jpg","text":"TemporaryFile(/tmp/multipartBody1505121243790966261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907603181,"filename":"image_16122025_18_52_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/16/3ebcfadf6666f33f8bcdb678179a7b08.jpg","text":"TemporaryFile(/tmp/multipartBody7427592736281737440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907603181,"filename":"image_16122025_18_52_34_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/16/c9e9bc50e2fa04ae44e1a2133b7b2742.jpg","text":"TemporaryFile(/tmp/multipartBody230879528074611662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907603181,"filename":"image_16122025_18_52_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/16/1965770603ce0ac028ee0c6c65e7e5a5.jpg","text":"TemporaryFile(/tmp/multipartBody3842074767125734605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907603181,"filename":"image_16122025_18_51_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/16/d638eaba8e062290fe0b9aac26e9a341.jpg","text":"TemporaryFile(/tmp/multipartBody5392263469727353406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907603181,"filename":"image_16122025_18_52_14_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685740","file1":"1399685737","file0":"1399685734","file4":"1399685750","file3":"1399685744"},"map_files_photo_id_array":[{"photo_id":"1399685740","filename":"file2"},{"photo_id":"1399685750","filename":"file4"},{"photo_id":"1399685737","filename":"file1"},{"photo_id":"1399685734","filename":"file0"},{"photo_id":"1399685744","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685750":["hashtag1","hashtag2"]},{"1399685744":["hashtag1","hashtag2"]},{"1399685740":["hashtag1","hashtag2"]},{"1399685734":["hashtag1","hashtag2"]},{"1399685737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685750, 1399685744, 1399685740, 1399685734, 1399685737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.270928621292114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:53:03.571994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:53:12.817566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:53:22.776320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_54_9755.jpg', '/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_24_9828.jpg', '/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_34_9682.jpg', '/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_44_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/52/image_16122025_18_52_54_9755.jpg
/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_24_9828.jpg
/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_34_9682.jpg
/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_44_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685771","1399685775","1399685769","1399685778"],"photo_ids_order":["1399685769","1399685771","1399685775","1399685778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b3b2915d82dd7c30f981a47605e664b.jpg","text":"TemporaryFile(/tmp/multipartBody4075106248199198317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907663327,"filename":"image_16122025_18_53_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/16/f45058891eeeb8cc95fad092d000697e.jpg","text":"TemporaryFile(/tmp/multipartBody1965372892832592835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907663327,"filename":"image_16122025_18_53_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/16/d5346c8d47e9e4ca8057a541c349c6a4.jpg","text":"TemporaryFile(/tmp/multipartBody3040166506982269159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907663327,"filename":"image_16122025_18_52_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5ddeeeaf35b2044d024f724a6239b32.jpg","text":"TemporaryFile(/tmp/multipartBody944222907359855480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907663327,"filename":"image_16122025_18_53_44_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685775","file1":"1399685771","file0":"1399685769","file3":"1399685778"},"map_files_photo_id_array":[{"photo_id":"1399685775","filename":"file2"},{"photo_id":"1399685771","filename":"file1"},{"photo_id":"1399685769","filename":"file0"},{"photo_id":"1399685778","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685771":["hashtag1","hashtag2"]},{"1399685775":["hashtag1","hashtag2"]},{"1399685769":["hashtag1","hashtag2"]},{"1399685778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685771, 1399685775, 1399685769, 1399685778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.30573010444641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:54:02.698490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:54:11.955094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:54:22.062800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_54_9676.jpg', '/home/pi/Desktop/images/16122025/18/53/image_16122025_18_54_04_9628.jpg', '/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_14_10636.jpg', '/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_24_9626.jpg', '/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_34_9787.jpg', '/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_44_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/53/image_16122025_18_53_54_9676.jpg
/home/pi/Desktop/images/16122025/18/53/image_16122025_18_54_04_9628.jpg
/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_14_10636.jpg
/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_24_9626.jpg
/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_34_9787.jpg
/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_44_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":["1399685792","1399685788","1399685806","1399685803","1399685795","1399685798"],"photo_ids_order":["1399685788","1399685792","1399685795","1399685798","1399685803","1399685806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfb36d28c752e1503879cc69b0b352e9.jpg","text":"TemporaryFile(/tmp/multipartBody3460653453061568306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907722655,"filename":"image_16122025_18_54_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/16/a7534c28a390527e02de51d4f35bd09c.jpg","text":"TemporaryFile(/tmp/multipartBody1580971295017745070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907722655,"filename":"image_16122025_18_53_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6715077ec66a2adf6b75516071b53ef.jpg","text":"TemporaryFile(/tmp/multipartBody4747507901531793644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907722655,"filename":"image_16122025_18_54_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/16/3849592cc1065970a8c01126b13a5c45.jpg","text":"TemporaryFile(/tmp/multipartBody2340492236830912134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907722655,"filename":"image_16122025_18_54_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e11fde208897e724bfa36f10024cdab0.jpg","text":"TemporaryFile(/tmp/multipartBody1218211898165915623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907722655,"filename":"image_16122025_18_54_14_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/16/751684cbc0deeb94d2e36b4976ced304.jpg","text":"TemporaryFile(/tmp/multipartBody5971409834658112360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907722655,"filename":"image_16122025_18_54_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685795","file1":"1399685792","file0":"1399685788","file4":"1399685803","file5":"1399685806","file3":"1399685798"},"map_files_photo_id_array":[{"photo_id":"1399685806","filename":"file5"},{"photo_id":"1399685795","filename":"file2"},{"photo_id":"1399685803","filename":"file4"},{"photo_id":"1399685792","filename":"file1"},{"photo_id":"1399685788","filename":"file0"},{"photo_id":"1399685798","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685792":["hashtag1","hashtag2"]},{"1399685788":["hashtag1","hashtag2"]},{"1399685806":["hashtag1","hashtag2"]},{"1399685803":["hashtag1","hashtag2"]},{"1399685795":["hashtag1","hashtag2"]},{"1399685798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685792, 1399685788, 1399685806, 1399685803, 1399685795, 1399685798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.583295583724976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:55:02.894612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:55:12.210931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:55:22.410200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_54_10671.jpg', '/home/pi/Desktop/images/16122025/18/54/image_16122025_18_55_04_9808.jpg', '/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_14_9593.jpg', '/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_34_9672.jpg', '/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/54/image_16122025_18_54_54_10671.jpg
/home/pi/Desktop/images/16122025/18/54/image_16122025_18_55_04_9808.jpg
/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_14_9593.jpg
/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_34_9672.jpg
/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_44_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399685813","1399685819","1399685821","1399685815","1399685818"],"photo_ids_order":["1399685813","1399685815","1399685818","1399685819","1399685821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/874a225f692f9c68e52fc232396d7900.jpg","text":"TemporaryFile(/tmp/multipartBody6533245077840608175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907782966,"filename":"image_16122025_18_54_54_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cdaa6ef33b4ff36d63fd83938d1f1d70.jpg","text":"TemporaryFile(/tmp/multipartBody6146016659855360847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907782966,"filename":"image_16122025_18_55_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/16/4ccc146ed493732b6589d822126b9613.jpg","text":"TemporaryFile(/tmp/multipartBody6213827492529276590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907782966,"filename":"image_16122025_18_55_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d63ed91c97807e6e99dd9663c0859062.jpg","text":"TemporaryFile(/tmp/multipartBody6431555629635453847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907782966,"filename":"image_16122025_18_55_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/416faab8b183c0cf4d2f6b0cd2f11e49.jpg","text":"TemporaryFile(/tmp/multipartBody4746039046494314268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907782966,"filename":"image_16122025_18_55_14_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685818","file1":"1399685815","file0":"1399685813","file4":"1399685821","file3":"1399685819"},"map_files_photo_id_array":[{"photo_id":"1399685818","filename":"file2"},{"photo_id":"1399685821","filename":"file4"},{"photo_id":"1399685815","filename":"file1"},{"photo_id":"1399685813","filename":"file0"},{"photo_id":"1399685819","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685813":["hashtag1","hashtag2"]},{"1399685819":["hashtag1","hashtag2"]},{"1399685821":["hashtag1","hashtag2"]},{"1399685815":["hashtag1","hashtag2"]},{"1399685818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685813, 1399685819, 1399685821, 1399685815, 1399685818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.26344084739685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:56:02.905228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:56:12.464129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:56:22.482954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_54_10720.jpg', '/home/pi/Desktop/images/16122025/18/55/image_16122025_18_56_04_9661.jpg', '/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_14_10582.jpg', '/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_24_9602.jpg', '/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/55/image_16122025_18_55_54_10720.jpg
/home/pi/Desktop/images/16122025/18/55/image_16122025_18_56_04_9661.jpg
/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_14_10582.jpg
/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_24_9602.jpg
/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_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":["1399685951","1399685980","1399685956","1399685958","1399685910"],"photo_ids_order":["1399685910","1399685951","1399685956","1399685958","1399685980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c18ea2f65127cdf86f22dbc99d7b6c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7132150710410322958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907843073,"filename":"image_16122025_18_56_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/16/be1b22be4cb1a7baf9ecfbd3b7c5b42b.jpg","text":"TemporaryFile(/tmp/multipartBody1040625113852134240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907843073,"filename":"image_16122025_18_56_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/16/e62a17152fe8b5fb78a8c66df3885737.jpg","text":"TemporaryFile(/tmp/multipartBody2469829842231611830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907843073,"filename":"image_16122025_18_56_14_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/16/3f4c891ebb1f5ace2db1d44e9347490d.jpg","text":"TemporaryFile(/tmp/multipartBody4201546795653184795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907843073,"filename":"image_16122025_18_56_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c597c1d0e1e22f20136dd4db4aa39055.jpg","text":"TemporaryFile(/tmp/multipartBody463865223980932734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907843073,"filename":"image_16122025_18_55_54_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399685956","file1":"1399685951","file0":"1399685910","file4":"1399685980","file3":"1399685958"},"map_files_photo_id_array":[{"photo_id":"1399685956","filename":"file2"},{"photo_id":"1399685980","filename":"file4"},{"photo_id":"1399685951","filename":"file1"},{"photo_id":"1399685910","filename":"file0"},{"photo_id":"1399685958","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399685951":["hashtag1","hashtag2"]},{"1399685980":["hashtag1","hashtag2"]},{"1399685956":["hashtag1","hashtag2"]},{"1399685958":["hashtag1","hashtag2"]},{"1399685910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399685951, 1399685980, 1399685956, 1399685958, 1399685910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.99129343032837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:57:03.285378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 18:57:12.626844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 18:57:22.691834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_44_9796.jpg', '/home/pi/Desktop/images/16122025/18/56/image_16122025_18_57_04_9551.jpg', '/home/pi/Desktop/images/16122025/18/57/image_16122025_18_57_24_10707.jpg', '/home/pi/Desktop/images/16122025/18/57/image_16122025_18_57_44_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/56/image_16122025_18_56_44_9796.jpg
/home/pi/Desktop/images/16122025/18/56/image_16122025_18_57_04_9551.jpg
/home/pi/Desktop/images/16122025/18/57/image_16122025_18_57_24_10707.jpg
/home/pi/Desktop/images/16122025/18/57/image_16122025_18_57_44_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399686053","1399686056","1399686059","1399686050"],"photo_ids_order":["1399686050","1399686053","1399686056","1399686059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6294038926fef889d99688152c281423.jpg","text":"TemporaryFile(/tmp/multipartBody4455039158676795307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907903216,"filename":"image_16122025_18_57_04_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/16/e919847c8c7cdbc77fa8629559ed9195.jpg","text":"TemporaryFile(/tmp/multipartBody7000576368413711569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907903216,"filename":"image_16122025_18_57_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/16/48c0470ad8b2d27cf2a74d3fec8df005.jpg","text":"TemporaryFile(/tmp/multipartBody2165251987777780939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907903216,"filename":"image_16122025_18_57_44_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9a4c8b7de01cf1ef0b28cb9a9187105.jpg","text":"TemporaryFile(/tmp/multipartBody578527328720161740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765907903216,"filename":"image_16122025_18_56_44_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399686056","file1":"1399686053","file0":"1399686050","file3":"1399686059"},"map_files_photo_id_array":[{"photo_id":"1399686056","filename":"file2"},{"photo_id":"1399686053","filename":"file1"},{"photo_id":"1399686050","filename":"file0"},{"photo_id":"1399686059","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399686053":["hashtag1","hashtag2"]},{"1399686056":["hashtag1","hashtag2"]},{"1399686059":["hashtag1","hashtag2"]},{"1399686050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399686053, 1399686056, 1399686059, 1399686050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.996888637542725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 18:59:02.784814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/57/image_16122025_18_57_54_10613.jpg', '/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_14_9652.jpg', '/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_24_10585.jpg', '/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_34_9693.jpg', '/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_44_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/57/image_16122025_18_57_54_10613.jpg
/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_14_9652.jpg
/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_24_10585.jpg
/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_34_9693.jpg
/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_44_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399686316","1399686226","1399686267","1399686188","1399686353"],"photo_ids_order":["1399686188","1399686226","1399686267","1399686316","1399686353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a980153bfd9db3cc857a86467d95ce41.jpg","text":"TemporaryFile(/tmp/multipartBody1038158964227180765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908003473,"filename":"image_16122025_18_58_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/16/85d5bbaf1b1316728de8a2762bfead76.jpg","text":"TemporaryFile(/tmp/multipartBody6734410044045949115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908003473,"filename":"image_16122025_18_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/16/b6f80bd3076ee4b24aa91df04b26ba4b.jpg","text":"TemporaryFile(/tmp/multipartBody4425212332994352220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908003473,"filename":"image_16122025_18_58_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/16/a93e887e2ba91fa37801c96c5c3cbe4f.jpg","text":"TemporaryFile(/tmp/multipartBody6240138824096219795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908003473,"filename":"image_16122025_18_57_54_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/16/c5d9f056041aa9e9cd39ab605cc5ef78.jpg","text":"TemporaryFile(/tmp/multipartBody7874590928456594586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908003473,"filename":"image_16122025_18_58_44_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399686267","file1":"1399686226","file0":"1399686188","file4":"1399686353","file3":"1399686316"},"map_files_photo_id_array":[{"photo_id":"1399686267","filename":"file2"},{"photo_id":"1399686353","filename":"file4"},{"photo_id":"1399686226","filename":"file1"},{"photo_id":"1399686188","filename":"file0"},{"photo_id":"1399686316","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399686316":["hashtag1","hashtag2"]},{"1399686226":["hashtag1","hashtag2"]},{"1399686267":["hashtag1","hashtag2"]},{"1399686188":["hashtag1","hashtag2"]},{"1399686353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399686316, 1399686226, 1399686267, 1399686188, 1399686353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.65029287338257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 18:59:42.211700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_25_2650.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_29_3666.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_31_2667.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_34_2649.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_38_3690.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_40_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_25_2650.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_29_3666.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_31_2667.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_34_2649.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_38_3690.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_40_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":["1399686443","1399686493","1399686407","1399686379","1399686480","1399686383"],"photo_ids_order":["1399686379","1399686383","1399686407","1399686443","1399686480","1399686493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a81d28b0b77702981dcc538f6e4ee01a.jpg","text":"TemporaryFile(/tmp/multipartBody5498012857818642077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908042864,"filename":"image_06112025_17_33_34_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/16/8a54622c909a8b18ad265b6fcee50e32.jpg","text":"TemporaryFile(/tmp/multipartBody6971198529971110798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908042864,"filename":"image_06112025_17_33_40_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/16/23300494602da2974696cb2b57075553.jpg","text":"TemporaryFile(/tmp/multipartBody1429992556941780185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908042864,"filename":"image_06112025_17_33_31_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/16/8801e6fc362e1994b396bb254c6a7147.jpg","text":"TemporaryFile(/tmp/multipartBody2174851994185821431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908042864,"filename":"image_06112025_17_33_25_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd4693c8b53075602e4a57baf402b97f.jpg","text":"TemporaryFile(/tmp/multipartBody4054758615214808900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908042864,"filename":"image_06112025_17_33_38_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/16/598a855b76a8bab5290421b56a2c448c.jpg","text":"TemporaryFile(/tmp/multipartBody2795590536606905377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908042864,"filename":"image_06112025_17_33_29_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399686407","file1":"1399686383","file0":"1399686379","file4":"1399686480","file5":"1399686493","file3":"1399686443"},"map_files_photo_id_array":[{"photo_id":"1399686493","filename":"file5"},{"photo_id":"1399686407","filename":"file2"},{"photo_id":"1399686480","filename":"file4"},{"photo_id":"1399686383","filename":"file1"},{"photo_id":"1399686379","filename":"file0"},{"photo_id":"1399686443","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399686443":["hashtag1","hashtag2"]},{"1399686493":["hashtag1","hashtag2"]},{"1399686407":["hashtag1","hashtag2"]},{"1399686379":["hashtag1","hashtag2"]},{"1399686480":["hashtag1","hashtag2"]},{"1399686383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399686443, 1399686493, 1399686407, 1399686379, 1399686480, 1399686383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11373257637024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:00:22.421571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_54_10805.jpg', '/home/pi/Desktop/images/16122025/18/58/image_16122025_18_59_04_9715.jpg', '/home/pi/Desktop/images/16122025/18/59/image_16122025_18_59_34_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/58/image_16122025_18_58_54_10805.jpg
/home/pi/Desktop/images/16122025/18/58/image_16122025_18_59_04_9715.jpg
/home/pi/Desktop/images/16122025/18/59/image_16122025_18_59_34_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399686532","1399686561","1399686564"],"photo_ids_order":["1399686532","1399686561","1399686564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcba0dc1b281006b7f6064d3242e6a14.jpg","text":"TemporaryFile(/tmp/multipartBody8487309740544903668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908082890,"filename":"image_16122025_18_58_54_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/16/1cb5bd134052629151387f0276c611ea.jpg","text":"TemporaryFile(/tmp/multipartBody2791348141289515668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908082890,"filename":"image_16122025_18_59_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8205f994132134d8f3c42f4a73ef3a33.jpg","text":"TemporaryFile(/tmp/multipartBody2959645874916833617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908082890,"filename":"image_16122025_18_59_34_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399686564","file1":"1399686561","file0":"1399686532"},"map_files_photo_id_array":[{"photo_id":"1399686564","filename":"file2"},{"photo_id":"1399686561","filename":"file1"},{"photo_id":"1399686532","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399686532":["hashtag1","hashtag2"]},{"1399686561":["hashtag1","hashtag2"]},{"1399686564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399686532, 1399686561, 1399686564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.382285833358765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:01:03.248580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:01:12.654485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:01:22.694777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/18/59/image_16122025_18_59_44_9616.jpg', '/home/pi/Desktop/images/16122025/19/01/image_16122025_19_01_14_10039.jpg', '/home/pi/Desktop/images/16122025/19/01/image_16122025_19_01_24_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/18/59/image_16122025_18_59_44_9616.jpg
/home/pi/Desktop/images/16122025/19/01/image_16122025_19_01_14_10039.jpg
/home/pi/Desktop/images/16122025/19/01/image_16122025_19_01_24_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":["1399686580","1399686583","1399686585"],"photo_ids_order":["1399686580","1399686583","1399686585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5301110ed92df92ef35c66d3498c02ef.jpg","text":"TemporaryFile(/tmp/multipartBody7683289384760842055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908143186,"filename":"image_16122025_18_59_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49ecff73b654dcbb2c2351b60ac62414.jpg","text":"TemporaryFile(/tmp/multipartBody6153718473022224960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908143186,"filename":"image_16122025_19_01_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/16/57408410f0e3517e0e27ddc91b45fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody3429398002987721478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908143186,"filename":"image_16122025_19_01_24_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399686585","file1":"1399686583","file0":"1399686580"},"map_files_photo_id_array":[{"photo_id":"1399686585","filename":"file2"},{"photo_id":"1399686583","filename":"file1"},{"photo_id":"1399686580","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399686580":["hashtag1","hashtag2"]},{"1399686583":["hashtag1","hashtag2"]},{"1399686585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399686580, 1399686583, 1399686585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.984707593917847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:02:02.408803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:02:11.958318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:02:21.908468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/01/image_16122025_19_01_34_9754.jpg', '/home/pi/Desktop/images/16122025/19/02/image_16122025_19_02_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/01/image_16122025_19_01_34_9754.jpg
/home/pi/Desktop/images/16122025/19/02/image_16122025_19_02_44_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399687017","1399686980"],"photo_ids_order":["1399686980","1399687017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cf9723dbc511998df8d800a91d4ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody5091740174222116234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908202368,"filename":"image_16122025_19_02_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53f0e75e13b713f11b28f90d4324545a.jpg","text":"TemporaryFile(/tmp/multipartBody893832838698673769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908202368,"filename":"image_16122025_19_01_34_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399687017","file0":"1399686980"},"map_files_photo_id_array":[{"photo_id":"1399687017","filename":"file1"},{"photo_id":"1399686980","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399687017":["hashtag1","hashtag2"]},{"1399686980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399687017, 1399686980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.512670040130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:02:41.858417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_43_2868.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_47_3700.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_50_2803.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_52_2702.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_55_2552.jpg', '/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_58_3505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_43_2868.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_47_3700.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_50_2803.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_52_2702.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_55_2552.jpg
/home/pi/Desktop/images/06112025/17/33/image_06112025_17_33_58_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":["1399687330","1399687225","1399687191","1399687293","1399687259","1399687151"],"photo_ids_order":["1399687151","1399687191","1399687225","1399687259","1399687293","1399687330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95ae0cf68f74dfde6530d8efca037b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4119720574476412154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908222512,"filename":"image_06112025_17_33_58_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/16/e9e043dff8609af4eb93f40087fd3c82.jpg","text":"TemporaryFile(/tmp/multipartBody3618445681082522184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908222512,"filename":"image_06112025_17_33_50_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/16/762478d877017efc50a38659f6aee1ae.jpg","text":"TemporaryFile(/tmp/multipartBody4841737334830707957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908222512,"filename":"image_06112025_17_33_47_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/16/10ec2554ed750ba6e8312aee25dfea68.jpg","text":"TemporaryFile(/tmp/multipartBody2831829829636080445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908222512,"filename":"image_06112025_17_33_55_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a36549b6e7aa2e55fe8688250720073a.jpg","text":"TemporaryFile(/tmp/multipartBody1577707801626855604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908222512,"filename":"image_06112025_17_33_52_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42842db5d90676461468d4cba5159ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4743806899120749271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908222512,"filename":"image_06112025_17_33_43_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399687225","file1":"1399687191","file0":"1399687151","file4":"1399687293","file5":"1399687330","file3":"1399687259"},"map_files_photo_id_array":[{"photo_id":"1399687330","filename":"file5"},{"photo_id":"1399687225","filename":"file2"},{"photo_id":"1399687293","filename":"file4"},{"photo_id":"1399687191","filename":"file1"},{"photo_id":"1399687151","filename":"file0"},{"photo_id":"1399687259","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399687330":["hashtag1","hashtag2"]},{"1399687225":["hashtag1","hashtag2"]},{"1399687191":["hashtag1","hashtag2"]},{"1399687293":["hashtag1","hashtag2"]},{"1399687259":["hashtag1","hashtag2"]},{"1399687151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399687330, 1399687225, 1399687191, 1399687293, 1399687259, 1399687151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72580671310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:03:22.225742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/02/image_16122025_19_02_55_10561.jpg', '/home/pi/Desktop/images/16122025/19/02/image_16122025_19_03_04_9629.jpg', '/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_14_9695.jpg', '/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_34_9638.jpg', '/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_44_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/02/image_16122025_19_02_55_10561.jpg
/home/pi/Desktop/images/16122025/19/02/image_16122025_19_03_04_9629.jpg
/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_14_9695.jpg
/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_34_9638.jpg
/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_44_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399687477","1399687513","1399687586","1399687550","1399687616"],"photo_ids_order":["1399687477","1399687513","1399687550","1399687586","1399687616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5db7fb9df570b8f341c18f64ed51d35b.jpg","text":"TemporaryFile(/tmp/multipartBody2179234722751302700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908262787,"filename":"image_16122025_19_02_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/16/7e6cd9772f1149190805b635a4b4e74f.jpg","text":"TemporaryFile(/tmp/multipartBody8789840743089014401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908262787,"filename":"image_16122025_19_03_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79f9e95339a22f66acb10cc6d46b4c8c.jpg","text":"TemporaryFile(/tmp/multipartBody1438705638391320559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908262787,"filename":"image_16122025_19_03_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/16/62e8349e672e5641d90a49e710cb492e.jpg","text":"TemporaryFile(/tmp/multipartBody9049792817977558771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908262787,"filename":"image_16122025_19_03_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/16/926a0aa92b0d018c1fcda0a68773dcc2.jpg","text":"TemporaryFile(/tmp/multipartBody453745070582238398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908262787,"filename":"image_16122025_19_03_44_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399687550","file1":"1399687513","file0":"1399687477","file4":"1399687616","file3":"1399687586"},"map_files_photo_id_array":[{"photo_id":"1399687550","filename":"file2"},{"photo_id":"1399687616","filename":"file4"},{"photo_id":"1399687513","filename":"file1"},{"photo_id":"1399687477","filename":"file0"},{"photo_id":"1399687586","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399687477":["hashtag1","hashtag2"]},{"1399687513":["hashtag1","hashtag2"]},{"1399687586":["hashtag1","hashtag2"]},{"1399687550":["hashtag1","hashtag2"]},{"1399687616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399687477, 1399687513, 1399687586, 1399687550, 1399687616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.579840183258057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:04:02.996933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:04:12.350298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:04:22.282941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_55_10623.jpg', '/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_14_9879.jpg', '/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_24_9640.jpg', '/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_34_10539.jpg', '/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_44_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/03/image_16122025_19_03_55_10623.jpg
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_14_9879.jpg
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_24_9640.jpg
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_34_10539.jpg
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_44_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399687651","1399687627","1399687644","1399687640","1399687625"],"photo_ids_order":["1399687625","1399687627","1399687640","1399687644","1399687651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09c1fb18bb282102c21685adb4ec73f6.jpg","text":"TemporaryFile(/tmp/multipartBody6188039249904419123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908322847,"filename":"image_16122025_19_04_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/16/e372d384328b6201d7ce3c03aff40758.jpg","text":"TemporaryFile(/tmp/multipartBody514039024857569871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908322847,"filename":"image_16122025_19_04_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/16/f7a16b8e2aedc6099256b998d5b807f2.jpg","text":"TemporaryFile(/tmp/multipartBody9015905527079005423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908322847,"filename":"image_16122025_19_04_34_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/742d9a6854d7f3d6bf001753fb875095.jpg","text":"TemporaryFile(/tmp/multipartBody7862211104079346560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908322847,"filename":"image_16122025_19_04_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/16/ce91ffa26adb74c297dbfaa7837a02cd.jpg","text":"TemporaryFile(/tmp/multipartBody3802724261097499774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908322847,"filename":"image_16122025_19_03_55_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399687640","file1":"1399687627","file0":"1399687625","file4":"1399687651","file3":"1399687644"},"map_files_photo_id_array":[{"photo_id":"1399687640","filename":"file2"},{"photo_id":"1399687651","filename":"file4"},{"photo_id":"1399687627","filename":"file1"},{"photo_id":"1399687625","filename":"file0"},{"photo_id":"1399687644","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399687651":["hashtag1","hashtag2"]},{"1399687627":["hashtag1","hashtag2"]},{"1399687644":["hashtag1","hashtag2"]},{"1399687640":["hashtag1","hashtag2"]},{"1399687625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399687651, 1399687627, 1399687644, 1399687640, 1399687625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.29530334472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:05:03.213033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:05:12.469002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:05:22.522499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_54_9753.jpg', '/home/pi/Desktop/images/16122025/19/04/image_16122025_19_05_04_10576.jpg', '/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_14_9656.jpg', '/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_24_9623.jpg', '/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_34_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_54_9753.jpg
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_05_04_10576.jpg
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_14_9656.jpg
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_24_9623.jpg
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_34_10523.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5425243377685547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:05:32.606763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:05:42.456565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_01_2655.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_05_3639.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_07_2560.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_11_3568.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_13_2505.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_16_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_01_2655.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_05_3639.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_07_2560.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_11_3568.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_13_2505.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_16_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":["1399688262","1399688409","1399688660","1399688483","1399688557","1399688335"],"photo_ids_order":["1399688262","1399688335","1399688409","1399688483","1399688557","1399688660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9abe984b16f7d364af634378198683e3.jpg","text":"TemporaryFile(/tmp/multipartBody8634135999995329418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908403365,"filename":"image_06112025_17_34_01_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e303df2e2492a306439f3a1aa32de666.jpg","text":"TemporaryFile(/tmp/multipartBody5647216235975476013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908403365,"filename":"image_06112025_17_34_07_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/16/179b16ab86632547824c87c3aa0a0c19.jpg","text":"TemporaryFile(/tmp/multipartBody5476791598289577124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908403365,"filename":"image_06112025_17_34_16_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/16/43f99866a900b0b1f2a6360eeb61cccf.jpg","text":"TemporaryFile(/tmp/multipartBody589497432304927334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908403365,"filename":"image_06112025_17_34_11_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/16/beddf0ea3e2ae0776cea0142622515ee.jpg","text":"TemporaryFile(/tmp/multipartBody4358367081007195575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908403365,"filename":"image_06112025_17_34_13_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/16/45eb24d249be89429a66af4858526eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2759522213350477727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908403365,"filename":"image_06112025_17_34_05_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399688409","file1":"1399688335","file0":"1399688262","file4":"1399688557","file5":"1399688660","file3":"1399688483"},"map_files_photo_id_array":[{"photo_id":"1399688660","filename":"file5"},{"photo_id":"1399688409","filename":"file2"},{"photo_id":"1399688557","filename":"file4"},{"photo_id":"1399688335","filename":"file1"},{"photo_id":"1399688262","filename":"file0"},{"photo_id":"1399688483","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399688262":["hashtag1","hashtag2"]},{"1399688409":["hashtag1","hashtag2"]},{"1399688660":["hashtag1","hashtag2"]},{"1399688483":["hashtag1","hashtag2"]},{"1399688557":["hashtag1","hashtag2"]},{"1399688335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399688262, 1399688409, 1399688660, 1399688483, 1399688557, 1399688335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87227988243103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:06:22.732586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_54_9753.jpg', '/home/pi/Desktop/images/16122025/19/04/image_16122025_19_05_04_10576.jpg', '/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_14_9656.jpg', '/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_24_9623.jpg', '/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_34_10523.jpg', '/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_44_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_04_54_9753.jpg
/home/pi/Desktop/images/16122025/19/04/image_16122025_19_05_04_10576.jpg
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_14_9656.jpg
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_24_9623.jpg
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_34_10523.jpg
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_05_44_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":["1399689282","1399688976","1399689371","1399689422","1399689091","1399689169"],"photo_ids_order":["1399688976","1399689091","1399689169","1399689282","1399689371","1399689422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68f0b7eb51bc542fc260c2c6f5f81a17.jpg","text":"TemporaryFile(/tmp/multipartBody8489444911238255933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908443380,"filename":"image_16122025_19_05_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/16/58a232ca6211f5b951eef4e2c9b09521.jpg","text":"TemporaryFile(/tmp/multipartBody5395959732110143296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908443380,"filename":"image_16122025_19_04_54_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6679f44197f6449346b0a10d2cf7852e.jpg","text":"TemporaryFile(/tmp/multipartBody2377399942830903491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908443380,"filename":"image_16122025_19_05_34_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/16/1abba05616c405642c9cef1ba123f616.jpg","text":"TemporaryFile(/tmp/multipartBody912812000861487646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908443380,"filename":"image_16122025_19_05_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/16/4e176b669f578fb670f74039a29a56d3.jpg","text":"TemporaryFile(/tmp/multipartBody9172456780440579601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908443380,"filename":"image_16122025_19_05_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/16/f85640be0d2876ff9904a536eb02e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody7475396969591973563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908443380,"filename":"image_16122025_19_05_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399689169","file1":"1399689091","file0":"1399688976","file4":"1399689371","file5":"1399689422","file3":"1399689282"},"map_files_photo_id_array":[{"photo_id":"1399689422","filename":"file5"},{"photo_id":"1399689169","filename":"file2"},{"photo_id":"1399689371","filename":"file4"},{"photo_id":"1399689091","filename":"file1"},{"photo_id":"1399688976","filename":"file0"},{"photo_id":"1399689282","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399689282":["hashtag1","hashtag2"]},{"1399688976":["hashtag1","hashtag2"]},{"1399689371":["hashtag1","hashtag2"]},{"1399689422":["hashtag1","hashtag2"]},{"1399689091":["hashtag1","hashtag2"]},{"1399689169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399689282, 1399688976, 1399689371, 1399689422, 1399689091, 1399689169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16624641418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:07:02.703637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/05/image_16122025_19_06_04_9596.jpg', '/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_14_9589.jpg', '/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_25_10794.jpg', '/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_34_9612.jpg', '/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_44_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/05/image_16122025_19_06_04_9596.jpg
/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_14_9589.jpg
/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_25_10794.jpg
/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_34_9612.jpg
/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_44_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":["1399689651","1399689549","1399689723","1399689796","1399689586"],"photo_ids_order":["1399689549","1399689586","1399689651","1399689723","1399689796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c83e08bd0f09596374903c0829865a66.jpg","text":"TemporaryFile(/tmp/multipartBody8231814565890938576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908483285,"filename":"image_16122025_19_06_25_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/813a138a2d7941ef62f760715a6587a8.jpg","text":"TemporaryFile(/tmp/multipartBody3829864896693958167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908483285,"filename":"image_16122025_19_06_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/16/0e1075b7604b1f0f3e0b22af3989a4b4.jpg","text":"TemporaryFile(/tmp/multipartBody1330134704145097629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908483285,"filename":"image_16122025_19_06_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/813ae78533e283fb85a680fed7832ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4122889242688218385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908483285,"filename":"image_16122025_19_06_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/16/7647e1c98f8f3d7113bd52e19be8375c.jpg","text":"TemporaryFile(/tmp/multipartBody8521303314946850547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908483285,"filename":"image_16122025_19_06_14_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399689651","file1":"1399689586","file0":"1399689549","file4":"1399689796","file3":"1399689723"},"map_files_photo_id_array":[{"photo_id":"1399689651","filename":"file2"},{"photo_id":"1399689796","filename":"file4"},{"photo_id":"1399689586","filename":"file1"},{"photo_id":"1399689549","filename":"file0"},{"photo_id":"1399689723","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399689651":["hashtag1","hashtag2"]},{"1399689549":["hashtag1","hashtag2"]},{"1399689723":["hashtag1","hashtag2"]},{"1399689796":["hashtag1","hashtag2"]},{"1399689586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399689651, 1399689549, 1399689723, 1399689796, 1399689586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.651955604553223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:07:42.019034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_19_3524.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_22_2605.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_25_2892.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_29_3639.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_31_2750.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_34_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_19_3524.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_22_2605.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_25_2892.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_29_3639.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_31_2750.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_34_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":["1399690006","1399690005","1399689976","1399690004","1399690007","1399690001"],"photo_ids_order":["1399689976","1399690001","1399690004","1399690005","1399690006","1399690007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09b2b9e6a8efa253e4514a87e6bd2533.jpg","text":"TemporaryFile(/tmp/multipartBody2540784015944460001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908522678,"filename":"image_06112025_17_34_31_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/608d2d1728ea6cda51e704665cde5e93.jpg","text":"TemporaryFile(/tmp/multipartBody4599873409754166120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908522678,"filename":"image_06112025_17_34_29_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17b38efc9dd3773b00131efc9b1b7a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3777786604427337653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908522678,"filename":"image_06112025_17_34_19_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/16/e625b6283292951981c318c249c91265.jpg","text":"TemporaryFile(/tmp/multipartBody5686947581075563786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908522678,"filename":"image_06112025_17_34_25_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a99ffd7e457ee0e769c0b80eb6d32c4.jpg","text":"TemporaryFile(/tmp/multipartBody4734790707809872844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908522678,"filename":"image_06112025_17_34_34_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/16/88294964deec5b92b94f7899775241ca.jpg","text":"TemporaryFile(/tmp/multipartBody7135486011098159103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908522678,"filename":"image_06112025_17_34_22_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399690004","file1":"1399690001","file0":"1399689976","file4":"1399690006","file5":"1399690007","file3":"1399690005"},"map_files_photo_id_array":[{"photo_id":"1399690007","filename":"file5"},{"photo_id":"1399690004","filename":"file2"},{"photo_id":"1399690006","filename":"file4"},{"photo_id":"1399690001","filename":"file1"},{"photo_id":"1399689976","filename":"file0"},{"photo_id":"1399690005","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399690006":["hashtag1","hashtag2"]},{"1399690005":["hashtag1","hashtag2"]},{"1399689976":["hashtag1","hashtag2"]},{"1399690004":["hashtag1","hashtag2"]},{"1399690007":["hashtag1","hashtag2"]},{"1399690001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399690006, 1399690005, 1399689976, 1399690004, 1399690007, 1399690001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.598445415496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:08:22.241334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_54_10677.jpg', '/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_14_9741.jpg', '/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_24_9745.jpg', '/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_44_9672.jpg', '/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_54_9699.jpg', '/home/pi/Desktop/images/16122025/19/07/image_16122025_19_08_05_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/06/image_16122025_19_06_54_10677.jpg
/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_14_9741.jpg
/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_24_9745.jpg
/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_44_9672.jpg
/home/pi/Desktop/images/16122025/19/07/image_16122025_19_07_54_9699.jpg
/home/pi/Desktop/images/16122025/19/07/image_16122025_19_08_05_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399690024","1399690012","1399690038","1399690029","1399690046","1399690027"],"photo_ids_order":["1399690012","1399690024","1399690027","1399690029","1399690038","1399690046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34d879dd4db9fb9718edb7054e60f829.jpg","text":"TemporaryFile(/tmp/multipartBody7490662979711640669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908562840,"filename":"image_16122025_19_07_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/16/0433a1b4742450a9425f68381b08a167.jpg","text":"TemporaryFile(/tmp/multipartBody8524662900978393917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908562840,"filename":"image_16122025_19_06_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/16/7e13011aaa2257db487f6d34795b2faf.jpg","text":"TemporaryFile(/tmp/multipartBody1026855736677337832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908562840,"filename":"image_16122025_19_07_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/16/28a2092dc41d99913aba0322b4ff3548.jpg","text":"TemporaryFile(/tmp/multipartBody3890740872819778937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908562840,"filename":"image_16122025_19_07_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/16/c9618d52eacc30986884ca1395dd2373.jpg","text":"TemporaryFile(/tmp/multipartBody646759731676915917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908562840,"filename":"image_16122025_19_08_05_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0543e7bd2b8a1e6c9e1f9eb9e4ac1666.jpg","text":"TemporaryFile(/tmp/multipartBody3905883944159998630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908562840,"filename":"image_16122025_19_07_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399690027","file1":"1399690024","file0":"1399690012","file4":"1399690038","file5":"1399690046","file3":"1399690029"},"map_files_photo_id_array":[{"photo_id":"1399690046","filename":"file5"},{"photo_id":"1399690027","filename":"file2"},{"photo_id":"1399690038","filename":"file4"},{"photo_id":"1399690024","filename":"file1"},{"photo_id":"1399690012","filename":"file0"},{"photo_id":"1399690029","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399690024":["hashtag1","hashtag2"]},{"1399690012":["hashtag1","hashtag2"]},{"1399690038":["hashtag1","hashtag2"]},{"1399690029":["hashtag1","hashtag2"]},{"1399690046":["hashtag1","hashtag2"]},{"1399690027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399690024, 1399690012, 1399690038, 1399690029, 1399690046, 1399690027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.705870389938354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:09:03.421067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_14_9689.jpg', '/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_24_9733.jpg', '/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_35_10650.jpg', '/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_44_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_14_9689.jpg
/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_24_9733.jpg
/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_35_10650.jpg
/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_44_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399690141","1399690067","1399690106","1399690051"],"photo_ids_order":["1399690051","1399690067","1399690106","1399690141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4ff87d3b19eb3ca39532c3b056010471.jpg","text":"TemporaryFile(/tmp/multipartBody6077161308587944460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908604113,"filename":"image_16122025_19_08_44_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b1e012a5b171bbc88b78dc732a8777e.jpg","text":"TemporaryFile(/tmp/multipartBody7838892694396116541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908604113,"filename":"image_16122025_19_08_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/16/b567eabe2c881a06dd5e4b7e7196474f.jpg","text":"TemporaryFile(/tmp/multipartBody3161241444742198823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908604113,"filename":"image_16122025_19_08_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91cf2a58349b9740ab57028e4f988772.jpg","text":"TemporaryFile(/tmp/multipartBody7933956358680045858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908604113,"filename":"image_16122025_19_08_14_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399690106","file1":"1399690067","file0":"1399690051","file3":"1399690141"},"map_files_photo_id_array":[{"photo_id":"1399690106","filename":"file2"},{"photo_id":"1399690067","filename":"file1"},{"photo_id":"1399690051","filename":"file0"},{"photo_id":"1399690141","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399690141":["hashtag1","hashtag2"]},{"1399690067":["hashtag1","hashtag2"]},{"1399690106":["hashtag1","hashtag2"]},{"1399690051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399690141, 1399690067, 1399690106, 1399690051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.414812088012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:09:32.624483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:09:42.539988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_37_2743.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_40_3658.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_43_2533.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_46_2842.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_49_3543.jpg', '/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_57_8136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_37_2743.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_40_3658.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_43_2533.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_46_2842.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_49_3543.jpg
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_57_8136.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399690405","1399690354","1399690443","1399690481","1399690514","1399690555"],"photo_ids_order":["1399690354","1399690405","1399690443","1399690481","1399690514","1399690555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4dc5c942df5b0aa37c25fc0b44448b70.jpg","text":"TemporaryFile(/tmp/multipartBody4348878924860723318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908643200,"filename":"image_06112025_17_34_40_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/16/ece2d4b035a8ce8b8371f1fc0a314fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3822281920513635667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908643200,"filename":"image_06112025_17_34_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/16/c34959603ed952f56c21f7c9c1c3a778.jpg","text":"TemporaryFile(/tmp/multipartBody3589955191688477653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908643200,"filename":"image_06112025_17_34_43_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/16/003b477d3da9e3297dfa72314cdcea5f.jpg","text":"TemporaryFile(/tmp/multipartBody7918818191524370396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908643200,"filename":"image_06112025_17_34_46_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/16/5abeff9e1b29c499d6063ec49f3a5251.jpg","text":"TemporaryFile(/tmp/multipartBody4275992231439216664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908643200,"filename":"image_06112025_17_34_49_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/16/f66e0319f7709ecb37d19cd9d9aa7c73.jpg","text":"TemporaryFile(/tmp/multipartBody4026722451457910922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908643200,"filename":"image_06112025_17_34_57_8136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399690443","file1":"1399690405","file0":"1399690354","file4":"1399690514","file5":"1399690555","file3":"1399690481"},"map_files_photo_id_array":[{"photo_id":"1399690555","filename":"file5"},{"photo_id":"1399690443","filename":"file2"},{"photo_id":"1399690514","filename":"file4"},{"photo_id":"1399690405","filename":"file1"},{"photo_id":"1399690354","filename":"file0"},{"photo_id":"1399690481","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399690405":["hashtag1","hashtag2"]},{"1399690354":["hashtag1","hashtag2"]},{"1399690443":["hashtag1","hashtag2"]},{"1399690481":["hashtag1","hashtag2"]},{"1399690514":["hashtag1","hashtag2"]},{"1399690555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399690405, 1399690354, 1399690443, 1399690481, 1399690514, 1399690555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73594379425049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:10:22.808093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_54_9613.jpg', '/home/pi/Desktop/images/16122025/19/08/image_16122025_19_09_05_10660.jpg', '/home/pi/Desktop/images/16122025/19/09/image_16122025_19_09_24_9681.jpg', '/home/pi/Desktop/images/16122025/19/09/image_16122025_19_09_35_10790.jpg', '/home/pi/Desktop/images/16122025/19/09/image_16122025_19_09_54_9572.jpg', '/home/pi/Desktop/images/16122025/19/09/image_16122025_19_10_04_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/08/image_16122025_19_08_54_9613.jpg
/home/pi/Desktop/images/16122025/19/08/image_16122025_19_09_05_10660.jpg
/home/pi/Desktop/images/16122025/19/09/image_16122025_19_09_24_9681.jpg
/home/pi/Desktop/images/16122025/19/09/image_16122025_19_09_35_10790.jpg
/home/pi/Desktop/images/16122025/19/09/image_16122025_19_09_54_9572.jpg
/home/pi/Desktop/images/16122025/19/09/image_16122025_19_10_04_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399690804","1399690612","1399690749","1399690914","1399690679","1399690844"],"photo_ids_order":["1399690612","1399690679","1399690749","1399690804","1399690844","1399690914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/599ac6b769fce34a6e296c810cdada33.jpg","text":"TemporaryFile(/tmp/multipartBody8524194474297195660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908683395,"filename":"image_16122025_19_09_35_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/448f0ece67c1dd4ebb0e8c81c2465e30.jpg","text":"TemporaryFile(/tmp/multipartBody1773422792386532623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908683395,"filename":"image_16122025_19_08_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/16/6fda350db01c9b17444f1d91d6cd733e.jpg","text":"TemporaryFile(/tmp/multipartBody2939947176980122748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908683395,"filename":"image_16122025_19_09_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/16/c0e0413ad785ae713a71caa2438cb6e8.jpg","text":"TemporaryFile(/tmp/multipartBody1715624422690589307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908683395,"filename":"image_16122025_19_10_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e1dace5125087dd53e7863fc2df1573.jpg","text":"TemporaryFile(/tmp/multipartBody4149777246714861014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908683395,"filename":"image_16122025_19_09_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a959c5882964ecfdf0e0f5491f50eafd.jpg","text":"TemporaryFile(/tmp/multipartBody6916667714194188582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908683395,"filename":"image_16122025_19_09_54_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399690749","file1":"1399690679","file0":"1399690612","file4":"1399690844","file5":"1399690914","file3":"1399690804"},"map_files_photo_id_array":[{"photo_id":"1399690914","filename":"file5"},{"photo_id":"1399690749","filename":"file2"},{"photo_id":"1399690844","filename":"file4"},{"photo_id":"1399690679","filename":"file1"},{"photo_id":"1399690612","filename":"file0"},{"photo_id":"1399690804","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399690804":["hashtag1","hashtag2"]},{"1399690612":["hashtag1","hashtag2"]},{"1399690749":["hashtag1","hashtag2"]},{"1399690914":["hashtag1","hashtag2"]},{"1399690679":["hashtag1","hashtag2"]},{"1399690844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399690804, 1399690612, 1399690749, 1399690914, 1399690679, 1399690844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44900107383728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:11:02.835610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/10/image_16122025_19_10_14_9738.jpg', '/home/pi/Desktop/images/16122025/19/10/image_16122025_19_10_34_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/10/image_16122025_19_10_14_9738.jpg
/home/pi/Desktop/images/16122025/19/10/image_16122025_19_10_34_10635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399691114","1399691079"],"photo_ids_order":["1399691079","1399691114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f0717b372e4797c682063adb0435d84.jpg","text":"TemporaryFile(/tmp/multipartBody2947953899286763195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908723362,"filename":"image_16122025_19_10_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e40c5ff054e154c262a0a5a835b7dcfa.jpg","text":"TemporaryFile(/tmp/multipartBody8092199594864601853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908723362,"filename":"image_16122025_19_10_14_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399691114","file0":"1399691079"},"map_files_photo_id_array":[{"photo_id":"1399691114","filename":"file1"},{"photo_id":"1399691079","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399691114":["hashtag1","hashtag2"]},{"1399691079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399691114, 1399691079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.256608247756958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:11:22.094377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/10/image_16122025_19_10_54_9798.jpg', '/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_14_9605.jpg', '/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_24_9629.jpg', '/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_34_10648.jpg', '/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/10/image_16122025_19_10_54_9798.jpg
/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_14_9605.jpg
/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_24_9629.jpg
/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_34_10648.jpg
/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_44_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399691274","1399691349","1399691400","1399691310","1399691237"],"photo_ids_order":["1399691237","1399691274","1399691310","1399691349","1399691400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e37c1b1b4c39bacd6e18f5fcd453945c.jpg","text":"TemporaryFile(/tmp/multipartBody73419448797259464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908742667,"filename":"image_16122025_19_11_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66d74ae8041ad15d56201ef651f00c36.jpg","text":"TemporaryFile(/tmp/multipartBody792970628026751978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908742667,"filename":"image_16122025_19_11_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/16/42bb16990b1e51091047b50b6926a1ec.jpg","text":"TemporaryFile(/tmp/multipartBody6366690314536301124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908742667,"filename":"image_16122025_19_11_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c02db750b000cac908ce6a096bc843e1.jpg","text":"TemporaryFile(/tmp/multipartBody3773207018877587744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908742667,"filename":"image_16122025_19_11_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/16/187da4880dbf9d0ed799b4e26c7d570a.jpg","text":"TemporaryFile(/tmp/multipartBody3273766453598103304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908742667,"filename":"image_16122025_19_10_54_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399691310","file1":"1399691274","file0":"1399691237","file4":"1399691400","file3":"1399691349"},"map_files_photo_id_array":[{"photo_id":"1399691310","filename":"file2"},{"photo_id":"1399691400","filename":"file4"},{"photo_id":"1399691274","filename":"file1"},{"photo_id":"1399691237","filename":"file0"},{"photo_id":"1399691349","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399691274":["hashtag1","hashtag2"]},{"1399691349":["hashtag1","hashtag2"]},{"1399691400":["hashtag1","hashtag2"]},{"1399691310":["hashtag1","hashtag2"]},{"1399691237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399691274, 1399691349, 1399691400, 1399691310, 1399691237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.441609144210815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:12:02.978746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:12:12.457149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:12:22.550484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_54_9822.jpg', '/home/pi/Desktop/images/16122025/19/11/image_16122025_19_12_05_10571.jpg', '/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_14_9794.jpg', '/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_24_9732.jpg', '/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_34_9652.jpg', '/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_44_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/11/image_16122025_19_11_54_9822.jpg
/home/pi/Desktop/images/16122025/19/11/image_16122025_19_12_05_10571.jpg
/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_14_9794.jpg
/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_24_9732.jpg
/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_34_9652.jpg
/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_44_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":["1399691888","1399691870","1399692008","1399691930","1399691869","1399692054"],"photo_ids_order":["1399691869","1399691870","1399691888","1399691930","1399692008","1399692054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb06c7d2fc4be11941abdb4690e53a83.jpg","text":"TemporaryFile(/tmp/multipartBody3648025957013140229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908803101,"filename":"image_16122025_19_12_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a3b5dd7cf414e50679b3d4b8983db2c.jpg","text":"TemporaryFile(/tmp/multipartBody8137131680259467722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908803101,"filename":"image_16122025_19_12_05_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9dd3b87e186ce5ddb93e84723807fe5.jpg","text":"TemporaryFile(/tmp/multipartBody9153392852828546952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908803101,"filename":"image_16122025_19_12_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11dd9a36dac0fe631a9a38bcc70c3d1b.jpg","text":"TemporaryFile(/tmp/multipartBody458626095074231312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908803101,"filename":"image_16122025_19_12_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/16/b965aa442686f47a93f3aa4d848858b0.jpg","text":"TemporaryFile(/tmp/multipartBody2298162325310937491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908803101,"filename":"image_16122025_19_11_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/16/a6b5bfc9adfd8411553af4018fe60e03.jpg","text":"TemporaryFile(/tmp/multipartBody4451749098753946596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908803101,"filename":"image_16122025_19_12_44_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399691888","file1":"1399691870","file0":"1399691869","file4":"1399692008","file5":"1399692054","file3":"1399691930"},"map_files_photo_id_array":[{"photo_id":"1399692054","filename":"file5"},{"photo_id":"1399691888","filename":"file2"},{"photo_id":"1399692008","filename":"file4"},{"photo_id":"1399691870","filename":"file1"},{"photo_id":"1399691869","filename":"file0"},{"photo_id":"1399691930","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399691888":["hashtag1","hashtag2"]},{"1399691870":["hashtag1","hashtag2"]},{"1399692008":["hashtag1","hashtag2"]},{"1399691930":["hashtag1","hashtag2"]},{"1399691869":["hashtag1","hashtag2"]},{"1399692054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399691888, 1399691870, 1399692008, 1399691930, 1399691869, 1399692054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.814316749572754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:13:03.506637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:13:12.658742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:13:22.756676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_54_9674.jpg', '/home/pi/Desktop/images/16122025/19/12/image_16122025_19_13_04_9647.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_14_10588.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_24_9606.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_35_10692.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/12/image_16122025_19_12_54_9674.jpg
/home/pi/Desktop/images/16122025/19/12/image_16122025_19_13_04_9647.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_14_10588.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_24_9606.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_35_10692.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_44_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692250","1399692253","1399692247","1399692256","1399692235","1399692198"],"photo_ids_order":["1399692198","1399692235","1399692247","1399692250","1399692253","1399692256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/233b3d8544c680ec9e7782eee5c3cbb4.jpg","text":"TemporaryFile(/tmp/multipartBody3923233072696828261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908863316,"filename":"image_16122025_19_13_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/16/a31a9cc72374cd7f0a14a5594229eb3a.jpg","text":"TemporaryFile(/tmp/multipartBody7493258789475947194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908863316,"filename":"image_16122025_19_13_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/16/bda4fb788bf4f0c114b8664ad6762788.jpg","text":"TemporaryFile(/tmp/multipartBody4310390412673547315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908863316,"filename":"image_16122025_19_13_14_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcaa5211afc44b8f7c3f2de18dad4ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8729616487669354654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908863316,"filename":"image_16122025_19_13_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/16/ae2b6566bff14b9a266103934cee1e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2425794579889470763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908863316,"filename":"image_16122025_19_13_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/16/76894ad0f910726fa4b1098ba4977f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3438565094116937465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908863316,"filename":"image_16122025_19_12_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692247","file1":"1399692235","file0":"1399692198","file4":"1399692253","file5":"1399692256","file3":"1399692250"},"map_files_photo_id_array":[{"photo_id":"1399692256","filename":"file5"},{"photo_id":"1399692247","filename":"file2"},{"photo_id":"1399692253","filename":"file4"},{"photo_id":"1399692235","filename":"file1"},{"photo_id":"1399692198","filename":"file0"},{"photo_id":"1399692250","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692250":["hashtag1","hashtag2"]},{"1399692253":["hashtag1","hashtag2"]},{"1399692247":["hashtag1","hashtag2"]},{"1399692256":["hashtag1","hashtag2"]},{"1399692235":["hashtag1","hashtag2"]},{"1399692198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692250, 1399692253, 1399692247, 1399692256, 1399692235, 1399692198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02922463417053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:14:02.521959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:14:11.921850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:14:21.960462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4812920093536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:14:31.992972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:14:41.937605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_59_1712.jpg', '/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_01_1548.jpg', '/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_03_1848.jpg', '/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_04_1633.jpg', '/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_07_2564.jpg', '/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_10_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/34/image_06112025_17_34_59_1712.jpg
/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_01_1548.jpg
/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_03_1848.jpg
/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_04_1633.jpg
/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_07_2564.jpg
/home/pi/Desktop/images/06112025/17/35/image_06112025_17_35_10_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692494","1399692482","1399692485","1399692475","1399692484","1399692483"],"photo_ids_order":["1399692475","1399692482","1399692483","1399692484","1399692485","1399692494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35373de103bc89d94863da78ce0bcf79.jpg","text":"TemporaryFile(/tmp/multipartBody9078090108865850995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908942612,"filename":"image_06112025_17_35_10_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59dc3d8fb90bad1db29b656a6c4d6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8466341096993071342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908942612,"filename":"image_06112025_17_35_01_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ec5b72e8f02978d34d8d24493e72d22.jpg","text":"TemporaryFile(/tmp/multipartBody6389811277243003656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908942612,"filename":"image_06112025_17_35_07_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ed09fa632a401c116d5f4b3dc1e319e.jpg","text":"TemporaryFile(/tmp/multipartBody8060809778746087865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908942612,"filename":"image_06112025_17_34_59_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c8d1468a5f65cd70ef142893f483492.jpg","text":"TemporaryFile(/tmp/multipartBody709507532363280244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908942612,"filename":"image_06112025_17_35_04_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33df67406d45f62b1b530d75f2967a98.jpg","text":"TemporaryFile(/tmp/multipartBody2093740663017031989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765908942612,"filename":"image_06112025_17_35_03_1848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692483","file1":"1399692482","file0":"1399692475","file4":"1399692485","file5":"1399692494","file3":"1399692484"},"map_files_photo_id_array":[{"photo_id":"1399692494","filename":"file5"},{"photo_id":"1399692483","filename":"file2"},{"photo_id":"1399692485","filename":"file4"},{"photo_id":"1399692482","filename":"file1"},{"photo_id":"1399692475","filename":"file0"},{"photo_id":"1399692484","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399692494":["hashtag1","hashtag2"]},{"1399692482":["hashtag1","hashtag2"]},{"1399692485":["hashtag1","hashtag2"]},{"1399692475":["hashtag1","hashtag2"]},{"1399692484":["hashtag1","hashtag2"]},{"1399692483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399692494, 1399692482, 1399692485, 1399692475, 1399692484, 1399692483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35795187950134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:15:22.197441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46004414558410645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:15:32.216072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:15:42.210058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_07_3011.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_11_3707.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_13_2643.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_17_3507.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_19_2671.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_22_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_07_3011.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_11_3707.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_13_2643.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_17_3507.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_19_2671.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_22_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692551","1399692536","1399692586","1399692532","1399692621","1399692537"],"photo_ids_order":["1399692532","1399692536","1399692537","1399692551","1399692586","1399692621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d9c3e59fceebbb2f6af03719323071f.jpg","text":"TemporaryFile(/tmp/multipartBody8023707033500312899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909002875,"filename":"image_06112025_17_36_17_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/16/260ff513079cfc16071791b9ed308fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3116831594126966056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909002875,"filename":"image_06112025_17_36_11_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b632f78e1b4e270cfdeb4960ee6690aa.jpg","text":"TemporaryFile(/tmp/multipartBody919173678242207670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909002875,"filename":"image_06112025_17_36_19_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02d1d875b8488db7e5d40e030bcbc419.jpg","text":"TemporaryFile(/tmp/multipartBody6645751753976182140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909002875,"filename":"image_06112025_17_36_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/16/d11a8bd76585f664b393bc82840a1d05.jpg","text":"TemporaryFile(/tmp/multipartBody1212023474557092466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909002875,"filename":"image_06112025_17_36_22_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/16/387f31322fa84bc410c5a53615c7fb6d.jpg","text":"TemporaryFile(/tmp/multipartBody6043484549545150172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909002875,"filename":"image_06112025_17_36_13_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692537","file1":"1399692536","file0":"1399692532","file4":"1399692586","file5":"1399692621","file3":"1399692551"},"map_files_photo_id_array":[{"photo_id":"1399692621","filename":"file5"},{"photo_id":"1399692537","filename":"file2"},{"photo_id":"1399692586","filename":"file4"},{"photo_id":"1399692536","filename":"file1"},{"photo_id":"1399692532","filename":"file0"},{"photo_id":"1399692551","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399692551":["hashtag1","hashtag2"]},{"1399692536":["hashtag1","hashtag2"]},{"1399692586":["hashtag1","hashtag2"]},{"1399692532":["hashtag1","hashtag2"]},{"1399692621":["hashtag1","hashtag2"]},{"1399692537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399692551, 1399692536, 1399692586, 1399692532, 1399692621, 1399692537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82573127746582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:16:22.453105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4592247009277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:16:32.494492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:16:42.555450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_37_2621.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_40_2784.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_44_3627.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_46_2599.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_49_2619.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_53_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_37_2621.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_40_2784.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_44_3627.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_46_2599.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_49_2619.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_53_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692773","1399692731","1399692769","1399692754","1399692733","1399692762"],"photo_ids_order":["1399692731","1399692733","1399692754","1399692762","1399692769","1399692773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bdcba2edcc01ca92488fb05f347c378.jpg","text":"TemporaryFile(/tmp/multipartBody5064895325719566480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909063210,"filename":"image_06112025_17_36_53_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f497190c0f3d7d17b8d6320ff95cb4fb.jpg","text":"TemporaryFile(/tmp/multipartBody1678919017772451941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909063210,"filename":"image_06112025_17_36_37_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/16/b56e32d1871d95f3fb04d51a5ed356d6.jpg","text":"TemporaryFile(/tmp/multipartBody9207159339194187813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909063210,"filename":"image_06112025_17_36_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/16/cfe18596f701698f8d2b6fcc5e5a79a3.jpg","text":"TemporaryFile(/tmp/multipartBody5393601702441686568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909063210,"filename":"image_06112025_17_36_44_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/16/c4c2d123ea610428db7925627534af61.jpg","text":"TemporaryFile(/tmp/multipartBody5607508385653867324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909063210,"filename":"image_06112025_17_36_40_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/16/07e1dd278b30e9ee601194febcdcd9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2765182486942766440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909063210,"filename":"image_06112025_17_36_46_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692754","file1":"1399692733","file0":"1399692731","file4":"1399692769","file5":"1399692773","file3":"1399692762"},"map_files_photo_id_array":[{"photo_id":"1399692773","filename":"file5"},{"photo_id":"1399692754","filename":"file2"},{"photo_id":"1399692769","filename":"file4"},{"photo_id":"1399692733","filename":"file1"},{"photo_id":"1399692731","filename":"file0"},{"photo_id":"1399692762","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399692773":["hashtag1","hashtag2"]},{"1399692731":["hashtag1","hashtag2"]},{"1399692769":["hashtag1","hashtag2"]},{"1399692754":["hashtag1","hashtag2"]},{"1399692733":["hashtag1","hashtag2"]},{"1399692762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399692773, 1399692731, 1399692769, 1399692754, 1399692733, 1399692762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7536838054657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:17:22.891922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg', '/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_13_54_9637.jpg
/home/pi/Desktop/images/16122025/19/13/image_16122025_19_14_05_10678.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_14_9700.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_24_9682.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_34_9780.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_44_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692837","1399692838","1399692846","1399692831","1399692834","1399692828"],"photo_ids_order":["1399692828","1399692831","1399692834","1399692837","1399692838","1399692846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33852d2266714ce2c0eee40cafc47902.jpg","text":"TemporaryFile(/tmp/multipartBody4410811132276071617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909103491,"filename":"image_16122025_19_14_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/16/786d302aeb4b63d4113771ffa47a5ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8287394520891127532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909103491,"filename":"image_16122025_19_14_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0a9849dc869324f8d1f7080fd928f95.jpg","text":"TemporaryFile(/tmp/multipartBody5423351078056369597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909103491,"filename":"image_16122025_19_14_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1436e1d9bbf19acf3a547285934bf25d.jpg","text":"TemporaryFile(/tmp/multipartBody1641703413504776372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909103491,"filename":"image_16122025_19_14_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/16/17c5446e9156129ec882da9fdd75c96b.jpg","text":"TemporaryFile(/tmp/multipartBody8171067516187391522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909103491,"filename":"image_16122025_19_14_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/16/600f9b55c9d6ec2175322116c00e1a01.jpg","text":"TemporaryFile(/tmp/multipartBody4981203720675300794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909103491,"filename":"image_16122025_19_13_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692834","file1":"1399692831","file0":"1399692828","file4":"1399692838","file5":"1399692846","file3":"1399692837"},"map_files_photo_id_array":[{"photo_id":"1399692846","filename":"file5"},{"photo_id":"1399692834","filename":"file2"},{"photo_id":"1399692838","filename":"file4"},{"photo_id":"1399692831","filename":"file1"},{"photo_id":"1399692828","filename":"file0"},{"photo_id":"1399692837","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692837":["hashtag1","hashtag2"]},{"1399692838":["hashtag1","hashtag2"]},{"1399692846":["hashtag1","hashtag2"]},{"1399692831":["hashtag1","hashtag2"]},{"1399692834":["hashtag1","hashtag2"]},{"1399692828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692837, 1399692838, 1399692846, 1399692831, 1399692834, 1399692828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.710591316223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:18:02.484151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_54_9670.jpg', '/home/pi/Desktop/images/16122025/19/14/image_16122025_19_15_04_9730.jpg', '/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_15_10695.jpg', '/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_24_9648.jpg', '/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_34_9745.jpg', '/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_44_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_14_54_9670.jpg
/home/pi/Desktop/images/16122025/19/14/image_16122025_19_15_04_9730.jpg
/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_15_10695.jpg
/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_24_9648.jpg
/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_34_9745.jpg
/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_44_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":["1399692863","1399692857","1399692865","1399692862","1399692861","1399692858"],"photo_ids_order":["1399692857","1399692858","1399692861","1399692862","1399692863","1399692865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21ffc27cf55cc1f3235024c4cc5abda6.jpg","text":"TemporaryFile(/tmp/multipartBody7917693216116142914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909143107,"filename":"image_16122025_19_15_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4ec4fc3dc3ccd656089e0c8642a4cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5382120660503444630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909143107,"filename":"image_16122025_19_14_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/16/692eec923017ebef2aa28b6aacc324d2.jpg","text":"TemporaryFile(/tmp/multipartBody6878953608081247730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909143107,"filename":"image_16122025_19_15_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe9fdb16bd4064a67c7d98dafcd7cc10.jpg","text":"TemporaryFile(/tmp/multipartBody5386882851363718442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909143107,"filename":"image_16122025_19_15_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c40a35fdab18087264f3b076f409317.jpg","text":"TemporaryFile(/tmp/multipartBody9198331061435244245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909143107,"filename":"image_16122025_19_15_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b0b9995deadbbcbb182e691a6f9cd9c.jpg","text":"TemporaryFile(/tmp/multipartBody7744884607001299557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909143107,"filename":"image_16122025_19_15_04_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692861","file1":"1399692858","file0":"1399692857","file4":"1399692863","file5":"1399692865","file3":"1399692862"},"map_files_photo_id_array":[{"photo_id":"1399692865","filename":"file5"},{"photo_id":"1399692861","filename":"file2"},{"photo_id":"1399692863","filename":"file4"},{"photo_id":"1399692858","filename":"file1"},{"photo_id":"1399692857","filename":"file0"},{"photo_id":"1399692862","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692863":["hashtag1","hashtag2"]},{"1399692857":["hashtag1","hashtag2"]},{"1399692865":["hashtag1","hashtag2"]},{"1399692862":["hashtag1","hashtag2"]},{"1399692861":["hashtag1","hashtag2"]},{"1399692858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692863, 1399692857, 1399692865, 1399692862, 1399692861, 1399692858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.090521574020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:18:42.052130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_55_2522.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_58_2789.jpg', '/home/pi/Desktop/images/06112025/17/36/image_06112025_17_37_01_3602.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_04_2721.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_07_2815.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_13_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_55_2522.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_36_58_2789.jpg
/home/pi/Desktop/images/06112025/17/36/image_06112025_17_37_01_3602.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_04_2721.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_07_2815.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_13_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":["1399692872","1399692881","1399692875","1399692874","1399692870","1399692873"],"photo_ids_order":["1399692870","1399692872","1399692873","1399692874","1399692875","1399692881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/177c2a29630cb931d8d58901dba89067.jpg","text":"TemporaryFile(/tmp/multipartBody7051094578496059964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909182702,"filename":"image_06112025_17_36_58_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/16/89a783adf7ea688f5ba193d6a3d75eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3190965416823348904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909182702,"filename":"image_06112025_17_37_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/16/59e03df2ffebb9c83cd3c7849a76937a.jpg","text":"TemporaryFile(/tmp/multipartBody4685226880419440581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909182702,"filename":"image_06112025_17_37_07_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd19d23400aafa75361316907a0ec024.jpg","text":"TemporaryFile(/tmp/multipartBody3186688058355620533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909182702,"filename":"image_06112025_17_37_04_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/16/f825ba481af4fc0fa26e7e7ef434935e.jpg","text":"TemporaryFile(/tmp/multipartBody1493333150421667345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909182702,"filename":"image_06112025_17_36_55_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/16/98c7b81b08aef7353953defa92a4fad6.jpg","text":"TemporaryFile(/tmp/multipartBody8693966542108867437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909182702,"filename":"image_06112025_17_37_01_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692873","file1":"1399692872","file0":"1399692870","file4":"1399692875","file5":"1399692881","file3":"1399692874"},"map_files_photo_id_array":[{"photo_id":"1399692881","filename":"file5"},{"photo_id":"1399692873","filename":"file2"},{"photo_id":"1399692875","filename":"file4"},{"photo_id":"1399692872","filename":"file1"},{"photo_id":"1399692870","filename":"file0"},{"photo_id":"1399692874","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399692872":["hashtag1","hashtag2"]},{"1399692881":["hashtag1","hashtag2"]},{"1399692875":["hashtag1","hashtag2"]},{"1399692874":["hashtag1","hashtag2"]},{"1399692870":["hashtag1","hashtag2"]},{"1399692873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399692872, 1399692881, 1399692875, 1399692874, 1399692870, 1399692873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.236942768096924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:19:22.298337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_54_10790.jpg', '/home/pi/Desktop/images/16122025/19/15/image_16122025_19_16_04_9697.jpg', '/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_14_9787.jpg', '/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_25_10699.jpg', '/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_34_9655.jpg', '/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_44_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/15/image_16122025_19_15_54_10790.jpg
/home/pi/Desktop/images/16122025/19/15/image_16122025_19_16_04_9697.jpg
/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_14_9787.jpg
/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_25_10699.jpg
/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_34_9655.jpg
/home/pi/Desktop/images/16122025/19/16/image_16122025_19_16_44_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692893","1399692887","1399692895","1399692898","1399692889","1399692891"],"photo_ids_order":["1399692887","1399692889","1399692891","1399692893","1399692895","1399692898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f7a1dae06fcb856782f84db52d909f0.jpg","text":"TemporaryFile(/tmp/multipartBody8561407497998971162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909222963,"filename":"image_16122025_19_16_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/16/3b67a87286217ad754ddfb64e0a74c69.jpg","text":"TemporaryFile(/tmp/multipartBody5959910881646043264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909222963,"filename":"image_16122025_19_15_54_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/16/2dc48d4ae1c6a27dbc53eb60f74803d1.jpg","text":"TemporaryFile(/tmp/multipartBody3938211881929330932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909222963,"filename":"image_16122025_19_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/16/ac2c39f26e135d4ead5d5e191094ea54.jpg","text":"TemporaryFile(/tmp/multipartBody2901915953734600988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909222963,"filename":"image_16122025_19_16_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/16/4d9895f9e339d94e29f40785914f6f00.jpg","text":"TemporaryFile(/tmp/multipartBody1947353592546583690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909222963,"filename":"image_16122025_19_16_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd6bbd9a9ba3209752ae0c0123bb1659.jpg","text":"TemporaryFile(/tmp/multipartBody8957248147861345410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909222963,"filename":"image_16122025_19_16_14_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692891","file1":"1399692889","file0":"1399692887","file4":"1399692895","file5":"1399692898","file3":"1399692893"},"map_files_photo_id_array":[{"photo_id":"1399692898","filename":"file5"},{"photo_id":"1399692891","filename":"file2"},{"photo_id":"1399692895","filename":"file4"},{"photo_id":"1399692889","filename":"file1"},{"photo_id":"1399692887","filename":"file0"},{"photo_id":"1399692893","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692893":["hashtag1","hashtag2"]},{"1399692887":["hashtag1","hashtag2"]},{"1399692895":["hashtag1","hashtag2"]},{"1399692898":["hashtag1","hashtag2"]},{"1399692889":["hashtag1","hashtag2"]},{"1399692891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692893, 1399692887, 1399692895, 1399692898, 1399692889, 1399692891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48216390609741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:20:02.954657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/16/image_16122025_19_17_04_10639.jpg', '/home/pi/Desktop/images/16122025/19/17/image_16122025_19_17_14_9742.jpg', '/home/pi/Desktop/images/16122025/19/17/image_16122025_19_17_24_9678.jpg', '/home/pi/Desktop/images/16122025/19/17/image_16122025_19_17_35_10720.jpg', '/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_14_9601.jpg', '/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_24_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/16/image_16122025_19_17_04_10639.jpg
/home/pi/Desktop/images/16122025/19/17/image_16122025_19_17_14_9742.jpg
/home/pi/Desktop/images/16122025/19/17/image_16122025_19_17_24_9678.jpg
/home/pi/Desktop/images/16122025/19/17/image_16122025_19_17_35_10720.jpg
/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_14_9601.jpg
/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_24_9916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692903","1399692902","1399692901","1399692904","1399692907","1399692906"],"photo_ids_order":["1399692901","1399692902","1399692903","1399692904","1399692906","1399692907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b53c10e18d23c5d0df9dbcf8d23354fc.jpg","text":"TemporaryFile(/tmp/multipartBody7761106709363754472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909263624,"filename":"image_16122025_19_17_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/16/18ef1e5b033f10e40d73c359dcd70865.jpg","text":"TemporaryFile(/tmp/multipartBody3181013395371489785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909263624,"filename":"image_16122025_19_17_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/678b95170c3940ddce4c6c174380a1d3.jpg","text":"TemporaryFile(/tmp/multipartBody487859169195899011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909263624,"filename":"image_16122025_19_17_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/16/4775864f6eb387806268786653b12c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4933501346212236537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909263624,"filename":"image_16122025_19_17_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8144d299727a4bc7ffbe6b6f7ef0685a.jpg","text":"TemporaryFile(/tmp/multipartBody5959235993535582219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909263624,"filename":"image_16122025_19_18_24_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1766ce53b150c5902d723a97e42377e.jpg","text":"TemporaryFile(/tmp/multipartBody4688180872417429127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909263624,"filename":"image_16122025_19_18_14_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692903","file1":"1399692902","file0":"1399692901","file4":"1399692906","file5":"1399692907","file3":"1399692904"},"map_files_photo_id_array":[{"photo_id":"1399692907","filename":"file5"},{"photo_id":"1399692903","filename":"file2"},{"photo_id":"1399692906","filename":"file4"},{"photo_id":"1399692902","filename":"file1"},{"photo_id":"1399692901","filename":"file0"},{"photo_id":"1399692904","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692903":["hashtag1","hashtag2"]},{"1399692902":["hashtag1","hashtag2"]},{"1399692901":["hashtag1","hashtag2"]},{"1399692904":["hashtag1","hashtag2"]},{"1399692907":["hashtag1","hashtag2"]},{"1399692906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692903, 1399692902, 1399692901, 1399692904, 1399692907, 1399692906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67452955245972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:20:42.526447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_16_2580.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_19_2781.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_22_3684.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_25_2665.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_28_2774.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_34_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_16_2580.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_19_2781.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_22_3684.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_25_2665.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_28_2774.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_34_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":["1399692915","1399692911","1399692914","1399692916","1399692913","1399692912"],"photo_ids_order":["1399692911","1399692912","1399692913","1399692914","1399692915","1399692916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcbba851502d089015f1020621899a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5733339373084835664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909303181,"filename":"image_06112025_17_37_28_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/16/de64e9c7919fb8c0f7916742a788cfe5.jpg","text":"TemporaryFile(/tmp/multipartBody3255566998246018867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909303181,"filename":"image_06112025_17_37_16_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/16/cfc515d7fa0f56216ab537772277bbf9.jpg","text":"TemporaryFile(/tmp/multipartBody2981221051456312613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909303181,"filename":"image_06112025_17_37_25_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/16/558165825ec4efb9b37b10f771b7b9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8335416188230218981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909303181,"filename":"image_06112025_17_37_34_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/16/5b2957ca255c963f2db1aa90b563a0bf.jpg","text":"TemporaryFile(/tmp/multipartBody7991442618274523708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909303181,"filename":"image_06112025_17_37_22_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35b44a00c23da2c91b2bdd27dc25e720.jpg","text":"TemporaryFile(/tmp/multipartBody2313470788169761616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909303181,"filename":"image_06112025_17_37_19_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692913","file1":"1399692912","file0":"1399692911","file4":"1399692915","file5":"1399692916","file3":"1399692914"},"map_files_photo_id_array":[{"photo_id":"1399692916","filename":"file5"},{"photo_id":"1399692913","filename":"file2"},{"photo_id":"1399692915","filename":"file4"},{"photo_id":"1399692912","filename":"file1"},{"photo_id":"1399692911","filename":"file0"},{"photo_id":"1399692914","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399692915":["hashtag1","hashtag2"]},{"1399692911":["hashtag1","hashtag2"]},{"1399692914":["hashtag1","hashtag2"]},{"1399692916":["hashtag1","hashtag2"]},{"1399692913":["hashtag1","hashtag2"]},{"1399692912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399692915, 1399692911, 1399692914, 1399692916, 1399692913, 1399692912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47325563430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:21:22.769891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_34_9702.jpg', '/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_45_10734.jpg', '/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_54_9704.jpg', '/home/pi/Desktop/images/16122025/19/18/image_16122025_19_19_04_9633.jpg', '/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_14_9804.jpg', '/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_24_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_34_9702.jpg
/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_45_10734.jpg
/home/pi/Desktop/images/16122025/19/18/image_16122025_19_18_54_9704.jpg
/home/pi/Desktop/images/16122025/19/18/image_16122025_19_19_04_9633.jpg
/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_14_9804.jpg
/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_24_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692921","1399692923","1399692926","1399692928","1399692925","1399692919"],"photo_ids_order":["1399692919","1399692921","1399692923","1399692925","1399692926","1399692928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db48f038b29160760458f29475325437.jpg","text":"TemporaryFile(/tmp/multipartBody6150396083699473075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909343404,"filename":"image_16122025_19_18_45_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e942427808e9fa062fab8caf3d48bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3768798421456444607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909343404,"filename":"image_16122025_19_18_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/16/37578dbc2cbf751e355da7759a6b2bed.jpg","text":"TemporaryFile(/tmp/multipartBody7562287774745115904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909343404,"filename":"image_16122025_19_19_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e86173d8fdbd73924e0908a8286a0419.jpg","text":"TemporaryFile(/tmp/multipartBody6776413063181766044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909343404,"filename":"image_16122025_19_19_24_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/16/fbc674d6eebcc1432eca3552dd5ff1ad.jpg","text":"TemporaryFile(/tmp/multipartBody1947111676330358276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909343404,"filename":"image_16122025_19_19_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aa1814ea18984d661bc831792f166267.jpg","text":"TemporaryFile(/tmp/multipartBody4398185536661813525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909343404,"filename":"image_16122025_19_18_34_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692923","file1":"1399692921","file0":"1399692919","file4":"1399692926","file5":"1399692928","file3":"1399692925"},"map_files_photo_id_array":[{"photo_id":"1399692928","filename":"file5"},{"photo_id":"1399692923","filename":"file2"},{"photo_id":"1399692926","filename":"file4"},{"photo_id":"1399692921","filename":"file1"},{"photo_id":"1399692919","filename":"file0"},{"photo_id":"1399692925","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692921":["hashtag1","hashtag2"]},{"1399692923":["hashtag1","hashtag2"]},{"1399692926":["hashtag1","hashtag2"]},{"1399692928":["hashtag1","hashtag2"]},{"1399692925":["hashtag1","hashtag2"]},{"1399692919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692921, 1399692923, 1399692926, 1399692928, 1399692925, 1399692919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86123299598694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:22:02.481658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_34_9792.jpg', '/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_55_10838.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_14_9823.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_24_9729.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_35_10669.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_44_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_34_9792.jpg
/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_55_10838.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_14_9823.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_24_9729.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_35_10669.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_44_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.5420286655426025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:22:12.085319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:22:22.088094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_34_9792.jpg', '/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_55_10838.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_14_9823.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_24_9729.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_35_10669.jpg', '/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_44_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_34_9792.jpg
/home/pi/Desktop/images/16122025/19/19/image_16122025_19_19_55_10838.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_14_9823.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_24_9729.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_35_10669.jpg
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_44_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692953","1399692956","1399692942","1399692951","1399692945","1399692939"],"photo_ids_order":["1399692939","1399692942","1399692945","1399692951","1399692953","1399692956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e95293a537787b1fa0fc015cfe46df68.jpg","text":"TemporaryFile(/tmp/multipartBody7568150650760559656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909402728,"filename":"image_16122025_19_20_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26bb75fa37c6ff890f0b199750c5ba7d.jpg","text":"TemporaryFile(/tmp/multipartBody1696142403643466616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909402728,"filename":"image_16122025_19_20_44_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9c49a8a31b35cc99311faf1f27a8e5c5.jpg","text":"TemporaryFile(/tmp/multipartBody4772157324935672472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909402728,"filename":"image_16122025_19_19_55_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d7cc94d037a92ab4b8f8554c96a77ae.jpg","text":"TemporaryFile(/tmp/multipartBody5503531011804966738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909402728,"filename":"image_16122025_19_20_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/16/7778c080a43c6097f9ae2cf402e19fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8880242619076503624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909402728,"filename":"image_16122025_19_20_14_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cd13892f7e30eb25c24d188ece96b06.jpg","text":"TemporaryFile(/tmp/multipartBody8210783899840676419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909402728,"filename":"image_16122025_19_19_34_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692945","file1":"1399692942","file0":"1399692939","file4":"1399692953","file5":"1399692956","file3":"1399692951"},"map_files_photo_id_array":[{"photo_id":"1399692956","filename":"file5"},{"photo_id":"1399692945","filename":"file2"},{"photo_id":"1399692953","filename":"file4"},{"photo_id":"1399692942","filename":"file1"},{"photo_id":"1399692939","filename":"file0"},{"photo_id":"1399692951","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692953":["hashtag1","hashtag2"]},{"1399692956":["hashtag1","hashtag2"]},{"1399692942":["hashtag1","hashtag2"]},{"1399692951":["hashtag1","hashtag2"]},{"1399692945":["hashtag1","hashtag2"]},{"1399692939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692953, 1399692956, 1399692942, 1399692951, 1399692945, 1399692939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.091822385787964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:23:03.036962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_54_9763.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_14_10638.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_24_9725.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_34_9777.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_44_9838.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_55_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_54_9763.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_14_10638.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_24_9725.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_34_9777.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_44_9838.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_55_10777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5722901821136475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:23:12.373267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:23:22.404183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_54_9763.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_14_10638.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_24_9725.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_34_9777.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_44_9838.jpg', '/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_55_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/20/image_16122025_19_20_54_9763.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_14_10638.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_24_9725.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_34_9777.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_44_9838.jpg
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_21_55_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399692971","1399692980","1399692974","1399692977","1399692982","1399692993"],"photo_ids_order":["1399692971","1399692974","1399692977","1399692980","1399692982","1399692993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2908f8c361d3ccf844a7b5ae2449e8a.jpg","text":"TemporaryFile(/tmp/multipartBody6703024733129992268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909463041,"filename":"image_16122025_19_20_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/16/7427a5cf4220a0b4ec7f9531a1370bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1166318787369305447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909463041,"filename":"image_16122025_19_21_34_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4d94307542adbc3be0f87ca4c5b7e59.jpg","text":"TemporaryFile(/tmp/multipartBody2403617295176297144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909463041,"filename":"image_16122025_19_21_14_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8a7b74c13076d14c3d86ea0c71968be.jpg","text":"TemporaryFile(/tmp/multipartBody6190864584879182887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909463041,"filename":"image_16122025_19_21_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/16/031075814f903362563d8863b417b22c.jpg","text":"TemporaryFile(/tmp/multipartBody9168487061902723982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909463041,"filename":"image_16122025_19_21_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/16/183673b4f5dbe103643c98fc33d40c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1521644619938957338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909463041,"filename":"image_16122025_19_21_55_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399692977","file1":"1399692974","file0":"1399692971","file4":"1399692982","file5":"1399692993","file3":"1399692980"},"map_files_photo_id_array":[{"photo_id":"1399692993","filename":"file5"},{"photo_id":"1399692977","filename":"file2"},{"photo_id":"1399692982","filename":"file4"},{"photo_id":"1399692974","filename":"file1"},{"photo_id":"1399692971","filename":"file0"},{"photo_id":"1399692980","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399692971":["hashtag1","hashtag2"]},{"1399692980":["hashtag1","hashtag2"]},{"1399692974":["hashtag1","hashtag2"]},{"1399692977":["hashtag1","hashtag2"]},{"1399692982":["hashtag1","hashtag2"]},{"1399692993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399692971, 1399692980, 1399692974, 1399692977, 1399692982, 1399692993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90700602531433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:24:02.959486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/21/image_16122025_19_22_04_9825.jpg', '/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_14_9663.jpg', '/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_24_9766.jpg', '/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_34_10638.jpg', '/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_44_9768.jpg', '/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_54_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/21/image_16122025_19_22_04_9825.jpg
/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_14_9663.jpg
/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_24_9766.jpg
/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_34_10638.jpg
/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_44_9768.jpg
/home/pi/Desktop/images/16122025/19/22/image_16122025_19_22_54_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693037","1399693031","1399693033","1399693027","1399693035","1399693017"],"photo_ids_order":["1399693017","1399693027","1399693031","1399693033","1399693035","1399693037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/208795395311cc7c5d81868b419de79b.jpg","text":"TemporaryFile(/tmp/multipartBody1866227286626474781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909503691,"filename":"image_16122025_19_22_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/16/fc31d9a1319e16cdd01e052115fc62f8.jpg","text":"TemporaryFile(/tmp/multipartBody4249150135010699845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909503691,"filename":"image_16122025_19_22_24_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/113f2a5b1c1a798a40d7ec1cee6b6bbb.jpg","text":"TemporaryFile(/tmp/multipartBody830421019169111031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909503691,"filename":"image_16122025_19_22_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fb5554889ee13cedb8f1c9b370062b9.jpg","text":"TemporaryFile(/tmp/multipartBody2368030058055369161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909503691,"filename":"image_16122025_19_22_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/16/41d5a2e25377464d0e56b3d6d01dea59.jpg","text":"TemporaryFile(/tmp/multipartBody8260635365319615853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909503691,"filename":"image_16122025_19_22_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10ecd4a921d7b1ffd2c29b0a085fe342.jpg","text":"TemporaryFile(/tmp/multipartBody1234918333879168652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909503691,"filename":"image_16122025_19_22_04_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693031","file1":"1399693027","file0":"1399693017","file4":"1399693035","file5":"1399693037","file3":"1399693033"},"map_files_photo_id_array":[{"photo_id":"1399693037","filename":"file5"},{"photo_id":"1399693031","filename":"file2"},{"photo_id":"1399693035","filename":"file4"},{"photo_id":"1399693027","filename":"file1"},{"photo_id":"1399693017","filename":"file0"},{"photo_id":"1399693033","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693037":["hashtag1","hashtag2"]},{"1399693031":["hashtag1","hashtag2"]},{"1399693033":["hashtag1","hashtag2"]},{"1399693027":["hashtag1","hashtag2"]},{"1399693035":["hashtag1","hashtag2"]},{"1399693017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693037, 1399693031, 1399693033, 1399693027, 1399693035, 1399693017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58426332473755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:24:42.496487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_37_2607.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_40_3568.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_43_2634.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_46_3595.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_49_2668.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_52_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_37_2607.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_40_3568.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_43_2634.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_46_3595.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_49_2668.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_52_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":["1399693162","1399693042","1399693095","1399693056","1399693196","1399693128"],"photo_ids_order":["1399693042","1399693056","1399693095","1399693128","1399693162","1399693196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f768ec70bbf2981dcf9e30f7f58ad06.jpg","text":"TemporaryFile(/tmp/multipartBody4123551276910337692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909543148,"filename":"image_06112025_17_37_49_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97b953b7ed8e595ca2a9a1eede926933.jpg","text":"TemporaryFile(/tmp/multipartBody7059144142576380085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909543148,"filename":"image_06112025_17_37_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/16/46d7c313a74a3dd701399266cf9b2295.jpg","text":"TemporaryFile(/tmp/multipartBody5338702290505491761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909543148,"filename":"image_06112025_17_37_43_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/16/9fa9d0ffc6f56d35be9e869cf22ef814.jpg","text":"TemporaryFile(/tmp/multipartBody1919578074981328465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909543148,"filename":"image_06112025_17_37_40_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/16/fcd3e3fae3fad328e1e0dc14d082d376.jpg","text":"TemporaryFile(/tmp/multipartBody274009961013221953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909543148,"filename":"image_06112025_17_37_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/16/91c9702a68c06f3c93b279e8ea37df0d.jpg","text":"TemporaryFile(/tmp/multipartBody2105689771772553334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909543148,"filename":"image_06112025_17_37_46_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693095","file1":"1399693056","file0":"1399693042","file4":"1399693162","file5":"1399693196","file3":"1399693128"},"map_files_photo_id_array":[{"photo_id":"1399693196","filename":"file5"},{"photo_id":"1399693095","filename":"file2"},{"photo_id":"1399693162","filename":"file4"},{"photo_id":"1399693056","filename":"file1"},{"photo_id":"1399693042","filename":"file0"},{"photo_id":"1399693128","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693162":["hashtag1","hashtag2"]},{"1399693042":["hashtag1","hashtag2"]},{"1399693095":["hashtag1","hashtag2"]},{"1399693056":["hashtag1","hashtag2"]},{"1399693196":["hashtag1","hashtag2"]},{"1399693128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693162, 1399693042, 1399693095, 1399693056, 1399693196, 1399693128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29234051704407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:25:22.806346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/22/image_16122025_19_23_05_10607.jpg', '/home/pi/Desktop/images/16122025/19/23/image_16122025_19_23_34_9799.jpg', '/home/pi/Desktop/images/16122025/19/23/image_16122025_19_23_55_10750.jpg', '/home/pi/Desktop/images/16122025/19/23/image_16122025_19_24_04_9644.jpg', '/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_14_9657.jpg', '/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/22/image_16122025_19_23_05_10607.jpg
/home/pi/Desktop/images/16122025/19/23/image_16122025_19_23_34_9799.jpg
/home/pi/Desktop/images/16122025/19/23/image_16122025_19_23_55_10750.jpg
/home/pi/Desktop/images/16122025/19/23/image_16122025_19_24_04_9644.jpg
/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_14_9657.jpg
/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_34_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693274","1399693270","1399693264","1399693272","1399693248","1399693245"],"photo_ids_order":["1399693245","1399693248","1399693264","1399693270","1399693272","1399693274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a016f77fc4d91f68c8049b5c66900640.jpg","text":"TemporaryFile(/tmp/multipartBody7772382982585222642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909583452,"filename":"image_16122025_19_24_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/16/3922ceefe46dcae2fe666e8b61519dcf.jpg","text":"TemporaryFile(/tmp/multipartBody629913162751849300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909583452,"filename":"image_16122025_19_24_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a311e876295ba2142d730b337087c86.jpg","text":"TemporaryFile(/tmp/multipartBody8982481075700191547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909583452,"filename":"image_16122025_19_23_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/adcaad046a8a9382a11a4c69fb743f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1468432774115107661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909583452,"filename":"image_16122025_19_24_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/16/2911cc9392e82e5eaa3b33245d0f29e9.jpg","text":"TemporaryFile(/tmp/multipartBody4785775530633174250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909583452,"filename":"image_16122025_19_23_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/16/10d3afef4aa7a2e8f62c2bfd3aa6155f.jpg","text":"TemporaryFile(/tmp/multipartBody1081779164484809317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909583452,"filename":"image_16122025_19_23_05_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693264","file1":"1399693248","file0":"1399693245","file4":"1399693272","file5":"1399693274","file3":"1399693270"},"map_files_photo_id_array":[{"photo_id":"1399693274","filename":"file5"},{"photo_id":"1399693264","filename":"file2"},{"photo_id":"1399693272","filename":"file4"},{"photo_id":"1399693248","filename":"file1"},{"photo_id":"1399693245","filename":"file0"},{"photo_id":"1399693270","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693274":["hashtag1","hashtag2"]},{"1399693270":["hashtag1","hashtag2"]},{"1399693264":["hashtag1","hashtag2"]},{"1399693272":["hashtag1","hashtag2"]},{"1399693248":["hashtag1","hashtag2"]},{"1399693245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693274, 1399693270, 1399693264, 1399693272, 1399693248, 1399693245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07950472831726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:26:02.428974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_44_9563.jpg', '/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_55_10697.jpg', '/home/pi/Desktop/images/16122025/19/24/image_16122025_19_25_04_9769.jpg', '/home/pi/Desktop/images/16122025/19/25/image_16122025_19_25_24_9946.jpg', '/home/pi/Desktop/images/16122025/19/25/image_16122025_19_25_35_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_44_9563.jpg
/home/pi/Desktop/images/16122025/19/24/image_16122025_19_24_55_10697.jpg
/home/pi/Desktop/images/16122025/19/24/image_16122025_19_25_04_9769.jpg
/home/pi/Desktop/images/16122025/19/25/image_16122025_19_25_24_9946.jpg
/home/pi/Desktop/images/16122025/19/25/image_16122025_19_25_35_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693331","1399693330","1399693333","1399693329","1399693332"],"photo_ids_order":["1399693329","1399693330","1399693331","1399693332","1399693333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/411fdd4f9b832e6c560fdd4e145ab95f.jpg","text":"TemporaryFile(/tmp/multipartBody6556692824678574188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909623034,"filename":"image_16122025_19_25_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/16/be7f7b3fba09b304ffc550396828f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody3500139870147665724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909623034,"filename":"image_16122025_19_24_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ed7951a3ff1577f46034cc01b1584eda.jpg","text":"TemporaryFile(/tmp/multipartBody500625050722335145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909623034,"filename":"image_16122025_19_25_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/83ec04335f5ea50e4454d64d8e54526c.jpg","text":"TemporaryFile(/tmp/multipartBody6101103299550896947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909623034,"filename":"image_16122025_19_24_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/16/5603a1568a07d1a8b70fe3eb62c020ec.jpg","text":"TemporaryFile(/tmp/multipartBody4202785797082190957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909623034,"filename":"image_16122025_19_25_24_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693331","file1":"1399693330","file0":"1399693329","file4":"1399693333","file3":"1399693332"},"map_files_photo_id_array":[{"photo_id":"1399693331","filename":"file2"},{"photo_id":"1399693333","filename":"file4"},{"photo_id":"1399693330","filename":"file1"},{"photo_id":"1399693329","filename":"file0"},{"photo_id":"1399693332","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693331":["hashtag1","hashtag2"]},{"1399693330":["hashtag1","hashtag2"]},{"1399693333":["hashtag1","hashtag2"]},{"1399693329":["hashtag1","hashtag2"]},{"1399693332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693331, 1399693330, 1399693333, 1399693329, 1399693332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.022743940353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:26:41.909515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_56_3797.jpg', '/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_58_2553.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_05_3687.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_07_2573.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_13_5502.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_14_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_56_3797.jpg
/home/pi/Desktop/images/06112025/17/37/image_06112025_17_37_58_2553.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_05_3687.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_07_2573.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_13_5502.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_14_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693343","1399693346","1399693342","1399693345","1399693339","1399693344"],"photo_ids_order":["1399693339","1399693342","1399693343","1399693344","1399693345","1399693346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb9b36e719a2b72827e8d8d18ef55541.jpg","text":"TemporaryFile(/tmp/multipartBody8281977212326897020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909662553,"filename":"image_06112025_17_38_05_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/16/5c944c4a59c75e0fa255b438f26c6e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8047692159006793830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909662553,"filename":"image_06112025_17_38_14_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dfe5e428af2d36a54d46b866301a659b.jpg","text":"TemporaryFile(/tmp/multipartBody2501232041986666533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909662553,"filename":"image_06112025_17_37_58_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d14dec3aac42d49e122fc48a0a797402.jpg","text":"TemporaryFile(/tmp/multipartBody179522921604668332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909662553,"filename":"image_06112025_17_38_13_5502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea40b9b374d9a35c07bd8acfa055066c.jpg","text":"TemporaryFile(/tmp/multipartBody8423707504166394299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909662553,"filename":"image_06112025_17_37_56_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/16/c5bb11892ac9e7595b6a55f02eb58a57.jpg","text":"TemporaryFile(/tmp/multipartBody3770997336002524952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909662553,"filename":"image_06112025_17_38_07_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693343","file1":"1399693342","file0":"1399693339","file4":"1399693345","file5":"1399693346","file3":"1399693344"},"map_files_photo_id_array":[{"photo_id":"1399693346","filename":"file5"},{"photo_id":"1399693343","filename":"file2"},{"photo_id":"1399693345","filename":"file4"},{"photo_id":"1399693342","filename":"file1"},{"photo_id":"1399693339","filename":"file0"},{"photo_id":"1399693344","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693343":["hashtag1","hashtag2"]},{"1399693346":["hashtag1","hashtag2"]},{"1399693342":["hashtag1","hashtag2"]},{"1399693345":["hashtag1","hashtag2"]},{"1399693339":["hashtag1","hashtag2"]},{"1399693344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693343, 1399693346, 1399693342, 1399693345, 1399693339, 1399693344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21262836456299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:27:22.219036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/25/image_16122025_19_25_54_9609.jpg', '/home/pi/Desktop/images/16122025/19/25/image_16122025_19_26_04_9820.jpg', '/home/pi/Desktop/images/16122025/19/26/image_16122025_19_26_34_9822.jpg', '/home/pi/Desktop/images/16122025/19/26/image_16122025_19_26_45_10785.jpg', '/home/pi/Desktop/images/16122025/19/26/image_16122025_19_26_54_9619.jpg', '/home/pi/Desktop/images/16122025/19/26/image_16122025_19_27_04_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/25/image_16122025_19_25_54_9609.jpg
/home/pi/Desktop/images/16122025/19/25/image_16122025_19_26_04_9820.jpg
/home/pi/Desktop/images/16122025/19/26/image_16122025_19_26_34_9822.jpg
/home/pi/Desktop/images/16122025/19/26/image_16122025_19_26_45_10785.jpg
/home/pi/Desktop/images/16122025/19/26/image_16122025_19_26_54_9619.jpg
/home/pi/Desktop/images/16122025/19/26/image_16122025_19_27_04_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":["1399693352","1399693349","1399693360","1399693354","1399693356","1399693350"],"photo_ids_order":["1399693349","1399693350","1399693352","1399693354","1399693356","1399693360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12c8802b49c703e8dd651e9ee8146e52.jpg","text":"TemporaryFile(/tmp/multipartBody7401403667601405998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909702850,"filename":"image_16122025_19_26_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/16/b080514861adfb95f622acc424de57e3.jpg","text":"TemporaryFile(/tmp/multipartBody791151437826134344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909702850,"filename":"image_16122025_19_25_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/16/90e6152a3c9fd610342fda9f5bdfe84f.jpg","text":"TemporaryFile(/tmp/multipartBody2796885097439286279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909702850,"filename":"image_16122025_19_27_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a66c0bda0ccdd9efb9120979138f53b.jpg","text":"TemporaryFile(/tmp/multipartBody1156462524262311237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909702850,"filename":"image_16122025_19_26_45_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1d0661c07dec8fc6c75ef9fc086aa13.jpg","text":"TemporaryFile(/tmp/multipartBody9108298832441347672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909702850,"filename":"image_16122025_19_26_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/16/1aa20c45cb341ca4c07fcf96c1347f96.jpg","text":"TemporaryFile(/tmp/multipartBody6951221653136087470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909702850,"filename":"image_16122025_19_26_04_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693352","file1":"1399693350","file0":"1399693349","file4":"1399693356","file5":"1399693360","file3":"1399693354"},"map_files_photo_id_array":[{"photo_id":"1399693360","filename":"file5"},{"photo_id":"1399693352","filename":"file2"},{"photo_id":"1399693356","filename":"file4"},{"photo_id":"1399693350","filename":"file1"},{"photo_id":"1399693349","filename":"file0"},{"photo_id":"1399693354","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693352":["hashtag1","hashtag2"]},{"1399693349":["hashtag1","hashtag2"]},{"1399693360":["hashtag1","hashtag2"]},{"1399693354":["hashtag1","hashtag2"]},{"1399693356":["hashtag1","hashtag2"]},{"1399693350":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693352, 1399693349, 1399693360, 1399693354, 1399693356, 1399693350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51555919647217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:28:02.874597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_25_10770.jpg', '/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_34_9623.jpg', '/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_44_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_25_10770.jpg
/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_34_9623.jpg
/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_44_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693370","1399693367","1399693371"],"photo_ids_order":["1399693367","1399693370","1399693371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ece3d42e4e9d388f204c22a37c709f2.jpg","text":"TemporaryFile(/tmp/multipartBody1119162688329200693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909743399,"filename":"image_16122025_19_27_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/16/05ba0223cf078190eb4b4c2f35fe25ff.jpg","text":"TemporaryFile(/tmp/multipartBody2081374551338704061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909743399,"filename":"image_16122025_19_27_25_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b1b8783ee81ff05279189a0e18f6be4.jpg","text":"TemporaryFile(/tmp/multipartBody498161719716661181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909743399,"filename":"image_16122025_19_27_44_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693371","file1":"1399693370","file0":"1399693367"},"map_files_photo_id_array":[{"photo_id":"1399693371","filename":"file2"},{"photo_id":"1399693370","filename":"file1"},{"photo_id":"1399693367","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693370":["hashtag1","hashtag2"]},{"1399693367":["hashtag1","hashtag2"]},{"1399693371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693370, 1399693367, 1399693371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.158796787261963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:28:32.383819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:28:42.479176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_16_1569.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_19_3557.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_22_2579.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_28_2623.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_31_2774.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_34_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_16_1569.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_19_3557.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_22_2579.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_28_2623.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_31_2774.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_34_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":["1399693385","1399693393","1399693381","1399693384","1399693386","1399693394"],"photo_ids_order":["1399693381","1399693384","1399693385","1399693386","1399693393","1399693394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6c3c48e542b16c90bc3ea3e91e5587a.jpg","text":"TemporaryFile(/tmp/multipartBody7048668069262393637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909783120,"filename":"image_06112025_17_38_22_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/16/e8b8a823516a8ed0d6c317a219186e50.jpg","text":"TemporaryFile(/tmp/multipartBody5353037401116873199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909783120,"filename":"image_06112025_17_38_31_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/16/0d71a1c59ef6aab7803253ee8b611971.jpg","text":"TemporaryFile(/tmp/multipartBody340895594342506353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909783120,"filename":"image_06112025_17_38_16_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/16/024f14e4804d77af7fb9ebfa28d632e5.jpg","text":"TemporaryFile(/tmp/multipartBody4742500050586955123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909783120,"filename":"image_06112025_17_38_19_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b6bd74c45c9798d6383a82a769d886d.jpg","text":"TemporaryFile(/tmp/multipartBody4850647249144519307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909783120,"filename":"image_06112025_17_38_28_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/13bcf8fee9df3f8756fec3c7f2924e0e.jpg","text":"TemporaryFile(/tmp/multipartBody7712574187832680576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909783120,"filename":"image_06112025_17_38_34_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693385","file1":"1399693384","file0":"1399693381","file4":"1399693393","file5":"1399693394","file3":"1399693386"},"map_files_photo_id_array":[{"photo_id":"1399693394","filename":"file5"},{"photo_id":"1399693385","filename":"file2"},{"photo_id":"1399693393","filename":"file4"},{"photo_id":"1399693384","filename":"file1"},{"photo_id":"1399693381","filename":"file0"},{"photo_id":"1399693386","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693385":["hashtag1","hashtag2"]},{"1399693393":["hashtag1","hashtag2"]},{"1399693381":["hashtag1","hashtag2"]},{"1399693384":["hashtag1","hashtag2"]},{"1399693386":["hashtag1","hashtag2"]},{"1399693394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693385, 1399693393, 1399693381, 1399693384, 1399693386, 1399693394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.722874879837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:29:22.687824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_54_10614.jpg', '/home/pi/Desktop/images/16122025/19/27/image_16122025_19_28_04_9828.jpg', '/home/pi/Desktop/images/16122025/19/28/image_16122025_19_28_14_9678.jpg', '/home/pi/Desktop/images/16122025/19/28/image_16122025_19_28_24_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/27/image_16122025_19_27_54_10614.jpg
/home/pi/Desktop/images/16122025/19/27/image_16122025_19_28_04_9828.jpg
/home/pi/Desktop/images/16122025/19/28/image_16122025_19_28_14_9678.jpg
/home/pi/Desktop/images/16122025/19/28/image_16122025_19_28_24_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693399","1399693403","1399693405","1399693407"],"photo_ids_order":["1399693399","1399693403","1399693405","1399693407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04d3bd764cbafb4836d62b6b58642e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1532503553422217978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909823235,"filename":"image_16122025_19_27_54_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d17f94e73827d275275a415639c3abaf.jpg","text":"TemporaryFile(/tmp/multipartBody4265805333528130729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909823235,"filename":"image_16122025_19_28_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/16/2c3a8d2707cb2778af637ac0d5c2376e.jpg","text":"TemporaryFile(/tmp/multipartBody7038730762457627787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909823235,"filename":"image_16122025_19_28_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/16/de3fdd9596915a156a5e786678f36ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8350904929336010597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909823235,"filename":"image_16122025_19_28_24_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693405","file1":"1399693403","file0":"1399693399","file3":"1399693407"},"map_files_photo_id_array":[{"photo_id":"1399693405","filename":"file2"},{"photo_id":"1399693403","filename":"file1"},{"photo_id":"1399693399","filename":"file0"},{"photo_id":"1399693407","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693399":["hashtag1","hashtag2"]},{"1399693403":["hashtag1","hashtag2"]},{"1399693405":["hashtag1","hashtag2"]},{"1399693407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693399, 1399693403, 1399693405, 1399693407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.301745414733887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:30:02.330170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:30:11.826652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:30:21.894445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/28/image_16122025_19_28_44_9682.jpg', '/home/pi/Desktop/images/16122025/19/30/image_16122025_19_30_35_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/28/image_16122025_19_28_44_9682.jpg
/home/pi/Desktop/images/16122025/19/30/image_16122025_19_30_35_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":["1399693417","1399693413"],"photo_ids_order":["1399693413","1399693417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fee45b01cdad57d849de6f555b8cf8a7.jpg","text":"TemporaryFile(/tmp/multipartBody9009648223350397231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909885255,"filename":"image_16122025_19_30_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ad3cc0cf047f8e2ecb3569c2e3a8e00.jpg","text":"TemporaryFile(/tmp/multipartBody3542434068053773573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909885255,"filename":"image_16122025_19_28_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399693417","file0":"1399693413"},"map_files_photo_id_array":[{"photo_id":"1399693417","filename":"file1"},{"photo_id":"1399693413","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693417":["hashtag1","hashtag2"]},{"1399693413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693417, 1399693413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.625788688659668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:31:02.844959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:31:12.189756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:31:22.192438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/30/image_16122025_19_30_45_9683.jpg', '/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_15_9621.jpg', '/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_25_10580.jpg', '/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_35_10041.jpg', '/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_45_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/30/image_16122025_19_30_45_9683.jpg
/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_15_9621.jpg
/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_25_10580.jpg
/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_35_10041.jpg
/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_45_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693436","1399693438","1399693440","1399693434","1399693443"],"photo_ids_order":["1399693434","1399693436","1399693438","1399693440","1399693443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fcbf0eff5b5b1b5106ddfad739298bf.jpg","text":"TemporaryFile(/tmp/multipartBody1689886816138071173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909942781,"filename":"image_16122025_19_31_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/16/ff73b59c828ad6f54b18e23e23a98ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4843218196638187634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909942781,"filename":"image_16122025_19_31_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/16/939f129395e03720840f746dac2abf73.jpg","text":"TemporaryFile(/tmp/multipartBody4164026798849724432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909942781,"filename":"image_16122025_19_31_35_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea02065b156e94e0fd1904cba0649f94.jpg","text":"TemporaryFile(/tmp/multipartBody5446055500825484715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909942781,"filename":"image_16122025_19_30_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a4d4843614d1a8b55302ce42379ff5b.jpg","text":"TemporaryFile(/tmp/multipartBody6406895707412485588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765909942781,"filename":"image_16122025_19_31_45_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693438","file1":"1399693436","file0":"1399693434","file4":"1399693443","file3":"1399693440"},"map_files_photo_id_array":[{"photo_id":"1399693438","filename":"file2"},{"photo_id":"1399693443","filename":"file4"},{"photo_id":"1399693436","filename":"file1"},{"photo_id":"1399693434","filename":"file0"},{"photo_id":"1399693440","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693436":["hashtag1","hashtag2"]},{"1399693438":["hashtag1","hashtag2"]},{"1399693440":["hashtag1","hashtag2"]},{"1399693434":["hashtag1","hashtag2"]},{"1399693443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693436, 1399693438, 1399693440, 1399693434, 1399693443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.77293848991394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:32:02.709485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:32:12.290116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:32:22.381623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_55_9904.jpg', '/home/pi/Desktop/images/16122025/19/31/image_16122025_19_32_05_9645.jpg', '/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_15_10544.jpg', '/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_25_9664.jpg', '/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_35_9727.jpg', '/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_46_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/31/image_16122025_19_31_55_9904.jpg
/home/pi/Desktop/images/16122025/19/31/image_16122025_19_32_05_9645.jpg
/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_15_10544.jpg
/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_25_9664.jpg
/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_35_9727.jpg
/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_46_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693463","1399693451","1399693454","1399693453","1399693467","1399693461"],"photo_ids_order":["1399693451","1399693453","1399693454","1399693461","1399693463","1399693467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02075c33a8ba31d2df6aa73f107a51ec.jpg","text":"TemporaryFile(/tmp/multipartBody5279729352059482966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910003001,"filename":"image_16122025_19_32_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/16/adb326728d9321180e8ecd5964b31258.jpg","text":"TemporaryFile(/tmp/multipartBody8020421813771142668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910003001,"filename":"image_16122025_19_31_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/16/89e8e371f1a25a54d8824738f4830d53.jpg","text":"TemporaryFile(/tmp/multipartBody8148318752700523042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910003001,"filename":"image_16122025_19_32_15_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/16/3dd9955eeee2ef6790a23bfa27eb6758.jpg","text":"TemporaryFile(/tmp/multipartBody788034769765202910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910003001,"filename":"image_16122025_19_32_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2323d7b7b19cc1f7f9d2972f799b6525.jpg","text":"TemporaryFile(/tmp/multipartBody6334316336596439447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910003001,"filename":"image_16122025_19_32_46_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/16/8a280727ad662a0509535b2c776a6dab.jpg","text":"TemporaryFile(/tmp/multipartBody8275314386216660227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910003001,"filename":"image_16122025_19_32_25_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693454","file1":"1399693453","file0":"1399693451","file4":"1399693463","file5":"1399693467","file3":"1399693461"},"map_files_photo_id_array":[{"photo_id":"1399693467","filename":"file5"},{"photo_id":"1399693454","filename":"file2"},{"photo_id":"1399693463","filename":"file4"},{"photo_id":"1399693453","filename":"file1"},{"photo_id":"1399693451","filename":"file0"},{"photo_id":"1399693461","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693463":["hashtag1","hashtag2"]},{"1399693451":["hashtag1","hashtag2"]},{"1399693454":["hashtag1","hashtag2"]},{"1399693453":["hashtag1","hashtag2"]},{"1399693467":["hashtag1","hashtag2"]},{"1399693461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693463, 1399693451, 1399693454, 1399693453, 1399693467, 1399693461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97044277191162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:33:03.320142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:33:12.530038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:33:22.638893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_55_9727.jpg', '/home/pi/Desktop/images/16122025/19/32/image_16122025_19_33_05_9540.jpg', '/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_16_10756.jpg', '/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_25_9664.jpg', '/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_35_9683.jpg', '/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/32/image_16122025_19_32_55_9727.jpg
/home/pi/Desktop/images/16122025/19/32/image_16122025_19_33_05_9540.jpg
/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_16_10756.jpg
/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_25_9664.jpg
/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_35_9683.jpg
/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_45_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693471","1399693477","1399693482","1399693479","1399693473","1399693475"],"photo_ids_order":["1399693471","1399693473","1399693475","1399693477","1399693479","1399693482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/befce76e7d8fde10a325a23349f68a20.jpg","text":"TemporaryFile(/tmp/multipartBody6469639510668681908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910063256,"filename":"image_16122025_19_32_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/16/55721ad6ee88aa116758d7cca2f6ec9e.jpg","text":"TemporaryFile(/tmp/multipartBody8914968027039656540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910063256,"filename":"image_16122025_19_33_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c2cfabebf951d03908d743d2037e4c93.jpg","text":"TemporaryFile(/tmp/multipartBody6307728159232953166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910063256,"filename":"image_16122025_19_33_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/306a3cabf9a5a64b7dd0340ba69f9c00.jpg","text":"TemporaryFile(/tmp/multipartBody807555761742319483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910063256,"filename":"image_16122025_19_33_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ff0605137a76d9baea7575fd16ebcb5.jpg","text":"TemporaryFile(/tmp/multipartBody8526975787759222833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910063256,"filename":"image_16122025_19_33_05_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4ab398e4f7079054559927cdb18c3bfa.jpg","text":"TemporaryFile(/tmp/multipartBody302716220960619524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910063256,"filename":"image_16122025_19_33_16_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693475","file1":"1399693473","file0":"1399693471","file4":"1399693479","file5":"1399693482","file3":"1399693477"},"map_files_photo_id_array":[{"photo_id":"1399693482","filename":"file5"},{"photo_id":"1399693475","filename":"file2"},{"photo_id":"1399693479","filename":"file4"},{"photo_id":"1399693473","filename":"file1"},{"photo_id":"1399693471","filename":"file0"},{"photo_id":"1399693477","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693471":["hashtag1","hashtag2"]},{"1399693477":["hashtag1","hashtag2"]},{"1399693482":["hashtag1","hashtag2"]},{"1399693479":["hashtag1","hashtag2"]},{"1399693473":["hashtag1","hashtag2"]},{"1399693475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693471, 1399693477, 1399693482, 1399693479, 1399693473, 1399693475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13648009300232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:34:02.383786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:34:11.899616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:34:21.842287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_55_10718.jpg', '/home/pi/Desktop/images/16122025/19/33/image_16122025_19_34_05_9638.jpg', '/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_15_9625.jpg', '/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_25_10716.jpg', '/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_35_9596.jpg', '/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_45_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/33/image_16122025_19_33_55_10718.jpg
/home/pi/Desktop/images/16122025/19/33/image_16122025_19_34_05_9638.jpg
/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_15_9625.jpg
/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_25_10716.jpg
/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_35_9596.jpg
/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_45_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693499","1399693495","1399693497","1399693491","1399693509","1399693493"],"photo_ids_order":["1399693491","1399693493","1399693495","1399693497","1399693499","1399693509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61e6b98ab5dbd6042d63640beecc4664.jpg","text":"TemporaryFile(/tmp/multipartBody1227609441418764196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910122460,"filename":"image_16122025_19_34_35_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/16/e7704fa9885a3f706bdc6c30d6eb2e96.jpg","text":"TemporaryFile(/tmp/multipartBody5978838225901343304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910122460,"filename":"image_16122025_19_34_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/16/e6dd1c2ee4afc6c870b49853e14012a4.jpg","text":"TemporaryFile(/tmp/multipartBody414896632594318861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910122460,"filename":"image_16122025_19_34_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d9a4533ba8f57f0254993a72c1466cd.jpg","text":"TemporaryFile(/tmp/multipartBody214819476602448527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910122460,"filename":"image_16122025_19_33_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e983f3b06457f378f12c3b42debbf70.jpg","text":"TemporaryFile(/tmp/multipartBody6290701980780080147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910122460,"filename":"image_16122025_19_34_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/16/7831f33fb56d7f902dd1590bd0636475.jpg","text":"TemporaryFile(/tmp/multipartBody1315894366647290163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910122460,"filename":"image_16122025_19_34_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693495","file1":"1399693493","file0":"1399693491","file4":"1399693499","file5":"1399693509","file3":"1399693497"},"map_files_photo_id_array":[{"photo_id":"1399693509","filename":"file5"},{"photo_id":"1399693495","filename":"file2"},{"photo_id":"1399693499","filename":"file4"},{"photo_id":"1399693493","filename":"file1"},{"photo_id":"1399693491","filename":"file0"},{"photo_id":"1399693497","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693499":["hashtag1","hashtag2"]},{"1399693495":["hashtag1","hashtag2"]},{"1399693497":["hashtag1","hashtag2"]},{"1399693491":["hashtag1","hashtag2"]},{"1399693509":["hashtag1","hashtag2"]},{"1399693493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693499, 1399693495, 1399693497, 1399693491, 1399693509, 1399693493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88990545272827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:35:02.739229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:35:12.021923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:35:22.139230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_55_10583.jpg', '/home/pi/Desktop/images/16122025/19/34/image_16122025_19_35_05_9619.jpg', '/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_15_9811.jpg', '/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_25_10811.jpg', '/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_35_9550.jpg', '/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_45_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/34/image_16122025_19_34_55_10583.jpg
/home/pi/Desktop/images/16122025/19/34/image_16122025_19_35_05_9619.jpg
/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_15_9811.jpg
/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_25_10811.jpg
/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_35_9550.jpg
/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_45_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693517","1399693519","1399693513","1399693521","1399693515","1399693524"],"photo_ids_order":["1399693513","1399693515","1399693517","1399693519","1399693521","1399693524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bcca7e213a300d6859faaa5d82347c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2901270942846376477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910182754,"filename":"image_16122025_19_35_15_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/16/cf554f44751c82fb084fdfa4169231de.jpg","text":"TemporaryFile(/tmp/multipartBody4223475054788653289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910182754,"filename":"image_16122025_19_35_25_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27716b01e7640015842b51011a06ed8f.jpg","text":"TemporaryFile(/tmp/multipartBody1246505539706184998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910182754,"filename":"image_16122025_19_34_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/16/79ba01cad46ffa113fbc08f38df8ceba.jpg","text":"TemporaryFile(/tmp/multipartBody1115096442251712530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910182754,"filename":"image_16122025_19_35_35_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/411a0704b167e325e45395898ffc9a11.jpg","text":"TemporaryFile(/tmp/multipartBody1397019556162723300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910182754,"filename":"image_16122025_19_35_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/653bb184befc7290b2225f977ab40d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6970943268947143737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910182754,"filename":"image_16122025_19_35_45_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693517","file1":"1399693515","file0":"1399693513","file4":"1399693521","file5":"1399693524","file3":"1399693519"},"map_files_photo_id_array":[{"photo_id":"1399693524","filename":"file5"},{"photo_id":"1399693517","filename":"file2"},{"photo_id":"1399693521","filename":"file4"},{"photo_id":"1399693515","filename":"file1"},{"photo_id":"1399693513","filename":"file0"},{"photo_id":"1399693519","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693517":["hashtag1","hashtag2"]},{"1399693519":["hashtag1","hashtag2"]},{"1399693513":["hashtag1","hashtag2"]},{"1399693521":["hashtag1","hashtag2"]},{"1399693515":["hashtag1","hashtag2"]},{"1399693524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693517, 1399693519, 1399693513, 1399693521, 1399693515, 1399693524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49274826049805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:36:02.933508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:36:12.378022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:36:22.455711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_55_10645.jpg', '/home/pi/Desktop/images/16122025/19/35/image_16122025_19_36_05_9716.jpg', '/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_15_9955.jpg', '/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_25_9716.jpg', '/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_35_10614.jpg', '/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_45_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/35/image_16122025_19_35_55_10645.jpg
/home/pi/Desktop/images/16122025/19/35/image_16122025_19_36_05_9716.jpg
/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_15_9955.jpg
/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_25_9716.jpg
/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_35_10614.jpg
/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_45_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693535","1399693529","1399693540","1399693537","1399693533","1399693527"],"photo_ids_order":["1399693527","1399693529","1399693533","1399693535","1399693537","1399693540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ddd2e005bc5a266a930526ab8d2fce73.jpg","text":"TemporaryFile(/tmp/multipartBody5067500293595388325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910243097,"filename":"image_16122025_19_36_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c3cf65ceeaf0471f1ff2caf44476d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7498909673497879506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910243097,"filename":"image_16122025_19_36_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/16/c097c1c52c53d34dc79daf6459dc08f6.jpg","text":"TemporaryFile(/tmp/multipartBody1532639338528573228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910243097,"filename":"image_16122025_19_36_45_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/16/b80f45a7950124f87e4f5d06e0c9f3e3.jpg","text":"TemporaryFile(/tmp/multipartBody1229724054239779796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910243097,"filename":"image_16122025_19_36_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/16/d8b6293c2867381ca25f9dbd30ded61d.jpg","text":"TemporaryFile(/tmp/multipartBody3501226421638330866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910243097,"filename":"image_16122025_19_36_15_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/16/b64d89f1fd61830945f715e5b3d409bd.jpg","text":"TemporaryFile(/tmp/multipartBody6496342704992564044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910243097,"filename":"image_16122025_19_35_55_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693533","file1":"1399693529","file0":"1399693527","file4":"1399693537","file5":"1399693540","file3":"1399693535"},"map_files_photo_id_array":[{"photo_id":"1399693540","filename":"file5"},{"photo_id":"1399693533","filename":"file2"},{"photo_id":"1399693537","filename":"file4"},{"photo_id":"1399693529","filename":"file1"},{"photo_id":"1399693527","filename":"file0"},{"photo_id":"1399693535","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693535":["hashtag1","hashtag2"]},{"1399693529":["hashtag1","hashtag2"]},{"1399693540":["hashtag1","hashtag2"]},{"1399693537":["hashtag1","hashtag2"]},{"1399693533":["hashtag1","hashtag2"]},{"1399693527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693535, 1399693529, 1399693540, 1399693537, 1399693533, 1399693527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09506058692932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:37:03.304736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:37:12.669901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:37:22.724322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_55_9697.jpg', '/home/pi/Desktop/images/16122025/19/36/image_16122025_19_37_05_9829.jpg', '/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_15_10635.jpg', '/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_25_9855.jpg', '/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_35_9714.jpg', '/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_45_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/36/image_16122025_19_36_55_9697.jpg
/home/pi/Desktop/images/16122025/19/36/image_16122025_19_37_05_9829.jpg
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_15_10635.jpg
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_25_9855.jpg
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_35_9714.jpg
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_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":["1399693562","1399693559","1399693553","1399693555","1399693557","1399693551"],"photo_ids_order":["1399693551","1399693553","1399693555","1399693557","1399693559","1399693562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7955216c64d0251027cd792c41b6ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7119368405782381247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910303373,"filename":"image_16122025_19_37_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/16/bc31507c002d431988d4992a01aab88d.jpg","text":"TemporaryFile(/tmp/multipartBody2448704887890470395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910303373,"filename":"image_16122025_19_37_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/16/9e55209189dfe1bc7a5535565c43b6b7.jpg","text":"TemporaryFile(/tmp/multipartBody2461180469967474288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910303373,"filename":"image_16122025_19_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/16/61d9503a3fd9969a709a9c2049ad7ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7174319638046911193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910303373,"filename":"image_16122025_19_37_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aaa2434186361d6d080e2fac58bd7c74.jpg","text":"TemporaryFile(/tmp/multipartBody3793240993977202068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910303373,"filename":"image_16122025_19_37_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/16/281ac9259082f1ed19c1e2d1b76f5a04.jpg","text":"TemporaryFile(/tmp/multipartBody6355458074183118520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910303373,"filename":"image_16122025_19_36_55_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693555","file1":"1399693553","file0":"1399693551","file4":"1399693559","file5":"1399693562","file3":"1399693557"},"map_files_photo_id_array":[{"photo_id":"1399693562","filename":"file5"},{"photo_id":"1399693555","filename":"file2"},{"photo_id":"1399693559","filename":"file4"},{"photo_id":"1399693553","filename":"file1"},{"photo_id":"1399693551","filename":"file0"},{"photo_id":"1399693557","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693562":["hashtag1","hashtag2"]},{"1399693559":["hashtag1","hashtag2"]},{"1399693553":["hashtag1","hashtag2"]},{"1399693555":["hashtag1","hashtag2"]},{"1399693557":["hashtag1","hashtag2"]},{"1399693551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693562, 1399693559, 1399693553, 1399693555, 1399693557, 1399693551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01025319099426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:38:02.432235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:38:12.028267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:38:22.075149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_55_9853.jpg', '/home/pi/Desktop/images/16122025/19/37/image_16122025_19_38_05_9693.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_15_9705.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_25_10713.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_35_9636.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_45_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_55_9853.jpg
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_38_05_9693.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_15_9705.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_25_10713.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_35_9636.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_45_9840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.504065752029419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:38:32.002379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:38:41.902424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_44_10205.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_55_11646.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_57_1792.jpg', '/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_59_1628.jpg', '/home/pi/Desktop/images/06112025/17/39/image_06112025_17_39_16_16778.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_44_10205.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_55_11646.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_57_1792.jpg
/home/pi/Desktop/images/06112025/17/38/image_06112025_17_38_59_1628.jpg
/home/pi/Desktop/images/06112025/17/39/image_06112025_17_39_16_16778.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693583","1399693577","1399693582","1399693581","1399693584","1399693580"],"photo_ids_order":["1399693577","1399693580","1399693581","1399693582","1399693583","1399693584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4c3f12f23bd2311584976c9ae80e83f.jpg","text":"TemporaryFile(/tmp/multipartBody3448609456040563715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910382538,"filename":"image_06112025_17_39_16_16778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e95c5a41fc4f4010e80af4c0a7e01b1.jpg","text":"TemporaryFile(/tmp/multipartBody6515383320381072024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910382538,"filename":"image_06112025_17_38_44_10205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7d4f87a8b93977171775c3e29917ccc.jpg","text":"TemporaryFile(/tmp/multipartBody937077632874571149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910382538,"filename":"image_06112025_17_38_59_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/16/9302b3e62d10e0449b8e87d45bbdf2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2781276063361445187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910382538,"filename":"image_06112025_17_38_57_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb1a3128f8f6797caded85f3a7122f44.jpg","text":"TemporaryFile(/tmp/multipartBody2618975577641045762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910382538,"filename":"image_06112025_17_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/16/8ed3793a556651406f0ddf2b0b817948.jpg","text":"TemporaryFile(/tmp/multipartBody8780204982914906192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910382538,"filename":"image_06112025_17_38_55_11646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693581","file1":"1399693580","file0":"1399693577","file4":"1399693583","file5":"1399693584","file3":"1399693582"},"map_files_photo_id_array":[{"photo_id":"1399693584","filename":"file5"},{"photo_id":"1399693581","filename":"file2"},{"photo_id":"1399693583","filename":"file4"},{"photo_id":"1399693580","filename":"file1"},{"photo_id":"1399693577","filename":"file0"},{"photo_id":"1399693582","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693583":["hashtag1","hashtag2"]},{"1399693577":["hashtag1","hashtag2"]},{"1399693582":["hashtag1","hashtag2"]},{"1399693581":["hashtag1","hashtag2"]},{"1399693584":["hashtag1","hashtag2"]},{"1399693580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693583, 1399693577, 1399693582, 1399693581, 1399693584, 1399693580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.180968046188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:39:22.139211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_55_9853.jpg', '/home/pi/Desktop/images/16122025/19/37/image_16122025_19_38_05_9693.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_15_9705.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_25_10713.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_35_9636.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_45_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_37_55_9853.jpg
/home/pi/Desktop/images/16122025/19/37/image_16122025_19_38_05_9693.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_15_9705.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_25_10713.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_35_9636.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_45_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693598","1399693587","1399693592","1399693586","1399693595","1399693589"],"photo_ids_order":["1399693586","1399693587","1399693589","1399693592","1399693595","1399693598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/069c01979b260e65439c1ec7d9e93bcf.jpg","text":"TemporaryFile(/tmp/multipartBody769721832472635033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910422750,"filename":"image_16122025_19_38_45_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/16/c80c69decd75e5a3db9aa26b60dfee2d.jpg","text":"TemporaryFile(/tmp/multipartBody2936398194644027607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910422750,"filename":"image_16122025_19_38_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bb98b518d4f187e31fd368210ade5fa.jpg","text":"TemporaryFile(/tmp/multipartBody8506378442985053113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910422750,"filename":"image_16122025_19_38_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/16/c24fa1e0b65753d4ba2d4b69dc9d4995.jpg","text":"TemporaryFile(/tmp/multipartBody2181197689132091832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910422750,"filename":"image_16122025_19_37_55_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ca1f66fafb155e0d98e1f461f6225f9.jpg","text":"TemporaryFile(/tmp/multipartBody2463183175591612295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910422750,"filename":"image_16122025_19_38_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/16/c937271f822c97dac7567c0cf25a9c02.jpg","text":"TemporaryFile(/tmp/multipartBody423247145648934011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910422750,"filename":"image_16122025_19_38_15_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693589","file1":"1399693587","file0":"1399693586","file4":"1399693595","file5":"1399693598","file3":"1399693592"},"map_files_photo_id_array":[{"photo_id":"1399693598","filename":"file5"},{"photo_id":"1399693589","filename":"file2"},{"photo_id":"1399693595","filename":"file4"},{"photo_id":"1399693587","filename":"file1"},{"photo_id":"1399693586","filename":"file0"},{"photo_id":"1399693592","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693598":["hashtag1","hashtag2"]},{"1399693587":["hashtag1","hashtag2"]},{"1399693592":["hashtag1","hashtag2"]},{"1399693586":["hashtag1","hashtag2"]},{"1399693595":["hashtag1","hashtag2"]},{"1399693589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693598, 1399693587, 1399693592, 1399693586, 1399693595, 1399693589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46713328361511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:40:02.905656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_55_9621.jpg', '/home/pi/Desktop/images/16122025/19/38/image_16122025_19_39_05_10694.jpg', '/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_15_9715.jpg', '/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_25_9628.jpg', '/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_35_10663.jpg', '/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_45_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_38_55_9621.jpg
/home/pi/Desktop/images/16122025/19/38/image_16122025_19_39_05_10694.jpg
/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_15_9715.jpg
/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_25_9628.jpg
/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_35_10663.jpg
/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_45_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693601","1399693603","1399693600","1399693599","1399693602","1399693605"],"photo_ids_order":["1399693599","1399693600","1399693601","1399693602","1399693603","1399693605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/893acdf152c5e29deb5578c14ecbfa75.jpg","text":"TemporaryFile(/tmp/multipartBody8921659784342111940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910463500,"filename":"image_16122025_19_39_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/16/5ebdd8078708d7a3ec28b7dbdecbe10f.jpg","text":"TemporaryFile(/tmp/multipartBody1284405015070154477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910463500,"filename":"image_16122025_19_39_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3f6bce3f8310f188b417495986d9033.jpg","text":"TemporaryFile(/tmp/multipartBody9204203668138697136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910463500,"filename":"image_16122025_19_39_05_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/239ad9db880a47953c347d06526c591e.jpg","text":"TemporaryFile(/tmp/multipartBody7425809132185281245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910463500,"filename":"image_16122025_19_38_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d5b4242f21abd10ccb263e96b91fbea.jpg","text":"TemporaryFile(/tmp/multipartBody4107687480884971092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910463500,"filename":"image_16122025_19_39_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7fd284266a1b4831bc3c628a7cfaa7ab.jpg","text":"TemporaryFile(/tmp/multipartBody9139461443451129584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910463500,"filename":"image_16122025_19_39_45_9523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693601","file1":"1399693600","file0":"1399693599","file4":"1399693603","file5":"1399693605","file3":"1399693602"},"map_files_photo_id_array":[{"photo_id":"1399693605","filename":"file5"},{"photo_id":"1399693601","filename":"file2"},{"photo_id":"1399693603","filename":"file4"},{"photo_id":"1399693600","filename":"file1"},{"photo_id":"1399693599","filename":"file0"},{"photo_id":"1399693602","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693601":["hashtag1","hashtag2"]},{"1399693603":["hashtag1","hashtag2"]},{"1399693600":["hashtag1","hashtag2"]},{"1399693599":["hashtag1","hashtag2"]},{"1399693602":["hashtag1","hashtag2"]},{"1399693605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693601, 1399693603, 1399693600, 1399693599, 1399693602, 1399693605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.573357582092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:40:42.383311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_10_3550.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_17_3701.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_19_2663.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_22_2517.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_26_3647.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_28_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_10_3550.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_17_3701.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_19_2663.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_22_2517.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_26_3647.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_28_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":["1399693610","1399693613","1399693616","1399693612","1399693611","1399693623"],"photo_ids_order":["1399693610","1399693611","1399693612","1399693613","1399693616","1399693623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/907c25bd69249bd060644f4e397ecd62.jpg","text":"TemporaryFile(/tmp/multipartBody7376698800376427349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910503022,"filename":"image_06112025_17_41_10_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/16/07ac1a2db138cf0c56fdf7dde7c23f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3213808621350363025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910503022,"filename":"image_06112025_17_41_22_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/16/c32dbb6897dec89cd05f4e48e4430d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6139909603061192761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910503022,"filename":"image_06112025_17_41_26_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/16/62856066625b45838a02048072637d7b.jpg","text":"TemporaryFile(/tmp/multipartBody6157207372821915918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910503022,"filename":"image_06112025_17_41_19_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/16/0e0020c26e7a6db09ad41f10f143b362.jpg","text":"TemporaryFile(/tmp/multipartBody4892545600475139828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910503022,"filename":"image_06112025_17_41_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/16/b35dfa64fb286cedcfbe731320e89f64.jpg","text":"TemporaryFile(/tmp/multipartBody4897466617238478699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910503022,"filename":"image_06112025_17_41_28_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693612","file1":"1399693611","file0":"1399693610","file4":"1399693616","file5":"1399693623","file3":"1399693613"},"map_files_photo_id_array":[{"photo_id":"1399693623","filename":"file5"},{"photo_id":"1399693612","filename":"file2"},{"photo_id":"1399693616","filename":"file4"},{"photo_id":"1399693611","filename":"file1"},{"photo_id":"1399693610","filename":"file0"},{"photo_id":"1399693613","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693610":["hashtag1","hashtag2"]},{"1399693613":["hashtag1","hashtag2"]},{"1399693616":["hashtag1","hashtag2"]},{"1399693612":["hashtag1","hashtag2"]},{"1399693611":["hashtag1","hashtag2"]},{"1399693623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693610, 1399693613, 1399693616, 1399693612, 1399693611, 1399693623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.070340633392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:41:22.733280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_55_10604.jpg', '/home/pi/Desktop/images/16122025/19/39/image_16122025_19_40_05_9739.jpg', '/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_15_9634.jpg', '/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_25_10596.jpg', '/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_35_9725.jpg', '/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_45_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/39/image_16122025_19_39_55_10604.jpg
/home/pi/Desktop/images/16122025/19/39/image_16122025_19_40_05_9739.jpg
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_15_9634.jpg
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_25_10596.jpg
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_35_9725.jpg
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_45_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693631","1399693633","1399693627","1399693639","1399693635","1399693629"],"photo_ids_order":["1399693627","1399693629","1399693631","1399693633","1399693635","1399693639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e68446e8cbf478858038035727c9e80.jpg","text":"TemporaryFile(/tmp/multipartBody3558809921260537253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910543317,"filename":"image_16122025_19_40_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d9eaac9496c9f86e5f5c8c994b6b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody211099183572974581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910543317,"filename":"image_16122025_19_40_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0d17ffedf7d9c7a3326b15c975c53a99.jpg","text":"TemporaryFile(/tmp/multipartBody4340984536164091284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910543317,"filename":"image_16122025_19_39_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/16/854085516e66db15bb2dfc5b26bdd0f8.jpg","text":"TemporaryFile(/tmp/multipartBody6334114985416010203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910543317,"filename":"image_16122025_19_40_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/656d58f05dfcd7e9a08f8e18597b0559.jpg","text":"TemporaryFile(/tmp/multipartBody6364432238026599112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910543317,"filename":"image_16122025_19_40_35_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d152fa8055e62cf8d7b92e935fd0c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody8492058263814453800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910543317,"filename":"image_16122025_19_40_05_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693631","file1":"1399693629","file0":"1399693627","file4":"1399693635","file5":"1399693639","file3":"1399693633"},"map_files_photo_id_array":[{"photo_id":"1399693639","filename":"file5"},{"photo_id":"1399693631","filename":"file2"},{"photo_id":"1399693635","filename":"file4"},{"photo_id":"1399693629","filename":"file1"},{"photo_id":"1399693627","filename":"file0"},{"photo_id":"1399693633","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693631":["hashtag1","hashtag2"]},{"1399693633":["hashtag1","hashtag2"]},{"1399693627":["hashtag1","hashtag2"]},{"1399693639":["hashtag1","hashtag2"]},{"1399693635":["hashtag1","hashtag2"]},{"1399693629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693631, 1399693633, 1399693627, 1399693639, 1399693635, 1399693629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.598594665527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:42:02.366609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_55_10672.jpg', '/home/pi/Desktop/images/16122025/19/40/image_16122025_19_41_05_9689.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_15_9601.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_25_10670.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_35_9529.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_45_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_55_10672.jpg
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_41_05_9689.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_15_9601.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_25_10670.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_35_9529.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_45_10599.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4974210262298584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:42:11.895532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:42:21.960510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_55_10672.jpg', '/home/pi/Desktop/images/16122025/19/40/image_16122025_19_41_05_9689.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_15_9601.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_25_10670.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_35_9529.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_45_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_40_55_10672.jpg
/home/pi/Desktop/images/16122025/19/40/image_16122025_19_41_05_9689.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_15_9601.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_25_10670.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_35_9529.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_45_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693661","1399693649","1399693664","1399693651","1399693659","1399693653"],"photo_ids_order":["1399693649","1399693651","1399693653","1399693659","1399693661","1399693664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4bbc47deb1172108b349b1fb6c196bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2691971036347750311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910602535,"filename":"image_16122025_19_41_35_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/16/d85dc5db15e7e08f71ceed0c43631f10.jpg","text":"TemporaryFile(/tmp/multipartBody7224644328014368600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910602535,"filename":"image_16122025_19_40_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfd371da9e1b56dbb4598f040f191049.jpg","text":"TemporaryFile(/tmp/multipartBody8649180046625909002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910602535,"filename":"image_16122025_19_41_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6bb1e651d31e0a41dcb7ddfba4d1898.jpg","text":"TemporaryFile(/tmp/multipartBody1294570598702038719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910602535,"filename":"image_16122025_19_41_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0eff095cf7574daea2b08493b54eb66e.jpg","text":"TemporaryFile(/tmp/multipartBody8599754974675577004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910602535,"filename":"image_16122025_19_41_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/16/ed877c73144d88bdd2373cf4b58bb1e2.jpg","text":"TemporaryFile(/tmp/multipartBody1226636001121621830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910602535,"filename":"image_16122025_19_41_15_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693653","file1":"1399693651","file0":"1399693649","file4":"1399693661","file5":"1399693664","file3":"1399693659"},"map_files_photo_id_array":[{"photo_id":"1399693664","filename":"file5"},{"photo_id":"1399693653","filename":"file2"},{"photo_id":"1399693661","filename":"file4"},{"photo_id":"1399693651","filename":"file1"},{"photo_id":"1399693649","filename":"file0"},{"photo_id":"1399693659","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693661":["hashtag1","hashtag2"]},{"1399693649":["hashtag1","hashtag2"]},{"1399693664":["hashtag1","hashtag2"]},{"1399693651":["hashtag1","hashtag2"]},{"1399693659":["hashtag1","hashtag2"]},{"1399693653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693661, 1399693649, 1399693664, 1399693651, 1399693659, 1399693653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.168824911117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:43:02.730788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_55_9542.jpg', '/home/pi/Desktop/images/16122025/19/41/image_16122025_19_42_05_9774.jpg', '/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_15_10606.jpg', '/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_25_9831.jpg', '/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_35_9533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_41_55_9542.jpg
/home/pi/Desktop/images/16122025/19/41/image_16122025_19_42_05_9774.jpg
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_15_10606.jpg
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_25_9831.jpg
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_35_9533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693682","1399693684","1399693678","1399693666","1399693686"],"photo_ids_order":["1399693666","1399693678","1399693682","1399693684","1399693686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a5cb2dd21c569fbb2107bdd271ec8f85.jpg","text":"TemporaryFile(/tmp/multipartBody1843422714768179131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910643313,"filename":"image_16122025_19_42_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/16/284145cb25329a51b764edf4a5f30302.jpg","text":"TemporaryFile(/tmp/multipartBody1897912978240441848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910643313,"filename":"image_16122025_19_42_25_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/034e39b48d8dee18b1a6706f757e1480.jpg","text":"TemporaryFile(/tmp/multipartBody4138619483983087493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910643313,"filename":"image_16122025_19_42_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/16/af2f21e984c4d9007ee53abbce6a58a0.jpg","text":"TemporaryFile(/tmp/multipartBody2676330012362283071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910643313,"filename":"image_16122025_19_41_55_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/16/8d3d9443003747f6262ab0a591a83f64.jpg","text":"TemporaryFile(/tmp/multipartBody7756369846029765069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910643313,"filename":"image_16122025_19_42_35_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693682","file1":"1399693678","file0":"1399693666","file4":"1399693686","file3":"1399693684"},"map_files_photo_id_array":[{"photo_id":"1399693682","filename":"file2"},{"photo_id":"1399693686","filename":"file4"},{"photo_id":"1399693678","filename":"file1"},{"photo_id":"1399693666","filename":"file0"},{"photo_id":"1399693684","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693682":["hashtag1","hashtag2"]},{"1399693684":["hashtag1","hashtag2"]},{"1399693678":["hashtag1","hashtag2"]},{"1399693666":["hashtag1","hashtag2"]},{"1399693686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693682, 1399693684, 1399693678, 1399693666, 1399693686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.515883445739746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:43:42.143111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_32_3531.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_34_2504.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_38_3617.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_40_2564.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_43_2625.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_47_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_32_3531.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_34_2504.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_38_3617.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_40_2564.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_43_2625.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_47_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":["1399693700","1399693699","1399693702","1399693695","1399693698","1399693701"],"photo_ids_order":["1399693695","1399693698","1399693699","1399693700","1399693701","1399693702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dcfe489ff024879fccce3d3faef214dd.jpg","text":"TemporaryFile(/tmp/multipartBody608710145859746162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910682794,"filename":"image_06112025_17_41_40_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f72c80e89565aa7d9072b4cf57ba2f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1857153634830038441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910682794,"filename":"image_06112025_17_41_38_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b577ec7cbbc02f9d7629b204c3622f73.jpg","text":"TemporaryFile(/tmp/multipartBody5813458961176354371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910682794,"filename":"image_06112025_17_41_47_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/16/3a7aabe77daf73bb65d763645099ba29.jpg","text":"TemporaryFile(/tmp/multipartBody8089262654874502421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910682794,"filename":"image_06112025_17_41_32_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/16/b2f0fd7f9889b933b41b6289aee89775.jpg","text":"TemporaryFile(/tmp/multipartBody780780316300550050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910682794,"filename":"image_06112025_17_41_34_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/16/bf4f43ffd2842c9a129a309957389f56.jpg","text":"TemporaryFile(/tmp/multipartBody765530716539051060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910682794,"filename":"image_06112025_17_41_43_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693699","file1":"1399693698","file0":"1399693695","file4":"1399693701","file5":"1399693702","file3":"1399693700"},"map_files_photo_id_array":[{"photo_id":"1399693702","filename":"file5"},{"photo_id":"1399693699","filename":"file2"},{"photo_id":"1399693701","filename":"file4"},{"photo_id":"1399693698","filename":"file1"},{"photo_id":"1399693695","filename":"file0"},{"photo_id":"1399693700","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693700":["hashtag1","hashtag2"]},{"1399693699":["hashtag1","hashtag2"]},{"1399693702":["hashtag1","hashtag2"]},{"1399693695":["hashtag1","hashtag2"]},{"1399693698":["hashtag1","hashtag2"]},{"1399693701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693700, 1399693699, 1399693702, 1399693695, 1399693698, 1399693701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38033699989319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:44:22.406152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_45_10595.jpg', '/home/pi/Desktop/images/16122025/19/42/image_16122025_19_43_05_9604.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_25_9726.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_35_9646.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_45_10625.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_55_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_45_10595.jpg
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_43_05_9604.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_25_9726.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_35_9646.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_45_10625.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_55_9952.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46991515159606934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:44:32.502039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:44:42.393049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_49_2564.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_52_2920.jpg', '/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_56_3613.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_01_2715.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_04_2741.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_07_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_49_2564.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_52_2920.jpg
/home/pi/Desktop/images/06112025/17/41/image_06112025_17_41_56_3613.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_01_2715.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_04_2741.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_07_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693724","1399693715","1399693726","1399693725","1399693719","1399693722"],"photo_ids_order":["1399693715","1399693719","1399693722","1399693724","1399693725","1399693726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91a84801a2e5d358ab449fce499384d9.jpg","text":"TemporaryFile(/tmp/multipartBody1897373006391054232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910743076,"filename":"image_06112025_17_42_01_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/16/add0c72f549c2c0da8290f585a5c293b.jpg","text":"TemporaryFile(/tmp/multipartBody1428772485231750740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910743076,"filename":"image_06112025_17_41_49_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f4486e44618d0d9e9bb9e1c661fbea4.jpg","text":"TemporaryFile(/tmp/multipartBody4269438843064805215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910743076,"filename":"image_06112025_17_42_07_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/16/2daa2c8f6827341d1d8439a1530e34ad.jpg","text":"TemporaryFile(/tmp/multipartBody5207515774554616042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910743076,"filename":"image_06112025_17_42_04_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/978b6c6023d6b0a4107c69a579729cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6734284040233208381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910743076,"filename":"image_06112025_17_41_52_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0cfad2c5e0de9a1f446a077fcc6a9c42.jpg","text":"TemporaryFile(/tmp/multipartBody3428115332257008374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910743076,"filename":"image_06112025_17_41_56_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693722","file1":"1399693719","file0":"1399693715","file4":"1399693725","file5":"1399693726","file3":"1399693724"},"map_files_photo_id_array":[{"photo_id":"1399693726","filename":"file5"},{"photo_id":"1399693722","filename":"file2"},{"photo_id":"1399693725","filename":"file4"},{"photo_id":"1399693719","filename":"file1"},{"photo_id":"1399693715","filename":"file0"},{"photo_id":"1399693724","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693724":["hashtag1","hashtag2"]},{"1399693715":["hashtag1","hashtag2"]},{"1399693726":["hashtag1","hashtag2"]},{"1399693725":["hashtag1","hashtag2"]},{"1399693719":["hashtag1","hashtag2"]},{"1399693722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693724, 1399693715, 1399693726, 1399693725, 1399693719, 1399693722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.337730407714844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:45:22.724290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_45_10595.jpg', '/home/pi/Desktop/images/16122025/19/42/image_16122025_19_43_05_9604.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_25_9726.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_35_9646.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_45_10625.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_55_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_45_10595.jpg
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_43_05_9604.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_25_9726.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_35_9646.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_45_10625.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_55_9952.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5050320625305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:45:32.716607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:45:42.699696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_10_2720.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_14_3524.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_16_2684.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_19_2562.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_22_3616.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_25_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_10_2720.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_14_3524.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_16_2684.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_19_2562.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_22_3616.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_25_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":["1399693742","1399693744","1399693741","1399693743","1399693737","1399693746"],"photo_ids_order":["1399693737","1399693741","1399693742","1399693743","1399693744","1399693746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af0fe1206f8eb703c83814acc884164b.jpg","text":"TemporaryFile(/tmp/multipartBody2394255382449193077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910803356,"filename":"image_06112025_17_42_16_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/16/db8549ae45c9bcc9f908277d96b3e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7220748172651799210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910803356,"filename":"image_06112025_17_42_22_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/16/41924b7a991cdd1a25f208e3bd6f2d17.jpg","text":"TemporaryFile(/tmp/multipartBody3913765956703289991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910803356,"filename":"image_06112025_17_42_14_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/16/343cc786ca9e37e585d71e240a4f45ca.jpg","text":"TemporaryFile(/tmp/multipartBody7570432665922505947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910803356,"filename":"image_06112025_17_42_19_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/16/51550fa7f7a47cf109906b51abb25c71.jpg","text":"TemporaryFile(/tmp/multipartBody5892944592621694809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910803356,"filename":"image_06112025_17_42_10_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/16/27b5d8335b15b35fd3e9a189234ba6af.jpg","text":"TemporaryFile(/tmp/multipartBody275736236892193392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910803356,"filename":"image_06112025_17_42_25_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693742","file1":"1399693741","file0":"1399693737","file4":"1399693744","file5":"1399693746","file3":"1399693743"},"map_files_photo_id_array":[{"photo_id":"1399693746","filename":"file5"},{"photo_id":"1399693742","filename":"file2"},{"photo_id":"1399693744","filename":"file4"},{"photo_id":"1399693741","filename":"file1"},{"photo_id":"1399693737","filename":"file0"},{"photo_id":"1399693743","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693742":["hashtag1","hashtag2"]},{"1399693744":["hashtag1","hashtag2"]},{"1399693741":["hashtag1","hashtag2"]},{"1399693743":["hashtag1","hashtag2"]},{"1399693737":["hashtag1","hashtag2"]},{"1399693746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693742, 1399693744, 1399693741, 1399693743, 1399693737, 1399693746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19203186035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:46:21.962274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_45_10595.jpg', '/home/pi/Desktop/images/16122025/19/42/image_16122025_19_43_05_9604.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_25_9726.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_35_9646.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_45_10625.jpg', '/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_55_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_42_45_10595.jpg
/home/pi/Desktop/images/16122025/19/42/image_16122025_19_43_05_9604.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_25_9726.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_35_9646.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_45_10625.jpg
/home/pi/Desktop/images/16122025/19/43/image_16122025_19_43_55_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":["1399693757","1399693751","1399693759","1399693761","1399693755","1399693749"],"photo_ids_order":["1399693749","1399693751","1399693755","1399693757","1399693759","1399693761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ceab28699fcfd8b8d110ff9dbb3fdcb.jpg","text":"TemporaryFile(/tmp/multipartBody1777168207618909098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910842557,"filename":"image_16122025_19_43_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d99a1e251f96507a9c3a35e39b0ad2cd.jpg","text":"TemporaryFile(/tmp/multipartBody9028084921485261795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910842557,"filename":"image_16122025_19_43_05_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccd16c73a036febdf56cd91b958dfdde.jpg","text":"TemporaryFile(/tmp/multipartBody4554530978944373687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910842557,"filename":"image_16122025_19_43_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/16/7a575c9807bd27ae719e0161a06df62c.jpg","text":"TemporaryFile(/tmp/multipartBody6546035196553516532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910842557,"filename":"image_16122025_19_43_55_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/16/12a594cd1246e5d0035ead1bb3adb9ca.jpg","text":"TemporaryFile(/tmp/multipartBody221071096077929116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910842557,"filename":"image_16122025_19_43_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1efb0423901a34fa6c928e25738d7009.jpg","text":"TemporaryFile(/tmp/multipartBody269639829694013345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910842557,"filename":"image_16122025_19_42_45_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693755","file1":"1399693751","file0":"1399693749","file4":"1399693759","file5":"1399693761","file3":"1399693757"},"map_files_photo_id_array":[{"photo_id":"1399693761","filename":"file5"},{"photo_id":"1399693755","filename":"file2"},{"photo_id":"1399693759","filename":"file4"},{"photo_id":"1399693751","filename":"file1"},{"photo_id":"1399693749","filename":"file0"},{"photo_id":"1399693757","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693757":["hashtag1","hashtag2"]},{"1399693751":["hashtag1","hashtag2"]},{"1399693759":["hashtag1","hashtag2"]},{"1399693761":["hashtag1","hashtag2"]},{"1399693755":["hashtag1","hashtag2"]},{"1399693749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693757, 1399693751, 1399693759, 1399693761, 1399693755, 1399693749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01920008659363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:47:02.755371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/44/image_16122025_19_44_25_10641.jpg', '/home/pi/Desktop/images/16122025/19/44/image_16122025_19_44_55_10691.jpg', '/home/pi/Desktop/images/16122025/19/44/image_16122025_19_45_05_9671.jpg', '/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_15_9933.jpg', '/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_25_9660.jpg', '/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_45_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/44/image_16122025_19_44_25_10641.jpg
/home/pi/Desktop/images/16122025/19/44/image_16122025_19_44_55_10691.jpg
/home/pi/Desktop/images/16122025/19/44/image_16122025_19_45_05_9671.jpg
/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_15_9933.jpg
/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_25_9660.jpg
/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_45_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693769","1399693771","1399693765","1399693773","1399693776","1399693767"],"photo_ids_order":["1399693765","1399693767","1399693769","1399693771","1399693773","1399693776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a3afdc6ca4b6e5a4b257ec4591103dad.jpg","text":"TemporaryFile(/tmp/multipartBody6174148075027637123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910883354,"filename":"image_16122025_19_45_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77f610eac09e0147f18da834e1645f66.jpg","text":"TemporaryFile(/tmp/multipartBody304986124045777528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910883354,"filename":"image_16122025_19_45_15_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1044a61559ed51573e27190f980a3095.jpg","text":"TemporaryFile(/tmp/multipartBody8173358480735739873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910883354,"filename":"image_16122025_19_44_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e896164364ee3a45a026a69a09f15978.jpg","text":"TemporaryFile(/tmp/multipartBody5842250707128396880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910883354,"filename":"image_16122025_19_45_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/16/0f45beec50b1586ba55a4f09a48be637.jpg","text":"TemporaryFile(/tmp/multipartBody5212912980272953638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910883354,"filename":"image_16122025_19_45_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54c18e595a2453b73b6eaf0f603963ac.jpg","text":"TemporaryFile(/tmp/multipartBody1521405603614134284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910883354,"filename":"image_16122025_19_44_55_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693769","file1":"1399693767","file0":"1399693765","file4":"1399693773","file5":"1399693776","file3":"1399693771"},"map_files_photo_id_array":[{"photo_id":"1399693776","filename":"file5"},{"photo_id":"1399693769","filename":"file2"},{"photo_id":"1399693773","filename":"file4"},{"photo_id":"1399693767","filename":"file1"},{"photo_id":"1399693765","filename":"file0"},{"photo_id":"1399693771","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693769":["hashtag1","hashtag2"]},{"1399693771":["hashtag1","hashtag2"]},{"1399693765":["hashtag1","hashtag2"]},{"1399693773":["hashtag1","hashtag2"]},{"1399693776":["hashtag1","hashtag2"]},{"1399693767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693769, 1399693771, 1399693765, 1399693773, 1399693776, 1399693767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.088908672332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:47:42.111958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_28_2696.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_31_2986.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_34_3632.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_37_2583.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_40_2876.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_43_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_28_2696.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_31_2986.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_34_3632.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_37_2583.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_40_2876.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_43_2822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693789","1399693783","1399693786","1399693788","1399693790","1399693787"],"photo_ids_order":["1399693783","1399693786","1399693787","1399693788","1399693789","1399693790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34f852e9814af40e7b28655fd2186044.jpg","text":"TemporaryFile(/tmp/multipartBody1719973108112807138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910922760,"filename":"image_06112025_17_42_40_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/16/5eb053a4390196161e790c500f8a4848.jpg","text":"TemporaryFile(/tmp/multipartBody138289073895824022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910922760,"filename":"image_06112025_17_42_28_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d4ab612dc3d4b4102e7260ced227986.jpg","text":"TemporaryFile(/tmp/multipartBody5016761162077063746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910922760,"filename":"image_06112025_17_42_31_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7dccaa2eb9d041b93be487f3ed628c04.jpg","text":"TemporaryFile(/tmp/multipartBody7326832119799924387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910922760,"filename":"image_06112025_17_42_37_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a8e1ed4389b100e4cc9669059d9b8095.jpg","text":"TemporaryFile(/tmp/multipartBody7020023740573892608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910922760,"filename":"image_06112025_17_42_43_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/16/43941dc53dd7c0404d5a10c3be38d1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2840343931675235782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910922760,"filename":"image_06112025_17_42_34_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693787","file1":"1399693786","file0":"1399693783","file4":"1399693789","file5":"1399693790","file3":"1399693788"},"map_files_photo_id_array":[{"photo_id":"1399693790","filename":"file5"},{"photo_id":"1399693787","filename":"file2"},{"photo_id":"1399693789","filename":"file4"},{"photo_id":"1399693786","filename":"file1"},{"photo_id":"1399693783","filename":"file0"},{"photo_id":"1399693788","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693789":["hashtag1","hashtag2"]},{"1399693783":["hashtag1","hashtag2"]},{"1399693786":["hashtag1","hashtag2"]},{"1399693788":["hashtag1","hashtag2"]},{"1399693790":["hashtag1","hashtag2"]},{"1399693787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693789, 1399693783, 1399693786, 1399693788, 1399693790, 1399693787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24425029754639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:48:22.467246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_56_10657.jpg', '/home/pi/Desktop/images/16122025/19/45/image_16122025_19_46_05_9636.jpg', '/home/pi/Desktop/images/16122025/19/46/image_16122025_19_46_15_9655.jpg', '/home/pi/Desktop/images/16122025/19/46/image_16122025_19_46_55_9731.jpg', '/home/pi/Desktop/images/16122025/19/46/image_16122025_19_47_05_9652.jpg', '/home/pi/Desktop/images/16122025/19/47/image_16122025_19_47_15_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/45/image_16122025_19_45_56_10657.jpg
/home/pi/Desktop/images/16122025/19/45/image_16122025_19_46_05_9636.jpg
/home/pi/Desktop/images/16122025/19/46/image_16122025_19_46_15_9655.jpg
/home/pi/Desktop/images/16122025/19/46/image_16122025_19_46_55_9731.jpg
/home/pi/Desktop/images/16122025/19/46/image_16122025_19_47_05_9652.jpg
/home/pi/Desktop/images/16122025/19/47/image_16122025_19_47_15_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693802","1399693811","1399693808","1399693798","1399693804","1399693806"],"photo_ids_order":["1399693798","1399693802","1399693804","1399693806","1399693808","1399693811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5253515b827a41f08da32eed7f88324a.jpg","text":"TemporaryFile(/tmp/multipartBody7511681391446184823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910963085,"filename":"image_16122025_19_46_05_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/16/ff03bb7d543bbe91d3730c35021f1ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2263715416497091294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910963085,"filename":"image_16122025_19_47_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f53e5dc95fdf2a9680b06c3dde90f1b9.jpg","text":"TemporaryFile(/tmp/multipartBody6537076347507864413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910963085,"filename":"image_16122025_19_47_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3498846fc125ee1fffc02983ea54d48e.jpg","text":"TemporaryFile(/tmp/multipartBody7592072543896879666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910963085,"filename":"image_16122025_19_45_56_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/16/bc0a3c9b7ab870eb84926602d14eb3fe.jpg","text":"TemporaryFile(/tmp/multipartBody8164182964846149335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910963085,"filename":"image_16122025_19_46_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f9c6cc9ecbe49a637057a7f628977c5.jpg","text":"TemporaryFile(/tmp/multipartBody3961568237814477381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765910963085,"filename":"image_16122025_19_46_55_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693804","file1":"1399693802","file0":"1399693798","file4":"1399693808","file5":"1399693811","file3":"1399693806"},"map_files_photo_id_array":[{"photo_id":"1399693811","filename":"file5"},{"photo_id":"1399693804","filename":"file2"},{"photo_id":"1399693808","filename":"file4"},{"photo_id":"1399693802","filename":"file1"},{"photo_id":"1399693798","filename":"file0"},{"photo_id":"1399693806","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693802":["hashtag1","hashtag2"]},{"1399693811":["hashtag1","hashtag2"]},{"1399693808":["hashtag1","hashtag2"]},{"1399693798":["hashtag1","hashtag2"]},{"1399693804":["hashtag1","hashtag2"]},{"1399693806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693802, 1399693811, 1399693808, 1399693798, 1399693804, 1399693806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55862617492676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:49:03.379071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/47/image_16122025_19_47_45_10713.jpg', '/home/pi/Desktop/images/16122025/19/47/image_16122025_19_47_55_9651.jpg', '/home/pi/Desktop/images/16122025/19/47/image_16122025_19_48_05_9707.jpg', '/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_15_10601.jpg', '/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_25_9540.jpg', '/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_35_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/47/image_16122025_19_47_45_10713.jpg
/home/pi/Desktop/images/16122025/19/47/image_16122025_19_47_55_9651.jpg
/home/pi/Desktop/images/16122025/19/47/image_16122025_19_48_05_9707.jpg
/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_15_10601.jpg
/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_25_9540.jpg
/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_35_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":["1399693820","1399693817","1399693814","1399693813","1399693816","1399693815"],"photo_ids_order":["1399693813","1399693814","1399693815","1399693816","1399693817","1399693820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e264e8143af024e4cbc845f9a0f37b8.jpg","text":"TemporaryFile(/tmp/multipartBody5462623571331117522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911004194,"filename":"image_16122025_19_48_35_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71833b26e332d59a315f88a043fd086e.jpg","text":"TemporaryFile(/tmp/multipartBody5872511294946218156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911004194,"filename":"image_16122025_19_48_25_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/16/32c58222ca689af520dc04414e46344a.jpg","text":"TemporaryFile(/tmp/multipartBody7162921975515278388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911004194,"filename":"image_16122025_19_47_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/16/7716f23897caa4f41f7470e8c5e1ec34.jpg","text":"TemporaryFile(/tmp/multipartBody7441363759666873610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911004194,"filename":"image_16122025_19_47_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/16/a3c6a3c722294e0dc7176963b1c5dd8f.jpg","text":"TemporaryFile(/tmp/multipartBody5790461373150729422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911004194,"filename":"image_16122025_19_48_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4653d83cb88147bd2720ee2aa73eb5f7.jpg","text":"TemporaryFile(/tmp/multipartBody8391199943823138886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911004194,"filename":"image_16122025_19_48_05_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693815","file1":"1399693814","file0":"1399693813","file4":"1399693817","file5":"1399693820","file3":"1399693816"},"map_files_photo_id_array":[{"photo_id":"1399693820","filename":"file5"},{"photo_id":"1399693815","filename":"file2"},{"photo_id":"1399693817","filename":"file4"},{"photo_id":"1399693814","filename":"file1"},{"photo_id":"1399693813","filename":"file0"},{"photo_id":"1399693816","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693820":["hashtag1","hashtag2"]},{"1399693817":["hashtag1","hashtag2"]},{"1399693814":["hashtag1","hashtag2"]},{"1399693813":["hashtag1","hashtag2"]},{"1399693816":["hashtag1","hashtag2"]},{"1399693815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693820, 1399693817, 1399693814, 1399693813, 1399693816, 1399693815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12749242782593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:49:42.576498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_46_3625.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_49_2767.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_52_2913.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_55_2707.jpg', '/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_58_3680.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_03_4421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_46_3625.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_49_2767.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_52_2913.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_55_2707.jpg
/home/pi/Desktop/images/06112025/17/42/image_06112025_17_42_58_3680.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_03_4421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693832","1399693829","1399693831","1399693825","1399693828","1399693830"],"photo_ids_order":["1399693825","1399693828","1399693829","1399693830","1399693831","1399693832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bbc1bee33bf5087eebec773b3dc197c.jpg","text":"TemporaryFile(/tmp/multipartBody6470612614021379236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911043236,"filename":"image_06112025_17_43_03_4421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee6075502fc8a05b4fa742acc1916acc.jpg","text":"TemporaryFile(/tmp/multipartBody5146455342795992585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911043236,"filename":"image_06112025_17_42_52_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/16/b04930a750911952b37238d40dca4c75.jpg","text":"TemporaryFile(/tmp/multipartBody5212659145146864278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911043236,"filename":"image_06112025_17_42_58_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/16/6fd4947c6ffbb70b800f07b19799264f.jpg","text":"TemporaryFile(/tmp/multipartBody1127807466002754024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911043236,"filename":"image_06112025_17_42_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/16/5d9235c29ec295a5f91b9ca36c6fc845.jpg","text":"TemporaryFile(/tmp/multipartBody3906234678929460369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911043236,"filename":"image_06112025_17_42_49_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a97d38f7489dae6193dd660e3d483c1.jpg","text":"TemporaryFile(/tmp/multipartBody6983334709304294262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911043236,"filename":"image_06112025_17_42_55_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693829","file1":"1399693828","file0":"1399693825","file4":"1399693831","file5":"1399693832","file3":"1399693830"},"map_files_photo_id_array":[{"photo_id":"1399693832","filename":"file5"},{"photo_id":"1399693829","filename":"file2"},{"photo_id":"1399693831","filename":"file4"},{"photo_id":"1399693828","filename":"file1"},{"photo_id":"1399693825","filename":"file0"},{"photo_id":"1399693830","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693832":["hashtag1","hashtag2"]},{"1399693829":["hashtag1","hashtag2"]},{"1399693831":["hashtag1","hashtag2"]},{"1399693825":["hashtag1","hashtag2"]},{"1399693828":["hashtag1","hashtag2"]},{"1399693830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693832, 1399693829, 1399693831, 1399693825, 1399693828, 1399693830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83097434043884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:50:21.816200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_45_9597.jpg', '/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_55_9768.jpg', '/home/pi/Desktop/images/16122025/19/48/image_16122025_19_49_05_9723.jpg', '/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_15_10621.jpg', '/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_25_9727.jpg', '/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_45_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_45_9597.jpg
/home/pi/Desktop/images/16122025/19/48/image_16122025_19_48_55_9768.jpg
/home/pi/Desktop/images/16122025/19/48/image_16122025_19_49_05_9723.jpg
/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_15_10621.jpg
/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_25_9727.jpg
/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_45_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693844","1399693846","1399693837","1399693842","1399693851","1399693839"],"photo_ids_order":["1399693837","1399693839","1399693842","1399693844","1399693846","1399693851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8925c9b9e090a61f20bb6d907901155c.jpg","text":"TemporaryFile(/tmp/multipartBody5308156918458355826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911082427,"filename":"image_16122025_19_49_15_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a29defef369852f099d4129235d3474.jpg","text":"TemporaryFile(/tmp/multipartBody2888105826309443868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911082427,"filename":"image_16122025_19_49_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/16/6bcd6112f087009b4ffa785ddd467d78.jpg","text":"TemporaryFile(/tmp/multipartBody4212409830807333925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911082427,"filename":"image_16122025_19_48_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbd1f56fddd03e43c328b55676d017f8.jpg","text":"TemporaryFile(/tmp/multipartBody1325030163674371189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911082427,"filename":"image_16122025_19_49_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da4195e472efb34df27fa5e3c59bfb1c.jpg","text":"TemporaryFile(/tmp/multipartBody2899521601767459649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911082427,"filename":"image_16122025_19_49_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/16/15b3fc6e60d1fdc6705ee25ed0a5e883.jpg","text":"TemporaryFile(/tmp/multipartBody8045286527875112723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911082427,"filename":"image_16122025_19_48_55_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693842","file1":"1399693839","file0":"1399693837","file4":"1399693846","file5":"1399693851","file3":"1399693844"},"map_files_photo_id_array":[{"photo_id":"1399693851","filename":"file5"},{"photo_id":"1399693842","filename":"file2"},{"photo_id":"1399693846","filename":"file4"},{"photo_id":"1399693839","filename":"file1"},{"photo_id":"1399693837","filename":"file0"},{"photo_id":"1399693844","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693844":["hashtag1","hashtag2"]},{"1399693846":["hashtag1","hashtag2"]},{"1399693837":["hashtag1","hashtag2"]},{"1399693842":["hashtag1","hashtag2"]},{"1399693851":["hashtag1","hashtag2"]},{"1399693839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693844, 1399693846, 1399693837, 1399693842, 1399693851, 1399693839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44521188735962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:51:02.601772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_55_9716.jpg', '/home/pi/Desktop/images/16122025/19/49/image_16122025_19_50_05_10640.jpg', '/home/pi/Desktop/images/16122025/19/50/image_16122025_19_50_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/49/image_16122025_19_49_55_9716.jpg
/home/pi/Desktop/images/16122025/19/49/image_16122025_19_50_05_10640.jpg
/home/pi/Desktop/images/16122025/19/50/image_16122025_19_50_15_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693876","1399693878","1399693866"],"photo_ids_order":["1399693866","1399693876","1399693878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1127384aace16aae5191211a9bf9498c.jpg","text":"TemporaryFile(/tmp/multipartBody411470276272766295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911123124,"filename":"image_16122025_19_50_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/16/92daf8ef538dbb9f5a91f0e5d71878c0.jpg","text":"TemporaryFile(/tmp/multipartBody1433946396472409512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911123124,"filename":"image_16122025_19_50_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/16/1b4d4366b57acc3f409012aaac5b8502.jpg","text":"TemporaryFile(/tmp/multipartBody2395166165426896502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911123124,"filename":"image_16122025_19_49_55_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693878","file1":"1399693876","file0":"1399693866"},"map_files_photo_id_array":[{"photo_id":"1399693878","filename":"file2"},{"photo_id":"1399693876","filename":"file1"},{"photo_id":"1399693866","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693876":["hashtag1","hashtag2"]},{"1399693878":["hashtag1","hashtag2"]},{"1399693866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693876, 1399693878, 1399693866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.230993270874023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:51:32.165419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:51:42.129862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_05_1831.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_07_2672.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_10_2581.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_14_3716.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_16_2539.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_19_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_05_1831.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_07_2672.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_10_2581.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_14_3716.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_16_2539.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_19_2576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693889","1399693891","1399693890","1399693893","1399693892","1399693886"],"photo_ids_order":["1399693886","1399693889","1399693890","1399693891","1399693892","1399693893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d23f25e6bb0ec68e803cfd27b840994.jpg","text":"TemporaryFile(/tmp/multipartBody6707945073455337097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911162735,"filename":"image_06112025_17_43_07_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/265fdd38958243966d9783ce658bb6ae.jpg","text":"TemporaryFile(/tmp/multipartBody5969728017689148167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911162735,"filename":"image_06112025_17_43_14_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/16/ba0fb3ff070e648fd557249e6d5c491b.jpg","text":"TemporaryFile(/tmp/multipartBody7191293688284724577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911162735,"filename":"image_06112025_17_43_10_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/16/34b12032cab2d039745311e910fe71f4.jpg","text":"TemporaryFile(/tmp/multipartBody787113817207678891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911162735,"filename":"image_06112025_17_43_19_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25b46376020dca6ad1d948a08dbf1821.jpg","text":"TemporaryFile(/tmp/multipartBody7896507424625965031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911162735,"filename":"image_06112025_17_43_16_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/16/35361fd78c3028ca93eed942e49c5200.jpg","text":"TemporaryFile(/tmp/multipartBody5133668186538029172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911162735,"filename":"image_06112025_17_43_05_1831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693890","file1":"1399693889","file0":"1399693886","file4":"1399693892","file5":"1399693893","file3":"1399693891"},"map_files_photo_id_array":[{"photo_id":"1399693893","filename":"file5"},{"photo_id":"1399693890","filename":"file2"},{"photo_id":"1399693892","filename":"file4"},{"photo_id":"1399693889","filename":"file1"},{"photo_id":"1399693886","filename":"file0"},{"photo_id":"1399693891","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693889":["hashtag1","hashtag2"]},{"1399693891":["hashtag1","hashtag2"]},{"1399693890":["hashtag1","hashtag2"]},{"1399693893":["hashtag1","hashtag2"]},{"1399693892":["hashtag1","hashtag2"]},{"1399693886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693889, 1399693891, 1399693890, 1399693893, 1399693892, 1399693886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78878450393677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:52:22.415940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/50/image_16122025_19_50_25_9865.jpg', '/home/pi/Desktop/images/16122025/19/50/image_16122025_19_51_05_9548.jpg', '/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_15_10618.jpg', '/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_35_9799.jpg', '/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_45_10706.jpg', '/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/50/image_16122025_19_50_25_9865.jpg
/home/pi/Desktop/images/16122025/19/50/image_16122025_19_51_05_9548.jpg
/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_15_10618.jpg
/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_35_9799.jpg
/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_45_10706.jpg
/home/pi/Desktop/images/16122025/19/51/image_16122025_19_51_55_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693901","1399693915","1399693903","1399693905","1399693920","1399693898"],"photo_ids_order":["1399693898","1399693901","1399693903","1399693905","1399693915","1399693920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e989db2a314fac296b4a021b2d18fbc.jpg","text":"TemporaryFile(/tmp/multipartBody496165885947073756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911203010,"filename":"image_16122025_19_51_05_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/16/e1a0a69c6c49c98492936abd9674de38.jpg","text":"TemporaryFile(/tmp/multipartBody1799069764636004658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911203010,"filename":"image_16122025_19_51_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23a971891600873c352a6fe9f0889730.jpg","text":"TemporaryFile(/tmp/multipartBody6006899513071012526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911203010,"filename":"image_16122025_19_51_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f4f0cbd27492408f62b9239460d3bc29.jpg","text":"TemporaryFile(/tmp/multipartBody3750494706738607813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911203010,"filename":"image_16122025_19_51_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/16/05d8ae0c97ce01f8269290c43f7ea9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5428087436114673624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911203010,"filename":"image_16122025_19_51_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/16/e864935e104c1fe857d1fa0cd6f62916.jpg","text":"TemporaryFile(/tmp/multipartBody2464419202552842296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911203010,"filename":"image_16122025_19_50_25_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693903","file1":"1399693901","file0":"1399693898","file4":"1399693915","file5":"1399693920","file3":"1399693905"},"map_files_photo_id_array":[{"photo_id":"1399693920","filename":"file5"},{"photo_id":"1399693903","filename":"file2"},{"photo_id":"1399693915","filename":"file4"},{"photo_id":"1399693901","filename":"file1"},{"photo_id":"1399693898","filename":"file0"},{"photo_id":"1399693905","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693901":["hashtag1","hashtag2"]},{"1399693915":["hashtag1","hashtag2"]},{"1399693903":["hashtag1","hashtag2"]},{"1399693905":["hashtag1","hashtag2"]},{"1399693920":["hashtag1","hashtag2"]},{"1399693898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693901, 1399693915, 1399693903, 1399693905, 1399693920, 1399693898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.457743644714355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:53:03.299590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/51/image_16122025_19_52_05_9630.jpg', '/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_15_10585.jpg', '/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_25_9754.jpg', '/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_36_10614.jpg', '/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_45_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/51/image_16122025_19_52_05_9630.jpg
/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_15_10585.jpg
/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_25_9754.jpg
/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_36_10614.jpg
/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_45_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":["1399693925","1399693927","1399693921","1399693923","1399693926"],"photo_ids_order":["1399693921","1399693923","1399693925","1399693926","1399693927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01ba87493790c3ce14665ff0d2060f18.jpg","text":"TemporaryFile(/tmp/multipartBody8631759957265870372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911243927,"filename":"image_16122025_19_52_25_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bf13ff63781c491a663908bba70ae97.jpg","text":"TemporaryFile(/tmp/multipartBody9077918733873148044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911243927,"filename":"image_16122025_19_52_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/16/e4cf768cbd3ddc0906852b8477911746.jpg","text":"TemporaryFile(/tmp/multipartBody7094437374483419378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911243927,"filename":"image_16122025_19_52_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b257c13824e26a33448b2e48eba99d51.jpg","text":"TemporaryFile(/tmp/multipartBody4774464058904201516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911243927,"filename":"image_16122025_19_52_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/16/dd5349f59ad46fee89bab137870d3413.jpg","text":"TemporaryFile(/tmp/multipartBody1245457937479927909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911243927,"filename":"image_16122025_19_52_36_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693925","file1":"1399693923","file0":"1399693921","file4":"1399693927","file3":"1399693926"},"map_files_photo_id_array":[{"photo_id":"1399693925","filename":"file2"},{"photo_id":"1399693927","filename":"file4"},{"photo_id":"1399693923","filename":"file1"},{"photo_id":"1399693921","filename":"file0"},{"photo_id":"1399693926","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693925":["hashtag1","hashtag2"]},{"1399693927":["hashtag1","hashtag2"]},{"1399693921":["hashtag1","hashtag2"]},{"1399693923":["hashtag1","hashtag2"]},{"1399693926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693925, 1399693927, 1399693921, 1399693923, 1399693926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.256466150283813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:53:42.653107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_22_3557.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_25_2746.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_28_2564.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_31_3656.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_34_2654.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_38_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_22_3557.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_25_2746.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_28_2564.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_31_3656.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_34_2654.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_38_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693940","1399693934","1399693943","1399693942","1399693939","1399693941"],"photo_ids_order":["1399693934","1399693939","1399693940","1399693941","1399693942","1399693943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a522df5758347d8748ac1b710dcd314.jpg","text":"TemporaryFile(/tmp/multipartBody3737550162841623170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911283385,"filename":"image_06112025_17_43_28_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1cd34971460dcfbac11f74ab890c4584.jpg","text":"TemporaryFile(/tmp/multipartBody6403385565702284072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911283385,"filename":"image_06112025_17_43_22_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/867fde0b9b694c0acae520fe642e43e7.jpg","text":"TemporaryFile(/tmp/multipartBody721515369085774059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911283385,"filename":"image_06112025_17_43_38_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b87f47c71099d40c4f68343d6bc1c023.jpg","text":"TemporaryFile(/tmp/multipartBody7958174818469272274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911283385,"filename":"image_06112025_17_43_34_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/013a1ce03b499d1ca56af3b4efd4cc4f.jpg","text":"TemporaryFile(/tmp/multipartBody7443935577896222351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911283385,"filename":"image_06112025_17_43_25_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/516e8dffd2189a9a8e0d652ae6f07165.jpg","text":"TemporaryFile(/tmp/multipartBody7405932816933205940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911283385,"filename":"image_06112025_17_43_31_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693940","file1":"1399693939","file0":"1399693934","file4":"1399693942","file5":"1399693943","file3":"1399693941"},"map_files_photo_id_array":[{"photo_id":"1399693943","filename":"file5"},{"photo_id":"1399693940","filename":"file2"},{"photo_id":"1399693942","filename":"file4"},{"photo_id":"1399693939","filename":"file1"},{"photo_id":"1399693934","filename":"file0"},{"photo_id":"1399693941","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693940":["hashtag1","hashtag2"]},{"1399693934":["hashtag1","hashtag2"]},{"1399693943":["hashtag1","hashtag2"]},{"1399693942":["hashtag1","hashtag2"]},{"1399693939":["hashtag1","hashtag2"]},{"1399693941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693940, 1399693934, 1399693943, 1399693942, 1399693939, 1399693941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48349356651306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:54:21.915234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_55_9609.jpg', '/home/pi/Desktop/images/16122025/19/52/image_16122025_19_53_05_10686.jpg', '/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_15_9578.jpg', '/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_25_9688.jpg', '/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_45_9745.jpg', '/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_55_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/52/image_16122025_19_52_55_9609.jpg
/home/pi/Desktop/images/16122025/19/52/image_16122025_19_53_05_10686.jpg
/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_15_9578.jpg
/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_25_9688.jpg
/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_45_9745.jpg
/home/pi/Desktop/images/16122025/19/53/image_16122025_19_53_55_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693955","1399693951","1399693948","1399693971","1399693953","1399693964"],"photo_ids_order":["1399693948","1399693951","1399693953","1399693955","1399693964","1399693971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34c4d475190a4223989ae44b0b18b72e.jpg","text":"TemporaryFile(/tmp/multipartBody7218385385200292032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911322532,"filename":"image_16122025_19_53_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a68508d9204201f3d46b5485d294ed00.jpg","text":"TemporaryFile(/tmp/multipartBody444940759523888131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911322532,"filename":"image_16122025_19_53_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/61c067657b0c41f6e56716ca4ada7e05.jpg","text":"TemporaryFile(/tmp/multipartBody587148941906509826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911322532,"filename":"image_16122025_19_52_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29d211994df2950ad39bec1a7acb899b.jpg","text":"TemporaryFile(/tmp/multipartBody8043128532709625731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911322532,"filename":"image_16122025_19_53_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50c5688210c4c8775939a9bb1f82a4b2.jpg","text":"TemporaryFile(/tmp/multipartBody6261724276500292056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911322532,"filename":"image_16122025_19_53_15_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6aaf2bccd9b68427d611de49dfc24b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6464607013785262243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911322532,"filename":"image_16122025_19_53_45_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693953","file1":"1399693951","file0":"1399693948","file4":"1399693964","file5":"1399693971","file3":"1399693955"},"map_files_photo_id_array":[{"photo_id":"1399693971","filename":"file5"},{"photo_id":"1399693953","filename":"file2"},{"photo_id":"1399693964","filename":"file4"},{"photo_id":"1399693951","filename":"file1"},{"photo_id":"1399693948","filename":"file0"},{"photo_id":"1399693955","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693955":["hashtag1","hashtag2"]},{"1399693951":["hashtag1","hashtag2"]},{"1399693948":["hashtag1","hashtag2"]},{"1399693971":["hashtag1","hashtag2"]},{"1399693953":["hashtag1","hashtag2"]},{"1399693964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693955, 1399693951, 1399693948, 1399693971, 1399693953, 1399693964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.329920530319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:55:02.790087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/53/image_16122025_19_54_05_9795.jpg', '/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_15_10803.jpg', '/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_25_9671.jpg', '/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_35_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/53/image_16122025_19_54_05_9795.jpg
/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_15_10803.jpg
/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_25_9671.jpg
/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_35_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399693973","1399693974","1399693976","1399693979"],"photo_ids_order":["1399693973","1399693974","1399693976","1399693979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/240b88a88c681c8d8526881eb34fd6ea.jpg","text":"TemporaryFile(/tmp/multipartBody5788740935601200663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911363323,"filename":"image_16122025_19_54_05_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21915b38815f0ecba4382ca51c56a119.jpg","text":"TemporaryFile(/tmp/multipartBody7194350736161788602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911363323,"filename":"image_16122025_19_54_15_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/16/6379b4ec08345195a65043f35456a02b.jpg","text":"TemporaryFile(/tmp/multipartBody6875254930219221730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911363323,"filename":"image_16122025_19_54_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/16/28d8f8a830dc6cc770690e96b6d4d40b.jpg","text":"TemporaryFile(/tmp/multipartBody5620361526672602597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911363323,"filename":"image_16122025_19_54_35_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693976","file1":"1399693974","file0":"1399693973","file3":"1399693979"},"map_files_photo_id_array":[{"photo_id":"1399693976","filename":"file2"},{"photo_id":"1399693974","filename":"file1"},{"photo_id":"1399693973","filename":"file0"},{"photo_id":"1399693979","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399693973":["hashtag1","hashtag2"]},{"1399693974":["hashtag1","hashtag2"]},{"1399693976":["hashtag1","hashtag2"]},{"1399693979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399693973, 1399693974, 1399693976, 1399693979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.909301280975342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:55:32.211081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:55:42.149246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_40_2618.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_43_2649.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_47_3694.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_49_2604.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_52_2830.jpg', '/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_55_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_40_2618.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_43_2649.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_47_3694.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_49_2604.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_52_2830.jpg
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_55_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":["1399693988","1399693993","1399693996","1399693992","1399693994","1399693991"],"photo_ids_order":["1399693988","1399693991","1399693992","1399693993","1399693994","1399693996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9979697b19648503da019aa6cfe067a.jpg","text":"TemporaryFile(/tmp/multipartBody2803747963874758695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911402852,"filename":"image_06112025_17_43_40_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e46e21ac83834762554ac6b3deef4216.jpg","text":"TemporaryFile(/tmp/multipartBody2763500569540981142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911402852,"filename":"image_06112025_17_43_49_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/16/20157160889e84e972220b282f1d5a50.jpg","text":"TemporaryFile(/tmp/multipartBody4368570397886551899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911402852,"filename":"image_06112025_17_43_55_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/122daa8896185a167bef6666d4aa99e7.jpg","text":"TemporaryFile(/tmp/multipartBody2600441954004542170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911402852,"filename":"image_06112025_17_43_47_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/16/794dde35313a8e55df61b90ce342ef7c.jpg","text":"TemporaryFile(/tmp/multipartBody6475085790622522806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911402852,"filename":"image_06112025_17_43_52_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2addf5bd2e04225baea746a51024c32.jpg","text":"TemporaryFile(/tmp/multipartBody2507789779349457442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911402852,"filename":"image_06112025_17_43_43_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399693992","file1":"1399693991","file0":"1399693988","file4":"1399693994","file5":"1399693996","file3":"1399693993"},"map_files_photo_id_array":[{"photo_id":"1399693996","filename":"file5"},{"photo_id":"1399693992","filename":"file2"},{"photo_id":"1399693994","filename":"file4"},{"photo_id":"1399693991","filename":"file1"},{"photo_id":"1399693988","filename":"file0"},{"photo_id":"1399693993","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399693988":["hashtag1","hashtag2"]},{"1399693993":["hashtag1","hashtag2"]},{"1399693996":["hashtag1","hashtag2"]},{"1399693992":["hashtag1","hashtag2"]},{"1399693994":["hashtag1","hashtag2"]},{"1399693991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399693988, 1399693993, 1399693996, 1399693992, 1399693994, 1399693991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29334235191345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 19:56:22.439533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_46_10796.jpg', '/home/pi/Desktop/images/16122025/19/54/image_16122025_19_55_05_9661.jpg', '/home/pi/Desktop/images/16122025/19/55/image_16122025_19_55_25_9638.jpg', '/home/pi/Desktop/images/16122025/19/55/image_16122025_19_55_35_9673.jpg', '/home/pi/Desktop/images/16122025/19/55/image_16122025_19_56_05_9624.jpg', '/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_15_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/54/image_16122025_19_54_46_10796.jpg
/home/pi/Desktop/images/16122025/19/54/image_16122025_19_55_05_9661.jpg
/home/pi/Desktop/images/16122025/19/55/image_16122025_19_55_25_9638.jpg
/home/pi/Desktop/images/16122025/19/55/image_16122025_19_55_35_9673.jpg
/home/pi/Desktop/images/16122025/19/55/image_16122025_19_56_05_9624.jpg
/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_15_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399694024","1399694029","1399694004","1399694007","1399694001","1399694012"],"photo_ids_order":["1399694001","1399694004","1399694007","1399694012","1399694024","1399694029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80d47725f15bb7d954bfa51dfc9c7e49.jpg","text":"TemporaryFile(/tmp/multipartBody5074825260826312111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911443021,"filename":"image_16122025_19_56_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/299034a97656eee0bf667b07bfb4b9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1213084865081850499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911443021,"filename":"image_16122025_19_56_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/16/7f0281477d450f867654cac3a6fbb935.jpg","text":"TemporaryFile(/tmp/multipartBody8212004926553322106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911443021,"filename":"image_16122025_19_55_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/16/a9e85ab11263bb19bb2ed88d8c7582a3.jpg","text":"TemporaryFile(/tmp/multipartBody1347943461696925077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911443021,"filename":"image_16122025_19_55_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/16/265463ec33c267ef6b9cd103b3550815.jpg","text":"TemporaryFile(/tmp/multipartBody4172093576238490138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911443021,"filename":"image_16122025_19_54_46_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/16/2817851841aee3e51b6ae1a3779b216a.jpg","text":"TemporaryFile(/tmp/multipartBody3949186537596515409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911443021,"filename":"image_16122025_19_55_35_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399694007","file1":"1399694004","file0":"1399694001","file4":"1399694024","file5":"1399694029","file3":"1399694012"},"map_files_photo_id_array":[{"photo_id":"1399694029","filename":"file5"},{"photo_id":"1399694007","filename":"file2"},{"photo_id":"1399694024","filename":"file4"},{"photo_id":"1399694004","filename":"file1"},{"photo_id":"1399694001","filename":"file0"},{"photo_id":"1399694012","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399694024":["hashtag1","hashtag2"]},{"1399694029":["hashtag1","hashtag2"]},{"1399694004":["hashtag1","hashtag2"]},{"1399694007":["hashtag1","hashtag2"]},{"1399694001":["hashtag1","hashtag2"]},{"1399694012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399694024, 1399694029, 1399694004, 1399694007, 1399694001, 1399694012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65805006027222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:57:03.348629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_25_9589.jpg', '/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_36_10667.jpg', '/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_45_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_25_9589.jpg
/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_36_10667.jpg
/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_45_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":["1399694036","1399694034","1399694039"],"photo_ids_order":["1399694034","1399694036","1399694039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/260f8abd41eb619c596dc63572fc4074.jpg","text":"TemporaryFile(/tmp/multipartBody1743853540594472984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911483867,"filename":"image_16122025_19_56_36_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/16/60e2c26017c7c76895e6e658f1e11dda.jpg","text":"TemporaryFile(/tmp/multipartBody8536187005577236807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911483867,"filename":"image_16122025_19_56_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c09fc97a5d793faff0eedb1d528be33.jpg","text":"TemporaryFile(/tmp/multipartBody1588177719414237806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911483867,"filename":"image_16122025_19_56_45_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399694039","file1":"1399694036","file0":"1399694034"},"map_files_photo_id_array":[{"photo_id":"1399694039","filename":"file2"},{"photo_id":"1399694036","filename":"file1"},{"photo_id":"1399694034","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399694036":["hashtag1","hashtag2"]},{"1399694034":["hashtag1","hashtag2"]},{"1399694039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399694036, 1399694034, 1399694039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.25824522972107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 19:57:32.686661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 19:57:42.640113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_58_3734.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_01_2671.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_04_2668.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_08_3694.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_10_2672.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_13_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/43/image_06112025_17_43_58_3734.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_01_2671.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_04_2668.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_08_3694.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_10_2672.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_13_2560.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399694095","1399694056","1399694053","1399694049","1399694058","1399694060"],"photo_ids_order":["1399694049","1399694053","1399694056","1399694058","1399694060","1399694095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36424b1602380d53601c5efceaf5802a.jpg","text":"TemporaryFile(/tmp/multipartBody6198147533875663108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911523334,"filename":"image_06112025_17_44_13_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43db3ef9f348cf14701c54b2d13feb79.jpg","text":"TemporaryFile(/tmp/multipartBody1763652764051750714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911523334,"filename":"image_06112025_17_44_04_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/16/d9340997d215b099af4f61e875a69f2d.jpg","text":"TemporaryFile(/tmp/multipartBody3931548383016550097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911523334,"filename":"image_06112025_17_44_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/16/614afbf7312cc596d628fc8a051a784f.jpg","text":"TemporaryFile(/tmp/multipartBody587161479369679577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911523334,"filename":"image_06112025_17_43_58_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ba02895e00246d16b30f1034d73c320b.jpg","text":"TemporaryFile(/tmp/multipartBody6228386413657475100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911523334,"filename":"image_06112025_17_44_08_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/16/1963f9dc1542b29cbc87f226fb6efeed.jpg","text":"TemporaryFile(/tmp/multipartBody7194973080754812193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911523334,"filename":"image_06112025_17_44_10_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399694056","file1":"1399694053","file0":"1399694049","file4":"1399694060","file5":"1399694095","file3":"1399694058"},"map_files_photo_id_array":[{"photo_id":"1399694095","filename":"file5"},{"photo_id":"1399694056","filename":"file2"},{"photo_id":"1399694060","filename":"file4"},{"photo_id":"1399694053","filename":"file1"},{"photo_id":"1399694049","filename":"file0"},{"photo_id":"1399694058","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399694095":["hashtag1","hashtag2"]},{"1399694056":["hashtag1","hashtag2"]},{"1399694053":["hashtag1","hashtag2"]},{"1399694049":["hashtag1","hashtag2"]},{"1399694058":["hashtag1","hashtag2"]},{"1399694060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399694095, 1399694056, 1399694053, 1399694049, 1399694058, 1399694060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.113115549087524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 19:59:02.938373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_55_9977.jpg', '/home/pi/Desktop/images/16122025/19/56/image_16122025_19_57_05_9654.jpg', '/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_15_10589.jpg', '/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_25_9561.jpg', '/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_35_9860.jpg', '/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_55_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/56/image_16122025_19_56_55_9977.jpg
/home/pi/Desktop/images/16122025/19/56/image_16122025_19_57_05_9654.jpg
/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_15_10589.jpg
/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_25_9561.jpg
/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_35_9860.jpg
/home/pi/Desktop/images/16122025/19/57/image_16122025_19_57_55_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399694420","1399694458","1399694512","1399694483","1399694486","1399694378"],"photo_ids_order":["1399694378","1399694420","1399694458","1399694483","1399694486","1399694512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5ac45c75624308c89aa97d8acff0b5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4364267690791874820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911603604,"filename":"image_16122025_19_57_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17544b4f867069ff5ef52f55c84d938f.jpg","text":"TemporaryFile(/tmp/multipartBody6827622116273548405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911603604,"filename":"image_16122025_19_57_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8a9ca426025040ded3e2d36e52ebef1.jpg","text":"TemporaryFile(/tmp/multipartBody404558209330328283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911603604,"filename":"image_16122025_19_57_55_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ffe2081f6c8281756c964f8dc1d35aec.jpg","text":"TemporaryFile(/tmp/multipartBody9011108027894243142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911603604,"filename":"image_16122025_19_57_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a08d509f6baceaa1e4e7b9d66d917dac.jpg","text":"TemporaryFile(/tmp/multipartBody5798572668688506674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911603604,"filename":"image_16122025_19_57_35_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/16/ed1b0cdceede64511ac4b818b4ff4bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4214069641141630866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911603604,"filename":"image_16122025_19_56_55_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399694458","file1":"1399694420","file0":"1399694378","file4":"1399694486","file5":"1399694512","file3":"1399694483"},"map_files_photo_id_array":[{"photo_id":"1399694512","filename":"file5"},{"photo_id":"1399694458","filename":"file2"},{"photo_id":"1399694486","filename":"file4"},{"photo_id":"1399694420","filename":"file1"},{"photo_id":"1399694378","filename":"file0"},{"photo_id":"1399694483","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399694420":["hashtag1","hashtag2"]},{"1399694458":["hashtag1","hashtag2"]},{"1399694512":["hashtag1","hashtag2"]},{"1399694483":["hashtag1","hashtag2"]},{"1399694486":["hashtag1","hashtag2"]},{"1399694378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399694420, 1399694458, 1399694512, 1399694483, 1399694486, 1399694378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39502453804016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:00:02.975041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/57/image_16122025_19_58_05_9632.jpg', '/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_16_10656.jpg', '/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_25_9716.jpg', '/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_35_9704.jpg', '/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_45_9699.jpg', '/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/57/image_16122025_19_58_05_9632.jpg
/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_16_10656.jpg
/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_25_9716.jpg
/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_35_9704.jpg
/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_45_9699.jpg
/home/pi/Desktop/images/16122025/19/58/image_16122025_19_58_55_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399694884","1399695025","1399695183","1399694815","1399695095","1399694954"],"photo_ids_order":["1399694815","1399694884","1399694954","1399695025","1399695095","1399695183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/090a8d46bf0ab1d68d66beff97a32ad4.jpg","text":"TemporaryFile(/tmp/multipartBody5660782838906556431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911663559,"filename":"image_16122025_19_58_16_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/16/6edcd8a81ee476b9b8d779c818edfa59.jpg","text":"TemporaryFile(/tmp/multipartBody7299094341333572768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911663559,"filename":"image_16122025_19_58_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/16/716a6d5e751a394cd4cd13935d59bc2f.jpg","text":"TemporaryFile(/tmp/multipartBody2933303465229749143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911663559,"filename":"image_16122025_19_58_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ed66aec6cfa26a0ab8e1cb82e36ec007.jpg","text":"TemporaryFile(/tmp/multipartBody2414174020258508042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911663559,"filename":"image_16122025_19_58_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4754dc7f3e80b8a6be1626ec2da8213.jpg","text":"TemporaryFile(/tmp/multipartBody2315755066004266205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911663559,"filename":"image_16122025_19_58_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be1f7ee950c6eb106fa7d62915d25332.jpg","text":"TemporaryFile(/tmp/multipartBody4573694658918703061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911663559,"filename":"image_16122025_19_58_25_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399694954","file1":"1399694884","file0":"1399694815","file4":"1399695095","file5":"1399695183","file3":"1399695025"},"map_files_photo_id_array":[{"photo_id":"1399695183","filename":"file5"},{"photo_id":"1399694954","filename":"file2"},{"photo_id":"1399695095","filename":"file4"},{"photo_id":"1399694884","filename":"file1"},{"photo_id":"1399694815","filename":"file0"},{"photo_id":"1399695025","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399694884":["hashtag1","hashtag2"]},{"1399695025":["hashtag1","hashtag2"]},{"1399695183":["hashtag1","hashtag2"]},{"1399694815":["hashtag1","hashtag2"]},{"1399695095":["hashtag1","hashtag2"]},{"1399694954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399694884, 1399695025, 1399695183, 1399694815, 1399695095, 1399694954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22039604187012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:00:42.005984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_16_3685.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_19_2622.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_22_2539.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_25_3809.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_28_2589.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_31_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_16_3685.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_19_2622.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_22_2539.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_25_3809.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_28_2589.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_31_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399695789","1399695651","1399695717","1399695428","1399695509","1399695580"],"photo_ids_order":["1399695428","1399695509","1399695580","1399695651","1399695717","1399695789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8fe74a50de6e1e670b2cce16166f08e1.jpg","text":"TemporaryFile(/tmp/multipartBody8757112176160294840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911702706,"filename":"image_06112025_17_44_31_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/16/bdd00d938d78d6184963fee6f2fa8de1.jpg","text":"TemporaryFile(/tmp/multipartBody6955698468437228342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911702706,"filename":"image_06112025_17_44_25_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/16/0be0d65ef52e5cd44eb67cf774b1c909.jpg","text":"TemporaryFile(/tmp/multipartBody5111841484866419442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911702706,"filename":"image_06112025_17_44_28_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db635f99493ea1dde1e0ef0e6d5c1afd.jpg","text":"TemporaryFile(/tmp/multipartBody6586463004266314430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911702706,"filename":"image_06112025_17_44_16_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/16/c30f1147ed02e5af5087255ad8d44d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5523451849271957512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911702706,"filename":"image_06112025_17_44_19_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/16/8b906ea7b12a48c7f5f172570a75d01a.jpg","text":"TemporaryFile(/tmp/multipartBody1523125877449220049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911702706,"filename":"image_06112025_17_44_22_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399695580","file1":"1399695509","file0":"1399695428","file4":"1399695717","file5":"1399695789","file3":"1399695651"},"map_files_photo_id_array":[{"photo_id":"1399695789","filename":"file5"},{"photo_id":"1399695580","filename":"file2"},{"photo_id":"1399695717","filename":"file4"},{"photo_id":"1399695509","filename":"file1"},{"photo_id":"1399695428","filename":"file0"},{"photo_id":"1399695651","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399695789":["hashtag1","hashtag2"]},{"1399695651":["hashtag1","hashtag2"]},{"1399695717":["hashtag1","hashtag2"]},{"1399695428":["hashtag1","hashtag2"]},{"1399695509":["hashtag1","hashtag2"]},{"1399695580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399695789, 1399695651, 1399695717, 1399695428, 1399695509, 1399695580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46608328819275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:01:22.279414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/19/58/image_16122025_19_59_05_9652.jpg', '/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_15_9705.jpg', '/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_35_9833.jpg', '/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_45_9635.jpg', '/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_55_10802.jpg', '/home/pi/Desktop/images/16122025/19/59/image_16122025_20_00_05_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/19/58/image_16122025_19_59_05_9652.jpg
/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_15_9705.jpg
/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_35_9833.jpg
/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_45_9635.jpg
/home/pi/Desktop/images/16122025/19/59/image_16122025_19_59_55_10802.jpg
/home/pi/Desktop/images/16122025/19/59/image_16122025_20_00_05_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":["1399696089","1399696013","1399695938","1399696051","1399695976","1399696126"],"photo_ids_order":["1399695938","1399695976","1399696013","1399696051","1399696089","1399696126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f36d38bcd30a8ef155a280387f646d6.jpg","text":"TemporaryFile(/tmp/multipartBody6219231682597085304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911742882,"filename":"image_16122025_19_59_55_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/16/dc095c7f68be77bc9e6c798e4d25ec57.jpg","text":"TemporaryFile(/tmp/multipartBody4922142915485450296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911742882,"filename":"image_16122025_19_59_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/16/776b0d1cd3b8c99ea55a02d555aa949c.jpg","text":"TemporaryFile(/tmp/multipartBody6339909376100808111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911742882,"filename":"image_16122025_19_59_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/16/e1950646ac72b25b10f32434150f6ee2.jpg","text":"TemporaryFile(/tmp/multipartBody294390074608643270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911742882,"filename":"image_16122025_19_59_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/235742a2f7da3caff137f21d7ad713ed.jpg","text":"TemporaryFile(/tmp/multipartBody1477451678402675394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911742882,"filename":"image_16122025_19_59_15_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/16/e10d611fe69c5caa2e3a338b8baa4f16.jpg","text":"TemporaryFile(/tmp/multipartBody5454825679945242797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911742882,"filename":"image_16122025_20_00_05_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696013","file1":"1399695976","file0":"1399695938","file4":"1399696089","file5":"1399696126","file3":"1399696051"},"map_files_photo_id_array":[{"photo_id":"1399696126","filename":"file5"},{"photo_id":"1399696013","filename":"file2"},{"photo_id":"1399696089","filename":"file4"},{"photo_id":"1399695976","filename":"file1"},{"photo_id":"1399695938","filename":"file0"},{"photo_id":"1399696051","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696089":["hashtag1","hashtag2"]},{"1399696013":["hashtag1","hashtag2"]},{"1399695938":["hashtag1","hashtag2"]},{"1399696051":["hashtag1","hashtag2"]},{"1399695976":["hashtag1","hashtag2"]},{"1399696126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696089, 1399696013, 1399695938, 1399696051, 1399695976, 1399696126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85747957229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:02:02.905611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_15_9641.jpg', '/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_25_10589.jpg', '/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_35_9749.jpg', '/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_45_9551.jpg', '/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_55_9817.jpg', '/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_05_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_15_9641.jpg
/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_25_10589.jpg
/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_35_9749.jpg
/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_45_9551.jpg
/home/pi/Desktop/images/16122025/20/00/image_16122025_20_00_55_9817.jpg
/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_05_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696194","1399696164","1399696196","1399696200","1399696190","1399696192"],"photo_ids_order":["1399696164","1399696190","1399696192","1399696194","1399696196","1399696200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/280d292e0ccf80f7d0dff184c05cefea.jpg","text":"TemporaryFile(/tmp/multipartBody110473212541474029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911783522,"filename":"image_16122025_20_00_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/16/2cdee318e74292e94bb6434d5d5baa33.jpg","text":"TemporaryFile(/tmp/multipartBody6429926109467430607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911783522,"filename":"image_16122025_20_00_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/714b1e1a2117af7cbe3922b7ec28865e.jpg","text":"TemporaryFile(/tmp/multipartBody3768291401304907496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911783522,"filename":"image_16122025_20_00_55_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1ada1ccc7038f0fcac49854e8afc948.jpg","text":"TemporaryFile(/tmp/multipartBody3599889508013029824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911783522,"filename":"image_16122025_20_01_05_10336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f41a38a3b2e4eb66663c71820cd7f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6233211148098192165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911783522,"filename":"image_16122025_20_00_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/16/2d26612f7765e973fd169983bcdc91ea.jpg","text":"TemporaryFile(/tmp/multipartBody619540015305105675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911783522,"filename":"image_16122025_20_00_35_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696192","file1":"1399696190","file0":"1399696164","file4":"1399696196","file5":"1399696200","file3":"1399696194"},"map_files_photo_id_array":[{"photo_id":"1399696200","filename":"file5"},{"photo_id":"1399696192","filename":"file2"},{"photo_id":"1399696196","filename":"file4"},{"photo_id":"1399696190","filename":"file1"},{"photo_id":"1399696164","filename":"file0"},{"photo_id":"1399696194","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696194":["hashtag1","hashtag2"]},{"1399696164":["hashtag1","hashtag2"]},{"1399696196":["hashtag1","hashtag2"]},{"1399696200":["hashtag1","hashtag2"]},{"1399696190":["hashtag1","hashtag2"]},{"1399696192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696194, 1399696164, 1399696196, 1399696200, 1399696190, 1399696192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.613627195358276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:02:42.486085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_34_3626.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_37_2558.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_40_2666.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_43_3581.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_46_2341.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_49_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_34_3626.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_37_2558.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_40_2666.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_43_3581.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_46_2341.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_49_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":["1399696213","1399696207","1399696221","1399696289","1399696214","1399696255"],"photo_ids_order":["1399696207","1399696213","1399696214","1399696221","1399696255","1399696289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ebd9364e1375b8bcd7729aa4f440c61d.jpg","text":"TemporaryFile(/tmp/multipartBody8203335157122657759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911823185,"filename":"image_06112025_17_44_37_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e691e96bd4eabc65f3c4018c5d252d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4727115332168737766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911823185,"filename":"image_06112025_17_44_34_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75fb5d43e8955a76dbc2985e1576769e.jpg","text":"TemporaryFile(/tmp/multipartBody8606025327346196664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911823185,"filename":"image_06112025_17_44_43_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/16/29638d1bf337533dd5205fdf73154e51.jpg","text":"TemporaryFile(/tmp/multipartBody2764827793876640701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911823185,"filename":"image_06112025_17_44_49_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d60dd6e9f73ea949b116cf2360f60f50.jpg","text":"TemporaryFile(/tmp/multipartBody2076203250042000796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911823185,"filename":"image_06112025_17_44_40_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/16/9a22cf0466331bc2875204f882328b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5938611330420198246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911823185,"filename":"image_06112025_17_44_46_2341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696214","file1":"1399696213","file0":"1399696207","file4":"1399696255","file5":"1399696289","file3":"1399696221"},"map_files_photo_id_array":[{"photo_id":"1399696289","filename":"file5"},{"photo_id":"1399696214","filename":"file2"},{"photo_id":"1399696255","filename":"file4"},{"photo_id":"1399696213","filename":"file1"},{"photo_id":"1399696207","filename":"file0"},{"photo_id":"1399696221","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399696213":["hashtag1","hashtag2"]},{"1399696207":["hashtag1","hashtag2"]},{"1399696221":["hashtag1","hashtag2"]},{"1399696289":["hashtag1","hashtag2"]},{"1399696214":["hashtag1","hashtag2"]},{"1399696255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399696213, 1399696207, 1399696221, 1399696289, 1399696214, 1399696255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14041185379028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:03:22.759926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_15_9750.jpg', '/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_25_10588.jpg', '/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_35_9626.jpg', '/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_45_9784.jpg', '/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_55_10713.jpg', '/home/pi/Desktop/images/16122025/20/01/image_16122025_20_02_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_15_9750.jpg
/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_25_10588.jpg
/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_35_9626.jpg
/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_45_9784.jpg
/home/pi/Desktop/images/16122025/20/01/image_16122025_20_01_55_10713.jpg
/home/pi/Desktop/images/16122025/20/01/image_16122025_20_02_05_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":["1399696578","1399696506","1399696541","1399696463","1399696616","1399696423"],"photo_ids_order":["1399696423","1399696463","1399696506","1399696541","1399696578","1399696616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41e025b96ffc3a6bdfc20c7137aea2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2942017286084244272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911863367,"filename":"image_16122025_20_01_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/567377bcc500de5a57ae4c2fed024ab9.jpg","text":"TemporaryFile(/tmp/multipartBody181553618083714112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911863367,"filename":"image_16122025_20_01_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/16/0197f11cd292b13fc1cd2acf76189fee.jpg","text":"TemporaryFile(/tmp/multipartBody3795848643801032092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911863367,"filename":"image_16122025_20_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/16/ccbd940764f32a4c98aa266832c12263.jpg","text":"TemporaryFile(/tmp/multipartBody835255471842982471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911863367,"filename":"image_16122025_20_01_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3581a2f6979c5fe522319be7c2cea3c0.jpg","text":"TemporaryFile(/tmp/multipartBody5984702357164836753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911863367,"filename":"image_16122025_20_02_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39643b7a5b4a7a27c1e052fa09756754.jpg","text":"TemporaryFile(/tmp/multipartBody5318750494137494866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911863367,"filename":"image_16122025_20_01_15_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696506","file1":"1399696463","file0":"1399696423","file4":"1399696578","file5":"1399696616","file3":"1399696541"},"map_files_photo_id_array":[{"photo_id":"1399696616","filename":"file5"},{"photo_id":"1399696506","filename":"file2"},{"photo_id":"1399696578","filename":"file4"},{"photo_id":"1399696463","filename":"file1"},{"photo_id":"1399696423","filename":"file0"},{"photo_id":"1399696541","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696578":["hashtag1","hashtag2"]},{"1399696506":["hashtag1","hashtag2"]},{"1399696541":["hashtag1","hashtag2"]},{"1399696463":["hashtag1","hashtag2"]},{"1399696616":["hashtag1","hashtag2"]},{"1399696423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696578, 1399696506, 1399696541, 1399696463, 1399696616, 1399696423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46027731895447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:04:02.664055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_15_9691.jpg', '/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_26_10730.jpg', '/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_35_9746.jpg', '/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_45_9685.jpg', '/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_55_9874.jpg', '/home/pi/Desktop/images/16122025/20/02/image_16122025_20_03_05_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_15_9691.jpg
/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_26_10730.jpg
/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_35_9746.jpg
/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_45_9685.jpg
/home/pi/Desktop/images/16122025/20/02/image_16122025_20_02_55_9874.jpg
/home/pi/Desktop/images/16122025/20/02/image_16122025_20_03_05_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":["1399696697","1399696763","1399696721","1399696715","1399696750","1399696675"],"photo_ids_order":["1399696675","1399696697","1399696715","1399696721","1399696750","1399696763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a93730514c95850b81d99bc05c5812f0.jpg","text":"TemporaryFile(/tmp/multipartBody4158318159523067976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911903292,"filename":"image_16122025_20_02_26_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/16/953b029e392af6ae93891561089cd8bc.jpg","text":"TemporaryFile(/tmp/multipartBody7175257551358578918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911903292,"filename":"image_16122025_20_03_05_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d25f261a6614026a591e35dcc5661332.jpg","text":"TemporaryFile(/tmp/multipartBody6876574626429027909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911903292,"filename":"image_16122025_20_02_45_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/16/170e9dc0e0e6ea6a2a2e1aa596695bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4265839065925073015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911903292,"filename":"image_16122025_20_02_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/16/fc04ebf4960310b02c4c660d76059e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2007029358592625909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911903292,"filename":"image_16122025_20_02_55_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/16/4ac73d70e6ce17efd6706394135f9634.jpg","text":"TemporaryFile(/tmp/multipartBody2225956852846581347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911903292,"filename":"image_16122025_20_02_15_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696715","file1":"1399696697","file0":"1399696675","file4":"1399696750","file5":"1399696763","file3":"1399696721"},"map_files_photo_id_array":[{"photo_id":"1399696763","filename":"file5"},{"photo_id":"1399696715","filename":"file2"},{"photo_id":"1399696750","filename":"file4"},{"photo_id":"1399696697","filename":"file1"},{"photo_id":"1399696675","filename":"file0"},{"photo_id":"1399696721","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696697":["hashtag1","hashtag2"]},{"1399696763":["hashtag1","hashtag2"]},{"1399696721":["hashtag1","hashtag2"]},{"1399696715":["hashtag1","hashtag2"]},{"1399696750":["hashtag1","hashtag2"]},{"1399696675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696697, 1399696763, 1399696721, 1399696715, 1399696750, 1399696675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17927122116089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:04:42.055276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_52_3120.jpg', '/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_55_2695.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_07_3011.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_11_3605.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_13_2624.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_17_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_52_3120.jpg
/home/pi/Desktop/images/06112025/17/44/image_06112025_17_44_55_2695.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_07_3011.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_11_3605.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_13_2624.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_17_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696782","1399696779","1399696778","1399696781","1399696775","1399696780"],"photo_ids_order":["1399696775","1399696778","1399696779","1399696780","1399696781","1399696782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/714e265a2437dc278ee71b1a16219219.jpg","text":"TemporaryFile(/tmp/multipartBody942799483241105041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911942775,"filename":"image_06112025_17_45_17_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/16/98d6b6369f54a418be6a9ab62713ba6a.jpg","text":"TemporaryFile(/tmp/multipartBody3120470938112382468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911942775,"filename":"image_06112025_17_45_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3261035b59c8c1daf238c13d5ac40feb.jpg","text":"TemporaryFile(/tmp/multipartBody2644590104477575487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911942775,"filename":"image_06112025_17_44_55_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/16/cadbcd254552fa8ce6a65c20c4fcff1d.jpg","text":"TemporaryFile(/tmp/multipartBody3803677846480531094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911942775,"filename":"image_06112025_17_45_13_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/16/a07943d48954edd58cc0afc3129be71b.jpg","text":"TemporaryFile(/tmp/multipartBody2540556510790994367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911942775,"filename":"image_06112025_17_44_52_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/16/b5cdd6da24c6c58205256ee658e0b867.jpg","text":"TemporaryFile(/tmp/multipartBody1478580083213360680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911942775,"filename":"image_06112025_17_45_11_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696779","file1":"1399696778","file0":"1399696775","file4":"1399696781","file5":"1399696782","file3":"1399696780"},"map_files_photo_id_array":[{"photo_id":"1399696782","filename":"file5"},{"photo_id":"1399696779","filename":"file2"},{"photo_id":"1399696781","filename":"file4"},{"photo_id":"1399696778","filename":"file1"},{"photo_id":"1399696775","filename":"file0"},{"photo_id":"1399696780","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399696782":["hashtag1","hashtag2"]},{"1399696779":["hashtag1","hashtag2"]},{"1399696778":["hashtag1","hashtag2"]},{"1399696781":["hashtag1","hashtag2"]},{"1399696775":["hashtag1","hashtag2"]},{"1399696780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399696782, 1399696779, 1399696778, 1399696781, 1399696775, 1399696780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94925785064697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:05:22.477100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_15_10620.jpg', '/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_25_9742.jpg', '/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_36_10582.jpg', '/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_45_9645.jpg', '/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_55_9800.jpg', '/home/pi/Desktop/images/16122025/20/03/image_16122025_20_04_05_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_15_10620.jpg
/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_25_9742.jpg
/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_36_10582.jpg
/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_45_9645.jpg
/home/pi/Desktop/images/16122025/20/03/image_16122025_20_03_55_9800.jpg
/home/pi/Desktop/images/16122025/20/03/image_16122025_20_04_05_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696822","1399696816","1399696830","1399696799","1399696820","1399696826"],"photo_ids_order":["1399696799","1399696816","1399696820","1399696822","1399696826","1399696830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22089c135f9f5c776b448ee3908653b0.jpg","text":"TemporaryFile(/tmp/multipartBody6727875037308690438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911983078,"filename":"image_16122025_20_03_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be3bbfb4f1f780d37a77244173831ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6883749587874360650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911983078,"filename":"image_16122025_20_03_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/16/1c4b0b6b4e6f1412d760d742987d2bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4490603113519289128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911983078,"filename":"image_16122025_20_04_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/16/a24694e16ce689a270e8e0108d7c7b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6150071356118624738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911983078,"filename":"image_16122025_20_03_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/16/e813a9f7be0a36716b662cb3626d0719.jpg","text":"TemporaryFile(/tmp/multipartBody2239198381205301462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911983078,"filename":"image_16122025_20_03_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/16/ca87ce3f9840343d0d004f72bd2ed3e7.jpg","text":"TemporaryFile(/tmp/multipartBody7103811034021042261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765911983078,"filename":"image_16122025_20_03_55_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696820","file1":"1399696816","file0":"1399696799","file4":"1399696826","file5":"1399696830","file3":"1399696822"},"map_files_photo_id_array":[{"photo_id":"1399696830","filename":"file5"},{"photo_id":"1399696820","filename":"file2"},{"photo_id":"1399696826","filename":"file4"},{"photo_id":"1399696816","filename":"file1"},{"photo_id":"1399696799","filename":"file0"},{"photo_id":"1399696822","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696822":["hashtag1","hashtag2"]},{"1399696816":["hashtag1","hashtag2"]},{"1399696830":["hashtag1","hashtag2"]},{"1399696799":["hashtag1","hashtag2"]},{"1399696820":["hashtag1","hashtag2"]},{"1399696826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696822, 1399696816, 1399696830, 1399696799, 1399696820, 1399696826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.392943143844604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:06:03.096457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_15_10784.jpg', '/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_25_9734.jpg', '/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_35_9654.jpg', '/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_55_9589.jpg', '/home/pi/Desktop/images/16122025/20/04/image_16122025_20_05_05_9660.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_15_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_15_10784.jpg
/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_25_9734.jpg
/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_35_9654.jpg
/home/pi/Desktop/images/16122025/20/04/image_16122025_20_04_55_9589.jpg
/home/pi/Desktop/images/16122025/20/04/image_16122025_20_05_05_9660.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_15_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696842","1399696836","1399696832","1399696838","1399696840","1399696834"],"photo_ids_order":["1399696832","1399696834","1399696836","1399696838","1399696840","1399696842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f691c5624c65532989489726f36ae0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2158733036460789693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912023731,"filename":"image_16122025_20_05_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ce5508020f4d0f5ba4f2adc5d79bd4b9.jpg","text":"TemporaryFile(/tmp/multipartBody2421883767929709114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912023731,"filename":"image_16122025_20_04_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3d1fa7e81d047d52c4c6f60630fabc4.jpg","text":"TemporaryFile(/tmp/multipartBody3356643592402028803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912023731,"filename":"image_16122025_20_04_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/16/4beedcc317888facf1126a0caeae7f89.jpg","text":"TemporaryFile(/tmp/multipartBody5617988956334349966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912023731,"filename":"image_16122025_20_04_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/16/35ec9ee5a4e2d628e6419fa8adb2d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody4504394542465956846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912023731,"filename":"image_16122025_20_05_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df8853b06ce0b06099c2ddc33bb8bd59.jpg","text":"TemporaryFile(/tmp/multipartBody5510844103881052147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912023731,"filename":"image_16122025_20_04_25_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696836","file1":"1399696834","file0":"1399696832","file4":"1399696840","file5":"1399696842","file3":"1399696838"},"map_files_photo_id_array":[{"photo_id":"1399696842","filename":"file5"},{"photo_id":"1399696836","filename":"file2"},{"photo_id":"1399696840","filename":"file4"},{"photo_id":"1399696834","filename":"file1"},{"photo_id":"1399696832","filename":"file0"},{"photo_id":"1399696838","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696842":["hashtag1","hashtag2"]},{"1399696836":["hashtag1","hashtag2"]},{"1399696832":["hashtag1","hashtag2"]},{"1399696838":["hashtag1","hashtag2"]},{"1399696840":["hashtag1","hashtag2"]},{"1399696834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696842, 1399696836, 1399696832, 1399696838, 1399696840, 1399696834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25560903549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:06:42.607923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_20_2655.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_23_3043.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_25_2719.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_29_3542.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_32_2693.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_34_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_20_2655.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_23_3043.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_25_2719.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_29_3542.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_32_2693.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_34_2542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696854","1399696851","1399696850","1399696853","1399696847","1399696855"],"photo_ids_order":["1399696847","1399696850","1399696851","1399696853","1399696854","1399696855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aef8ab5953f3e72226dc2696587e9fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1949930253282641250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912063294,"filename":"image_06112025_17_45_32_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/16/658219b7f28c130b45cd552b4c3d069f.jpg","text":"TemporaryFile(/tmp/multipartBody855779667606327907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912063294,"filename":"image_06112025_17_45_25_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/16/aa29bd8605a0a2530a03ecdbe7d2bef1.jpg","text":"TemporaryFile(/tmp/multipartBody7988532043311525185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912063294,"filename":"image_06112025_17_45_23_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c09ad38a10eb2da63951ff913300a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody5610969300777650133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912063294,"filename":"image_06112025_17_45_29_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/16/8ec96d22f2b53d09c766bfac17c39419.jpg","text":"TemporaryFile(/tmp/multipartBody5207099294390743603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912063294,"filename":"image_06112025_17_45_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/16/ec39a6b0fdc1ac4b3e821178dfc99318.jpg","text":"TemporaryFile(/tmp/multipartBody1354007068914454536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912063294,"filename":"image_06112025_17_45_34_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696851","file1":"1399696850","file0":"1399696847","file4":"1399696854","file5":"1399696855","file3":"1399696853"},"map_files_photo_id_array":[{"photo_id":"1399696855","filename":"file5"},{"photo_id":"1399696851","filename":"file2"},{"photo_id":"1399696854","filename":"file4"},{"photo_id":"1399696850","filename":"file1"},{"photo_id":"1399696847","filename":"file0"},{"photo_id":"1399696853","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399696854":["hashtag1","hashtag2"]},{"1399696851":["hashtag1","hashtag2"]},{"1399696850":["hashtag1","hashtag2"]},{"1399696853":["hashtag1","hashtag2"]},{"1399696847":["hashtag1","hashtag2"]},{"1399696855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399696854, 1399696851, 1399696850, 1399696853, 1399696847, 1399696855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92961931228638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:07:21.881439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_25_9638.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_35_9642.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_45_10749.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_55_9706.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_06_05_9631.jpg', '/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_15_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_25_9638.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_35_9642.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_45_10749.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_55_9706.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_06_05_9631.jpg
/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_15_10736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4977240562438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:07:31.886533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:07:41.901203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_38_3538.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_40_2693.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_43_2553.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_47_3562.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_49_2784.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_53_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_38_3538.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_40_2693.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_43_2553.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_47_3562.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_49_2784.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_53_3538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696900","1399696899","1399696887","1399696881","1399696886","1399696873"],"photo_ids_order":["1399696873","1399696881","1399696886","1399696887","1399696899","1399696900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/568b9bd50cb0797d0714a84c3aa43037.jpg","text":"TemporaryFile(/tmp/multipartBody3096848559840564433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912122646,"filename":"image_06112025_17_45_53_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/16/49e248869e2609215792dced5190c4a5.jpg","text":"TemporaryFile(/tmp/multipartBody6525208017433040295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912122646,"filename":"image_06112025_17_45_49_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/16/83fdced76c074a6732c22a2a435b7100.jpg","text":"TemporaryFile(/tmp/multipartBody1924449862763978639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912122646,"filename":"image_06112025_17_45_47_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/16/3247d5defc05ca608b189db8df878ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7600111126104207913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912122646,"filename":"image_06112025_17_45_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/16/613f80c5ca00143da785a96be21912a3.jpg","text":"TemporaryFile(/tmp/multipartBody6059081241098022451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912122646,"filename":"image_06112025_17_45_43_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/16/b1758306a95f555c7235d183e89b1a72.jpg","text":"TemporaryFile(/tmp/multipartBody8244144723138494135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912122646,"filename":"image_06112025_17_45_38_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696886","file1":"1399696881","file0":"1399696873","file4":"1399696899","file5":"1399696900","file3":"1399696887"},"map_files_photo_id_array":[{"photo_id":"1399696900","filename":"file5"},{"photo_id":"1399696886","filename":"file2"},{"photo_id":"1399696899","filename":"file4"},{"photo_id":"1399696881","filename":"file1"},{"photo_id":"1399696873","filename":"file0"},{"photo_id":"1399696887","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399696900":["hashtag1","hashtag2"]},{"1399696899":["hashtag1","hashtag2"]},{"1399696887":["hashtag1","hashtag2"]},{"1399696881":["hashtag1","hashtag2"]},{"1399696886":["hashtag1","hashtag2"]},{"1399696873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399696900, 1399696899, 1399696887, 1399696881, 1399696886, 1399696873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64491677284241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:08:22.192924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_25_9638.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_35_9642.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_45_10749.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_55_9706.jpg', '/home/pi/Desktop/images/16122025/20/05/image_16122025_20_06_05_9631.jpg', '/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_15_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_25_9638.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_35_9642.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_45_10749.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_05_55_9706.jpg
/home/pi/Desktop/images/16122025/20/05/image_16122025_20_06_05_9631.jpg
/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_15_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696926","1399696905","1399696908","1399696916","1399696918","1399696906"],"photo_ids_order":["1399696905","1399696906","1399696908","1399696916","1399696918","1399696926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60b0cbc5b980e0336b06dafaef42db30.jpg","text":"TemporaryFile(/tmp/multipartBody1083311377360253556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912162795,"filename":"image_16122025_20_06_15_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/16/5aceed7033d9de2f52214bb228d580de.jpg","text":"TemporaryFile(/tmp/multipartBody8440628396661127750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912162795,"filename":"image_16122025_20_05_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/16/12831e50c0e58a1d81f874e62a0d9e52.jpg","text":"TemporaryFile(/tmp/multipartBody82419876667495368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912162795,"filename":"image_16122025_20_05_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9363a6ae3ec097640790cd3e7179d0d1.jpg","text":"TemporaryFile(/tmp/multipartBody512334328801159717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912162795,"filename":"image_16122025_20_05_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c2baf2a7a3da963f6ee7346ddd83d884.jpg","text":"TemporaryFile(/tmp/multipartBody1168126835159137539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912162795,"filename":"image_16122025_20_06_05_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/16/bb719872a37469daf51b8aa07333783c.jpg","text":"TemporaryFile(/tmp/multipartBody3879841921731390537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912162795,"filename":"image_16122025_20_05_35_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696908","file1":"1399696906","file0":"1399696905","file4":"1399696918","file5":"1399696926","file3":"1399696916"},"map_files_photo_id_array":[{"photo_id":"1399696926","filename":"file5"},{"photo_id":"1399696908","filename":"file2"},{"photo_id":"1399696918","filename":"file4"},{"photo_id":"1399696906","filename":"file1"},{"photo_id":"1399696905","filename":"file0"},{"photo_id":"1399696916","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696926":["hashtag1","hashtag2"]},{"1399696905":["hashtag1","hashtag2"]},{"1399696908":["hashtag1","hashtag2"]},{"1399696916":["hashtag1","hashtag2"]},{"1399696918":["hashtag1","hashtag2"]},{"1399696906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696926, 1399696905, 1399696908, 1399696916, 1399696918, 1399696906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26500177383423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:09:03.204402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_25_9605.jpg', '/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_35_9609.jpg', '/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_45_10615.jpg', '/home/pi/Desktop/images/16122025/20/06/image_16122025_20_07_05_9630.jpg', '/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_15_10747.jpg', '/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_35_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_25_9605.jpg
/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_35_9609.jpg
/home/pi/Desktop/images/16122025/20/06/image_16122025_20_06_45_10615.jpg
/home/pi/Desktop/images/16122025/20/06/image_16122025_20_07_05_9630.jpg
/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_15_10747.jpg
/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_35_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399696944","1399696946","1399696940","1399696942","1399696936","1399696948"],"photo_ids_order":["1399696936","1399696940","1399696942","1399696944","1399696946","1399696948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d32dce18b8139d29d679c90492340e0.jpg","text":"TemporaryFile(/tmp/multipartBody6147001710448087493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912203918,"filename":"image_16122025_20_07_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1278d82216af9649e3e09d5360c72728.jpg","text":"TemporaryFile(/tmp/multipartBody4536144861475118308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912203918,"filename":"image_16122025_20_07_15_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/327bf8bc1982f5fa47c948ea4a4a83ab.jpg","text":"TemporaryFile(/tmp/multipartBody5922929143100072142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912203918,"filename":"image_16122025_20_06_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8454a62939870d16822176910daa3d2f.jpg","text":"TemporaryFile(/tmp/multipartBody8159749462487560473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912203918,"filename":"image_16122025_20_06_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/16/009c80140bb4433499cc77d5c5da6cd7.jpg","text":"TemporaryFile(/tmp/multipartBody4399546798042840745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912203918,"filename":"image_16122025_20_06_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/16/57415764cdd05e4f4c51c62a64227c47.jpg","text":"TemporaryFile(/tmp/multipartBody7715888075066848272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912203918,"filename":"image_16122025_20_07_35_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696942","file1":"1399696940","file0":"1399696936","file4":"1399696946","file5":"1399696948","file3":"1399696944"},"map_files_photo_id_array":[{"photo_id":"1399696948","filename":"file5"},{"photo_id":"1399696942","filename":"file2"},{"photo_id":"1399696946","filename":"file4"},{"photo_id":"1399696940","filename":"file1"},{"photo_id":"1399696936","filename":"file0"},{"photo_id":"1399696944","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696944":["hashtag1","hashtag2"]},{"1399696946":["hashtag1","hashtag2"]},{"1399696940":["hashtag1","hashtag2"]},{"1399696942":["hashtag1","hashtag2"]},{"1399696936":["hashtag1","hashtag2"]},{"1399696948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696944, 1399696946, 1399696940, 1399696942, 1399696936, 1399696948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.041090965270996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:10:02.335169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_45_10637.jpg', '/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_55_9720.jpg', '/home/pi/Desktop/images/16122025/20/07/image_16122025_20_08_05_9639.jpg', '/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_16_10824.jpg', '/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_35_9758.jpg', '/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_45_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_45_10637.jpg
/home/pi/Desktop/images/16122025/20/07/image_16122025_20_07_55_9720.jpg
/home/pi/Desktop/images/16122025/20/07/image_16122025_20_08_05_9639.jpg
/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_16_10824.jpg
/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_35_9758.jpg
/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_45_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399696973","1399696961","1399696955","1399696975","1399696978","1399696957"],"photo_ids_order":["1399696955","1399696957","1399696961","1399696973","1399696975","1399696978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4ca353e0adefbdc76e4163b7205e67e7.jpg","text":"TemporaryFile(/tmp/multipartBody6081493446588823570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912262930,"filename":"image_16122025_20_08_16_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/16/bb6a501ff18daa886ea04ed101b646d7.jpg","text":"TemporaryFile(/tmp/multipartBody4253636518641250762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912262930,"filename":"image_16122025_20_08_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e9652e7b97ee33b40fdcba447db0c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8903491958564619267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912262930,"filename":"image_16122025_20_07_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/16/c900a63902aa07ba9aea491a9d960870.jpg","text":"TemporaryFile(/tmp/multipartBody1618005981827713337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912262930,"filename":"image_16122025_20_08_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/16/7df4b9722a27476cd917ee55552c9d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6881517294456288348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912262930,"filename":"image_16122025_20_08_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/16/4e7e6e73b8729c07a727e944ecac66d5.jpg","text":"TemporaryFile(/tmp/multipartBody585252169509284049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912262930,"filename":"image_16122025_20_07_55_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399696961","file1":"1399696957","file0":"1399696955","file4":"1399696975","file5":"1399696978","file3":"1399696973"},"map_files_photo_id_array":[{"photo_id":"1399696978","filename":"file5"},{"photo_id":"1399696961","filename":"file2"},{"photo_id":"1399696975","filename":"file4"},{"photo_id":"1399696957","filename":"file1"},{"photo_id":"1399696955","filename":"file0"},{"photo_id":"1399696973","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399696973":["hashtag1","hashtag2"]},{"1399696961":["hashtag1","hashtag2"]},{"1399696955":["hashtag1","hashtag2"]},{"1399696975":["hashtag1","hashtag2"]},{"1399696978":["hashtag1","hashtag2"]},{"1399696957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399696973, 1399696961, 1399696955, 1399696975, 1399696978, 1399696957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08594489097595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:10:41.915557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_55_2587.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_58_2638.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_02_3688.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_04_2748.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_07_2573.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_11_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_55_2587.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_58_2638.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_02_3688.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_04_2748.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_07_2573.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_11_3699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5858755111694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:11:02.722266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_56_10627.jpg', '/home/pi/Desktop/images/16122025/20/09/image_16122025_20_09_15_9680.jpg', '/home/pi/Desktop/images/16122025/20/09/image_16122025_20_09_26_10661.jpg', '/home/pi/Desktop/images/16122025/20/09/image_16122025_20_09_55_9747.jpg', '/home/pi/Desktop/images/16122025/20/09/image_16122025_20_10_05_10688.jpg', '/home/pi/Desktop/images/16122025/20/10/image_16122025_20_10_15_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/08/image_16122025_20_08_56_10627.jpg
/home/pi/Desktop/images/16122025/20/09/image_16122025_20_09_15_9680.jpg
/home/pi/Desktop/images/16122025/20/09/image_16122025_20_09_26_10661.jpg
/home/pi/Desktop/images/16122025/20/09/image_16122025_20_09_55_9747.jpg
/home/pi/Desktop/images/16122025/20/09/image_16122025_20_10_05_10688.jpg
/home/pi/Desktop/images/16122025/20/10/image_16122025_20_10_15_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":["1399697100","1399697118","1399697111","1399697114","1399697102","1399697089"],"photo_ids_order":["1399697089","1399697100","1399697102","1399697111","1399697114","1399697118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c665a7d7158593c7ebcc3ac70e4b8150.jpg","text":"TemporaryFile(/tmp/multipartBody3427816154446093069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912323325,"filename":"image_16122025_20_09_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/16/6cec8d335ca3bfca93536ee4640a2748.jpg","text":"TemporaryFile(/tmp/multipartBody5490696044432487025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912323325,"filename":"image_16122025_20_10_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d9c4df2355611d608132d96b2688c96.jpg","text":"TemporaryFile(/tmp/multipartBody234224627289325701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912323325,"filename":"image_16122025_20_09_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b645c284b146fe570e81af2711bb1466.jpg","text":"TemporaryFile(/tmp/multipartBody5066180141159340697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912323325,"filename":"image_16122025_20_10_05_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79647e4bc1ed878f66007ed8c608dcfc.jpg","text":"TemporaryFile(/tmp/multipartBody1431849153498202306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912323325,"filename":"image_16122025_20_09_26_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/45904e0ebd1980334c25d634ef9412a2.jpg","text":"TemporaryFile(/tmp/multipartBody4777502021691584094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912323325,"filename":"image_16122025_20_08_56_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697102","file1":"1399697100","file0":"1399697089","file4":"1399697114","file5":"1399697118","file3":"1399697111"},"map_files_photo_id_array":[{"photo_id":"1399697118","filename":"file5"},{"photo_id":"1399697102","filename":"file2"},{"photo_id":"1399697114","filename":"file4"},{"photo_id":"1399697100","filename":"file1"},{"photo_id":"1399697089","filename":"file0"},{"photo_id":"1399697111","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697100":["hashtag1","hashtag2"]},{"1399697118":["hashtag1","hashtag2"]},{"1399697111":["hashtag1","hashtag2"]},{"1399697114":["hashtag1","hashtag2"]},{"1399697102":["hashtag1","hashtag2"]},{"1399697089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697100, 1399697118, 1399697111, 1399697114, 1399697102, 1399697089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35301446914673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:11:42.130908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_55_2587.jpg', '/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_58_2638.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_02_3688.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_04_2748.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_07_2573.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_11_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_55_2587.jpg
/home/pi/Desktop/images/06112025/17/45/image_06112025_17_45_58_2638.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_02_3688.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_04_2748.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_07_2573.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_11_3699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697136","1399697150","1399697138","1399697152","1399697134","1399697143"],"photo_ids_order":["1399697134","1399697136","1399697138","1399697143","1399697150","1399697152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aa110111347c001386a49645203b3e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6918891220173358699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912362715,"filename":"image_06112025_17_45_58_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79c2046a212562989db1e8debdbab2ff.jpg","text":"TemporaryFile(/tmp/multipartBody780787551308683264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912362715,"filename":"image_06112025_17_46_07_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/16/cc4dd5b918ca79ceca9c6723f1b09c94.jpg","text":"TemporaryFile(/tmp/multipartBody286135984077271155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912362715,"filename":"image_06112025_17_46_02_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/16/973c1ab8f6e3de31f78da76988442a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7826947001047200507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912362715,"filename":"image_06112025_17_46_11_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/16/504d365a16443a495f67b0ec4c2ae43c.jpg","text":"TemporaryFile(/tmp/multipartBody118731908163727090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912362715,"filename":"image_06112025_17_45_55_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/16/8df39bf6878e13805ee68dbbb4d6594a.jpg","text":"TemporaryFile(/tmp/multipartBody3096415235600322267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912362715,"filename":"image_06112025_17_46_04_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697138","file1":"1399697136","file0":"1399697134","file4":"1399697150","file5":"1399697152","file3":"1399697143"},"map_files_photo_id_array":[{"photo_id":"1399697152","filename":"file5"},{"photo_id":"1399697138","filename":"file2"},{"photo_id":"1399697150","filename":"file4"},{"photo_id":"1399697136","filename":"file1"},{"photo_id":"1399697134","filename":"file0"},{"photo_id":"1399697143","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399697136":["hashtag1","hashtag2"]},{"1399697150":["hashtag1","hashtag2"]},{"1399697138":["hashtag1","hashtag2"]},{"1399697152":["hashtag1","hashtag2"]},{"1399697134":["hashtag1","hashtag2"]},{"1399697143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399697136, 1399697150, 1399697138, 1399697152, 1399697134, 1399697143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06958603858948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:12:22.372055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/10/image_16122025_20_10_25_9692.jpg', '/home/pi/Desktop/images/16122025/20/10/image_16122025_20_10_55_9339.jpg', '/home/pi/Desktop/images/16122025/20/10/image_16122025_20_11_05_10580.jpg', '/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_15_9791.jpg', '/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_25_9667.jpg', '/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_45_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/10/image_16122025_20_10_25_9692.jpg
/home/pi/Desktop/images/16122025/20/10/image_16122025_20_10_55_9339.jpg
/home/pi/Desktop/images/16122025/20/10/image_16122025_20_11_05_10580.jpg
/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_15_9791.jpg
/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_25_9667.jpg
/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_45_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":["1399697160","1399697168","1399697165","1399697161","1399697158","1399697163"],"photo_ids_order":["1399697158","1399697160","1399697161","1399697163","1399697165","1399697168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c127e51c858469e4c07e1bda142333d2.jpg","text":"TemporaryFile(/tmp/multipartBody8695086869741208898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912402991,"filename":"image_16122025_20_10_55_9339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72a4899d2e48829fce81a682b77192ae.jpg","text":"TemporaryFile(/tmp/multipartBody2313554294404077315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912402991,"filename":"image_16122025_20_11_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/16/1e6639d8d0d6ea058ed2db132d6e99a9.jpg","text":"TemporaryFile(/tmp/multipartBody4892383917329035839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912402991,"filename":"image_16122025_20_11_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b89180d9e71adf4c8a261e31213cd1cb.jpg","text":"TemporaryFile(/tmp/multipartBody4298464158939982748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912402991,"filename":"image_16122025_20_11_05_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf8aa3d562dcfd9323cb86886cdd5665.jpg","text":"TemporaryFile(/tmp/multipartBody966109471766523138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912402991,"filename":"image_16122025_20_10_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/16/9e2cf2489c84ac9053958c2c84780e92.jpg","text":"TemporaryFile(/tmp/multipartBody1723854033275810242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912402991,"filename":"image_16122025_20_11_15_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697161","file1":"1399697160","file0":"1399697158","file4":"1399697165","file5":"1399697168","file3":"1399697163"},"map_files_photo_id_array":[{"photo_id":"1399697168","filename":"file5"},{"photo_id":"1399697161","filename":"file2"},{"photo_id":"1399697165","filename":"file4"},{"photo_id":"1399697160","filename":"file1"},{"photo_id":"1399697158","filename":"file0"},{"photo_id":"1399697163","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697160":["hashtag1","hashtag2"]},{"1399697168":["hashtag1","hashtag2"]},{"1399697165":["hashtag1","hashtag2"]},{"1399697161":["hashtag1","hashtag2"]},{"1399697158":["hashtag1","hashtag2"]},{"1399697163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697160, 1399697168, 1399697165, 1399697161, 1399697158, 1399697163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50955104827881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:13:03.285724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_55_9828.jpg', '/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_16_10731.jpg', '/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_25_9647.jpg', '/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/11/image_16122025_20_11_55_9828.jpg
/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_16_10731.jpg
/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_25_9647.jpg
/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_45_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697186","1399697183","1399697182","1399697181"],"photo_ids_order":["1399697181","1399697182","1399697183","1399697186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04a14a43d34deb50c3912f943557e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody840309759536985093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912443873,"filename":"image_16122025_20_12_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e68a39320f8cbe743c3868f2c316c078.jpg","text":"TemporaryFile(/tmp/multipartBody885049070292293550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912443873,"filename":"image_16122025_20_12_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/16/0d831d4403249f9a91b638552f61c36c.jpg","text":"TemporaryFile(/tmp/multipartBody2774775680975848771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912443873,"filename":"image_16122025_20_12_16_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f87d00536671e2b5c99420699b4df899.jpg","text":"TemporaryFile(/tmp/multipartBody799313026952911784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912443873,"filename":"image_16122025_20_11_55_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697183","file1":"1399697182","file0":"1399697181","file3":"1399697186"},"map_files_photo_id_array":[{"photo_id":"1399697183","filename":"file2"},{"photo_id":"1399697182","filename":"file1"},{"photo_id":"1399697181","filename":"file0"},{"photo_id":"1399697186","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697186":["hashtag1","hashtag2"]},{"1399697183":["hashtag1","hashtag2"]},{"1399697182":["hashtag1","hashtag2"]},{"1399697181":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697186, 1399697183, 1399697182, 1399697181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.00011944770813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:13:32.692045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:13:42.641261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_13_2632.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_16_2674.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_20_3693.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_22_2733.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_25_2650.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_29_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_13_2632.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_16_2674.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_20_3693.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_22_2733.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_25_2650.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_29_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697202","1399697195","1399697198","1399697204","1399697207","1399697206"],"photo_ids_order":["1399697195","1399697198","1399697202","1399697204","1399697206","1399697207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b016d6dc90a5adc9477b7686711ae132.jpg","text":"TemporaryFile(/tmp/multipartBody342684631626574920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912483543,"filename":"image_06112025_17_46_20_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/465e32dcbb7e4fa11fdff61b3e9b1a07.jpg","text":"TemporaryFile(/tmp/multipartBody7701756906148092059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912483543,"filename":"image_06112025_17_46_13_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea9402cc0eb59d7743347b85f1dff3d3.jpg","text":"TemporaryFile(/tmp/multipartBody315551124411656580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912483543,"filename":"image_06112025_17_46_16_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/16/50ea68af02ca0b20754f31e65f596e82.jpg","text":"TemporaryFile(/tmp/multipartBody6116116999895252850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912483543,"filename":"image_06112025_17_46_22_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/16/ac6c9f638abfbd14b952c297f3d49c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7546421511909426817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912483543,"filename":"image_06112025_17_46_29_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5708d367a2d2a3d248466ee9f094c315.jpg","text":"TemporaryFile(/tmp/multipartBody4503850062039935480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912483543,"filename":"image_06112025_17_46_25_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697202","file1":"1399697198","file0":"1399697195","file4":"1399697206","file5":"1399697207","file3":"1399697204"},"map_files_photo_id_array":[{"photo_id":"1399697207","filename":"file5"},{"photo_id":"1399697202","filename":"file2"},{"photo_id":"1399697206","filename":"file4"},{"photo_id":"1399697198","filename":"file1"},{"photo_id":"1399697195","filename":"file0"},{"photo_id":"1399697204","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399697202":["hashtag1","hashtag2"]},{"1399697195":["hashtag1","hashtag2"]},{"1399697198":["hashtag1","hashtag2"]},{"1399697204":["hashtag1","hashtag2"]},{"1399697207":["hashtag1","hashtag2"]},{"1399697206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399697202, 1399697195, 1399697198, 1399697204, 1399697207, 1399697206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.89887356758118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:14:31.934666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:14:42.051152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_31_2624.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_34_2677.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_38_3587.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_40_2663.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_43_2522.jpg', '/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_47_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_31_2624.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_34_2677.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_38_3587.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_40_2663.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_43_2522.jpg
/home/pi/Desktop/images/06112025/17/46/image_06112025_17_46_47_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697232","1399697240","1399697234","1399697233","1399697242","1399697230"],"photo_ids_order":["1399697230","1399697232","1399697233","1399697234","1399697240","1399697242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92281a92fa9a77f5b1e84923965327d8.jpg","text":"TemporaryFile(/tmp/multipartBody3238202595524006299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912542845,"filename":"image_06112025_17_46_34_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/16/93498e1d6ef32bc5496eede04607acab.jpg","text":"TemporaryFile(/tmp/multipartBody4054334477487027646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912542845,"filename":"image_06112025_17_46_43_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/16/34d03d65b3f42f6b017da0a2db8b081c.jpg","text":"TemporaryFile(/tmp/multipartBody1199822410956893522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912542845,"filename":"image_06112025_17_46_40_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/16/c8f33b1383e1253a907856d772975d45.jpg","text":"TemporaryFile(/tmp/multipartBody8487612603053299633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912542845,"filename":"image_06112025_17_46_38_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/16/a3be459b10d398e31c01476002ca5b56.jpg","text":"TemporaryFile(/tmp/multipartBody7487741086550570604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912542845,"filename":"image_06112025_17_46_47_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/16/46cbe0c08c6a2337dea7fea89ea37c84.jpg","text":"TemporaryFile(/tmp/multipartBody6084197826264831038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912542845,"filename":"image_06112025_17_46_31_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697233","file1":"1399697232","file0":"1399697230","file4":"1399697240","file5":"1399697242","file3":"1399697234"},"map_files_photo_id_array":[{"photo_id":"1399697242","filename":"file5"},{"photo_id":"1399697233","filename":"file2"},{"photo_id":"1399697240","filename":"file4"},{"photo_id":"1399697232","filename":"file1"},{"photo_id":"1399697230","filename":"file0"},{"photo_id":"1399697234","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399697232":["hashtag1","hashtag2"]},{"1399697240":["hashtag1","hashtag2"]},{"1399697234":["hashtag1","hashtag2"]},{"1399697233":["hashtag1","hashtag2"]},{"1399697242":["hashtag1","hashtag2"]},{"1399697230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399697232, 1399697240, 1399697234, 1399697233, 1399697242, 1399697230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91532874107361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:15:22.344027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_55_10731.jpg', '/home/pi/Desktop/images/16122025/20/12/image_16122025_20_13_05_9638.jpg', '/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_26_10808.jpg', '/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_35_9654.jpg', '/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_45_9680.jpg', '/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_55_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/12/image_16122025_20_12_55_10731.jpg
/home/pi/Desktop/images/16122025/20/12/image_16122025_20_13_05_9638.jpg
/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_26_10808.jpg
/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_35_9654.jpg
/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_45_9680.jpg
/home/pi/Desktop/images/16122025/20/13/image_16122025_20_13_55_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":["1399697271","1399697273","1399697279","1399697266","1399697269","1399697274"],"photo_ids_order":["1399697266","1399697269","1399697271","1399697273","1399697274","1399697279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50b09496dd859166592b2f954066eef0.jpg","text":"TemporaryFile(/tmp/multipartBody2965412539206854370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912582979,"filename":"image_16122025_20_13_26_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/16/d9259d7beec55f7c1f0f955a9e18a920.jpg","text":"TemporaryFile(/tmp/multipartBody1318143866999564303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912582979,"filename":"image_16122025_20_13_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d841c93055c3c3a5c0f351a88ad43f30.jpg","text":"TemporaryFile(/tmp/multipartBody5123162791307925364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912582979,"filename":"image_16122025_20_13_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f79faba7dccc444839278f951b100d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5771187734994904683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912582979,"filename":"image_16122025_20_12_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7865abd7920bcc937be189a93d0ac7d7.jpg","text":"TemporaryFile(/tmp/multipartBody1533426228736441099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912582979,"filename":"image_16122025_20_13_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1d6936f95a53908b6ff44b1bdc3127e.jpg","text":"TemporaryFile(/tmp/multipartBody8342835581548067030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912582979,"filename":"image_16122025_20_13_45_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697271","file1":"1399697269","file0":"1399697266","file4":"1399697274","file5":"1399697279","file3":"1399697273"},"map_files_photo_id_array":[{"photo_id":"1399697279","filename":"file5"},{"photo_id":"1399697271","filename":"file2"},{"photo_id":"1399697274","filename":"file4"},{"photo_id":"1399697269","filename":"file1"},{"photo_id":"1399697266","filename":"file0"},{"photo_id":"1399697273","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697271":["hashtag1","hashtag2"]},{"1399697273":["hashtag1","hashtag2"]},{"1399697279":["hashtag1","hashtag2"]},{"1399697266":["hashtag1","hashtag2"]},{"1399697269":["hashtag1","hashtag2"]},{"1399697274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697271, 1399697273, 1399697279, 1399697266, 1399697269, 1399697274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.928937911987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:16:02.999028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_15_9644.jpg', '/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_35_10761.jpg', '/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_45_9585.jpg', '/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_55_9625.jpg', '/home/pi/Desktop/images/16122025/20/14/image_16122025_20_15_05_10695.jpg', '/home/pi/Desktop/images/16122025/20/15/image_16122025_20_15_35_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_15_9644.jpg
/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_35_10761.jpg
/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_45_9585.jpg
/home/pi/Desktop/images/16122025/20/14/image_16122025_20_14_55_9625.jpg
/home/pi/Desktop/images/16122025/20/14/image_16122025_20_15_05_10695.jpg
/home/pi/Desktop/images/16122025/20/15/image_16122025_20_15_35_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697390","1399697392","1399697323","1399697394","1399697397","1399697361"],"photo_ids_order":["1399697323","1399697361","1399697390","1399697392","1399697394","1399697397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7722abb8328c832fb998deff6c57bbfa.jpg","text":"TemporaryFile(/tmp/multipartBody7960480863445477495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912623584,"filename":"image_16122025_20_14_45_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e1ee243e2406a7d4a11d6e90138a632.jpg","text":"TemporaryFile(/tmp/multipartBody816942154765237231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912623584,"filename":"image_16122025_20_14_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/178cd1f29745ae7e9b605d502310c17b.jpg","text":"TemporaryFile(/tmp/multipartBody1521689953008853736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912623584,"filename":"image_16122025_20_14_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96cbcad018845f66b254ad13362eae7f.jpg","text":"TemporaryFile(/tmp/multipartBody7945281138285286624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912623584,"filename":"image_16122025_20_15_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/16/aeb266d137f5c778008acb7cd71c2ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2838289326549503214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912623584,"filename":"image_16122025_20_15_35_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/16/14b4f67906f3275917f682dcf29cbb99.jpg","text":"TemporaryFile(/tmp/multipartBody4857485785259431374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912623584,"filename":"image_16122025_20_14_35_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697390","file1":"1399697361","file0":"1399697323","file4":"1399697394","file5":"1399697397","file3":"1399697392"},"map_files_photo_id_array":[{"photo_id":"1399697397","filename":"file5"},{"photo_id":"1399697390","filename":"file2"},{"photo_id":"1399697394","filename":"file4"},{"photo_id":"1399697361","filename":"file1"},{"photo_id":"1399697323","filename":"file0"},{"photo_id":"1399697392","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697390":["hashtag1","hashtag2"]},{"1399697392":["hashtag1","hashtag2"]},{"1399697323":["hashtag1","hashtag2"]},{"1399697394":["hashtag1","hashtag2"]},{"1399697397":["hashtag1","hashtag2"]},{"1399697361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697390, 1399697392, 1399697323, 1399697394, 1399697397, 1399697361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71989440917969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:16:42.556492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_04_1626.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_07_1609.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_19_8673.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_20_1647.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_22_1518.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_24_1919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_04_1626.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_07_1609.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_19_8673.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_20_1647.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_22_1518.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_24_1919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697424","1399697403","1399697438","1399697423","1399697422","1399697416"],"photo_ids_order":["1399697403","1399697416","1399697422","1399697423","1399697424","1399697438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/522b8885e0570ecd1514e9a9e6bf6f43.jpg","text":"TemporaryFile(/tmp/multipartBody2811732137212656936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912663369,"filename":"image_06112025_17_47_22_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5aa4232f634834350c60a0231a2f089.jpg","text":"TemporaryFile(/tmp/multipartBody7058616081679876791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912663369,"filename":"image_06112025_17_47_04_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/16/f6cc669f52a7a4907487dd1637e7d119.jpg","text":"TemporaryFile(/tmp/multipartBody6733083455356669350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912663369,"filename":"image_06112025_17_47_24_1919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ca830807f650889f0b6c675a60f762d.jpg","text":"TemporaryFile(/tmp/multipartBody6550055356265607243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912663369,"filename":"image_06112025_17_47_20_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/16/777f6f63ba828331c03e7ba20bfe8582.jpg","text":"TemporaryFile(/tmp/multipartBody3114132826635421426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912663369,"filename":"image_06112025_17_47_19_8673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8bc2559d5125e09dad66fbe9071ac5f9.jpg","text":"TemporaryFile(/tmp/multipartBody9080693731775796017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912663369,"filename":"image_06112025_17_47_07_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697422","file1":"1399697416","file0":"1399697403","file4":"1399697424","file5":"1399697438","file3":"1399697423"},"map_files_photo_id_array":[{"photo_id":"1399697438","filename":"file5"},{"photo_id":"1399697422","filename":"file2"},{"photo_id":"1399697424","filename":"file4"},{"photo_id":"1399697416","filename":"file1"},{"photo_id":"1399697403","filename":"file0"},{"photo_id":"1399697423","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399697424":["hashtag1","hashtag2"]},{"1399697403":["hashtag1","hashtag2"]},{"1399697438":["hashtag1","hashtag2"]},{"1399697423":["hashtag1","hashtag2"]},{"1399697422":["hashtag1","hashtag2"]},{"1399697416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399697424, 1399697403, 1399697438, 1399697423, 1399697422, 1399697416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90454053878784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:17:22.796709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/15/image_16122025_20_15_55_9654.jpg', '/home/pi/Desktop/images/16122025/20/15/image_16122025_20_16_05_10642.jpg', '/home/pi/Desktop/images/16122025/20/16/image_16122025_20_16_25_9708.jpg', '/home/pi/Desktop/images/16122025/20/16/image_16122025_20_16_55_9563.jpg', '/home/pi/Desktop/images/16122025/20/16/image_16122025_20_17_05_10737.jpg', '/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_15_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/15/image_16122025_20_15_55_9654.jpg
/home/pi/Desktop/images/16122025/20/15/image_16122025_20_16_05_10642.jpg
/home/pi/Desktop/images/16122025/20/16/image_16122025_20_16_25_9708.jpg
/home/pi/Desktop/images/16122025/20/16/image_16122025_20_16_55_9563.jpg
/home/pi/Desktop/images/16122025/20/16/image_16122025_20_17_05_10737.jpg
/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_15_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697457","1399697471","1399697462","1399697452","1399697460","1399697454"],"photo_ids_order":["1399697452","1399697454","1399697457","1399697460","1399697462","1399697471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd3ccd32b16f0d03f3b9f86f4975e900.jpg","text":"TemporaryFile(/tmp/multipartBody8195521992608806094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912703385,"filename":"image_16122025_20_16_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/16/b7656d930ec9a6e471e88b19fc14afb2.jpg","text":"TemporaryFile(/tmp/multipartBody8496274336083691788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912703385,"filename":"image_16122025_20_17_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/16/1dce5ef8103909e77e55b9727901624c.jpg","text":"TemporaryFile(/tmp/multipartBody5121365992601894155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912703385,"filename":"image_16122025_20_17_05_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d56ab316a482a9be3b90bee385df622b.jpg","text":"TemporaryFile(/tmp/multipartBody1026983543185117096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912703385,"filename":"image_16122025_20_15_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/08e8fecddd85fc6e69fe23439bb8c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody6519742949317407914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912703385,"filename":"image_16122025_20_16_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5005960917a37e001ad82b45221e0243.jpg","text":"TemporaryFile(/tmp/multipartBody4098695416587788290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912703385,"filename":"image_16122025_20_16_05_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697457","file1":"1399697454","file0":"1399697452","file4":"1399697462","file5":"1399697471","file3":"1399697460"},"map_files_photo_id_array":[{"photo_id":"1399697471","filename":"file5"},{"photo_id":"1399697457","filename":"file2"},{"photo_id":"1399697462","filename":"file4"},{"photo_id":"1399697454","filename":"file1"},{"photo_id":"1399697452","filename":"file0"},{"photo_id":"1399697460","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697457":["hashtag1","hashtag2"]},{"1399697471":["hashtag1","hashtag2"]},{"1399697462":["hashtag1","hashtag2"]},{"1399697452":["hashtag1","hashtag2"]},{"1399697460":["hashtag1","hashtag2"]},{"1399697454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697457, 1399697471, 1399697462, 1399697452, 1399697460, 1399697454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49565029144287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:18:02.522441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_25_9843.jpg', '/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_46_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_25_9843.jpg
/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_46_10762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697478","1399697480"],"photo_ids_order":["1399697478","1399697480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b59aded57f4e41c2e5accb1b5c587342.jpg","text":"TemporaryFile(/tmp/multipartBody4185541055098420797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912742964,"filename":"image_16122025_20_17_25_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f2f372f836418faf05a842905b435276.jpg","text":"TemporaryFile(/tmp/multipartBody6972380726524857154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912742964,"filename":"image_16122025_20_17_46_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399697480","file0":"1399697478"},"map_files_photo_id_array":[{"photo_id":"1399697480","filename":"file1"},{"photo_id":"1399697478","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697478":["hashtag1","hashtag2"]},{"1399697480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697478, 1399697480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.27091336250305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:18:22.016949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_55_9808.jpg', '/home/pi/Desktop/images/16122025/20/17/image_16122025_20_18_05_9822.jpg', '/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_25_10519.jpg', '/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_35_9891.jpg', '/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_45_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/17/image_16122025_20_17_55_9808.jpg
/home/pi/Desktop/images/16122025/20/17/image_16122025_20_18_05_9822.jpg
/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_25_10519.jpg
/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_35_9891.jpg
/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_45_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":["1399697483","1399697486","1399697495","1399697491","1399697493"],"photo_ids_order":["1399697483","1399697486","1399697491","1399697493","1399697495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7366bbe8a8f036cb49811bdb71049387.jpg","text":"TemporaryFile(/tmp/multipartBody3029574589558997826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912762573,"filename":"image_16122025_20_17_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa9384a6a846a14e07dd60fbc0d37bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2309801695840802492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912762573,"filename":"image_16122025_20_18_05_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dab6a185fdda19a7355e443395511eac.jpg","text":"TemporaryFile(/tmp/multipartBody5729559894722936152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912762573,"filename":"image_16122025_20_18_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/16/1c481913f5302a19f4bdc8fd5956a127.jpg","text":"TemporaryFile(/tmp/multipartBody2207978055395355557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912762573,"filename":"image_16122025_20_18_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/16/4a8c8e1f9a800b8e1e8cb3d1324654f5.jpg","text":"TemporaryFile(/tmp/multipartBody2461526874465919347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912762573,"filename":"image_16122025_20_18_35_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697491","file1":"1399697486","file0":"1399697483","file4":"1399697495","file3":"1399697493"},"map_files_photo_id_array":[{"photo_id":"1399697491","filename":"file2"},{"photo_id":"1399697495","filename":"file4"},{"photo_id":"1399697486","filename":"file1"},{"photo_id":"1399697483","filename":"file0"},{"photo_id":"1399697493","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697483":["hashtag1","hashtag2"]},{"1399697486":["hashtag1","hashtag2"]},{"1399697495":["hashtag1","hashtag2"]},{"1399697491":["hashtag1","hashtag2"]},{"1399697493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697483, 1399697486, 1399697495, 1399697491, 1399697493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.525729656219482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:19:03.334288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:19:12.239108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:19:22.223406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_56_10672.jpg', '/home/pi/Desktop/images/16122025/20/18/image_16122025_20_19_05_9683.jpg', '/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_15_9781.jpg', '/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_25_9577.jpg', '/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_35_10761.jpg', '/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/18/image_16122025_20_18_56_10672.jpg
/home/pi/Desktop/images/16122025/20/18/image_16122025_20_19_05_9683.jpg
/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_15_9781.jpg
/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_25_9577.jpg
/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_35_10761.jpg
/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_45_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":["1399697523","1399697516","1399697525","1399697519","1399697536","1399697521"],"photo_ids_order":["1399697516","1399697519","1399697521","1399697523","1399697525","1399697536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46a82ab75d987833db27ae0b3b7a0ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6865078298276197804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912822810,"filename":"image_16122025_20_19_25_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff0146e84527e27a8174f28c32faf258.jpg","text":"TemporaryFile(/tmp/multipartBody5094531266894765566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912822810,"filename":"image_16122025_20_18_56_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc0131b03bac228cdbd89d756a6e89bd.jpg","text":"TemporaryFile(/tmp/multipartBody4605128871689612893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912822810,"filename":"image_16122025_20_19_35_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d51013394b1a8c82d98a5dfa0e71ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3698056213877696043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912822810,"filename":"image_16122025_20_19_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/16/30bc0c4637d1eb2984bbc7aa12888462.jpg","text":"TemporaryFile(/tmp/multipartBody1326935795326545487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912822810,"filename":"image_16122025_20_19_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/16/438b46957db6f7869be547bf6434812f.jpg","text":"TemporaryFile(/tmp/multipartBody3191599074153098865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912822810,"filename":"image_16122025_20_19_15_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697521","file1":"1399697519","file0":"1399697516","file4":"1399697525","file5":"1399697536","file3":"1399697523"},"map_files_photo_id_array":[{"photo_id":"1399697536","filename":"file5"},{"photo_id":"1399697521","filename":"file2"},{"photo_id":"1399697525","filename":"file4"},{"photo_id":"1399697519","filename":"file1"},{"photo_id":"1399697516","filename":"file0"},{"photo_id":"1399697523","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697523":["hashtag1","hashtag2"]},{"1399697516":["hashtag1","hashtag2"]},{"1399697525":["hashtag1","hashtag2"]},{"1399697519":["hashtag1","hashtag2"]},{"1399697536":["hashtag1","hashtag2"]},{"1399697521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697523, 1399697516, 1399697525, 1399697519, 1399697536, 1399697521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03043746948242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:20:02.978762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:20:12.448584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:20:22.594675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_55_9592.jpg', '/home/pi/Desktop/images/16122025/20/19/image_16122025_20_20_05_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/19/image_16122025_20_19_55_9592.jpg
/home/pi/Desktop/images/16122025/20/19/image_16122025_20_20_05_10571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697895","1399697880"],"photo_ids_order":["1399697880","1399697895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46e89c5f08698864d5d8f92c07b09a46.jpg","text":"TemporaryFile(/tmp/multipartBody2447242564997073709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912883038,"filename":"image_16122025_20_20_05_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c57b5823bab0cd16a2df800d2aa74ef.jpg","text":"TemporaryFile(/tmp/multipartBody8027992243669795763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912883038,"filename":"image_16122025_20_19_55_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399697895","file0":"1399697880"},"map_files_photo_id_array":[{"photo_id":"1399697895","filename":"file1"},{"photo_id":"1399697880","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697895":["hashtag1","hashtag2"]},{"1399697880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697895, 1399697880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.867971897125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:20:42.419184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_26_1682.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_28_2645.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_32_3601.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_34_2711.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_40_2728.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_44_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_26_1682.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_28_2645.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_32_3601.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_34_2711.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_40_2728.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_44_3742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697910","1399697912","1399697906","1399697923","1399697917","1399697911"],"photo_ids_order":["1399697906","1399697910","1399697911","1399697912","1399697917","1399697923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e870cfc4da28ef10f64d6b3df178dc6b.jpg","text":"TemporaryFile(/tmp/multipartBody1461093837777422644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912903098,"filename":"image_06112025_17_47_28_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/16/b07c3d3ba52560e0d630f0a4babcf200.jpg","text":"TemporaryFile(/tmp/multipartBody6095826729413278000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912903098,"filename":"image_06112025_17_47_34_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c572731dde2e20c9a8ee1f33aae365b2.jpg","text":"TemporaryFile(/tmp/multipartBody6910317774879002634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912903098,"filename":"image_06112025_17_47_26_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/16/8161358657092bea3e579406777497ff.jpg","text":"TemporaryFile(/tmp/multipartBody3995293289408763526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912903098,"filename":"image_06112025_17_47_44_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/16/d155d25ee8fa37ea036bf856c43dd7d3.jpg","text":"TemporaryFile(/tmp/multipartBody5647169079077178923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912903098,"filename":"image_06112025_17_47_40_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/711f2d02a2393f8efd5bfbd62c60ad24.jpg","text":"TemporaryFile(/tmp/multipartBody4075664491757496442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912903098,"filename":"image_06112025_17_47_32_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697911","file1":"1399697910","file0":"1399697906","file4":"1399697917","file5":"1399697923","file3":"1399697912"},"map_files_photo_id_array":[{"photo_id":"1399697923","filename":"file5"},{"photo_id":"1399697911","filename":"file2"},{"photo_id":"1399697917","filename":"file4"},{"photo_id":"1399697910","filename":"file1"},{"photo_id":"1399697906","filename":"file0"},{"photo_id":"1399697912","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399697910":["hashtag1","hashtag2"]},{"1399697912":["hashtag1","hashtag2"]},{"1399697906":["hashtag1","hashtag2"]},{"1399697923":["hashtag1","hashtag2"]},{"1399697917":["hashtag1","hashtag2"]},{"1399697911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399697910, 1399697912, 1399697906, 1399697923, 1399697917, 1399697911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.253368854522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:21:22.646927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/20/image_16122025_20_20_15_9627.jpg', '/home/pi/Desktop/images/16122025/20/21/image_16122025_20_21_35_9834.jpg', '/home/pi/Desktop/images/16122025/20/21/image_16122025_20_21_45_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/20/image_16122025_20_20_15_9627.jpg
/home/pi/Desktop/images/16122025/20/21/image_16122025_20_21_35_9834.jpg
/home/pi/Desktop/images/16122025/20/21/image_16122025_20_21_45_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697931","1399697935","1399697938"],"photo_ids_order":["1399697931","1399697935","1399697938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ddab8bc4d429389b1b68a166d02ba72.jpg","text":"TemporaryFile(/tmp/multipartBody585120089105393622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912943130,"filename":"image_16122025_20_20_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7505f75212a191dd86a50122076ffef9.jpg","text":"TemporaryFile(/tmp/multipartBody6859670824574799440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912943130,"filename":"image_16122025_20_21_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/16/3abb7bc719ebc775ad4f31e12669d191.jpg","text":"TemporaryFile(/tmp/multipartBody1463496064290197892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765912943130,"filename":"image_16122025_20_21_45_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697938","file1":"1399697935","file0":"1399697931"},"map_files_photo_id_array":[{"photo_id":"1399697938","filename":"file2"},{"photo_id":"1399697935","filename":"file1"},{"photo_id":"1399697931","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697931":["hashtag1","hashtag2"]},{"1399697935":["hashtag1","hashtag2"]},{"1399697938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697931, 1399697935, 1399697938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.774749517440796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:22:02.289386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:22:11.791066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:22:21.863480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/21/image_16122025_20_21_55_10646.jpg', '/home/pi/Desktop/images/16122025/20/21/image_16122025_20_22_05_9696.jpg', '/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_25_9758.jpg', '/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_35_10073.jpg', '/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_45_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/21/image_16122025_20_21_55_10646.jpg
/home/pi/Desktop/images/16122025/20/21/image_16122025_20_22_05_9696.jpg
/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_25_9758.jpg
/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_35_10073.jpg
/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_45_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697952","1399697954","1399697957","1399697959","1399697950"],"photo_ids_order":["1399697950","1399697952","1399697954","1399697957","1399697959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16f12bf5d7c837b87ab08bf3aaa3d52b.jpg","text":"TemporaryFile(/tmp/multipartBody4232733077807084302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913002429,"filename":"image_16122025_20_22_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/16/1a905dad6a46ce71bbc283e6d4cebdd5.jpg","text":"TemporaryFile(/tmp/multipartBody2824014116399394388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913002429,"filename":"image_16122025_20_22_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/16/1354eb8e3bb7bc853f139a331be16506.jpg","text":"TemporaryFile(/tmp/multipartBody3416813796790749310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913002429,"filename":"image_16122025_20_22_35_10073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81335a8805147c70a184525fc4e34b76.jpg","text":"TemporaryFile(/tmp/multipartBody8078723506642541629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913002429,"filename":"image_16122025_20_22_45_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7093217bac2be5683a9c6e0b42162255.jpg","text":"TemporaryFile(/tmp/multipartBody3590917573099712390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913002429,"filename":"image_16122025_20_21_55_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697954","file1":"1399697952","file0":"1399697950","file4":"1399697959","file3":"1399697957"},"map_files_photo_id_array":[{"photo_id":"1399697954","filename":"file2"},{"photo_id":"1399697959","filename":"file4"},{"photo_id":"1399697952","filename":"file1"},{"photo_id":"1399697950","filename":"file0"},{"photo_id":"1399697957","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399697952":["hashtag1","hashtag2"]},{"1399697954":["hashtag1","hashtag2"]},{"1399697957":["hashtag1","hashtag2"]},{"1399697959":["hashtag1","hashtag2"]},{"1399697950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399697952, 1399697954, 1399697957, 1399697959, 1399697950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.65301847457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:23:02.897868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:23:15.098904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:23:22.292690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_55_9824.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_16_10565.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_45_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_55_9824.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_16_10565.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_45_10027.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3732163906097412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:23:35.854735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:23:42.143463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_46_2608.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_49_2647.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_53_3722.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_57_4566.jpg', '/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_59_1611.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_06_7384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_46_2608.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_49_2647.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_53_3722.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_57_4566.jpg
/home/pi/Desktop/images/06112025/17/47/image_06112025_17_47_59_1611.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_06_7384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399697990","1399697993","1399697984","1399697992","1399697989","1399697991"],"photo_ids_order":["1399697984","1399697989","1399697990","1399697991","1399697992","1399697993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06ab99612a7a68ac4d64628044b5fd04.jpg","text":"TemporaryFile(/tmp/multipartBody811290928218669181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913082909,"filename":"image_06112025_17_47_53_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/16/8aa56a3ff2e226943217aab78636dac2.jpg","text":"TemporaryFile(/tmp/multipartBody5567038361873885851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913082909,"filename":"image_06112025_17_48_06_7384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3d46b8cfd6d324369b7b7805b3647088.jpg","text":"TemporaryFile(/tmp/multipartBody3334061675408625832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913082909,"filename":"image_06112025_17_47_46_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/16/ff4538b13322950bf1283b630f89d918.jpg","text":"TemporaryFile(/tmp/multipartBody8260678382989815985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913082909,"filename":"image_06112025_17_47_59_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f764de05bb2609924d72cae975d80af1.jpg","text":"TemporaryFile(/tmp/multipartBody1089331013671619390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913082909,"filename":"image_06112025_17_47_49_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/16/e79fd225d37c243f52d68a5ec2e48b82.jpg","text":"TemporaryFile(/tmp/multipartBody8555840639567506695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913082909,"filename":"image_06112025_17_47_57_4566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399697990","file1":"1399697989","file0":"1399697984","file4":"1399697992","file5":"1399697993","file3":"1399697991"},"map_files_photo_id_array":[{"photo_id":"1399697993","filename":"file5"},{"photo_id":"1399697990","filename":"file2"},{"photo_id":"1399697992","filename":"file4"},{"photo_id":"1399697989","filename":"file1"},{"photo_id":"1399697984","filename":"file0"},{"photo_id":"1399697991","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399697990":["hashtag1","hashtag2"]},{"1399697993":["hashtag1","hashtag2"]},{"1399697984":["hashtag1","hashtag2"]},{"1399697992":["hashtag1","hashtag2"]},{"1399697989":["hashtag1","hashtag2"]},{"1399697991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399697990, 1399697993, 1399697984, 1399697992, 1399697989, 1399697991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19484543800354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:24:22.699939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_55_9824.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_16_10565.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_45_10027.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_55_9694.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_24_05_10728.jpg', '/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_15_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_55_9824.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_16_10565.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_45_10027.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_55_9694.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_24_05_10728.jpg
/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_15_9763.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4429659843444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:24:32.866553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:24:42.716032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_08_1578.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_09_1617.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_11_1586.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_13_2518.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_16_2617.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_19_2954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_08_1578.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_09_1617.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_11_1586.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_13_2518.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_16_2617.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_19_2954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698015","1399698023","1399698022","1399698016","1399698013","1399698024"],"photo_ids_order":["1399698013","1399698015","1399698016","1399698022","1399698023","1399698024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bbaf41e6fb3212f1ac0838cde18c690.jpg","text":"TemporaryFile(/tmp/multipartBody6438434852793794236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913143426,"filename":"image_06112025_17_48_09_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/16/510749055d92a1d2a897e9e66f0eb40d.jpg","text":"TemporaryFile(/tmp/multipartBody3727047786459217052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913143426,"filename":"image_06112025_17_48_16_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/16/6bdf3a219525f555b5f6aa5595cf3556.jpg","text":"TemporaryFile(/tmp/multipartBody4991273340956726936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913143426,"filename":"image_06112025_17_48_13_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/df359d371af6e296b1e18c33f26d76a0.jpg","text":"TemporaryFile(/tmp/multipartBody5434127932532533621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913143426,"filename":"image_06112025_17_48_11_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/16/1084c5175aecb8083fbc073d2f2381b3.jpg","text":"TemporaryFile(/tmp/multipartBody6916994943681828271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913143426,"filename":"image_06112025_17_48_08_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/98009304a0f80fdbb683695134d5c6a1.jpg","text":"TemporaryFile(/tmp/multipartBody2112151581629586375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913143426,"filename":"image_06112025_17_48_19_2954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698016","file1":"1399698015","file0":"1399698013","file4":"1399698023","file5":"1399698024","file3":"1399698022"},"map_files_photo_id_array":[{"photo_id":"1399698024","filename":"file5"},{"photo_id":"1399698016","filename":"file2"},{"photo_id":"1399698023","filename":"file4"},{"photo_id":"1399698015","filename":"file1"},{"photo_id":"1399698013","filename":"file0"},{"photo_id":"1399698022","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698015":["hashtag1","hashtag2"]},{"1399698023":["hashtag1","hashtag2"]},{"1399698022":["hashtag1","hashtag2"]},{"1399698016":["hashtag1","hashtag2"]},{"1399698013":["hashtag1","hashtag2"]},{"1399698024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698015, 1399698023, 1399698022, 1399698016, 1399698013, 1399698024)","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 = 1399698016 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_11_1586.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.68802452087402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:25:41.973963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_23_3607.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_29_5972.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_32_3032.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_33_1684.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_35_1637.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_37_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_23_3607.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_29_5972.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_32_3032.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_33_1684.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_35_1637.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_37_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698041","1399698038","1399698040","1399698034","1399698042","1399698039"],"photo_ids_order":["1399698034","1399698038","1399698039","1399698040","1399698041","1399698042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f886def115e73431ba7a532605e3a06e.jpg","text":"TemporaryFile(/tmp/multipartBody4324210525030230295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913202624,"filename":"image_06112025_17_48_35_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/16/a5d831a34d8fd6f24604cd3aa9eeedd9.jpg","text":"TemporaryFile(/tmp/multipartBody8097307998803239646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913202624,"filename":"image_06112025_17_48_29_5972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f89eb445be0a4f79e08bf1940d7fe006.jpg","text":"TemporaryFile(/tmp/multipartBody3117962330496817872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913202624,"filename":"image_06112025_17_48_33_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e72a3ebf7d4d88fc43e66d35d23656c.jpg","text":"TemporaryFile(/tmp/multipartBody6382679329922555744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913202624,"filename":"image_06112025_17_48_23_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/16/d9d805aa7effa48360c30c6d04c703cc.jpg","text":"TemporaryFile(/tmp/multipartBody2055755484869119165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913202624,"filename":"image_06112025_17_48_37_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/16/5e5583e3c4d062b67dac2434ee4a6323.jpg","text":"TemporaryFile(/tmp/multipartBody2086395916749890887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913202624,"filename":"image_06112025_17_48_32_3032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698039","file1":"1399698038","file0":"1399698034","file4":"1399698041","file5":"1399698042","file3":"1399698040"},"map_files_photo_id_array":[{"photo_id":"1399698042","filename":"file5"},{"photo_id":"1399698039","filename":"file2"},{"photo_id":"1399698041","filename":"file4"},{"photo_id":"1399698038","filename":"file1"},{"photo_id":"1399698034","filename":"file0"},{"photo_id":"1399698040","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698041":["hashtag1","hashtag2"]},{"1399698038":["hashtag1","hashtag2"]},{"1399698040":["hashtag1","hashtag2"]},{"1399698034":["hashtag1","hashtag2"]},{"1399698042":["hashtag1","hashtag2"]},{"1399698039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698041, 1399698038, 1399698040, 1399698034, 1399698042, 1399698039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.081043004989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:26:22.172344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_55_9824.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_16_10565.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_45_10027.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_55_9694.jpg', '/home/pi/Desktop/images/16122025/20/23/image_16122025_20_24_05_10728.jpg', '/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_15_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/22/image_16122025_20_22_55_9824.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_16_10565.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_45_10027.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_23_55_9694.jpg
/home/pi/Desktop/images/16122025/20/23/image_16122025_20_24_05_10728.jpg
/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_15_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698056","1399698050","1399698052","1399698046","1399698061","1399698048"],"photo_ids_order":["1399698046","1399698048","1399698050","1399698052","1399698056","1399698061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8cb87b3038919305f8b8f9c0d5f07a26.jpg","text":"TemporaryFile(/tmp/multipartBody56849257919682886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913242752,"filename":"image_16122025_20_24_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8efc7d941ef47d345d5ebda8bb443b70.jpg","text":"TemporaryFile(/tmp/multipartBody2426173634627287928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913242752,"filename":"image_16122025_20_23_45_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b7ef2b95c1421e8831d5b37c3d40aaa9.jpg","text":"TemporaryFile(/tmp/multipartBody6709776726095641465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913242752,"filename":"image_16122025_20_23_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d6df0ddf35c312e10733c0434e257bb.jpg","text":"TemporaryFile(/tmp/multipartBody4885050718208059142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913242752,"filename":"image_16122025_20_22_55_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6c344a55dadc9cc06090886825fc7fb.jpg","text":"TemporaryFile(/tmp/multipartBody3810186714414249626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913242752,"filename":"image_16122025_20_24_15_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a126e617fa02f75b55117d99f4f6b64.jpg","text":"TemporaryFile(/tmp/multipartBody8780646951613414617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913242752,"filename":"image_16122025_20_23_16_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698050","file1":"1399698048","file0":"1399698046","file4":"1399698056","file5":"1399698061","file3":"1399698052"},"map_files_photo_id_array":[{"photo_id":"1399698061","filename":"file5"},{"photo_id":"1399698050","filename":"file2"},{"photo_id":"1399698056","filename":"file4"},{"photo_id":"1399698048","filename":"file1"},{"photo_id":"1399698046","filename":"file0"},{"photo_id":"1399698052","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698056":["hashtag1","hashtag2"]},{"1399698050":["hashtag1","hashtag2"]},{"1399698052":["hashtag1","hashtag2"]},{"1399698046":["hashtag1","hashtag2"]},{"1399698061":["hashtag1","hashtag2"]},{"1399698048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698056, 1399698050, 1399698052, 1399698046, 1399698061, 1399698048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25846219062805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:27:02.931861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_25_9672.jpg', '/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_35_10596.jpg', '/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_45_9303.jpg', '/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_55_10687.jpg', '/home/pi/Desktop/images/16122025/20/25/image_16122025_20_25_25_9605.jpg', '/home/pi/Desktop/images/16122025/20/25/image_16122025_20_25_35_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_25_9672.jpg
/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_35_10596.jpg
/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_45_9303.jpg
/home/pi/Desktop/images/16122025/20/24/image_16122025_20_24_55_10687.jpg
/home/pi/Desktop/images/16122025/20/25/image_16122025_20_25_25_9605.jpg
/home/pi/Desktop/images/16122025/20/25/image_16122025_20_25_35_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":["1399698074","1399698065","1399698076","1399698079","1399698081","1399698084"],"photo_ids_order":["1399698065","1399698074","1399698076","1399698079","1399698081","1399698084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50cc44841d1f93636228700b2e6bdff7.jpg","text":"TemporaryFile(/tmp/multipartBody5550637901987381650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913283535,"filename":"image_16122025_20_24_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4a8e9526c32d293e736f4761162860a.jpg","text":"TemporaryFile(/tmp/multipartBody1663218526141671876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913283535,"filename":"image_16122025_20_24_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/706edffc63ad8a0b582750ba3906a9f6.jpg","text":"TemporaryFile(/tmp/multipartBody844076498095143053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913283535,"filename":"image_16122025_20_24_45_9303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bec71acd3fd146072ee238776aba549b.jpg","text":"TemporaryFile(/tmp/multipartBody2018091816621541314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913283535,"filename":"image_16122025_20_24_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/554aa9017122df680680826346046c72.jpg","text":"TemporaryFile(/tmp/multipartBody6677117472595184428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913283535,"filename":"image_16122025_20_25_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/16/861bbd511cc4d67d0056e63dcb8b08ff.jpg","text":"TemporaryFile(/tmp/multipartBody615993265833761151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913283535,"filename":"image_16122025_20_25_35_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698076","file1":"1399698074","file0":"1399698065","file4":"1399698081","file5":"1399698084","file3":"1399698079"},"map_files_photo_id_array":[{"photo_id":"1399698084","filename":"file5"},{"photo_id":"1399698076","filename":"file2"},{"photo_id":"1399698081","filename":"file4"},{"photo_id":"1399698074","filename":"file1"},{"photo_id":"1399698065","filename":"file0"},{"photo_id":"1399698079","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698074":["hashtag1","hashtag2"]},{"1399698065":["hashtag1","hashtag2"]},{"1399698076":["hashtag1","hashtag2"]},{"1399698079":["hashtag1","hashtag2"]},{"1399698081":["hashtag1","hashtag2"]},{"1399698084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698074, 1399698065, 1399698076, 1399698079, 1399698081, 1399698084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93567967414856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:27:42.393237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_40_3667.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_45_4547.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_46_1612.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_49_2886.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_52_2705.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_55_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_40_3667.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_45_4547.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_46_1612.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_49_2886.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_52_2705.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_55_2878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698092","1399698095","1399698089","1399698094","1399698107","1399698096"],"photo_ids_order":["1399698089","1399698092","1399698094","1399698095","1399698096","1399698107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd9093ae241e7ef859771731546d3e29.jpg","text":"TemporaryFile(/tmp/multipartBody3719986367680964767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913323059,"filename":"image_06112025_17_48_45_4547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0171e48feb29c1e6b361e22aa9ca4dda.jpg","text":"TemporaryFile(/tmp/multipartBody621302431268640644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913323059,"filename":"image_06112025_17_48_49_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/16/ada1e2fd830d2e7ef3dc32bb46637ddb.jpg","text":"TemporaryFile(/tmp/multipartBody7144264736342727500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913323059,"filename":"image_06112025_17_48_40_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/16/e69b6532793fe81ff34ce218ac4ca75c.jpg","text":"TemporaryFile(/tmp/multipartBody2713577855427660082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913323059,"filename":"image_06112025_17_48_46_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/52be753c737cab5803c6f560917d2f22.jpg","text":"TemporaryFile(/tmp/multipartBody8766080914785285082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913323059,"filename":"image_06112025_17_48_55_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/16/ba66850d4b394577f81db5b4b8fab6af.jpg","text":"TemporaryFile(/tmp/multipartBody6273933562779889594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913323059,"filename":"image_06112025_17_48_52_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698094","file1":"1399698092","file0":"1399698089","file4":"1399698096","file5":"1399698107","file3":"1399698095"},"map_files_photo_id_array":[{"photo_id":"1399698107","filename":"file5"},{"photo_id":"1399698094","filename":"file2"},{"photo_id":"1399698096","filename":"file4"},{"photo_id":"1399698092","filename":"file1"},{"photo_id":"1399698089","filename":"file0"},{"photo_id":"1399698095","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698092":["hashtag1","hashtag2"]},{"1399698095":["hashtag1","hashtag2"]},{"1399698089":["hashtag1","hashtag2"]},{"1399698094":["hashtag1","hashtag2"]},{"1399698107":["hashtag1","hashtag2"]},{"1399698096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698092, 1399698095, 1399698089, 1399698094, 1399698107, 1399698096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.779788970947266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:28:22.645024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/25/image_16122025_20_25_55_9691.jpg', '/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_25_9727.jpg', '/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_35_10532.jpg', '/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_45_9744.jpg', '/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_55_9662.jpg', '/home/pi/Desktop/images/16122025/20/26/image_16122025_20_27_05_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/25/image_16122025_20_25_55_9691.jpg
/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_25_9727.jpg
/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_35_10532.jpg
/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_45_9744.jpg
/home/pi/Desktop/images/16122025/20/26/image_16122025_20_26_55_9662.jpg
/home/pi/Desktop/images/16122025/20/26/image_16122025_20_27_05_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698120","1399698128","1399698139","1399698136","1399698124","1399698141"],"photo_ids_order":["1399698120","1399698124","1399698128","1399698136","1399698139","1399698141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ecd1311b8770d1ce26dc9f8b4d2acf78.jpg","text":"TemporaryFile(/tmp/multipartBody1313776661982935556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913363237,"filename":"image_16122025_20_25_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/16/def3504ea2cc680fb6ed2e51e71b8f80.jpg","text":"TemporaryFile(/tmp/multipartBody1048055579012584022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913363237,"filename":"image_16122025_20_26_35_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be5f33b3779a62d1a443417bab8dc0f8.jpg","text":"TemporaryFile(/tmp/multipartBody5348487501578965722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913363237,"filename":"image_16122025_20_26_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/16/0836122a80f50eac3650b2417014bce7.jpg","text":"TemporaryFile(/tmp/multipartBody7092495840819739541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913363237,"filename":"image_16122025_20_26_45_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee996f30bf56cf951b648c383a5c2a58.jpg","text":"TemporaryFile(/tmp/multipartBody8037424689072029124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913363237,"filename":"image_16122025_20_26_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/16/d8a70fc4fe0622b95bc884589796db47.jpg","text":"TemporaryFile(/tmp/multipartBody3853642351107291581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913363237,"filename":"image_16122025_20_27_05_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698128","file1":"1399698124","file0":"1399698120","file4":"1399698139","file5":"1399698141","file3":"1399698136"},"map_files_photo_id_array":[{"photo_id":"1399698141","filename":"file5"},{"photo_id":"1399698128","filename":"file2"},{"photo_id":"1399698139","filename":"file4"},{"photo_id":"1399698124","filename":"file1"},{"photo_id":"1399698120","filename":"file0"},{"photo_id":"1399698136","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698120":["hashtag1","hashtag2"]},{"1399698128":["hashtag1","hashtag2"]},{"1399698139":["hashtag1","hashtag2"]},{"1399698136":["hashtag1","hashtag2"]},{"1399698124":["hashtag1","hashtag2"]},{"1399698141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698120, 1399698128, 1399698139, 1399698136, 1399698124, 1399698141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.327763080596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:29:02.744522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_15_9658.jpg', '/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_25_9649.jpg', '/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_35_10696.jpg', '/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_55_9608.jpg', '/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_15_9698.jpg', '/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_25_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_15_9658.jpg
/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_25_9649.jpg
/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_35_10696.jpg
/home/pi/Desktop/images/16122025/20/27/image_16122025_20_27_55_9608.jpg
/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_15_9698.jpg
/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_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":["1399698149","1399698157","1399698154","1399698148","1399698162","1399698147"],"photo_ids_order":["1399698147","1399698148","1399698149","1399698154","1399698157","1399698162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f42c2187e56ad7de9199881fb7a2bbf3.jpg","text":"TemporaryFile(/tmp/multipartBody4970075838657636063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913403469,"filename":"image_16122025_20_27_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/16/25e9154bec87828f03334e9d1b42d034.jpg","text":"TemporaryFile(/tmp/multipartBody1211755248373577514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913403469,"filename":"image_16122025_20_28_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/16/1d7378d9656cad8734ec3ee2661d3c24.jpg","text":"TemporaryFile(/tmp/multipartBody8424464122877472986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913403469,"filename":"image_16122025_20_27_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/16/a3e65e0f47caa65405185ff261cd3979.jpg","text":"TemporaryFile(/tmp/multipartBody7656809326001150705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913403469,"filename":"image_16122025_20_27_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79fbf5c51941a48954e8e50572d5287c.jpg","text":"TemporaryFile(/tmp/multipartBody2222349005025663463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913403469,"filename":"image_16122025_20_28_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/16/1d3eeffde7dd532e00f28cc8e50a1e84.jpg","text":"TemporaryFile(/tmp/multipartBody2274614580717090834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913403469,"filename":"image_16122025_20_27_15_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698149","file1":"1399698148","file0":"1399698147","file4":"1399698157","file5":"1399698162","file3":"1399698154"},"map_files_photo_id_array":[{"photo_id":"1399698162","filename":"file5"},{"photo_id":"1399698149","filename":"file2"},{"photo_id":"1399698157","filename":"file4"},{"photo_id":"1399698148","filename":"file1"},{"photo_id":"1399698147","filename":"file0"},{"photo_id":"1399698154","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698149":["hashtag1","hashtag2"]},{"1399698157":["hashtag1","hashtag2"]},{"1399698154":["hashtag1","hashtag2"]},{"1399698148":["hashtag1","hashtag2"]},{"1399698162":["hashtag1","hashtag2"]},{"1399698147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698149, 1399698157, 1399698154, 1399698148, 1399698162, 1399698147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.497565507888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:29:41.924497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_58_2653.jpg', '/home/pi/Desktop/images/06112025/17/48/image_06112025_17_49_01_3598.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_04_2695.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_07_3564.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_18_10932.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_20_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_48_58_2653.jpg
/home/pi/Desktop/images/06112025/17/48/image_06112025_17_49_01_3598.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_04_2695.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_07_3564.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_18_10932.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_20_1590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698173","1399698176","1399698175","1399698169","1399698174","1399698177"],"photo_ids_order":["1399698169","1399698173","1399698174","1399698175","1399698176","1399698177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2818b365f38925ed8d9bcb230091a0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1410015097753432207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913442654,"filename":"image_06112025_17_49_01_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/16/5587dbf92188264524444f452c86545e.jpg","text":"TemporaryFile(/tmp/multipartBody5699044072979478962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913442654,"filename":"image_06112025_17_49_18_10932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/05fd5f10068df6a357bc9e02a2a8f02f.jpg","text":"TemporaryFile(/tmp/multipartBody6868016352254594324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913442654,"filename":"image_06112025_17_49_07_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c65a6cff714409fc07e8bb5a4bf0f97.jpg","text":"TemporaryFile(/tmp/multipartBody850564410584185285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913442654,"filename":"image_06112025_17_48_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/16/f73e21b7570eae2fd42305b820e4c067.jpg","text":"TemporaryFile(/tmp/multipartBody5663310471382490476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913442654,"filename":"image_06112025_17_49_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/16/53160bf72147169a3761fe86f7725495.jpg","text":"TemporaryFile(/tmp/multipartBody8553835294917903167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913442654,"filename":"image_06112025_17_49_20_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698174","file1":"1399698173","file0":"1399698169","file4":"1399698176","file5":"1399698177","file3":"1399698175"},"map_files_photo_id_array":[{"photo_id":"1399698177","filename":"file5"},{"photo_id":"1399698174","filename":"file2"},{"photo_id":"1399698176","filename":"file4"},{"photo_id":"1399698173","filename":"file1"},{"photo_id":"1399698169","filename":"file0"},{"photo_id":"1399698175","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698173":["hashtag1","hashtag2"]},{"1399698176":["hashtag1","hashtag2"]},{"1399698175":["hashtag1","hashtag2"]},{"1399698169":["hashtag1","hashtag2"]},{"1399698174":["hashtag1","hashtag2"]},{"1399698177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698173, 1399698176, 1399698175, 1399698169, 1399698174, 1399698177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94828748703003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:30:22.111073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_35_9836.jpg', '/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_45_10684.jpg', '/home/pi/Desktop/images/16122025/20/28/image_16122025_20_29_05_9650.jpg', '/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_15_10665.jpg', '/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_25_9656.jpg', '/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_35_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_35_9836.jpg
/home/pi/Desktop/images/16122025/20/28/image_16122025_20_28_45_10684.jpg
/home/pi/Desktop/images/16122025/20/28/image_16122025_20_29_05_9650.jpg
/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_15_10665.jpg
/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_25_9656.jpg
/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_35_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698185","1399698188","1399698182","1399698195","1399698189","1399698198"],"photo_ids_order":["1399698182","1399698185","1399698188","1399698189","1399698195","1399698198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6208af68809224ba78c78a78be83a57f.jpg","text":"TemporaryFile(/tmp/multipartBody5983634795027734889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913482689,"filename":"image_16122025_20_28_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cee4e92a62c66f1ac131ba3952364882.jpg","text":"TemporaryFile(/tmp/multipartBody7200199449889915227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913482689,"filename":"image_16122025_20_29_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/16/e4efa323903cb22228c70edd10242e9e.jpg","text":"TemporaryFile(/tmp/multipartBody6956391399819692906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913482689,"filename":"image_16122025_20_28_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/16/af5ebc566b90e8305cdc0d8c9800cca9.jpg","text":"TemporaryFile(/tmp/multipartBody4853955580043773556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913482689,"filename":"image_16122025_20_29_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07741f3381f903785983e3646a29a2ca.jpg","text":"TemporaryFile(/tmp/multipartBody602857646872584418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913482689,"filename":"image_16122025_20_29_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/16/0ff3c4e5133ce2e81d09a133b63874d4.jpg","text":"TemporaryFile(/tmp/multipartBody9087504667768341143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913482689,"filename":"image_16122025_20_29_35_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698188","file1":"1399698185","file0":"1399698182","file4":"1399698195","file5":"1399698198","file3":"1399698189"},"map_files_photo_id_array":[{"photo_id":"1399698198","filename":"file5"},{"photo_id":"1399698188","filename":"file2"},{"photo_id":"1399698195","filename":"file4"},{"photo_id":"1399698185","filename":"file1"},{"photo_id":"1399698182","filename":"file0"},{"photo_id":"1399698189","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698185":["hashtag1","hashtag2"]},{"1399698188":["hashtag1","hashtag2"]},{"1399698182":["hashtag1","hashtag2"]},{"1399698195":["hashtag1","hashtag2"]},{"1399698189":["hashtag1","hashtag2"]},{"1399698198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698185, 1399698188, 1399698182, 1399698195, 1399698189, 1399698198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83108043670654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:31:02.971406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_45_10671.jpg', '/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_55_9706.jpg', '/home/pi/Desktop/images/16122025/20/29/image_16122025_20_30_05_9658.jpg', '/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_15_10649.jpg', '/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_36_10585.jpg', '/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_45_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_45_10671.jpg
/home/pi/Desktop/images/16122025/20/29/image_16122025_20_29_55_9706.jpg
/home/pi/Desktop/images/16122025/20/29/image_16122025_20_30_05_9658.jpg
/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_15_10649.jpg
/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_36_10585.jpg
/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_45_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698213","1399698207","1399698203","1399698209","1399698211","1399698205"],"photo_ids_order":["1399698203","1399698205","1399698207","1399698209","1399698211","1399698213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68281585a0c695105eac63ca8716ff54.jpg","text":"TemporaryFile(/tmp/multipartBody5909721759645295762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913523641,"filename":"image_16122025_20_30_45_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7c582dcb1e816867cca1fd0feffb66c.jpg","text":"TemporaryFile(/tmp/multipartBody229590810521898001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913523641,"filename":"image_16122025_20_30_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/16/9f4c5810804437c901c794949683dd27.jpg","text":"TemporaryFile(/tmp/multipartBody5334865084150222050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913523641,"filename":"image_16122025_20_29_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/af208a3d9a5ff7ea97809f02fe74b377.jpg","text":"TemporaryFile(/tmp/multipartBody6910081690243301754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913523641,"filename":"image_16122025_20_30_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6fdbfadc36c845f06884dd044e5c26b6.jpg","text":"TemporaryFile(/tmp/multipartBody4321064604645655202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913523641,"filename":"image_16122025_20_30_36_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/16/f099f81f894c4d913ff9e9378879c97a.jpg","text":"TemporaryFile(/tmp/multipartBody2739735188344677831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913523641,"filename":"image_16122025_20_29_55_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698207","file1":"1399698205","file0":"1399698203","file4":"1399698211","file5":"1399698213","file3":"1399698209"},"map_files_photo_id_array":[{"photo_id":"1399698213","filename":"file5"},{"photo_id":"1399698207","filename":"file2"},{"photo_id":"1399698211","filename":"file4"},{"photo_id":"1399698205","filename":"file1"},{"photo_id":"1399698203","filename":"file0"},{"photo_id":"1399698209","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698213":["hashtag1","hashtag2"]},{"1399698207":["hashtag1","hashtag2"]},{"1399698203":["hashtag1","hashtag2"]},{"1399698209":["hashtag1","hashtag2"]},{"1399698211":["hashtag1","hashtag2"]},{"1399698205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698213, 1399698207, 1399698203, 1399698209, 1399698211, 1399698205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20487117767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:31:42.373965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_22_1632.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_27_5691.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_29_1638.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_36_7358.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_38_1723.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_40_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_22_1632.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_27_5691.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_29_1638.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_36_7358.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_38_1723.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_40_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698236","1399698227","1399698232","1399698220","1399698223","1399698225"],"photo_ids_order":["1399698220","1399698223","1399698225","1399698227","1399698232","1399698236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14ba4d7a077b3bf5b9d7577477697ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3155429344438331790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913563037,"filename":"image_06112025_17_49_40_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0d31745353a4913c4049d4fee38864a.jpg","text":"TemporaryFile(/tmp/multipartBody4449647445853832692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913563037,"filename":"image_06112025_17_49_36_7358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/43eed5854d4ad36487b639e73f741446.jpg","text":"TemporaryFile(/tmp/multipartBody7659468310941207654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913563037,"filename":"image_06112025_17_49_38_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e922c7438dda546989842c355b6c1159.jpg","text":"TemporaryFile(/tmp/multipartBody7851716625568765786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913563037,"filename":"image_06112025_17_49_22_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/16/5ee7e1335f636c55a1217acdfa92a7a5.jpg","text":"TemporaryFile(/tmp/multipartBody8456592079380217868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913563037,"filename":"image_06112025_17_49_27_5691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9aaaa9f92ae1083aaedb284394e2682.jpg","text":"TemporaryFile(/tmp/multipartBody1896177239991606973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913563037,"filename":"image_06112025_17_49_29_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698225","file1":"1399698223","file0":"1399698220","file4":"1399698232","file5":"1399698236","file3":"1399698227"},"map_files_photo_id_array":[{"photo_id":"1399698236","filename":"file5"},{"photo_id":"1399698225","filename":"file2"},{"photo_id":"1399698232","filename":"file4"},{"photo_id":"1399698223","filename":"file1"},{"photo_id":"1399698220","filename":"file0"},{"photo_id":"1399698227","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698236":["hashtag1","hashtag2"]},{"1399698227":["hashtag1","hashtag2"]},{"1399698232":["hashtag1","hashtag2"]},{"1399698220":["hashtag1","hashtag2"]},{"1399698223":["hashtag1","hashtag2"]},{"1399698225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698236, 1399698227, 1399698232, 1399698220, 1399698223, 1399698225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5471408367157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:32:22.591568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_55_9552.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_25_9654.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_35_9623.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_45_10700.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_55_9658.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_32_05_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_55_9552.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_25_9654.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_35_9623.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_45_10700.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_55_9658.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_32_05_9820.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47893691062927246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:32:32.636056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:32:42.583992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_41_1760.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_43_1675.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_45_1690.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_46_1605.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_48_1588.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_49_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_41_1760.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_43_1675.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_45_1690.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_46_1605.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_48_1588.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_49_1559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698260","1399698254","1399698257","1399698256","1399698259","1399698258"],"photo_ids_order":["1399698254","1399698256","1399698257","1399698258","1399698259","1399698260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fddf57ca1af66621756a073b5cfd53f2.jpg","text":"TemporaryFile(/tmp/multipartBody5070346091464249665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913623244,"filename":"image_06112025_17_49_49_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/16/8a23722632719ea239c9578fa916ddf0.jpg","text":"TemporaryFile(/tmp/multipartBody1414907886362647293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913623244,"filename":"image_06112025_17_49_41_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b191ec9583b80664ec526a1300a03ef.jpg","text":"TemporaryFile(/tmp/multipartBody2375909132918527454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913623244,"filename":"image_06112025_17_49_45_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/16/b07d00e759d954fd2bb830646098a1de.jpg","text":"TemporaryFile(/tmp/multipartBody5006732472655464955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913623244,"filename":"image_06112025_17_49_43_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/16/b6b153f365b7eabbb7e3dd2956b6ff7b.jpg","text":"TemporaryFile(/tmp/multipartBody5072539771635637269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913623244,"filename":"image_06112025_17_49_48_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/16/41aafc52b98d02f9f37f05f4d8e8f8a4.jpg","text":"TemporaryFile(/tmp/multipartBody1154180167179847047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913623244,"filename":"image_06112025_17_49_46_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698257","file1":"1399698256","file0":"1399698254","file4":"1399698259","file5":"1399698260","file3":"1399698258"},"map_files_photo_id_array":[{"photo_id":"1399698260","filename":"file5"},{"photo_id":"1399698257","filename":"file2"},{"photo_id":"1399698259","filename":"file4"},{"photo_id":"1399698256","filename":"file1"},{"photo_id":"1399698254","filename":"file0"},{"photo_id":"1399698258","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698260":["hashtag1","hashtag2"]},{"1399698254":["hashtag1","hashtag2"]},{"1399698257":["hashtag1","hashtag2"]},{"1399698256":["hashtag1","hashtag2"]},{"1399698259":["hashtag1","hashtag2"]},{"1399698258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698260, 1399698254, 1399698257, 1399698256, 1399698259, 1399698258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6540949344635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:33:21.853329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_55_9552.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_25_9654.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_35_9623.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_45_10700.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_55_9658.jpg', '/home/pi/Desktop/images/16122025/20/31/image_16122025_20_32_05_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/30/image_16122025_20_30_55_9552.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_25_9654.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_35_9623.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_45_10700.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_31_55_9658.jpg
/home/pi/Desktop/images/16122025/20/31/image_16122025_20_32_05_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698269","1399698271","1399698265","1399698273","1399698267","1399698276"],"photo_ids_order":["1399698265","1399698267","1399698269","1399698271","1399698273","1399698276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd7b0e7079021b1441469ba4ba16faf3.jpg","text":"TemporaryFile(/tmp/multipartBody2833691734978090768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913662428,"filename":"image_16122025_20_31_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/795c371dd94a053895b8fb065ede6c73.jpg","text":"TemporaryFile(/tmp/multipartBody7302681624472793441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913662428,"filename":"image_16122025_20_31_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fd9c6d9f8b4da7c27698c4ece1c67b5.jpg","text":"TemporaryFile(/tmp/multipartBody5452007037587239022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913662428,"filename":"image_16122025_20_30_55_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ab3b13918587254781b6c45aac763a7.jpg","text":"TemporaryFile(/tmp/multipartBody359628669955942845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913662428,"filename":"image_16122025_20_31_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea609aca90d84f43124810cc9caeabfe.jpg","text":"TemporaryFile(/tmp/multipartBody3005102077146587564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913662428,"filename":"image_16122025_20_31_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d7004d572def4a4ee0bf124eb4f721b.jpg","text":"TemporaryFile(/tmp/multipartBody6135511415683591219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913662428,"filename":"image_16122025_20_32_05_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698269","file1":"1399698267","file0":"1399698265","file4":"1399698273","file5":"1399698276","file3":"1399698271"},"map_files_photo_id_array":[{"photo_id":"1399698276","filename":"file5"},{"photo_id":"1399698269","filename":"file2"},{"photo_id":"1399698273","filename":"file4"},{"photo_id":"1399698267","filename":"file1"},{"photo_id":"1399698265","filename":"file0"},{"photo_id":"1399698271","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698269":["hashtag1","hashtag2"]},{"1399698271":["hashtag1","hashtag2"]},{"1399698265":["hashtag1","hashtag2"]},{"1399698273":["hashtag1","hashtag2"]},{"1399698267":["hashtag1","hashtag2"]},{"1399698276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698269, 1399698271, 1399698265, 1399698273, 1399698267, 1399698276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43548560142517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:34:02.805995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/32/image_16122025_20_32_16_10736.jpg', '/home/pi/Desktop/images/16122025/20/32/image_16122025_20_32_25_9653.jpg', '/home/pi/Desktop/images/16122025/20/32/image_16122025_20_32_55_10646.jpg', '/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_05_9574.jpg', '/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_15_9626.jpg', '/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_46_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/32/image_16122025_20_32_16_10736.jpg
/home/pi/Desktop/images/16122025/20/32/image_16122025_20_32_25_9653.jpg
/home/pi/Desktop/images/16122025/20/32/image_16122025_20_32_55_10646.jpg
/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_05_9574.jpg
/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_15_9626.jpg
/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_46_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698287","1399698289","1399698280","1399698283","1399698285","1399698279"],"photo_ids_order":["1399698279","1399698280","1399698283","1399698285","1399698287","1399698289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9bf29870d66439a8b5e7196a044a2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1737698130245430033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913703492,"filename":"image_16122025_20_33_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/35a54cc821a184d80426cef2c053c24f.jpg","text":"TemporaryFile(/tmp/multipartBody5638662819008049437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913703492,"filename":"image_16122025_20_33_46_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/16/25b691823701fca3ea053341992b12ca.jpg","text":"TemporaryFile(/tmp/multipartBody5426151241345254012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913703492,"filename":"image_16122025_20_32_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/146a34257f132e12cbfd9eaf07d35bb6.jpg","text":"TemporaryFile(/tmp/multipartBody2946356493654957747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913703492,"filename":"image_16122025_20_32_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/16/825f5880b7ddabb0d1c511f5ec8d2f04.jpg","text":"TemporaryFile(/tmp/multipartBody3517749067005283457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913703492,"filename":"image_16122025_20_33_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/16/9829ca0550274a5c9692b6e9c4a8e4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6614754365404705228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913703492,"filename":"image_16122025_20_32_16_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698283","file1":"1399698280","file0":"1399698279","file4":"1399698287","file5":"1399698289","file3":"1399698285"},"map_files_photo_id_array":[{"photo_id":"1399698289","filename":"file5"},{"photo_id":"1399698283","filename":"file2"},{"photo_id":"1399698287","filename":"file4"},{"photo_id":"1399698280","filename":"file1"},{"photo_id":"1399698279","filename":"file0"},{"photo_id":"1399698285","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698287":["hashtag1","hashtag2"]},{"1399698289":["hashtag1","hashtag2"]},{"1399698280":["hashtag1","hashtag2"]},{"1399698283":["hashtag1","hashtag2"]},{"1399698285":["hashtag1","hashtag2"]},{"1399698279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698287, 1399698289, 1399698280, 1399698283, 1399698285, 1399698279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89790487289429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:34:42.059563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_52_2727.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_55_2599.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_58_2838.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_07_3011.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_16_2887.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_28_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_52_2727.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_55_2599.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_58_2838.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_07_3011.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_16_2887.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_28_3542.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5113224983215332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:35:02.992093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_55_9756.jpg', '/home/pi/Desktop/images/16122025/20/33/image_16122025_20_34_05_9563.jpg', '/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_15_9800.jpg', '/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_25_10631.jpg', '/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_35_9691.jpg', '/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_45_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/33/image_16122025_20_33_55_9756.jpg
/home/pi/Desktop/images/16122025/20/33/image_16122025_20_34_05_9563.jpg
/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_15_9800.jpg
/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_25_10631.jpg
/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_35_9691.jpg
/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_45_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":["1399698312","1399698309","1399698305","1399698307","1399698301","1399698303"],"photo_ids_order":["1399698301","1399698303","1399698305","1399698307","1399698309","1399698312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3370190bbfa4e0bc09ca9dc803509c8b.jpg","text":"TemporaryFile(/tmp/multipartBody7186288706175255462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913763599,"filename":"image_16122025_20_34_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/745a2b6aa0b333265a0168345879078d.jpg","text":"TemporaryFile(/tmp/multipartBody7295388197181907868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913763599,"filename":"image_16122025_20_34_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bbc9ee49821b882c8ac786fc4d95ea08.jpg","text":"TemporaryFile(/tmp/multipartBody1397234680695358978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913763599,"filename":"image_16122025_20_34_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e9b7c15e6584f759fefa13aef1456e5.jpg","text":"TemporaryFile(/tmp/multipartBody8623303014701328378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913763599,"filename":"image_16122025_20_34_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0a9a26f5668da318e7c01b839b83989.jpg","text":"TemporaryFile(/tmp/multipartBody7723895599284410951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913763599,"filename":"image_16122025_20_33_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8f432aaf4282f6aeadb275359d939fc.jpg","text":"TemporaryFile(/tmp/multipartBody4856864431808952892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913763599,"filename":"image_16122025_20_34_05_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698305","file1":"1399698303","file0":"1399698301","file4":"1399698309","file5":"1399698312","file3":"1399698307"},"map_files_photo_id_array":[{"photo_id":"1399698312","filename":"file5"},{"photo_id":"1399698305","filename":"file2"},{"photo_id":"1399698309","filename":"file4"},{"photo_id":"1399698303","filename":"file1"},{"photo_id":"1399698301","filename":"file0"},{"photo_id":"1399698307","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698312":["hashtag1","hashtag2"]},{"1399698309":["hashtag1","hashtag2"]},{"1399698305":["hashtag1","hashtag2"]},{"1399698307":["hashtag1","hashtag2"]},{"1399698301":["hashtag1","hashtag2"]},{"1399698303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698312, 1399698309, 1399698305, 1399698307, 1399698301, 1399698303)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.07367014884949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:36:02.218948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_55_10637.jpg', '/home/pi/Desktop/images/16122025/20/34/image_16122025_20_35_05_9775.jpg', '/home/pi/Desktop/images/16122025/20/35/image_16122025_20_35_15_9557.jpg', '/home/pi/Desktop/images/16122025/20/35/image_16122025_20_35_25_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/34/image_16122025_20_34_55_10637.jpg
/home/pi/Desktop/images/16122025/20/34/image_16122025_20_35_05_9775.jpg
/home/pi/Desktop/images/16122025/20/35/image_16122025_20_35_15_9557.jpg
/home/pi/Desktop/images/16122025/20/35/image_16122025_20_35_25_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":["1399698566","1399698536","1399698558","1399698561"],"photo_ids_order":["1399698536","1399698558","1399698561","1399698566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/534d5c9c85bfb620ee29937c001eb7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5114253915515684051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913822744,"filename":"image_16122025_20_35_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/16/ce5f83f96b07c0ad4e4672a5e6bfdec7.jpg","text":"TemporaryFile(/tmp/multipartBody132495229859279641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913822744,"filename":"image_16122025_20_34_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/16/ad5a9e13e59c028bcc5b3ae319d521b2.jpg","text":"TemporaryFile(/tmp/multipartBody6141498272823027803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913822744,"filename":"image_16122025_20_35_05_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b50797177d6a19576907e589858e2f1.jpg","text":"TemporaryFile(/tmp/multipartBody1766277798118131485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913822744,"filename":"image_16122025_20_35_15_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698561","file1":"1399698558","file0":"1399698536","file3":"1399698566"},"map_files_photo_id_array":[{"photo_id":"1399698561","filename":"file2"},{"photo_id":"1399698558","filename":"file1"},{"photo_id":"1399698536","filename":"file0"},{"photo_id":"1399698566","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698566":["hashtag1","hashtag2"]},{"1399698536":["hashtag1","hashtag2"]},{"1399698558":["hashtag1","hashtag2"]},{"1399698561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698566, 1399698536, 1399698558, 1399698561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.406301498413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:36:32.042267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:36:41.975932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_52_2727.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_55_2599.jpg', '/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_58_2838.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_07_3011.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_16_2887.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_28_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_52_2727.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_55_2599.jpg
/home/pi/Desktop/images/06112025/17/49/image_06112025_17_49_58_2838.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_07_3011.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_16_2887.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_28_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":["1399698606","1399698596","1399698605","1399698635","1399698616","1399698630"],"photo_ids_order":["1399698596","1399698605","1399698606","1399698616","1399698630","1399698635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0e1ed595c1e3cf5b43b5b3c36b185ff.jpg","text":"TemporaryFile(/tmp/multipartBody3955114200431630479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913862517,"filename":"image_06112025_17_49_58_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e7f8913cd109abde18f246a9b905678.jpg","text":"TemporaryFile(/tmp/multipartBody549931529954913010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913862517,"filename":"image_06112025_17_49_52_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/16/c507ec61cb509208a6ffb308bee49da0.jpg","text":"TemporaryFile(/tmp/multipartBody6171490856740023853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913862517,"filename":"image_06112025_17_49_55_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/16/5451a5bece576ce85e66d7cb26f212a8.jpg","text":"TemporaryFile(/tmp/multipartBody8706130249479140220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913862517,"filename":"image_06112025_17_51_28_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/16/880a3529c19d25d85ff2e303614801a9.jpg","text":"TemporaryFile(/tmp/multipartBody8661370915054586847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913862517,"filename":"image_06112025_17_51_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/16/cc9b437b10b296bf998594d07fc38cdf.jpg","text":"TemporaryFile(/tmp/multipartBody2800748972847128963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913862517,"filename":"image_06112025_17_51_16_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698606","file1":"1399698605","file0":"1399698596","file4":"1399698630","file5":"1399698635","file3":"1399698616"},"map_files_photo_id_array":[{"photo_id":"1399698635","filename":"file5"},{"photo_id":"1399698606","filename":"file2"},{"photo_id":"1399698630","filename":"file4"},{"photo_id":"1399698605","filename":"file1"},{"photo_id":"1399698596","filename":"file0"},{"photo_id":"1399698616","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698606":["hashtag1","hashtag2"]},{"1399698596":["hashtag1","hashtag2"]},{"1399698605":["hashtag1","hashtag2"]},{"1399698635":["hashtag1","hashtag2"]},{"1399698616":["hashtag1","hashtag2"]},{"1399698630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698606, 1399698596, 1399698605, 1399698635, 1399698616, 1399698630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91370511054993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:37:22.461963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/35/image_16122025_20_35_55_10794.jpg', '/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_26_10725.jpg', '/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_35_9668.jpg', '/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_45_9653.jpg', '/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_56_10684.jpg', '/home/pi/Desktop/images/16122025/20/36/image_16122025_20_37_05_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/35/image_16122025_20_35_55_10794.jpg
/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_26_10725.jpg
/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_35_9668.jpg
/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_45_9653.jpg
/home/pi/Desktop/images/16122025/20/36/image_16122025_20_36_56_10684.jpg
/home/pi/Desktop/images/16122025/20/36/image_16122025_20_37_05_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":["1399698641","1399698650","1399698644","1399698653","1399698646","1399698648"],"photo_ids_order":["1399698641","1399698644","1399698646","1399698648","1399698650","1399698653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c87859d1d5ee2045696703eb31143199.jpg","text":"TemporaryFile(/tmp/multipartBody2121016760289704505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913903048,"filename":"image_16122025_20_35_55_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/564742818c165b41786ddc1c5ff6e039.jpg","text":"TemporaryFile(/tmp/multipartBody2214185565926174976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913903048,"filename":"image_16122025_20_36_56_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2aa25d12cf7628738a245e3410493022.jpg","text":"TemporaryFile(/tmp/multipartBody4075862061337668927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913903048,"filename":"image_16122025_20_36_26_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59989dbdae42bea4cd2f55c1357dc16a.jpg","text":"TemporaryFile(/tmp/multipartBody7268815698523448149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913903048,"filename":"image_16122025_20_37_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/16/3ffd5cd4f5a923985376ff261f8086f6.jpg","text":"TemporaryFile(/tmp/multipartBody94649435604876480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913903048,"filename":"image_16122025_20_36_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/16/85e7abc0704b7bee89049805c1caeaa0.jpg","text":"TemporaryFile(/tmp/multipartBody92700494000066293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913903048,"filename":"image_16122025_20_36_45_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698646","file1":"1399698644","file0":"1399698641","file4":"1399698650","file5":"1399698653","file3":"1399698648"},"map_files_photo_id_array":[{"photo_id":"1399698653","filename":"file5"},{"photo_id":"1399698646","filename":"file2"},{"photo_id":"1399698650","filename":"file4"},{"photo_id":"1399698644","filename":"file1"},{"photo_id":"1399698641","filename":"file0"},{"photo_id":"1399698648","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698641":["hashtag1","hashtag2"]},{"1399698650":["hashtag1","hashtag2"]},{"1399698644":["hashtag1","hashtag2"]},{"1399698653":["hashtag1","hashtag2"]},{"1399698646":["hashtag1","hashtag2"]},{"1399698648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698641, 1399698650, 1399698644, 1399698653, 1399698646, 1399698648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.435446977615356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:38:03.048827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_15_9600.jpg', '/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_25_9763.jpg', '/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_35_10654.jpg', '/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_45_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_15_9600.jpg
/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_25_9763.jpg
/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_35_10654.jpg
/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_45_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698659","1399698661","1399698655","1399698657"],"photo_ids_order":["1399698655","1399698657","1399698659","1399698661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/130a069de147540e8b1937f3c6cb132a.jpg","text":"TemporaryFile(/tmp/multipartBody3896131661963849094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913943550,"filename":"image_16122025_20_37_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/974d98d39fc450981a0dd6fb9b6814ba.jpg","text":"TemporaryFile(/tmp/multipartBody3409223282802440524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913943550,"filename":"image_16122025_20_37_45_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cff52e9c796f019722c39312a5f2c975.jpg","text":"TemporaryFile(/tmp/multipartBody1310412309518762188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913943550,"filename":"image_16122025_20_37_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/336e507e438d11884744fa2734041d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4370107369797733615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913943550,"filename":"image_16122025_20_37_25_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698659","file1":"1399698657","file0":"1399698655","file3":"1399698661"},"map_files_photo_id_array":[{"photo_id":"1399698659","filename":"file2"},{"photo_id":"1399698657","filename":"file1"},{"photo_id":"1399698655","filename":"file0"},{"photo_id":"1399698661","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698659":["hashtag1","hashtag2"]},{"1399698661":["hashtag1","hashtag2"]},{"1399698655":["hashtag1","hashtag2"]},{"1399698657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698659, 1399698661, 1399698655, 1399698657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.38442039489746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:38:32.681412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:38:42.637182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_31_2879.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_34_2543.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_37_3588.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_46_1507.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_49_3694.jpg', '/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_55_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_31_2879.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_34_2543.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_37_3588.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_46_1507.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_49_3694.jpg
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_55_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":["1399698677","1399698731","1399698709","1399698693","1399698726","1399698735"],"photo_ids_order":["1399698677","1399698693","1399698709","1399698726","1399698731","1399698735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/69fba7505c741ca7c1b07ac841edeff4.jpg","text":"TemporaryFile(/tmp/multipartBody6656557220241062963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913983250,"filename":"image_06112025_17_51_31_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/16/651498f2654382ea89155820eeeb5c54.jpg","text":"TemporaryFile(/tmp/multipartBody5415255817648171414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913983250,"filename":"image_06112025_17_51_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/16/685edff04d15c8502722d7553f54497d.jpg","text":"TemporaryFile(/tmp/multipartBody184304063549618661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913983250,"filename":"image_06112025_17_51_37_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3060794ddfd9b6bbec6f34a93837274a.jpg","text":"TemporaryFile(/tmp/multipartBody8185861160179699545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913983250,"filename":"image_06112025_17_51_34_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/16/f17bb6065047980554c8c5f19be97ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3891739680114161942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913983250,"filename":"image_06112025_17_51_46_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75ae223e8067a807ed08cc17b6b01dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4828572233316975627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765913983250,"filename":"image_06112025_17_51_55_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698709","file1":"1399698693","file0":"1399698677","file4":"1399698731","file5":"1399698735","file3":"1399698726"},"map_files_photo_id_array":[{"photo_id":"1399698735","filename":"file5"},{"photo_id":"1399698709","filename":"file2"},{"photo_id":"1399698731","filename":"file4"},{"photo_id":"1399698693","filename":"file1"},{"photo_id":"1399698677","filename":"file0"},{"photo_id":"1399698726","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698677":["hashtag1","hashtag2"]},{"1399698731":["hashtag1","hashtag2"]},{"1399698709":["hashtag1","hashtag2"]},{"1399698693":["hashtag1","hashtag2"]},{"1399698726":["hashtag1","hashtag2"]},{"1399698735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698677, 1399698731, 1399698709, 1399698693, 1399698726, 1399698735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33811712265015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:39:21.913068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_55_9992.jpg', '/home/pi/Desktop/images/16122025/20/37/image_16122025_20_38_05_9751.jpg', '/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_16_10788.jpg', '/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_25_9721.jpg', '/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_35_9566.jpg', '/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_55_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/37/image_16122025_20_37_55_9992.jpg
/home/pi/Desktop/images/16122025/20/37/image_16122025_20_38_05_9751.jpg
/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_16_10788.jpg
/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_25_9721.jpg
/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_35_9566.jpg
/home/pi/Desktop/images/16122025/20/38/image_16122025_20_38_55_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":["1399698740","1399698746","1399698751","1399698748","1399698742","1399698744"],"photo_ids_order":["1399698740","1399698742","1399698744","1399698746","1399698748","1399698751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1081e62f20e9d500d6bb03e537021ead.jpg","text":"TemporaryFile(/tmp/multipartBody2965232647023885613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914022499,"filename":"image_16122025_20_37_55_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8aaa1df51c3b096acf5ba74ab187e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1086154400641723895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914022499,"filename":"image_16122025_20_38_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e08aef628571ea6706aa65cc3107d68c.jpg","text":"TemporaryFile(/tmp/multipartBody3138263324361048760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914022499,"filename":"image_16122025_20_38_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e42975dcff42787438ddf90d5703bff.jpg","text":"TemporaryFile(/tmp/multipartBody6290615726980383987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914022499,"filename":"image_16122025_20_38_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/16/5a9b340bbbc73fba994793932df8e031.jpg","text":"TemporaryFile(/tmp/multipartBody7679260897323735581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914022499,"filename":"image_16122025_20_38_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc665ca7e92b90fc929e63a3d114a9fd.jpg","text":"TemporaryFile(/tmp/multipartBody1748297843301553780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914022499,"filename":"image_16122025_20_38_16_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698744","file1":"1399698742","file0":"1399698740","file4":"1399698748","file5":"1399698751","file3":"1399698746"},"map_files_photo_id_array":[{"photo_id":"1399698751","filename":"file5"},{"photo_id":"1399698744","filename":"file2"},{"photo_id":"1399698748","filename":"file4"},{"photo_id":"1399698742","filename":"file1"},{"photo_id":"1399698740","filename":"file0"},{"photo_id":"1399698746","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698740":["hashtag1","hashtag2"]},{"1399698746":["hashtag1","hashtag2"]},{"1399698751":["hashtag1","hashtag2"]},{"1399698748":["hashtag1","hashtag2"]},{"1399698742":["hashtag1","hashtag2"]},{"1399698744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698740, 1399698746, 1399698751, 1399698748, 1399698742, 1399698744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.107011556625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:40:02.404846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/38/image_16122025_20_39_05_9722.jpg', '/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_16_10712.jpg', '/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_25_9576.jpg', '/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_35_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/38/image_16122025_20_39_05_9722.jpg
/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_16_10712.jpg
/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_25_9576.jpg
/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_35_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":["1399698794","1399698767","1399698761","1399698769"],"photo_ids_order":["1399698761","1399698767","1399698769","1399698794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e60356a1106fdd3365b2d5428f9eb4f.jpg","text":"TemporaryFile(/tmp/multipartBody3054713786359472481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914062930,"filename":"image_16122025_20_39_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf01b62c643b07277dc668ba7978c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody1602458818750194247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914062930,"filename":"image_16122025_20_39_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/16/c37f1a2134eb015c5b4819b8274fff9e.jpg","text":"TemporaryFile(/tmp/multipartBody5528021753003494960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914062930,"filename":"image_16122025_20_39_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46e95107a96f53b761203ae75667321f.jpg","text":"TemporaryFile(/tmp/multipartBody478923693303351838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914062930,"filename":"image_16122025_20_39_25_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698769","file1":"1399698767","file0":"1399698761","file3":"1399698794"},"map_files_photo_id_array":[{"photo_id":"1399698769","filename":"file2"},{"photo_id":"1399698767","filename":"file1"},{"photo_id":"1399698761","filename":"file0"},{"photo_id":"1399698794","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698794":["hashtag1","hashtag2"]},{"1399698767":["hashtag1","hashtag2"]},{"1399698761":["hashtag1","hashtag2"]},{"1399698769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698794, 1399698767, 1399698761, 1399698769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.300969123840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:40:32.101510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:40:42.050174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_58_3547.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_08_3608.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_46_2615.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_49_3651.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_52_2517.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_01_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_58_3547.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_08_3608.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_46_2615.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_49_3651.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_52_2517.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_01_2614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5248324871063232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:41:03.064248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_45_10574.jpg', '/home/pi/Desktop/images/16122025/20/39/image_16122025_20_40_05_9653.jpg', '/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_15_10564.jpg', '/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_25_9758.jpg', '/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_35_10504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/39/image_16122025_20_39_45_10574.jpg
/home/pi/Desktop/images/16122025/20/39/image_16122025_20_40_05_9653.jpg
/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_15_10564.jpg
/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_25_9758.jpg
/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_35_10504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399698968","1399698962","1399698967","1399698969","1399698951"],"photo_ids_order":["1399698951","1399698962","1399698967","1399698968","1399698969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7dc515fb9216f1c278e032c8879abb1c.jpg","text":"TemporaryFile(/tmp/multipartBody8717522224577527241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914123627,"filename":"image_16122025_20_40_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/16/18d5664489ed7520b5b15237df198004.jpg","text":"TemporaryFile(/tmp/multipartBody1758369261185291956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914123627,"filename":"image_16122025_20_40_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/16/b31d3cef112fcb01a1c137cb548018fc.jpg","text":"TemporaryFile(/tmp/multipartBody5688799247899289990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914123627,"filename":"image_16122025_20_40_15_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/16/9d29e22f9b09eb0e01064b733b81b43a.jpg","text":"TemporaryFile(/tmp/multipartBody6027177618407344608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914123627,"filename":"image_16122025_20_40_35_10504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bdb37350dcee4092c9a5f27b550ec9d.jpg","text":"TemporaryFile(/tmp/multipartBody8054119568251732907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914123627,"filename":"image_16122025_20_39_45_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698967","file1":"1399698962","file0":"1399698951","file4":"1399698969","file3":"1399698968"},"map_files_photo_id_array":[{"photo_id":"1399698967","filename":"file2"},{"photo_id":"1399698969","filename":"file4"},{"photo_id":"1399698962","filename":"file1"},{"photo_id":"1399698951","filename":"file0"},{"photo_id":"1399698968","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399698968":["hashtag1","hashtag2"]},{"1399698962":["hashtag1","hashtag2"]},{"1399698967":["hashtag1","hashtag2"]},{"1399698969":["hashtag1","hashtag2"]},{"1399698951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399698968, 1399698962, 1399698967, 1399698969, 1399698951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.738926649093628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:41:50.875155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_58_3547.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_08_3608.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_46_2615.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_49_3651.jpg', '/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_52_2517.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_01_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/51/image_06112025_17_51_58_3547.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_08_3608.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_46_2615.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_49_3651.jpg
/home/pi/Desktop/images/06112025/17/52/image_06112025_17_52_52_2517.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_01_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399698983","1399698980","1399698982","1399698985","1399698981","1399698984"],"photo_ids_order":["1399698980","1399698981","1399698982","1399698983","1399698984","1399698985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5b849462fdc2b98d6a08e8a578af638.jpg","text":"TemporaryFile(/tmp/multipartBody6262360241519598919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914171402,"filename":"image_06112025_17_52_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/16/6ab38853635ebd29409dd3d333b79606.jpg","text":"TemporaryFile(/tmp/multipartBody4440824829956406871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914171402,"filename":"image_06112025_17_51_58_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/16/e2f7403731f3ceb0c984498ba7bd9b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3786043318214094367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914171402,"filename":"image_06112025_17_52_46_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/16/03ebcdae2ee548e87970c1bc0ce75055.jpg","text":"TemporaryFile(/tmp/multipartBody677449825636779595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914171402,"filename":"image_06112025_17_53_01_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d46ab44c6e484097c49ae85ca8f9d9fa.jpg","text":"TemporaryFile(/tmp/multipartBody859357356657759657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914171402,"filename":"image_06112025_17_52_08_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/624fa011e0801ba7d56c237db805e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody2256187172507137987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914171402,"filename":"image_06112025_17_52_52_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399698982","file1":"1399698981","file0":"1399698980","file4":"1399698984","file5":"1399698985","file3":"1399698983"},"map_files_photo_id_array":[{"photo_id":"1399698985","filename":"file5"},{"photo_id":"1399698982","filename":"file2"},{"photo_id":"1399698984","filename":"file4"},{"photo_id":"1399698981","filename":"file1"},{"photo_id":"1399698980","filename":"file0"},{"photo_id":"1399698983","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399698983":["hashtag1","hashtag2"]},{"1399698980":["hashtag1","hashtag2"]},{"1399698982":["hashtag1","hashtag2"]},{"1399698985":["hashtag1","hashtag2"]},{"1399698981":["hashtag1","hashtag2"]},{"1399698984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399698983, 1399698980, 1399698982, 1399698985, 1399698981, 1399698984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.543423652648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:42:42.045857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_04_2682.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_07_3667.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_14_7095.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_32_3042.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_34_1576.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_53_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_04_2682.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_07_3667.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_14_7095.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_32_3042.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_34_1576.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_53_1681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699046","1399699042","1399699045","1399699021","1399699065","1399699058"],"photo_ids_order":["1399699021","1399699042","1399699045","1399699046","1399699058","1399699065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7db3e99489cb135b2a1c139163de1f82.jpg","text":"TemporaryFile(/tmp/multipartBody1893718253894279887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914222649,"filename":"image_06112025_17_53_32_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ade25dafc7328f158277ae596bf1a757.jpg","text":"TemporaryFile(/tmp/multipartBody7016443607704316867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914222649,"filename":"image_06112025_17_53_07_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/16/276c91ed93d4402c7926edbd9a64bc79.jpg","text":"TemporaryFile(/tmp/multipartBody8805123439909346360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914222649,"filename":"image_06112025_17_53_14_7095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20acf8ffbaa721ddd73a4fd6da682718.jpg","text":"TemporaryFile(/tmp/multipartBody7873155553004744982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914222649,"filename":"image_06112025_17_53_04_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/16/15f14ee08118fcd29583c42293f8eefe.jpg","text":"TemporaryFile(/tmp/multipartBody4430236019629280150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914222649,"filename":"image_06112025_17_53_53_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/57c5845e5f6f91dc519e5af85d70fcb2.jpg","text":"TemporaryFile(/tmp/multipartBody5128805191657071348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914222649,"filename":"image_06112025_17_53_34_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699045","file1":"1399699042","file0":"1399699021","file4":"1399699058","file5":"1399699065","file3":"1399699046"},"map_files_photo_id_array":[{"photo_id":"1399699065","filename":"file5"},{"photo_id":"1399699045","filename":"file2"},{"photo_id":"1399699058","filename":"file4"},{"photo_id":"1399699042","filename":"file1"},{"photo_id":"1399699021","filename":"file0"},{"photo_id":"1399699046","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399699046":["hashtag1","hashtag2"]},{"1399699042":["hashtag1","hashtag2"]},{"1399699045":["hashtag1","hashtag2"]},{"1399699021":["hashtag1","hashtag2"]},{"1399699065":["hashtag1","hashtag2"]},{"1399699058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399699046, 1399699042, 1399699045, 1399699021, 1399699065, 1399699058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03770208358765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:43:22.369177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_55_9611.jpg', '/home/pi/Desktop/images/16122025/20/40/image_16122025_20_41_05_10632.jpg', '/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_15_9640.jpg', '/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_25_9734.jpg', '/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_36_10714.jpg', '/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_45_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/40/image_16122025_20_40_55_9611.jpg
/home/pi/Desktop/images/16122025/20/40/image_16122025_20_41_05_10632.jpg
/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_15_9640.jpg
/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_25_9734.jpg
/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_36_10714.jpg
/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_45_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":["1399699139","1399699099","1399699084","1399699213","1399699086","1399699178"],"photo_ids_order":["1399699084","1399699086","1399699099","1399699139","1399699178","1399699213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/357da598c1534a4d9a5393bc8c80fb31.jpg","text":"TemporaryFile(/tmp/multipartBody7845105399169634023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914262915,"filename":"image_16122025_20_41_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c4e17630c1945b23e48c5eb22f26787.jpg","text":"TemporaryFile(/tmp/multipartBody917056470042114814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914262915,"filename":"image_16122025_20_41_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8228303aada5ff8f2d00b60a594d0847.jpg","text":"TemporaryFile(/tmp/multipartBody2859636755385829894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914262915,"filename":"image_16122025_20_40_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/16/f8f8753fdd9e650b66fc485af6c6439d.jpg","text":"TemporaryFile(/tmp/multipartBody102102205438673696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914262915,"filename":"image_16122025_20_41_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16b76ae0ba381c4fbf0d44b0ee3d2940.jpg","text":"TemporaryFile(/tmp/multipartBody1841057052606304663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914262915,"filename":"image_16122025_20_41_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eaa0a76e42e4df3cccc9eb08fcaa03eb.jpg","text":"TemporaryFile(/tmp/multipartBody279492073662924414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914262915,"filename":"image_16122025_20_41_36_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699099","file1":"1399699086","file0":"1399699084","file4":"1399699178","file5":"1399699213","file3":"1399699139"},"map_files_photo_id_array":[{"photo_id":"1399699213","filename":"file5"},{"photo_id":"1399699099","filename":"file2"},{"photo_id":"1399699178","filename":"file4"},{"photo_id":"1399699086","filename":"file1"},{"photo_id":"1399699084","filename":"file0"},{"photo_id":"1399699139","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399699139":["hashtag1","hashtag2"]},{"1399699099":["hashtag1","hashtag2"]},{"1399699084":["hashtag1","hashtag2"]},{"1399699213":["hashtag1","hashtag2"]},{"1399699086":["hashtag1","hashtag2"]},{"1399699178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399699139, 1399699099, 1399699084, 1399699213, 1399699086, 1399699178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47343683242798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:44:03.127472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_55_9634.jpg', '/home/pi/Desktop/images/16122025/20/41/image_16122025_20_42_05_10602.jpg', '/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_15_9706.jpg', '/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_25_9728.jpg', '/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_35_10022.jpg', '/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_45_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/41/image_16122025_20_41_55_9634.jpg
/home/pi/Desktop/images/16122025/20/41/image_16122025_20_42_05_10602.jpg
/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_15_9706.jpg
/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_25_9728.jpg
/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_35_10022.jpg
/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_45_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699271","1399699222","1399699306","1399699234","1399699341","1399699397"],"photo_ids_order":["1399699222","1399699234","1399699271","1399699306","1399699341","1399699397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77357629259ca6bcd31e1a8fb69a6fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4200965887683859993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914303731,"filename":"image_16122025_20_42_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c06bd2b8b09281efce595d04533f7cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1070702184666135939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914303731,"filename":"image_16122025_20_41_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/16/fa109a86ca3d0d76bc326ea8335974b1.jpg","text":"TemporaryFile(/tmp/multipartBody5978441645006633835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914303731,"filename":"image_16122025_20_42_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/16/d3b7590e800e76d48358e37c9166005a.jpg","text":"TemporaryFile(/tmp/multipartBody2933804417551282950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914303731,"filename":"image_16122025_20_42_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9f9772dd9a45f085984ba9d04f462bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3912529600752052745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914303731,"filename":"image_16122025_20_42_35_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/16/38840c302914f8467b2289febe813497.jpg","text":"TemporaryFile(/tmp/multipartBody1158423713951719500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914303731,"filename":"image_16122025_20_42_45_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699271","file1":"1399699234","file0":"1399699222","file4":"1399699341","file5":"1399699397","file3":"1399699306"},"map_files_photo_id_array":[{"photo_id":"1399699397","filename":"file5"},{"photo_id":"1399699271","filename":"file2"},{"photo_id":"1399699341","filename":"file4"},{"photo_id":"1399699234","filename":"file1"},{"photo_id":"1399699222","filename":"file0"},{"photo_id":"1399699306","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399699271":["hashtag1","hashtag2"]},{"1399699222":["hashtag1","hashtag2"]},{"1399699306":["hashtag1","hashtag2"]},{"1399699234":["hashtag1","hashtag2"]},{"1399699341":["hashtag1","hashtag2"]},{"1399699397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399699271, 1399699222, 1399699306, 1399699234, 1399699341, 1399699397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.050193309783936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:44:42.434878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_55_1627.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_58_1544.jpg', '/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_59_1586.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_01_1629.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_03_1594.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_04_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_55_1627.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_58_1544.jpg
/home/pi/Desktop/images/06112025/17/53/image_06112025_17_53_59_1586.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_01_1629.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_03_1594.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_04_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399699492","1399699444","1399699494","1399699488","1399699461","1399699518"],"photo_ids_order":["1399699444","1399699461","1399699488","1399699492","1399699494","1399699518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/82dd9c312ecd935538a31bce58d65f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5541320139581043403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914343034,"filename":"image_06112025_17_54_01_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/16/b21a7f4cd61a88c7ab5f899d5993a321.jpg","text":"TemporaryFile(/tmp/multipartBody3383536935124072588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914343034,"filename":"image_06112025_17_53_55_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/16/a473bdfbd3940de23cb4b5fd82f24903.jpg","text":"TemporaryFile(/tmp/multipartBody4859921791013069519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914343034,"filename":"image_06112025_17_54_03_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/16/b69f98f077df4319095458fc19aeba6c.jpg","text":"TemporaryFile(/tmp/multipartBody4400248714507053571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914343034,"filename":"image_06112025_17_53_59_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/16/7a68a06749b03902fd48021715d2bc52.jpg","text":"TemporaryFile(/tmp/multipartBody7753109525107275360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914343034,"filename":"image_06112025_17_53_58_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/16/f6ec93f66209cf8193937d6ea4339789.jpg","text":"TemporaryFile(/tmp/multipartBody381913639761052961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914343034,"filename":"image_06112025_17_54_04_1641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699488","file1":"1399699461","file0":"1399699444","file4":"1399699494","file5":"1399699518","file3":"1399699492"},"map_files_photo_id_array":[{"photo_id":"1399699518","filename":"file5"},{"photo_id":"1399699488","filename":"file2"},{"photo_id":"1399699494","filename":"file4"},{"photo_id":"1399699461","filename":"file1"},{"photo_id":"1399699444","filename":"file0"},{"photo_id":"1399699492","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399699492":["hashtag1","hashtag2"]},{"1399699444":["hashtag1","hashtag2"]},{"1399699494":["hashtag1","hashtag2"]},{"1399699488":["hashtag1","hashtag2"]},{"1399699461":["hashtag1","hashtag2"]},{"1399699518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399699492, 1399699444, 1399699494, 1399699488, 1399699461, 1399699518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.62881302833557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:45:32.867430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:45:42.854778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_06_1557.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_09_1496.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_11_1593.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_12_1485.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_31_2779.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_34_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_06_1557.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_09_1496.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_11_1593.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_12_1485.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_31_2779.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_34_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":["1399699604","1399699607","1399699606","1399699605","1399699608","1399699602"],"photo_ids_order":["1399699602","1399699604","1399699605","1399699606","1399699607","1399699608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6638fc1e9d7fdbede4e4b4bfa4bc9e76.jpg","text":"TemporaryFile(/tmp/multipartBody3383197389650952521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914403493,"filename":"image_06112025_17_54_09_1496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96c18c9bb7b79b05aa407ffe6cb3173d.jpg","text":"TemporaryFile(/tmp/multipartBody4513491613443223690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914403493,"filename":"image_06112025_17_54_31_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/16/2a7320ff09450081b706706bb4bb2c50.jpg","text":"TemporaryFile(/tmp/multipartBody3468566545129664729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914403493,"filename":"image_06112025_17_54_12_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/16/7380d31374ec5d4fa3ce7d6a08fc824a.jpg","text":"TemporaryFile(/tmp/multipartBody751021180059303388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914403493,"filename":"image_06112025_17_54_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/16/b6a25a82dcb9d8b071a71fc1dd267b74.jpg","text":"TemporaryFile(/tmp/multipartBody2649738611069504359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914403493,"filename":"image_06112025_17_54_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/16/0c2fc5145aee8d86631121ae22d788ab.jpg","text":"TemporaryFile(/tmp/multipartBody5214319700771137947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914403493,"filename":"image_06112025_17_54_06_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699605","file1":"1399699604","file0":"1399699602","file4":"1399699607","file5":"1399699608","file3":"1399699606"},"map_files_photo_id_array":[{"photo_id":"1399699608","filename":"file5"},{"photo_id":"1399699605","filename":"file2"},{"photo_id":"1399699607","filename":"file4"},{"photo_id":"1399699604","filename":"file1"},{"photo_id":"1399699602","filename":"file0"},{"photo_id":"1399699606","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399699604":["hashtag1","hashtag2"]},{"1399699607":["hashtag1","hashtag2"]},{"1399699606":["hashtag1","hashtag2"]},{"1399699605":["hashtag1","hashtag2"]},{"1399699608":["hashtag1","hashtag2"]},{"1399699602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399699604, 1399699607, 1399699606, 1399699605, 1399699608, 1399699602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03695344924927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:46:22.549435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_55_9304.jpg', '/home/pi/Desktop/images/16122025/20/42/image_16122025_20_43_05_10603.jpg', '/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_15_9775.jpg', '/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_25_9719.jpg', '/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_45_10637.jpg', '/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/42/image_16122025_20_42_55_9304.jpg
/home/pi/Desktop/images/16122025/20/42/image_16122025_20_43_05_10603.jpg
/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_15_9775.jpg
/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_25_9719.jpg
/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_45_10637.jpg
/home/pi/Desktop/images/16122025/20/43/image_16122025_20_43_55_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":["1399699622","1399699616","1399699624","1399699618","1399699620","1399699614"],"photo_ids_order":["1399699614","1399699616","1399699618","1399699620","1399699622","1399699624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/33784429f4d130897199dd12e9d93aad.jpg","text":"TemporaryFile(/tmp/multipartBody8926909597771959462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914443132,"filename":"image_16122025_20_43_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/16/6b8fbba5b61f4b76fea5af04da8ce7b3.jpg","text":"TemporaryFile(/tmp/multipartBody7140515734945294951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914443132,"filename":"image_16122025_20_43_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50ecffd07aa6d67606d6d0749e0c38b6.jpg","text":"TemporaryFile(/tmp/multipartBody8850791847572424469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914443132,"filename":"image_16122025_20_43_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/16/5c4a787f377b877bbba556817ddd8704.jpg","text":"TemporaryFile(/tmp/multipartBody465518982898055918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914443132,"filename":"image_16122025_20_43_15_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/369150c63dcdd8aaddc903eca6d95a2e.jpg","text":"TemporaryFile(/tmp/multipartBody532886461164754219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914443132,"filename":"image_16122025_20_43_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a5b925d8f95bd48af4e94ec4e85a86d.jpg","text":"TemporaryFile(/tmp/multipartBody4112953399117478371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914443132,"filename":"image_16122025_20_42_55_9304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699618","file1":"1399699616","file0":"1399699614","file4":"1399699622","file5":"1399699624","file3":"1399699620"},"map_files_photo_id_array":[{"photo_id":"1399699624","filename":"file5"},{"photo_id":"1399699618","filename":"file2"},{"photo_id":"1399699622","filename":"file4"},{"photo_id":"1399699616","filename":"file1"},{"photo_id":"1399699614","filename":"file0"},{"photo_id":"1399699620","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399699622":["hashtag1","hashtag2"]},{"1399699616":["hashtag1","hashtag2"]},{"1399699624":["hashtag1","hashtag2"]},{"1399699618":["hashtag1","hashtag2"]},{"1399699620":["hashtag1","hashtag2"]},{"1399699614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399699622, 1399699616, 1399699624, 1399699618, 1399699620, 1399699614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03116488456726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:47:03.375085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/43/image_16122025_20_44_05_9665.jpg', '/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_15_10070.jpg', '/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_25_9725.jpg', '/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_35_10782.jpg', '/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_45_9621.jpg', '/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_55_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/43/image_16122025_20_44_05_9665.jpg
/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_15_10070.jpg
/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_25_9725.jpg
/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_35_10782.jpg
/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_45_9621.jpg
/home/pi/Desktop/images/16122025/20/44/image_16122025_20_44_55_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699640","1399699628","1399699637","1399699630","1399699638","1399699629"],"photo_ids_order":["1399699628","1399699629","1399699630","1399699637","1399699638","1399699640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fe125cbe0ab47a69f4ed6fe7f8414f0.jpg","text":"TemporaryFile(/tmp/multipartBody8694718644693040679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914483970,"filename":"image_16122025_20_44_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74902bd40a5174f20b585b38cb52cf32.jpg","text":"TemporaryFile(/tmp/multipartBody6321291586070032486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914483970,"filename":"image_16122025_20_44_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c030e0e8b0ce5edf93c8986ce5175a01.jpg","text":"TemporaryFile(/tmp/multipartBody996719135656830697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914483970,"filename":"image_16122025_20_44_35_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c4ca0e3f607541c1bc0c672a6e58779c.jpg","text":"TemporaryFile(/tmp/multipartBody5820716094108363574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914483970,"filename":"image_16122025_20_44_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30ddfdf53ab6d2f04b72d3b08a2d49ec.jpg","text":"TemporaryFile(/tmp/multipartBody6024346105912629991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914483970,"filename":"image_16122025_20_44_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c0d1e16260d871f0e833f44e0ea1b315.jpg","text":"TemporaryFile(/tmp/multipartBody8038215943771039223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914483970,"filename":"image_16122025_20_44_15_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699630","file1":"1399699629","file0":"1399699628","file4":"1399699638","file5":"1399699640","file3":"1399699637"},"map_files_photo_id_array":[{"photo_id":"1399699640","filename":"file5"},{"photo_id":"1399699630","filename":"file2"},{"photo_id":"1399699638","filename":"file4"},{"photo_id":"1399699629","filename":"file1"},{"photo_id":"1399699628","filename":"file0"},{"photo_id":"1399699637","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399699640":["hashtag1","hashtag2"]},{"1399699628":["hashtag1","hashtag2"]},{"1399699637":["hashtag1","hashtag2"]},{"1399699630":["hashtag1","hashtag2"]},{"1399699638":["hashtag1","hashtag2"]},{"1399699629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399699640, 1399699628, 1399699637, 1399699630, 1399699638, 1399699629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.017136335372925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:47:42.714950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_37_3845.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_41_3657.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_43_1615.jpg', '/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_46_3612.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_18_3016.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_39_21462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_37_3845.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_41_3657.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_43_1615.jpg
/home/pi/Desktop/images/06112025/17/54/image_06112025_17_54_46_3612.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_18_3016.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_39_21462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699696","1399699698","1399699692","1399699695","1399699697","1399699694"],"photo_ids_order":["1399699692","1399699694","1399699695","1399699696","1399699697","1399699698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31513bea09ab763ef707247ae6443b41.jpg","text":"TemporaryFile(/tmp/multipartBody1274753004418332993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914523342,"filename":"image_06112025_17_54_46_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/16/6ba46e48b7e1bb00887da83fcd00e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody1550109121718717594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914523342,"filename":"image_06112025_17_55_39_21462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1df0d8174180a20666c0fdf52853a637.jpg","text":"TemporaryFile(/tmp/multipartBody8008295584112748067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914523342,"filename":"image_06112025_17_54_37_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b6943462c1b80204ce6fa0b3ae84d65.jpg","text":"TemporaryFile(/tmp/multipartBody7611564261658735995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914523342,"filename":"image_06112025_17_54_43_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/16/a0c9d9ebaaba95235d271216a593eaf6.jpg","text":"TemporaryFile(/tmp/multipartBody1541213557159680266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914523342,"filename":"image_06112025_17_55_18_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/16/1e50eaedd66d52eb40b2891ebf31771b.jpg","text":"TemporaryFile(/tmp/multipartBody301665866405905270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914523342,"filename":"image_06112025_17_54_41_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699695","file1":"1399699694","file0":"1399699692","file4":"1399699697","file5":"1399699698","file3":"1399699696"},"map_files_photo_id_array":[{"photo_id":"1399699698","filename":"file5"},{"photo_id":"1399699695","filename":"file2"},{"photo_id":"1399699697","filename":"file4"},{"photo_id":"1399699694","filename":"file1"},{"photo_id":"1399699692","filename":"file0"},{"photo_id":"1399699696","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399699696":["hashtag1","hashtag2"]},{"1399699698":["hashtag1","hashtag2"]},{"1399699692":["hashtag1","hashtag2"]},{"1399699695":["hashtag1","hashtag2"]},{"1399699697":["hashtag1","hashtag2"]},{"1399699694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399699696, 1399699698, 1399699692, 1399699695, 1399699697, 1399699694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.400598764419556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:48:22.004949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/44/image_16122025_20_45_05_10710.jpg', '/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_15_9596.jpg', '/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_35_10673.jpg', '/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_45_9426.jpg', '/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_55_10713.jpg', '/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_05_9217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/44/image_16122025_20_45_05_10710.jpg
/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_15_9596.jpg
/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_35_10673.jpg
/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_45_9426.jpg
/home/pi/Desktop/images/16122025/20/45/image_16122025_20_45_55_10713.jpg
/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_05_9217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699718","1399699703","1399699699","1399699708","1399699705","1399699701"],"photo_ids_order":["1399699699","1399699701","1399699703","1399699705","1399699708","1399699718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b6abd691b40c3312debe79b2183d6711.jpg","text":"TemporaryFile(/tmp/multipartBody4183622631037624516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914562590,"filename":"image_16122025_20_46_05_9217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbe6515ec8c22f1e4e517569fad0c284.jpg","text":"TemporaryFile(/tmp/multipartBody5148329935631092773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914562590,"filename":"image_16122025_20_45_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b11658d3889fff45ef5561edbf8844d.jpg","text":"TemporaryFile(/tmp/multipartBody2141801848776110654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914562590,"filename":"image_16122025_20_45_05_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d7dc9afae8e7e397dc305ebd84f8cac4.jpg","text":"TemporaryFile(/tmp/multipartBody469777290728073449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914562590,"filename":"image_16122025_20_45_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3a8509d055062bbf642ee07eb04dd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7315411839962317009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914562590,"filename":"image_16122025_20_45_45_9426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3dce87bd9fd53a3939de01b5964773ce.jpg","text":"TemporaryFile(/tmp/multipartBody3728215321902495105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914562590,"filename":"image_16122025_20_45_15_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699703","file1":"1399699701","file0":"1399699699","file4":"1399699708","file5":"1399699718","file3":"1399699705"},"map_files_photo_id_array":[{"photo_id":"1399699718","filename":"file5"},{"photo_id":"1399699703","filename":"file2"},{"photo_id":"1399699708","filename":"file4"},{"photo_id":"1399699701","filename":"file1"},{"photo_id":"1399699699","filename":"file0"},{"photo_id":"1399699705","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399699718":["hashtag1","hashtag2"]},{"1399699703":["hashtag1","hashtag2"]},{"1399699699":["hashtag1","hashtag2"]},{"1399699708":["hashtag1","hashtag2"]},{"1399699705":["hashtag1","hashtag2"]},{"1399699701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399699718, 1399699703, 1399699699, 1399699708, 1399699705, 1399699701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.546857833862305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:49:03.122113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_15_10740.jpg', '/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_25_9631.jpg', '/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_55_9651.jpg', '/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_15_10652.jpg', '/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_35_9955.jpg', '/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_45_10192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_15_10740.jpg
/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_25_9631.jpg
/home/pi/Desktop/images/16122025/20/46/image_16122025_20_46_55_9651.jpg
/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_15_10652.jpg
/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_35_9955.jpg
/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_45_10192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699727","1399699724","1399699726","1399699729","1399699723","1399699725"],"photo_ids_order":["1399699723","1399699724","1399699725","1399699726","1399699727","1399699729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78d034fc3900c81d9ecc1ef0a9a60ec0.jpg","text":"TemporaryFile(/tmp/multipartBody980484009978562552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914603868,"filename":"image_16122025_20_47_35_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/16/853e7572d80f88c18720718953700270.jpg","text":"TemporaryFile(/tmp/multipartBody1287593199472684153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914603868,"filename":"image_16122025_20_46_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd8d67d4aec81fde8821e3431605cda8.jpg","text":"TemporaryFile(/tmp/multipartBody5938449001222091622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914603868,"filename":"image_16122025_20_47_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bc9e1a685a0b781f54184219ea3a24c.jpg","text":"TemporaryFile(/tmp/multipartBody8485571495983991082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914603868,"filename":"image_16122025_20_47_45_10192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b144b47d9a74afd79f94061e7cbc534.jpg","text":"TemporaryFile(/tmp/multipartBody7360132537287397940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914603868,"filename":"image_16122025_20_46_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6a19b4bfae7102255fe4c45a8bbe888.jpg","text":"TemporaryFile(/tmp/multipartBody3004819464870945720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914603868,"filename":"image_16122025_20_46_55_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699725","file1":"1399699724","file0":"1399699723","file4":"1399699727","file5":"1399699729","file3":"1399699726"},"map_files_photo_id_array":[{"photo_id":"1399699729","filename":"file5"},{"photo_id":"1399699725","filename":"file2"},{"photo_id":"1399699727","filename":"file4"},{"photo_id":"1399699724","filename":"file1"},{"photo_id":"1399699723","filename":"file0"},{"photo_id":"1399699726","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399699727":["hashtag1","hashtag2"]},{"1399699724":["hashtag1","hashtag2"]},{"1399699726":["hashtag1","hashtag2"]},{"1399699729":["hashtag1","hashtag2"]},{"1399699723":["hashtag1","hashtag2"]},{"1399699725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399699727, 1399699724, 1399699726, 1399699729, 1399699723, 1399699725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.007559061050415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:49:42.136993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_42_1481.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_44_1735.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_47_2479.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_48_1572.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_50_1621.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_53_1814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_42_1481.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_44_1735.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_47_2479.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_48_1572.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_50_1621.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_53_1814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699742","1399699739","1399699738","1399699741","1399699735","1399699740"],"photo_ids_order":["1399699735","1399699738","1399699739","1399699740","1399699741","1399699742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d565ed2fea214b9b916e3d5b7ca9d72f.jpg","text":"TemporaryFile(/tmp/multipartBody7904430952574190687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914642735,"filename":"image_06112025_17_55_53_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1a41a88ad544db83b9b378ca24926aa7.jpg","text":"TemporaryFile(/tmp/multipartBody44380545149026843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914642735,"filename":"image_06112025_17_55_47_2479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e52c8ba53a3bc7f70dbd6ce486d0b628.jpg","text":"TemporaryFile(/tmp/multipartBody1742403747564059510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914642735,"filename":"image_06112025_17_55_44_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb4c59b2884aab2ea8c4e3c84569b6c6.jpg","text":"TemporaryFile(/tmp/multipartBody4864184558357776018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914642735,"filename":"image_06112025_17_55_50_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/16/93087a9cf19a7cb8362d9595723b59a2.jpg","text":"TemporaryFile(/tmp/multipartBody4976346314957106614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914642735,"filename":"image_06112025_17_55_42_1481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e42e61c1ca814bd438d4b24d64cfe11.jpg","text":"TemporaryFile(/tmp/multipartBody6269844972163824570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914642735,"filename":"image_06112025_17_55_48_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699739","file1":"1399699738","file0":"1399699735","file4":"1399699741","file5":"1399699742","file3":"1399699740"},"map_files_photo_id_array":[{"photo_id":"1399699742","filename":"file5"},{"photo_id":"1399699739","filename":"file2"},{"photo_id":"1399699741","filename":"file4"},{"photo_id":"1399699738","filename":"file1"},{"photo_id":"1399699735","filename":"file0"},{"photo_id":"1399699740","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399699742":["hashtag1","hashtag2"]},{"1399699739":["hashtag1","hashtag2"]},{"1399699738":["hashtag1","hashtag2"]},{"1399699741":["hashtag1","hashtag2"]},{"1399699735":["hashtag1","hashtag2"]},{"1399699740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399699742, 1399699739, 1399699738, 1399699741, 1399699735, 1399699740)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.7392258644104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:50:32.416155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:50:42.452215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_55_1655.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_57_1640.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_58_1725.jpg', '/home/pi/Desktop/images/06112025/17/55/image_06112025_17_56_00_1645.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_02_1545.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_03_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_55_1655.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_57_1640.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_55_58_1725.jpg
/home/pi/Desktop/images/06112025/17/55/image_06112025_17_56_00_1645.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_02_1545.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_03_1590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699760","1399699754","1399699756","1399699761","1399699758","1399699751"],"photo_ids_order":["1399699751","1399699754","1399699756","1399699758","1399699760","1399699761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2355c906f721ec5dd92aa07871c4ea26.jpg","text":"TemporaryFile(/tmp/multipartBody8398300646610176467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914703126,"filename":"image_06112025_17_56_02_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c71ba089e8741896670e41e6549b8b96.jpg","text":"TemporaryFile(/tmp/multipartBody6998973673720330935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914703126,"filename":"image_06112025_17_55_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/16/1464669ce3e2f23bce361d05c9b2ab66.jpg","text":"TemporaryFile(/tmp/multipartBody7484200949538616299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914703126,"filename":"image_06112025_17_55_58_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e5d6fee289830ae5a47e6af521a2841.jpg","text":"TemporaryFile(/tmp/multipartBody6880754568796795962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914703126,"filename":"image_06112025_17_56_03_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/16/dfe100b715c91a2cc05883df92929327.jpg","text":"TemporaryFile(/tmp/multipartBody4749678307705113624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914703126,"filename":"image_06112025_17_56_00_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/16/0034444eb2dbac1fd86f907028a71de7.jpg","text":"TemporaryFile(/tmp/multipartBody7177540748985266007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914703126,"filename":"image_06112025_17_55_55_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699756","file1":"1399699754","file0":"1399699751","file4":"1399699760","file5":"1399699761","file3":"1399699758"},"map_files_photo_id_array":[{"photo_id":"1399699761","filename":"file5"},{"photo_id":"1399699756","filename":"file2"},{"photo_id":"1399699760","filename":"file4"},{"photo_id":"1399699754","filename":"file1"},{"photo_id":"1399699751","filename":"file0"},{"photo_id":"1399699758","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399699760":["hashtag1","hashtag2"]},{"1399699754":["hashtag1","hashtag2"]},{"1399699756":["hashtag1","hashtag2"]},{"1399699761":["hashtag1","hashtag2"]},{"1399699758":["hashtag1","hashtag2"]},{"1399699751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399699760, 1399699754, 1399699756, 1399699761, 1399699758, 1399699751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97053098678589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:51:22.709303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_55_9854.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_15_10717.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_25_9669.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_35_9646.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_45_10532.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_55_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_55_9854.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_15_10717.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_25_9669.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_35_9646.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_45_10532.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_55_9715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4655020236968994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:51:38.734828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:51:42.702760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_07_3633.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_09_2594.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_20_4044.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_40_18657.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_46_6076.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_55_8846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_07_3633.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_09_2594.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_20_4044.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_40_18657.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_46_6076.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_55_8846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399699829","1399699828","1399699804","1399699821","1399699815","1399699806"],"photo_ids_order":["1399699804","1399699806","1399699815","1399699821","1399699828","1399699829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c2027c6a6205845dd54d64bcd795b36.jpg","text":"TemporaryFile(/tmp/multipartBody8303199840447855728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914763375,"filename":"image_06112025_17_56_55_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/16/a680c73a37275e1e92ab47dcfba55aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6581340348582803627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914763375,"filename":"image_06112025_17_56_46_6076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7a35109c959595335fb3688aa507397.jpg","text":"TemporaryFile(/tmp/multipartBody8482627407701867208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914763375,"filename":"image_06112025_17_56_07_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/16/bdb8a2fffc18a5969ad0d289f8bb1b63.jpg","text":"TemporaryFile(/tmp/multipartBody4776685535727433903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914763375,"filename":"image_06112025_17_56_40_18657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3bddb554e869e6760071a29f2094f079.jpg","text":"TemporaryFile(/tmp/multipartBody40331681304017880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914763375,"filename":"image_06112025_17_56_20_4044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f67d3f45687fc850e32b361e824d947.jpg","text":"TemporaryFile(/tmp/multipartBody3130017451877607509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914763375,"filename":"image_06112025_17_56_09_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399699815","file1":"1399699806","file0":"1399699804","file4":"1399699828","file5":"1399699829","file3":"1399699821"},"map_files_photo_id_array":[{"photo_id":"1399699829","filename":"file5"},{"photo_id":"1399699815","filename":"file2"},{"photo_id":"1399699828","filename":"file4"},{"photo_id":"1399699806","filename":"file1"},{"photo_id":"1399699804","filename":"file0"},{"photo_id":"1399699821","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399699829":["hashtag1","hashtag2"]},{"1399699828":["hashtag1","hashtag2"]},{"1399699804":["hashtag1","hashtag2"]},{"1399699821":["hashtag1","hashtag2"]},{"1399699815":["hashtag1","hashtag2"]},{"1399699806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399699829, 1399699828, 1399699804, 1399699821, 1399699815, 1399699806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.722471952438354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:52:21.942008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_55_9854.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_15_10717.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_25_9669.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_35_9646.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_45_10532.jpg', '/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_55_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/47/image_16122025_20_47_55_9854.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_15_10717.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_25_9669.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_35_9646.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_45_10532.jpg
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_48_55_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":["1399699967","1399699999","1399700001","1399700003","1399700006","1399700015"],"photo_ids_order":["1399699967","1399699999","1399700001","1399700003","1399700006","1399700015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f46c2304621339988f336d1988320f06.jpg","text":"TemporaryFile(/tmp/multipartBody2634517181442022644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914802517,"filename":"image_16122025_20_47_55_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e45013e5883c2e7418eaa6fa443c13b.jpg","text":"TemporaryFile(/tmp/multipartBody7145605146349139814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914802517,"filename":"image_16122025_20_48_15_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc8913b51fd842dc0e88ef393faa6d20.jpg","text":"TemporaryFile(/tmp/multipartBody3434187362009161476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914802517,"filename":"image_16122025_20_48_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29adbaa09e61dc3a2f263126154ede56.jpg","text":"TemporaryFile(/tmp/multipartBody3606407823337543135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914802517,"filename":"image_16122025_20_48_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b51c686dd4eaa7b119f84494fc30d1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5032645703955696915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914802517,"filename":"image_16122025_20_48_45_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d50e9562a6eb5a44ea14822ffa5f117.jpg","text":"TemporaryFile(/tmp/multipartBody739273863748850448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914802517,"filename":"image_16122025_20_48_55_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700001","file1":"1399699999","file0":"1399699967","file4":"1399700006","file5":"1399700015","file3":"1399700003"},"map_files_photo_id_array":[{"photo_id":"1399700015","filename":"file5"},{"photo_id":"1399700001","filename":"file2"},{"photo_id":"1399700006","filename":"file4"},{"photo_id":"1399699999","filename":"file1"},{"photo_id":"1399699967","filename":"file0"},{"photo_id":"1399700003","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399699967":["hashtag1","hashtag2"]},{"1399699999":["hashtag1","hashtag2"]},{"1399700001":["hashtag1","hashtag2"]},{"1399700003":["hashtag1","hashtag2"]},{"1399700006":["hashtag1","hashtag2"]},{"1399700015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399699967, 1399699999, 1399700001, 1399700003, 1399700006, 1399700015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2087721824646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:53:03.012328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 20:53:14.520481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 20:53:22.302494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/48/image_16122025_20_49_05_9798.jpg', '/home/pi/Desktop/images/16122025/20/49/image_16122025_20_49_15_10601.jpg', '/home/pi/Desktop/images/16122025/20/49/image_16122025_20_49_25_9773.jpg', '/home/pi/Desktop/images/16122025/20/49/image_16122025_20_49_55_10599.jpg', '/home/pi/Desktop/images/16122025/20/49/image_16122025_20_50_05_9670.jpg', '/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_15_9905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/48/image_16122025_20_49_05_9798.jpg
/home/pi/Desktop/images/16122025/20/49/image_16122025_20_49_15_10601.jpg
/home/pi/Desktop/images/16122025/20/49/image_16122025_20_49_25_9773.jpg
/home/pi/Desktop/images/16122025/20/49/image_16122025_20_49_55_10599.jpg
/home/pi/Desktop/images/16122025/20/49/image_16122025_20_50_05_9670.jpg
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_15_9905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399700158","1399700140","1399700154","1399700133","1399700186","1399700156"],"photo_ids_order":["1399700133","1399700140","1399700154","1399700156","1399700158","1399700186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03b68fd505e35cd5fe773cc18f30576e.jpg","text":"TemporaryFile(/tmp/multipartBody1778154190760550094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914863297,"filename":"image_16122025_20_50_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7b93b982c9b0f848985d2f105b894e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2914013301033848458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914863297,"filename":"image_16122025_20_49_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b63f20a9ae2b2929d153db9170bf3efe.jpg","text":"TemporaryFile(/tmp/multipartBody6317831368379799259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914863297,"filename":"image_16122025_20_49_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e66210a1ed506013ecb268d1b3fc179.jpg","text":"TemporaryFile(/tmp/multipartBody4041775134424081822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914863297,"filename":"image_16122025_20_49_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b85d6f9e6b590821c547fa089eccaf1.jpg","text":"TemporaryFile(/tmp/multipartBody115488958565999627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914863297,"filename":"image_16122025_20_50_15_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/16/83e00389238c59350203a8692e492e86.jpg","text":"TemporaryFile(/tmp/multipartBody8969843863561473067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914863297,"filename":"image_16122025_20_49_55_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700154","file1":"1399700140","file0":"1399700133","file4":"1399700158","file5":"1399700186","file3":"1399700156"},"map_files_photo_id_array":[{"photo_id":"1399700186","filename":"file5"},{"photo_id":"1399700154","filename":"file2"},{"photo_id":"1399700158","filename":"file4"},{"photo_id":"1399700140","filename":"file1"},{"photo_id":"1399700133","filename":"file0"},{"photo_id":"1399700156","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399700158":["hashtag1","hashtag2"]},{"1399700140":["hashtag1","hashtag2"]},{"1399700154":["hashtag1","hashtag2"]},{"1399700133":["hashtag1","hashtag2"]},{"1399700186":["hashtag1","hashtag2"]},{"1399700156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399700158, 1399700140, 1399700154, 1399700133, 1399700186, 1399700156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08990025520325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:54:03.149719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_26_10726.jpg', '/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_35_9532.jpg', '/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_45_9810.jpg', '/home/pi/Desktop/images/16122025/20/50/image_16122025_20_51_05_10654.jpg', '/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_15_9567.jpg', '/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_26_11581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_26_10726.jpg
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_35_9532.jpg
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_45_9810.jpg
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_51_05_10654.jpg
/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_15_9567.jpg
/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_26_11581.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.808056592941284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:54:12.504359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:54:22.562098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_26_10726.jpg', '/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_35_9532.jpg', '/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_45_9810.jpg', '/home/pi/Desktop/images/16122025/20/50/image_16122025_20_51_05_10654.jpg', '/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_15_9567.jpg', '/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_26_11581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_26_10726.jpg
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_35_9532.jpg
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_50_45_9810.jpg
/home/pi/Desktop/images/16122025/20/50/image_16122025_20_51_05_10654.jpg
/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_15_9567.jpg
/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_26_11581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399700206","1399700215","1399700209","1399700217","1399700211","1399700213"],"photo_ids_order":["1399700206","1399700209","1399700211","1399700213","1399700215","1399700217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6334d41f8d60b60f706f991e7db41c01.jpg","text":"TemporaryFile(/tmp/multipartBody6085181135130399824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914923087,"filename":"image_16122025_20_50_26_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/16/b2cf34785100440723defefa6340ce99.jpg","text":"TemporaryFile(/tmp/multipartBody1711738094217560622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914923087,"filename":"image_16122025_20_51_15_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8817cda708af3944325e01927db07f1.jpg","text":"TemporaryFile(/tmp/multipartBody5792558116523479887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914923087,"filename":"image_16122025_20_50_35_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2f8a9595845f3ac910124352edaf10dc.jpg","text":"TemporaryFile(/tmp/multipartBody5186730045992892803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914923087,"filename":"image_16122025_20_51_26_11581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe30e95bd24096a07e7b8a00461318b5.jpg","text":"TemporaryFile(/tmp/multipartBody5606466546895896884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914923087,"filename":"image_16122025_20_50_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/16/510a0ae37980d01f58bfdc14723a9a85.jpg","text":"TemporaryFile(/tmp/multipartBody2931034650430888242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914923087,"filename":"image_16122025_20_51_05_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700211","file1":"1399700209","file0":"1399700206","file4":"1399700215","file5":"1399700217","file3":"1399700213"},"map_files_photo_id_array":[{"photo_id":"1399700217","filename":"file5"},{"photo_id":"1399700211","filename":"file2"},{"photo_id":"1399700215","filename":"file4"},{"photo_id":"1399700209","filename":"file1"},{"photo_id":"1399700206","filename":"file0"},{"photo_id":"1399700213","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399700206":["hashtag1","hashtag2"]},{"1399700215":["hashtag1","hashtag2"]},{"1399700209":["hashtag1","hashtag2"]},{"1399700217":["hashtag1","hashtag2"]},{"1399700211":["hashtag1","hashtag2"]},{"1399700213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399700206, 1399700215, 1399700209, 1399700217, 1399700211, 1399700213)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.34670352935791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:55:15.448803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 20:55:22.676632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_35_8734.jpg', '/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_45_9618.jpg', '/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_55_9858.jpg', '/home/pi/Desktop/images/16122025/20/52/image_16122025_20_52_15_9668.jpg', '/home/pi/Desktop/images/16122025/20/52/image_16122025_20_52_35_10691.jpg', '/home/pi/Desktop/images/16122025/20/52/image_16122025_20_52_45_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_35_8734.jpg
/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_45_9618.jpg
/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_55_9858.jpg
/home/pi/Desktop/images/16122025/20/52/image_16122025_20_52_15_9668.jpg
/home/pi/Desktop/images/16122025/20/52/image_16122025_20_52_35_10691.jpg
/home/pi/Desktop/images/16122025/20/52/image_16122025_20_52_45_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399700224","1399700227","1399700223","1399700220","1399700231","1399700219"],"photo_ids_order":["1399700219","1399700220","1399700223","1399700224","1399700227","1399700231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a1eff6484176e0bc22f359af0bddee59.jpg","text":"TemporaryFile(/tmp/multipartBody8328649255724859959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914983240,"filename":"image_16122025_20_52_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77e11a4d0ade0110f0e0e13859b3eca7.jpg","text":"TemporaryFile(/tmp/multipartBody1251255400194107750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914983240,"filename":"image_16122025_20_52_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6e1f880d1bc8e273d11588de168eb78a.jpg","text":"TemporaryFile(/tmp/multipartBody4527754586538804449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914983240,"filename":"image_16122025_20_51_55_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02a381a7c24392854b61d7f6f7194262.jpg","text":"TemporaryFile(/tmp/multipartBody6631663105929385544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914983240,"filename":"image_16122025_20_51_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60510de3772d9a4ee05e44319bc73171.jpg","text":"TemporaryFile(/tmp/multipartBody7715529960974306655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914983240,"filename":"image_16122025_20_52_45_9392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1060569eaea706c0857f2a8dbbc7f780.jpg","text":"TemporaryFile(/tmp/multipartBody7064257483789269934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765914983240,"filename":"image_16122025_20_51_35_8734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700223","file1":"1399700220","file0":"1399700219","file4":"1399700227","file5":"1399700231","file3":"1399700224"},"map_files_photo_id_array":[{"photo_id":"1399700231","filename":"file5"},{"photo_id":"1399700223","filename":"file2"},{"photo_id":"1399700227","filename":"file4"},{"photo_id":"1399700220","filename":"file1"},{"photo_id":"1399700219","filename":"file0"},{"photo_id":"1399700224","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399700224":["hashtag1","hashtag2"]},{"1399700227":["hashtag1","hashtag2"]},{"1399700223":["hashtag1","hashtag2"]},{"1399700220":["hashtag1","hashtag2"]},{"1399700231":["hashtag1","hashtag2"]},{"1399700219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399700224, 1399700227, 1399700223, 1399700220, 1399700231, 1399700219)","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 = 1399700223 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/16122025/20/51/image_16122025_20_51_55_9858.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.36594271659851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 20:56:31.977980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 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-16 20:56:41.947504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_57_1729.jpg', '/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_58_1713.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_01_2400.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_02_1617.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_07_1665.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_11_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_57_1729.jpg
/home/pi/Desktop/images/06112025/17/56/image_06112025_17_56_58_1713.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_01_2400.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_02_1617.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_07_1665.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_11_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399700242","1399700245","1399700244","1399700246","1399700240","1399700243"],"photo_ids_order":["1399700240","1399700242","1399700243","1399700244","1399700245","1399700246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/26b473902e511b09e10ee4021b4fdfca.jpg","text":"TemporaryFile(/tmp/multipartBody1140620671208377098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915062686,"filename":"image_06112025_17_56_58_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/16/af95b4a798c9a94f24d407230b4b4376.jpg","text":"TemporaryFile(/tmp/multipartBody2726163794567221866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915062686,"filename":"image_06112025_17_57_07_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/16/a679b70cc16dc102ea4c9f36a12da4ab.jpg","text":"TemporaryFile(/tmp/multipartBody1733371535344371429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915062686,"filename":"image_06112025_17_57_02_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/16/38ec7c6dd8fb1e69e9ee40aac7ee95a4.jpg","text":"TemporaryFile(/tmp/multipartBody3093978762813146649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915062686,"filename":"image_06112025_17_57_11_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/16/4fba5f8a54cce483a4715d91e6ad9b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5149745959174749687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915062686,"filename":"image_06112025_17_56_57_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/16/69871abba68022ac9ac239ce347fe583.jpg","text":"TemporaryFile(/tmp/multipartBody4155883113924636996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915062686,"filename":"image_06112025_17_57_01_2400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700243","file1":"1399700242","file0":"1399700240","file4":"1399700245","file5":"1399700246","file3":"1399700244"},"map_files_photo_id_array":[{"photo_id":"1399700246","filename":"file5"},{"photo_id":"1399700243","filename":"file2"},{"photo_id":"1399700245","filename":"file4"},{"photo_id":"1399700242","filename":"file1"},{"photo_id":"1399700240","filename":"file0"},{"photo_id":"1399700244","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399700242":["hashtag1","hashtag2"]},{"1399700245":["hashtag1","hashtag2"]},{"1399700244":["hashtag1","hashtag2"]},{"1399700246":["hashtag1","hashtag2"]},{"1399700240":["hashtag1","hashtag2"]},{"1399700243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399700242, 1399700245, 1399700244, 1399700246, 1399700240, 1399700243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83487820625305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 20:57:22.206235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/52/image_16122025_20_53_05_9654.jpg', '/home/pi/Desktop/images/16122025/20/53/image_16122025_20_53_15_9576.jpg', '/home/pi/Desktop/images/16122025/20/53/image_16122025_20_53_25_10560.jpg', '/home/pi/Desktop/images/16122025/20/53/image_16122025_20_53_35_9755.jpg', '/home/pi/Desktop/images/16122025/20/53/image_16122025_20_54_05_10091.jpg', '/home/pi/Desktop/images/16122025/20/54/image_16122025_20_54_15_9973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/52/image_16122025_20_53_05_9654.jpg
/home/pi/Desktop/images/16122025/20/53/image_16122025_20_53_15_9576.jpg
/home/pi/Desktop/images/16122025/20/53/image_16122025_20_53_25_10560.jpg
/home/pi/Desktop/images/16122025/20/53/image_16122025_20_53_35_9755.jpg
/home/pi/Desktop/images/16122025/20/53/image_16122025_20_54_05_10091.jpg
/home/pi/Desktop/images/16122025/20/54/image_16122025_20_54_15_9973.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399700251","1399700254","1399700247","1399700255","1399700249","1399700258"],"photo_ids_order":["1399700247","1399700249","1399700251","1399700254","1399700255","1399700258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17f654fb9d10e0fc4e1d7e99b6fbc219.jpg","text":"TemporaryFile(/tmp/multipartBody7663195271986119712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915102782,"filename":"image_16122025_20_53_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/16/2f517d3acffece581aa6f0865eed81ab.jpg","text":"TemporaryFile(/tmp/multipartBody5333901432264402966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915102782,"filename":"image_16122025_20_53_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/16/8ec2c6e80e85b23fae91d27f16e50f36.jpg","text":"TemporaryFile(/tmp/multipartBody8075180132759329702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915102782,"filename":"image_16122025_20_53_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d576be93cae3bf98b67bcfa8914cae6.jpg","text":"TemporaryFile(/tmp/multipartBody3686539877933577775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915102782,"filename":"image_16122025_20_54_05_10091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e736fe0a3ceeca7f06a1dc3bfc356d91.jpg","text":"TemporaryFile(/tmp/multipartBody2235421892012847265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915102782,"filename":"image_16122025_20_53_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/16/56936144f503c778592acbf046e997b4.jpg","text":"TemporaryFile(/tmp/multipartBody6339748439810575035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915102782,"filename":"image_16122025_20_54_15_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700251","file1":"1399700249","file0":"1399700247","file4":"1399700255","file5":"1399700258","file3":"1399700254"},"map_files_photo_id_array":[{"photo_id":"1399700258","filename":"file5"},{"photo_id":"1399700251","filename":"file2"},{"photo_id":"1399700255","filename":"file4"},{"photo_id":"1399700249","filename":"file1"},{"photo_id":"1399700247","filename":"file0"},{"photo_id":"1399700254","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399700251":["hashtag1","hashtag2"]},{"1399700254":["hashtag1","hashtag2"]},{"1399700247":["hashtag1","hashtag2"]},{"1399700255":["hashtag1","hashtag2"]},{"1399700249":["hashtag1","hashtag2"]},{"1399700258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399700251, 1399700254, 1399700247, 1399700255, 1399700249, 1399700258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.021138429641724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 20:59:03.642931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/54/image_16122025_20_54_35_9671.jpg', '/home/pi/Desktop/images/16122025/20/54/image_16122025_20_54_45_9794.jpg', '/home/pi/Desktop/images/16122025/20/54/image_16122025_20_55_05_9705.jpg', '/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_15_9853.jpg', '/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_25_9585.jpg', '/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_35_10584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/54/image_16122025_20_54_35_9671.jpg
/home/pi/Desktop/images/16122025/20/54/image_16122025_20_54_45_9794.jpg
/home/pi/Desktop/images/16122025/20/54/image_16122025_20_55_05_9705.jpg
/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_15_9853.jpg
/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_25_9585.jpg
/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_35_10584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399700302","1399700268","1399700265","1399700412","1399700339","1399700374"],"photo_ids_order":["1399700265","1399700268","1399700302","1399700339","1399700374","1399700412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1cdea8b0676fa308e752edc033dbc357.jpg","text":"TemporaryFile(/tmp/multipartBody7660853017153834168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915204401,"filename":"image_16122025_20_55_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/16/8ac1759d836bb79076d1831a54626f70.jpg","text":"TemporaryFile(/tmp/multipartBody372019795292845137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915204401,"filename":"image_16122025_20_54_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/620095788a12daa8c34354bd8a803d6d.jpg","text":"TemporaryFile(/tmp/multipartBody9111196581072032372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915204401,"filename":"image_16122025_20_54_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/16/1dffda3df1211a8a374c3f93a59fa803.jpg","text":"TemporaryFile(/tmp/multipartBody650624364845577770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915204401,"filename":"image_16122025_20_55_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/16/685e47ebd1898a293c123ffb5732f76b.jpg","text":"TemporaryFile(/tmp/multipartBody4562416197482761994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915204401,"filename":"image_16122025_20_55_15_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/16/dc52e7f290fcedffbc578cde0fc3572b.jpg","text":"TemporaryFile(/tmp/multipartBody6880845350132471607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915204401,"filename":"image_16122025_20_55_25_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700302","file1":"1399700268","file0":"1399700265","file4":"1399700374","file5":"1399700412","file3":"1399700339"},"map_files_photo_id_array":[{"photo_id":"1399700412","filename":"file5"},{"photo_id":"1399700302","filename":"file2"},{"photo_id":"1399700374","filename":"file4"},{"photo_id":"1399700268","filename":"file1"},{"photo_id":"1399700265","filename":"file0"},{"photo_id":"1399700339","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399700302":["hashtag1","hashtag2"]},{"1399700268":["hashtag1","hashtag2"]},{"1399700265":["hashtag1","hashtag2"]},{"1399700412":["hashtag1","hashtag2"]},{"1399700339":["hashtag1","hashtag2"]},{"1399700374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399700302, 1399700268, 1399700265, 1399700412, 1399700339, 1399700374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96255540847778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 20:59:42.752841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_14_1523.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_18_1525.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_19_1681.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_22_1583.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_26_1603.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_30_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_14_1523.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_18_1525.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_19_1681.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_22_1583.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_26_1603.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_30_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":["1399700689","1399700650","1399700613","1399700576","1399700537","1399700726"],"photo_ids_order":["1399700537","1399700576","1399700613","1399700650","1399700689","1399700726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c640574ac46ae10f838266d1c2980783.jpg","text":"TemporaryFile(/tmp/multipartBody4062458341874008618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915243339,"filename":"image_06112025_17_57_26_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/16/a97e936764ac61c80f929f91f8766f0c.jpg","text":"TemporaryFile(/tmp/multipartBody696566077008342892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915243339,"filename":"image_06112025_17_57_22_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/16/fc37f96c48b87137ab7068971f9217da.jpg","text":"TemporaryFile(/tmp/multipartBody1241297645355530991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915243339,"filename":"image_06112025_17_57_19_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/939594bfca9a2a06850d1fd10460f380.jpg","text":"TemporaryFile(/tmp/multipartBody8249131935919434890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915243339,"filename":"image_06112025_17_57_18_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72b44705c97ff38f714c494d5ed73538.jpg","text":"TemporaryFile(/tmp/multipartBody1570359049736935867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915243339,"filename":"image_06112025_17_57_14_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/16/34701f857211b048099dd627e65823f4.jpg","text":"TemporaryFile(/tmp/multipartBody35294739192927710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915243339,"filename":"image_06112025_17_57_30_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399700613","file1":"1399700576","file0":"1399700537","file4":"1399700689","file5":"1399700726","file3":"1399700650"},"map_files_photo_id_array":[{"photo_id":"1399700726","filename":"file5"},{"photo_id":"1399700613","filename":"file2"},{"photo_id":"1399700689","filename":"file4"},{"photo_id":"1399700576","filename":"file1"},{"photo_id":"1399700537","filename":"file0"},{"photo_id":"1399700650","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399700689":["hashtag1","hashtag2"]},{"1399700650":["hashtag1","hashtag2"]},{"1399700613":["hashtag1","hashtag2"]},{"1399700576":["hashtag1","hashtag2"]},{"1399700537":["hashtag1","hashtag2"]},{"1399700726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399700689, 1399700650, 1399700613, 1399700576, 1399700537, 1399700726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33219838142395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:00:22.032909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_45_9833.jpg', '/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_55_9834.jpg', '/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_35_9467.jpg', '/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_45_10709.jpg', '/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_55_9629.jpg', '/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_05_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_45_9833.jpg
/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_55_9834.jpg
/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_35_9467.jpg
/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_45_10709.jpg
/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_55_9629.jpg
/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_05_9627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4726066589355469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:00:32.016311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:00:41.956924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_33_3597.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_36_2553.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_42_2536.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_51_2689.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_54_2915.jpg', '/home/pi/Desktop/images/06112025/17/57/image_06112025_17_58_00_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_33_3597.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_36_2553.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_42_2536.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_51_2689.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_57_54_2915.jpg
/home/pi/Desktop/images/06112025/17/57/image_06112025_17_58_00_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399701195","1399701081","1399701006","1399701157","1399701043","1399701118"],"photo_ids_order":["1399701006","1399701043","1399701081","1399701118","1399701157","1399701195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2cfafa336a4bc657b57214b321760b77.jpg","text":"TemporaryFile(/tmp/multipartBody8843812439423651423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915302542,"filename":"image_06112025_17_58_00_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/16/ac9e49b40046fe49c984cb2eae20598d.jpg","text":"TemporaryFile(/tmp/multipartBody1119316046640448460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915302542,"filename":"image_06112025_17_57_42_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/16/8bdc2923ae2849fa7ea3dfbf5974b9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8518592119916827588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915302542,"filename":"image_06112025_17_57_33_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/16/6539f251754d8354f94152742147c3af.jpg","text":"TemporaryFile(/tmp/multipartBody3221686020890210511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915302542,"filename":"image_06112025_17_57_54_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/16/f48a4ad0841d43f8b82aaaab076626dc.jpg","text":"TemporaryFile(/tmp/multipartBody1606361977373259283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915302542,"filename":"image_06112025_17_57_36_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd5e3ce58c2c0b495773320d1c29cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody7345787500883063341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915302542,"filename":"image_06112025_17_57_51_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399701081","file1":"1399701043","file0":"1399701006","file4":"1399701157","file5":"1399701195","file3":"1399701118"},"map_files_photo_id_array":[{"photo_id":"1399701195","filename":"file5"},{"photo_id":"1399701081","filename":"file2"},{"photo_id":"1399701157","filename":"file4"},{"photo_id":"1399701043","filename":"file1"},{"photo_id":"1399701006","filename":"file0"},{"photo_id":"1399701118","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399701195":["hashtag1","hashtag2"]},{"1399701081":["hashtag1","hashtag2"]},{"1399701006":["hashtag1","hashtag2"]},{"1399701157":["hashtag1","hashtag2"]},{"1399701043":["hashtag1","hashtag2"]},{"1399701118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399701195, 1399701081, 1399701006, 1399701157, 1399701043, 1399701118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07725429534912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:01:22.246010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_45_9833.jpg', '/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_55_9834.jpg', '/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_35_9467.jpg', '/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_45_10709.jpg', '/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_55_9629.jpg', '/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_05_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_45_9833.jpg
/home/pi/Desktop/images/16122025/20/55/image_16122025_20_55_55_9834.jpg
/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_35_9467.jpg
/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_45_10709.jpg
/home/pi/Desktop/images/16122025/20/56/image_16122025_20_56_55_9629.jpg
/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_05_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399701396","1399701507","1399701434","1399701472","1399701361","1399701322"],"photo_ids_order":["1399701322","1399701361","1399701396","1399701434","1399701472","1399701507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14b1cf4497fa06963ca8c72a936cc95b.jpg","text":"TemporaryFile(/tmp/multipartBody7502423802589152833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915342821,"filename":"image_16122025_20_56_35_9467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb03e43d8b3e97f0e93e2c1f0ffccf39.jpg","text":"TemporaryFile(/tmp/multipartBody9098096575644096733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915342821,"filename":"image_16122025_20_57_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18fbf18fb7045d9282d149b4ce50a604.jpg","text":"TemporaryFile(/tmp/multipartBody6182593367564510337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915342821,"filename":"image_16122025_20_56_45_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f0b79ef4f606b4c173d95a4cec2991fe.jpg","text":"TemporaryFile(/tmp/multipartBody6556198222062266620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915342821,"filename":"image_16122025_20_56_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/16/09d4e57659bca00c2f99ffc54bad883a.jpg","text":"TemporaryFile(/tmp/multipartBody2858616149179108221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915342821,"filename":"image_16122025_20_55_55_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f37a40b3244c5cecaff336f9763c8d39.jpg","text":"TemporaryFile(/tmp/multipartBody4721081569658268683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915342821,"filename":"image_16122025_20_55_45_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399701396","file1":"1399701361","file0":"1399701322","file4":"1399701472","file5":"1399701507","file3":"1399701434"},"map_files_photo_id_array":[{"photo_id":"1399701507","filename":"file5"},{"photo_id":"1399701396","filename":"file2"},{"photo_id":"1399701472","filename":"file4"},{"photo_id":"1399701361","filename":"file1"},{"photo_id":"1399701322","filename":"file0"},{"photo_id":"1399701434","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399701396":["hashtag1","hashtag2"]},{"1399701507":["hashtag1","hashtag2"]},{"1399701434":["hashtag1","hashtag2"]},{"1399701472":["hashtag1","hashtag2"]},{"1399701361":["hashtag1","hashtag2"]},{"1399701322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399701396, 1399701507, 1399701434, 1399701472, 1399701361, 1399701322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08258652687073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:02:03.024475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_25_9613.jpg', '/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_45_10767.jpg', '/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_55_9197.jpg', '/home/pi/Desktop/images/16122025/20/57/image_16122025_20_58_05_10188.jpg', '/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_15_10680.jpg', '/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_25_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_25_9613.jpg
/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_45_10767.jpg
/home/pi/Desktop/images/16122025/20/57/image_16122025_20_57_55_9197.jpg
/home/pi/Desktop/images/16122025/20/57/image_16122025_20_58_05_10188.jpg
/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_15_10680.jpg
/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_25_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":["1399701893","1399701961","1399701685","1399702033","1399701751","1399701826"],"photo_ids_order":["1399701685","1399701751","1399701826","1399701893","1399701961","1399702033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ecc6168056b346425d533f6b45f915b8.jpg","text":"TemporaryFile(/tmp/multipartBody4146098925093460058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915383612,"filename":"image_16122025_20_58_05_10188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c09834facc1a72d71b06e020c7d89dcd.jpg","text":"TemporaryFile(/tmp/multipartBody591378359436464429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915383612,"filename":"image_16122025_20_58_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/16/d6ecfc443b5dffd43e4a6978d36f15af.jpg","text":"TemporaryFile(/tmp/multipartBody5172361623625922757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915383612,"filename":"image_16122025_20_57_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e38757edb3ac0661a3f8cc37bf7fb0cf.jpg","text":"TemporaryFile(/tmp/multipartBody935053266813187149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915383612,"filename":"image_16122025_20_58_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f6aa0bcf283248c7ee3d4f18a6f2f0fd.jpg","text":"TemporaryFile(/tmp/multipartBody7692239104681686143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915383612,"filename":"image_16122025_20_57_45_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85a70f071164a3b9d1abd1caefa9d4fa.jpg","text":"TemporaryFile(/tmp/multipartBody4444584640358723684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915383612,"filename":"image_16122025_20_57_55_9197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399701826","file1":"1399701751","file0":"1399701685","file4":"1399701961","file5":"1399702033","file3":"1399701893"},"map_files_photo_id_array":[{"photo_id":"1399702033","filename":"file5"},{"photo_id":"1399701826","filename":"file2"},{"photo_id":"1399701961","filename":"file4"},{"photo_id":"1399701751","filename":"file1"},{"photo_id":"1399701685","filename":"file0"},{"photo_id":"1399701893","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399701893":["hashtag1","hashtag2"]},{"1399701961":["hashtag1","hashtag2"]},{"1399701685":["hashtag1","hashtag2"]},{"1399702033":["hashtag1","hashtag2"]},{"1399701751":["hashtag1","hashtag2"]},{"1399701826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399701893, 1399701961, 1399701685, 1399702033, 1399701751, 1399701826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.507948875427246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:02:42.525249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_07_3641.jpg', '/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_09_2758.jpg', '/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_12_2632.jpg', '/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_18_3649.jpg', '/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_25_3654.jpg', '/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_33_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_07_3641.jpg
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_09_2758.jpg
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_12_2632.jpg
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_18_3649.jpg
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_25_3654.jpg
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_33_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702434","1399702397","1399702364","1399702394","1399702301","1399702408"],"photo_ids_order":["1399702301","1399702364","1399702394","1399702397","1399702408","1399702434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9717f87b4bf5340c7d9ad0ac472f31d4.jpg","text":"TemporaryFile(/tmp/multipartBody1679926777691123633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915423123,"filename":"image_06112025_17_58_33_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/16/ed6a69f68ddb02e545c1e95314587e26.jpg","text":"TemporaryFile(/tmp/multipartBody2809009645600252157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915423123,"filename":"image_06112025_17_58_18_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/16/3e74bc5499d2423a588df44c09b3faae.jpg","text":"TemporaryFile(/tmp/multipartBody6909216985717840264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915423123,"filename":"image_06112025_17_58_09_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/16/761cb09098f744383eab6dec8d22cae7.jpg","text":"TemporaryFile(/tmp/multipartBody1613385702815927741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915423123,"filename":"image_06112025_17_58_12_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/16/5412f47a1b8990786ff4942b1af8146a.jpg","text":"TemporaryFile(/tmp/multipartBody8498392133996490023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915423123,"filename":"image_06112025_17_58_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/16/9e83635b8f793c4e21be372d11bcebdc.jpg","text":"TemporaryFile(/tmp/multipartBody1095267628182185581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915423123,"filename":"image_06112025_17_58_25_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702394","file1":"1399702364","file0":"1399702301","file4":"1399702408","file5":"1399702434","file3":"1399702397"},"map_files_photo_id_array":[{"photo_id":"1399702434","filename":"file5"},{"photo_id":"1399702394","filename":"file2"},{"photo_id":"1399702408","filename":"file4"},{"photo_id":"1399702364","filename":"file1"},{"photo_id":"1399702301","filename":"file0"},{"photo_id":"1399702397","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399702434":["hashtag1","hashtag2"]},{"1399702397":["hashtag1","hashtag2"]},{"1399702364":["hashtag1","hashtag2"]},{"1399702394":["hashtag1","hashtag2"]},{"1399702301":["hashtag1","hashtag2"]},{"1399702408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399702434, 1399702397, 1399702364, 1399702394, 1399702301, 1399702408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7878692150116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:03:22.776208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_35_9542.jpg', '/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_45_10744.jpg', '/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_55_9685.jpg', '/home/pi/Desktop/images/16122025/20/58/image_16122025_20_59_05_9685.jpg', '/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_15_10580.jpg', '/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_25_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_35_9542.jpg
/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_45_10744.jpg
/home/pi/Desktop/images/16122025/20/58/image_16122025_20_58_55_9685.jpg
/home/pi/Desktop/images/16122025/20/58/image_16122025_20_59_05_9685.jpg
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_15_10580.jpg
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_25_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702656","1399702503","1399702580","1399702619","1399702489","1399702543"],"photo_ids_order":["1399702489","1399702503","1399702543","1399702580","1399702619","1399702656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/947529b4fde3dfd56ca18c3a767b2c6c.jpg","text":"TemporaryFile(/tmp/multipartBody5398738573168850170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915463354,"filename":"image_16122025_20_59_25_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f565ee52b00184b65e3b2e4551c9561c.jpg","text":"TemporaryFile(/tmp/multipartBody4512419974900315658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915463354,"filename":"image_16122025_20_58_45_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3931b75c38c625d2e8c0b3079539df1e.jpg","text":"TemporaryFile(/tmp/multipartBody3688632366781978970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915463354,"filename":"image_16122025_20_59_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b828115fc0ad963c29131530ed78a50d.jpg","text":"TemporaryFile(/tmp/multipartBody6722226337152908837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915463354,"filename":"image_16122025_20_59_15_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8a34a9fb3e6d249bf6954d46585c8978.jpg","text":"TemporaryFile(/tmp/multipartBody396514875546963793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915463354,"filename":"image_16122025_20_58_35_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a793facea5ddfadb4b7f5819ce3fb5fa.jpg","text":"TemporaryFile(/tmp/multipartBody1603927107404013122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915463354,"filename":"image_16122025_20_58_55_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702543","file1":"1399702503","file0":"1399702489","file4":"1399702619","file5":"1399702656","file3":"1399702580"},"map_files_photo_id_array":[{"photo_id":"1399702656","filename":"file5"},{"photo_id":"1399702543","filename":"file2"},{"photo_id":"1399702619","filename":"file4"},{"photo_id":"1399702503","filename":"file1"},{"photo_id":"1399702489","filename":"file0"},{"photo_id":"1399702580","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702656":["hashtag1","hashtag2"]},{"1399702503":["hashtag1","hashtag2"]},{"1399702580":["hashtag1","hashtag2"]},{"1399702619":["hashtag1","hashtag2"]},{"1399702489":["hashtag1","hashtag2"]},{"1399702543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702656, 1399702503, 1399702580, 1399702619, 1399702489, 1399702543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22115397453308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:04:02.691097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_35_9695.jpg', '/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_46_10696.jpg', '/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_55_9750.jpg', '/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_15_10056.jpg', '/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_35_9564.jpg', '/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_45_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_35_9695.jpg
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_46_10696.jpg
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_55_9750.jpg
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_15_10056.jpg
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_35_9564.jpg
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_45_9872.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5167655944824219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:04:12.041622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:04:22.117184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_35_9695.jpg', '/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_46_10696.jpg', '/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_55_9750.jpg', '/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_15_10056.jpg', '/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_35_9564.jpg', '/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_45_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_35_9695.jpg
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_46_10696.jpg
/home/pi/Desktop/images/16122025/20/59/image_16122025_20_59_55_9750.jpg
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_15_10056.jpg
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_35_9564.jpg
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_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":["1399702800","1399702793","1399702795","1399702789","1399702797","1399702791"],"photo_ids_order":["1399702789","1399702791","1399702793","1399702795","1399702797","1399702800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/539a22698759d5f950ef7ff7e3888631.jpg","text":"TemporaryFile(/tmp/multipartBody4319207075661171427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915522702,"filename":"image_16122025_21_00_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/16/4f2bd7f4547372e32f7d6119fc3e71c3.jpg","text":"TemporaryFile(/tmp/multipartBody7301972094776034944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915522702,"filename":"image_16122025_20_59_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8976d19891e0d68fcbb5e516c629f116.jpg","text":"TemporaryFile(/tmp/multipartBody4599754542663658909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915522702,"filename":"image_16122025_21_00_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7db24c5650f8e5c07f3a4dc2684ab808.jpg","text":"TemporaryFile(/tmp/multipartBody6452223099622380823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915522702,"filename":"image_16122025_20_59_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21be3559382ae2156adb60849e4dc806.jpg","text":"TemporaryFile(/tmp/multipartBody5877734857963737175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915522702,"filename":"image_16122025_21_00_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/839b713108e5b76116753ec53e522005.jpg","text":"TemporaryFile(/tmp/multipartBody5207178608552992882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915522702,"filename":"image_16122025_20_59_46_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702793","file1":"1399702791","file0":"1399702789","file4":"1399702797","file5":"1399702800","file3":"1399702795"},"map_files_photo_id_array":[{"photo_id":"1399702800","filename":"file5"},{"photo_id":"1399702793","filename":"file2"},{"photo_id":"1399702797","filename":"file4"},{"photo_id":"1399702791","filename":"file1"},{"photo_id":"1399702789","filename":"file0"},{"photo_id":"1399702795","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702800":["hashtag1","hashtag2"]},{"1399702793":["hashtag1","hashtag2"]},{"1399702795":["hashtag1","hashtag2"]},{"1399702789":["hashtag1","hashtag2"]},{"1399702797":["hashtag1","hashtag2"]},{"1399702791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702800, 1399702793, 1399702795, 1399702789, 1399702797, 1399702791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.241413831710815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:05:02.955115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_55_10618.jpg', '/home/pi/Desktop/images/16122025/21/00/image_16122025_21_01_05_9843.jpg', '/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_15_9687.jpg', '/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_26_10694.jpg', '/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_35_9643.jpg', '/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_45_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_00_55_10618.jpg
/home/pi/Desktop/images/16122025/21/00/image_16122025_21_01_05_9843.jpg
/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_15_9687.jpg
/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_26_10694.jpg
/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_35_9643.jpg
/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_45_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":["1399702803","1399702806","1399702805","1399702808","1399702810","1399702804"],"photo_ids_order":["1399702803","1399702804","1399702805","1399702806","1399702808","1399702810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf77b587bd39c88c4753fc9a87853af9.jpg","text":"TemporaryFile(/tmp/multipartBody119975889710517696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915563579,"filename":"image_16122025_21_00_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/855ded5fbaea93e9f6accdc463bff59e.jpg","text":"TemporaryFile(/tmp/multipartBody7068981085384200453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915563579,"filename":"image_16122025_21_01_26_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be2ebbc3fb46926e45520b98cb941ecb.jpg","text":"TemporaryFile(/tmp/multipartBody2891059061620570891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915563579,"filename":"image_16122025_21_01_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/16/3ce5edf8555dd7afcd5a8f0303de1d2f.jpg","text":"TemporaryFile(/tmp/multipartBody8356457417611342612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915563579,"filename":"image_16122025_21_01_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c6568dec8a8eb8c9d7c30e6c2ad1de74.jpg","text":"TemporaryFile(/tmp/multipartBody4876965332490746716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915563579,"filename":"image_16122025_21_01_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/16/2afb96876c4a27be01c6fa02c94be111.jpg","text":"TemporaryFile(/tmp/multipartBody2550156064509009189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915563579,"filename":"image_16122025_21_01_05_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702805","file1":"1399702804","file0":"1399702803","file4":"1399702808","file5":"1399702810","file3":"1399702806"},"map_files_photo_id_array":[{"photo_id":"1399702810","filename":"file5"},{"photo_id":"1399702805","filename":"file2"},{"photo_id":"1399702808","filename":"file4"},{"photo_id":"1399702804","filename":"file1"},{"photo_id":"1399702803","filename":"file0"},{"photo_id":"1399702806","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702803":["hashtag1","hashtag2"]},{"1399702806":["hashtag1","hashtag2"]},{"1399702805":["hashtag1","hashtag2"]},{"1399702808":["hashtag1","hashtag2"]},{"1399702810":["hashtag1","hashtag2"]},{"1399702804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702803, 1399702806, 1399702805, 1399702808, 1399702810, 1399702804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52560257911682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:05:42.201871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_42_2668.jpg', '/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_45_3569.jpg', '/home/pi/Desktop/images/06112025/17/58/image_06112025_17_59_00_3556.jpg', '/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_12_2759.jpg', '/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_18_2534.jpg', '/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_48_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_42_2668.jpg
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_58_45_3569.jpg
/home/pi/Desktop/images/06112025/17/58/image_06112025_17_59_00_3556.jpg
/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_12_2759.jpg
/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_18_2534.jpg
/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_48_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702851","1399702848","1399702833","1399702842","1399702826","1399702852"],"photo_ids_order":["1399702826","1399702833","1399702842","1399702848","1399702851","1399702852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d0d9bcf206b04ed8c49e6f7cf8bf8a94.jpg","text":"TemporaryFile(/tmp/multipartBody8665344261001158378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915602803,"filename":"image_06112025_17_59_18_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/16/e75956cb19e168909710399cb07b2a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4803354984378005064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915602803,"filename":"image_06112025_17_59_12_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/16/3e007f5911334340cd950d7ec78d240d.jpg","text":"TemporaryFile(/tmp/multipartBody7034372216435500605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915602803,"filename":"image_06112025_17_58_45_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/16/46a46ba7c9b7ab1e08df559b5b2bcc63.jpg","text":"TemporaryFile(/tmp/multipartBody7232688407473578147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915602803,"filename":"image_06112025_17_59_00_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/16/abd181e018d6da461571a095d2f992de.jpg","text":"TemporaryFile(/tmp/multipartBody6600882434765309246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915602803,"filename":"image_06112025_17_58_42_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9b437efab52c054d644f09554abb758e.jpg","text":"TemporaryFile(/tmp/multipartBody6741991853022177811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915602803,"filename":"image_06112025_17_59_48_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702842","file1":"1399702833","file0":"1399702826","file4":"1399702851","file5":"1399702852","file3":"1399702848"},"map_files_photo_id_array":[{"photo_id":"1399702852","filename":"file5"},{"photo_id":"1399702842","filename":"file2"},{"photo_id":"1399702851","filename":"file4"},{"photo_id":"1399702833","filename":"file1"},{"photo_id":"1399702826","filename":"file0"},{"photo_id":"1399702848","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399702851":["hashtag1","hashtag2"]},{"1399702848":["hashtag1","hashtag2"]},{"1399702833":["hashtag1","hashtag2"]},{"1399702842":["hashtag1","hashtag2"]},{"1399702826":["hashtag1","hashtag2"]},{"1399702852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399702851, 1399702848, 1399702833, 1399702842, 1399702826, 1399702852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.467440128326416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:06:22.568018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_55_9670.jpg', '/home/pi/Desktop/images/16122025/21/01/image_16122025_21_02_05_10743.jpg', '/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_15_9775.jpg', '/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_25_9690.jpg', '/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_36_10592.jpg', '/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_45_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/01/image_16122025_21_01_55_9670.jpg
/home/pi/Desktop/images/16122025/21/01/image_16122025_21_02_05_10743.jpg
/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_15_9775.jpg
/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_25_9690.jpg
/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_36_10592.jpg
/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_45_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":["1399702854","1399702859","1399702864","1399702861","1399702855","1399702857"],"photo_ids_order":["1399702854","1399702855","1399702857","1399702859","1399702861","1399702864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/72841f1fe9d770d48c0989c5512f95ec.jpg","text":"TemporaryFile(/tmp/multipartBody830179337423241977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915643202,"filename":"image_16122025_21_01_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1745bdc6d98a73cce8ee5a3f40e073f9.jpg","text":"TemporaryFile(/tmp/multipartBody6970412256363917197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915643202,"filename":"image_16122025_21_02_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/16/0e811ab3e00969fb0e05dc746ce96cdf.jpg","text":"TemporaryFile(/tmp/multipartBody3455829623053230182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915643202,"filename":"image_16122025_21_02_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8bda2d3cdfac83a7db39432e858ac31.jpg","text":"TemporaryFile(/tmp/multipartBody2659788454473592030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915643202,"filename":"image_16122025_21_02_36_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/16/b930c33473111f4305cd40e0e4283593.jpg","text":"TemporaryFile(/tmp/multipartBody8289740684795999375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915643202,"filename":"image_16122025_21_02_05_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b27a1122271e66724f475066adba2e92.jpg","text":"TemporaryFile(/tmp/multipartBody6324957528986403524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915643202,"filename":"image_16122025_21_02_15_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702857","file1":"1399702855","file0":"1399702854","file4":"1399702861","file5":"1399702864","file3":"1399702859"},"map_files_photo_id_array":[{"photo_id":"1399702864","filename":"file5"},{"photo_id":"1399702857","filename":"file2"},{"photo_id":"1399702861","filename":"file4"},{"photo_id":"1399702855","filename":"file1"},{"photo_id":"1399702854","filename":"file0"},{"photo_id":"1399702859","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702854":["hashtag1","hashtag2"]},{"1399702859":["hashtag1","hashtag2"]},{"1399702864":["hashtag1","hashtag2"]},{"1399702861":["hashtag1","hashtag2"]},{"1399702855":["hashtag1","hashtag2"]},{"1399702857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702854, 1399702859, 1399702864, 1399702861, 1399702855, 1399702857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58513689041138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:07:03.361433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_55_9718.jpg', '/home/pi/Desktop/images/16122025/21/02/image_16122025_21_03_06_10625.jpg', '/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_15_9825.jpg', '/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_25_9706.jpg', '/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_35_9595.jpg', '/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_46_10859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/02/image_16122025_21_02_55_9718.jpg
/home/pi/Desktop/images/16122025/21/02/image_16122025_21_03_06_10625.jpg
/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_15_9825.jpg
/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_25_9706.jpg
/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_35_9595.jpg
/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_46_10859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702872","1399702874","1399702877","1399702870","1399702873","1399702876"],"photo_ids_order":["1399702870","1399702872","1399702873","1399702874","1399702876","1399702877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b96fd89467a881221d1d1891f772cf2e.jpg","text":"TemporaryFile(/tmp/multipartBody1070558918813127544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915683965,"filename":"image_16122025_21_03_06_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5f839f7a6199e5126bee3b6435cebfb.jpg","text":"TemporaryFile(/tmp/multipartBody1919940728086123024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915683965,"filename":"image_16122025_21_03_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/94cc054b71ffd85a2723fdc7da74717f.jpg","text":"TemporaryFile(/tmp/multipartBody207352726059864686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915683965,"filename":"image_16122025_21_03_46_10859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b91b1f9e738a3a30d45eed85309ecef6.jpg","text":"TemporaryFile(/tmp/multipartBody5107452053217968173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915683965,"filename":"image_16122025_21_02_55_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/900dbf94edc1dfec3aa69849f37282f4.jpg","text":"TemporaryFile(/tmp/multipartBody5232873839507900558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915683965,"filename":"image_16122025_21_03_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/16/d3eb2fbc809e4b8de19a3df11c9865c6.jpg","text":"TemporaryFile(/tmp/multipartBody8233720302364531738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915683965,"filename":"image_16122025_21_03_35_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702873","file1":"1399702872","file0":"1399702870","file4":"1399702876","file5":"1399702877","file3":"1399702874"},"map_files_photo_id_array":[{"photo_id":"1399702877","filename":"file5"},{"photo_id":"1399702873","filename":"file2"},{"photo_id":"1399702876","filename":"file4"},{"photo_id":"1399702872","filename":"file1"},{"photo_id":"1399702870","filename":"file0"},{"photo_id":"1399702874","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702872":["hashtag1","hashtag2"]},{"1399702874":["hashtag1","hashtag2"]},{"1399702877":["hashtag1","hashtag2"]},{"1399702870":["hashtag1","hashtag2"]},{"1399702873":["hashtag1","hashtag2"]},{"1399702876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702872, 1399702874, 1399702877, 1399702870, 1399702873, 1399702876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47437262535095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:07:42.853028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_54_2636.jpg', '/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_56_2880.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_07_3011.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_10_3668.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_16_2717.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_25_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_54_2636.jpg
/home/pi/Desktop/images/06112025/17/59/image_06112025_17_59_56_2880.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_07_3011.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_10_3668.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_16_2717.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_25_3721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702887","1399702886","1399702889","1399702882","1399702885","1399702884"],"photo_ids_order":["1399702882","1399702884","1399702885","1399702886","1399702887","1399702889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d900cd33475f5627ae5e95e1c6074aed.jpg","text":"TemporaryFile(/tmp/multipartBody8066152456571037912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915723549,"filename":"image_06112025_18_01_16_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5af8403ba666fa6eb44293492aec2479.jpg","text":"TemporaryFile(/tmp/multipartBody963263920856935657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915723549,"filename":"image_06112025_18_01_10_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/16/6719cce2ff97271aa70eb9058dfe6527.jpg","text":"TemporaryFile(/tmp/multipartBody5475157655081732116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915723549,"filename":"image_06112025_18_01_25_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/16/554c418d3ec775cbf36125af3be8fadb.jpg","text":"TemporaryFile(/tmp/multipartBody489212341742844431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915723549,"filename":"image_06112025_17_59_54_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73582f258e599391f1ba045d0f8d1160.jpg","text":"TemporaryFile(/tmp/multipartBody7535141640199089786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915723549,"filename":"image_06112025_18_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8bb0655349ebbc2a261d8499b138698b.jpg","text":"TemporaryFile(/tmp/multipartBody7859255139313525614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915723549,"filename":"image_06112025_17_59_56_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702885","file1":"1399702884","file0":"1399702882","file4":"1399702887","file5":"1399702889","file3":"1399702886"},"map_files_photo_id_array":[{"photo_id":"1399702889","filename":"file5"},{"photo_id":"1399702885","filename":"file2"},{"photo_id":"1399702887","filename":"file4"},{"photo_id":"1399702884","filename":"file1"},{"photo_id":"1399702882","filename":"file0"},{"photo_id":"1399702886","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399702887":["hashtag1","hashtag2"]},{"1399702886":["hashtag1","hashtag2"]},{"1399702889":["hashtag1","hashtag2"]},{"1399702882":["hashtag1","hashtag2"]},{"1399702885":["hashtag1","hashtag2"]},{"1399702884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399702887, 1399702886, 1399702889, 1399702882, 1399702885, 1399702884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32026815414429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:08:22.121258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_55_9672.jpg', '/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_16_10744.jpg', '/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_25_9609.jpg', '/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_46_10661.jpg', '/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_55_9693.jpg', '/home/pi/Desktop/images/16122025/21/04/image_16122025_21_05_05_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/03/image_16122025_21_03_55_9672.jpg
/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_16_10744.jpg
/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_25_9609.jpg
/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_46_10661.jpg
/home/pi/Desktop/images/16122025/21/04/image_16122025_21_04_55_9693.jpg
/home/pi/Desktop/images/16122025/21/04/image_16122025_21_05_05_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":["1399702898","1399702895","1399702904","1399702897","1399702891","1399702893"],"photo_ids_order":["1399702891","1399702893","1399702895","1399702897","1399702898","1399702904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c140aff5a72fedd92be781948e965b4.jpg","text":"TemporaryFile(/tmp/multipartBody3730516564671872275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915762706,"filename":"image_16122025_21_04_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0632d85fddfaef42296eb3f2fb7fc84a.jpg","text":"TemporaryFile(/tmp/multipartBody1145115761913926977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915762706,"filename":"image_16122025_21_04_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/045eb8f43f257b2b850694bf6e4d6da8.jpg","text":"TemporaryFile(/tmp/multipartBody1235863137973795067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915762706,"filename":"image_16122025_21_05_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/16/9163bf7f121b8d03f18b016a10aa1860.jpg","text":"TemporaryFile(/tmp/multipartBody5949818483371981015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915762706,"filename":"image_16122025_21_04_46_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/16/6a709bd513812453160fa3a394b763d9.jpg","text":"TemporaryFile(/tmp/multipartBody6153346357773095981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915762706,"filename":"image_16122025_21_03_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/16/858364f905f69f2c604aeb5424f9aa79.jpg","text":"TemporaryFile(/tmp/multipartBody7724596921772967598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915762706,"filename":"image_16122025_21_04_16_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702895","file1":"1399702893","file0":"1399702891","file4":"1399702898","file5":"1399702904","file3":"1399702897"},"map_files_photo_id_array":[{"photo_id":"1399702904","filename":"file5"},{"photo_id":"1399702895","filename":"file2"},{"photo_id":"1399702898","filename":"file4"},{"photo_id":"1399702893","filename":"file1"},{"photo_id":"1399702891","filename":"file0"},{"photo_id":"1399702897","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702898":["hashtag1","hashtag2"]},{"1399702895":["hashtag1","hashtag2"]},{"1399702904":["hashtag1","hashtag2"]},{"1399702897":["hashtag1","hashtag2"]},{"1399702891":["hashtag1","hashtag2"]},{"1399702893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702898, 1399702895, 1399702904, 1399702897, 1399702891, 1399702893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81051564216614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:09:03.321754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_16_10736.jpg', '/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_25_9766.jpg', '/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_45_9631.jpg', '/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_55_10653.jpg', '/home/pi/Desktop/images/16122025/21/05/image_16122025_21_06_05_9787.jpg', '/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_15_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_16_10736.jpg
/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_25_9766.jpg
/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_45_9631.jpg
/home/pi/Desktop/images/16122025/21/05/image_16122025_21_05_55_10653.jpg
/home/pi/Desktop/images/16122025/21/05/image_16122025_21_06_05_9787.jpg
/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_15_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702908","1399702910","1399702907","1399702909","1399702912","1399702906"],"photo_ids_order":["1399702906","1399702907","1399702908","1399702909","1399702910","1399702912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21908dea4391c235ba90268d681a5764.jpg","text":"TemporaryFile(/tmp/multipartBody6380178719482034886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915803955,"filename":"image_16122025_21_05_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/16/8275ba5289042fe02c22b167067cbd83.jpg","text":"TemporaryFile(/tmp/multipartBody667964509046254856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915803955,"filename":"image_16122025_21_06_05_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afa5b4f204ee8caf29de56332f3de644.jpg","text":"TemporaryFile(/tmp/multipartBody1470673207211441101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915803955,"filename":"image_16122025_21_05_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a53d4baf39bab8a653be4db781f7a407.jpg","text":"TemporaryFile(/tmp/multipartBody3171994806893552466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915803955,"filename":"image_16122025_21_05_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/16/07f24f36e159fa3296ebfc80320d854a.jpg","text":"TemporaryFile(/tmp/multipartBody1782814530928138877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915803955,"filename":"image_16122025_21_06_15_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d6523205fb5e0ca870449920e07d381.jpg","text":"TemporaryFile(/tmp/multipartBody7176755836239568669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915803955,"filename":"image_16122025_21_05_16_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702908","file1":"1399702907","file0":"1399702906","file4":"1399702910","file5":"1399702912","file3":"1399702909"},"map_files_photo_id_array":[{"photo_id":"1399702912","filename":"file5"},{"photo_id":"1399702908","filename":"file2"},{"photo_id":"1399702910","filename":"file4"},{"photo_id":"1399702907","filename":"file1"},{"photo_id":"1399702906","filename":"file0"},{"photo_id":"1399702909","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702908":["hashtag1","hashtag2"]},{"1399702910":["hashtag1","hashtag2"]},{"1399702907":["hashtag1","hashtag2"]},{"1399702909":["hashtag1","hashtag2"]},{"1399702912":["hashtag1","hashtag2"]},{"1399702906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702908, 1399702910, 1399702907, 1399702909, 1399702912, 1399702906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14102506637573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:09:42.323719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_28_2710.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_31_2516.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_34_3714.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_37_2645.jpg', '/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_58_2682.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_01_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_28_2710.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_31_2516.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_34_3714.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_37_2645.jpg
/home/pi/Desktop/images/06112025/18/01/image_06112025_18_01_58_2682.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_01_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":["1399702920","1399702923","1399702917","1399702922","1399702919","1399702921"],"photo_ids_order":["1399702917","1399702919","1399702920","1399702921","1399702922","1399702923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6c26efc5e262331391f8b3b5331bcce8.jpg","text":"TemporaryFile(/tmp/multipartBody8753915347603594678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915843053,"filename":"image_06112025_18_01_34_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/16/34b38de78a5d0b4c401329c0f300715c.jpg","text":"TemporaryFile(/tmp/multipartBody5859853511719995533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915843053,"filename":"image_06112025_18_02_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/16/ad4008604e0aeae0138a520dd9582991.jpg","text":"TemporaryFile(/tmp/multipartBody9134701674991819289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915843053,"filename":"image_06112025_18_01_28_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/16/68821ca029e58ca03697f7e0295e1aba.jpg","text":"TemporaryFile(/tmp/multipartBody9210798165857880111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915843053,"filename":"image_06112025_18_01_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/16/db4d576f8f7867e9e151214f4586a6a6.jpg","text":"TemporaryFile(/tmp/multipartBody8733076744264052654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915843053,"filename":"image_06112025_18_01_31_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fd34ee6fa894c9216471cdaf4d3429db.jpg","text":"TemporaryFile(/tmp/multipartBody864215913301869070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915843053,"filename":"image_06112025_18_01_37_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702920","file1":"1399702919","file0":"1399702917","file4":"1399702922","file5":"1399702923","file3":"1399702921"},"map_files_photo_id_array":[{"photo_id":"1399702923","filename":"file5"},{"photo_id":"1399702920","filename":"file2"},{"photo_id":"1399702922","filename":"file4"},{"photo_id":"1399702919","filename":"file1"},{"photo_id":"1399702917","filename":"file0"},{"photo_id":"1399702921","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399702920":["hashtag1","hashtag2"]},{"1399702923":["hashtag1","hashtag2"]},{"1399702917":["hashtag1","hashtag2"]},{"1399702922":["hashtag1","hashtag2"]},{"1399702919":["hashtag1","hashtag2"]},{"1399702921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399702920, 1399702923, 1399702917, 1399702922, 1399702919, 1399702921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65547490119934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:10:22.554797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_25_9693.jpg', '/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_35_10684.jpg', '/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_45_9786.jpg', '/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_15_9542.jpg', '/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_26_10660.jpg', '/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_35_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_25_9693.jpg
/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_35_10684.jpg
/home/pi/Desktop/images/16122025/21/06/image_16122025_21_06_45_9786.jpg
/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_15_9542.jpg
/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_26_10660.jpg
/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_35_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702935","1399702929","1399702931","1399702925","1399702927","1399702924"],"photo_ids_order":["1399702924","1399702925","1399702927","1399702929","1399702931","1399702935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bab7bfc0ee1e5c9e891561bc55661787.jpg","text":"TemporaryFile(/tmp/multipartBody7830079314923208937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915883163,"filename":"image_16122025_21_07_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/716e585d664b7d93a710992bb83b9732.jpg","text":"TemporaryFile(/tmp/multipartBody5746337972924511050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915883163,"filename":"image_16122025_21_07_15_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/16/aab21035abd8360e07bff97a945f85de.jpg","text":"TemporaryFile(/tmp/multipartBody2053548426733856036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915883163,"filename":"image_16122025_21_07_26_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bfc9757cff46f726700583c81a592db1.jpg","text":"TemporaryFile(/tmp/multipartBody2526581998470012160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915883163,"filename":"image_16122025_21_06_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/16/d772c6c5392256d1f4f0b50bf213e2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5087015776453305827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915883163,"filename":"image_16122025_21_06_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/16/042dcfcf99b6f91276782a698f1a3671.jpg","text":"TemporaryFile(/tmp/multipartBody1472252902850721142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915883163,"filename":"image_16122025_21_06_25_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702927","file1":"1399702925","file0":"1399702924","file4":"1399702931","file5":"1399702935","file3":"1399702929"},"map_files_photo_id_array":[{"photo_id":"1399702935","filename":"file5"},{"photo_id":"1399702927","filename":"file2"},{"photo_id":"1399702931","filename":"file4"},{"photo_id":"1399702925","filename":"file1"},{"photo_id":"1399702924","filename":"file0"},{"photo_id":"1399702929","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702935":["hashtag1","hashtag2"]},{"1399702929":["hashtag1","hashtag2"]},{"1399702931":["hashtag1","hashtag2"]},{"1399702925":["hashtag1","hashtag2"]},{"1399702927":["hashtag1","hashtag2"]},{"1399702924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702935, 1399702929, 1399702931, 1399702925, 1399702927, 1399702924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58873891830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:11:02.574517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_45_9631.jpg', '/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_55_10636.jpg', '/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_15_9741.jpg', '/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_35_9646.jpg', '/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_45_9745.jpg', '/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_55_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_45_9631.jpg
/home/pi/Desktop/images/16122025/21/07/image_16122025_21_07_55_10636.jpg
/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_15_9741.jpg
/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_35_9646.jpg
/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_45_9745.jpg
/home/pi/Desktop/images/16122025/21/08/image_16122025_21_08_55_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702947","1399702949","1399702951","1399702945","1399702948","1399702942"],"photo_ids_order":["1399702942","1399702945","1399702947","1399702948","1399702949","1399702951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edb9d5b6d2178f2dcc35739b888fae77.jpg","text":"TemporaryFile(/tmp/multipartBody1511874733902212817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915923195,"filename":"image_16122025_21_08_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/150ac57bea4acb370af544bb604b4cba.jpg","text":"TemporaryFile(/tmp/multipartBody586068041886006582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915923195,"filename":"image_16122025_21_08_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/16/952c29ad7dbb94d5acd0317e331ca57e.jpg","text":"TemporaryFile(/tmp/multipartBody8635963016193157291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915923195,"filename":"image_16122025_21_08_55_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0702ec83ab1abaf1039cd71f78269d1b.jpg","text":"TemporaryFile(/tmp/multipartBody482477512391040751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915923195,"filename":"image_16122025_21_07_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d894fc0f42f4b328b90d3659ba3ec88f.jpg","text":"TemporaryFile(/tmp/multipartBody9081891237970592466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915923195,"filename":"image_16122025_21_08_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/536013cc31f0d6e906d0939dced40338.jpg","text":"TemporaryFile(/tmp/multipartBody6677072820460233635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915923195,"filename":"image_16122025_21_07_45_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702947","file1":"1399702945","file0":"1399702942","file4":"1399702949","file5":"1399702951","file3":"1399702948"},"map_files_photo_id_array":[{"photo_id":"1399702951","filename":"file5"},{"photo_id":"1399702947","filename":"file2"},{"photo_id":"1399702949","filename":"file4"},{"photo_id":"1399702945","filename":"file1"},{"photo_id":"1399702942","filename":"file0"},{"photo_id":"1399702948","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702947":["hashtag1","hashtag2"]},{"1399702949":["hashtag1","hashtag2"]},{"1399702951":["hashtag1","hashtag2"]},{"1399702945":["hashtag1","hashtag2"]},{"1399702948":["hashtag1","hashtag2"]},{"1399702942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702947, 1399702949, 1399702951, 1399702945, 1399702948, 1399702942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.230528831481934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:11:41.839690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_04_3627.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_25_2840.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_31_3670.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_34_2668.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_43_2593.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_45_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_04_3627.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_25_2840.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_31_3670.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_34_2668.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_43_2593.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_45_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399702961","1399702964","1399702963","1399702960","1399702957","1399702962"],"photo_ids_order":["1399702957","1399702960","1399702961","1399702962","1399702963","1399702964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3683bd02f52250c70ac7ac340a793b38.jpg","text":"TemporaryFile(/tmp/multipartBody3052864723222400362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915962582,"filename":"image_06112025_18_02_31_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/16/305680aea0058973375ba1b985701391.jpg","text":"TemporaryFile(/tmp/multipartBody625104180568676126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915962582,"filename":"image_06112025_18_02_45_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/16/d2c4ce4a1f279b869f94dbc85f74f094.jpg","text":"TemporaryFile(/tmp/multipartBody4740593238338246851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915962582,"filename":"image_06112025_18_02_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/16/71b6bf190d436b21b9e7be67d2dcf0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5239492887824398244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915962582,"filename":"image_06112025_18_02_25_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/16/3aa2689168a7c19d4846ca1fca765f68.jpg","text":"TemporaryFile(/tmp/multipartBody1743724052033094454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915962582,"filename":"image_06112025_18_02_04_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/16/931fb2c36faa0d579c65cae9b608c5aa.jpg","text":"TemporaryFile(/tmp/multipartBody6574239719383890269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765915962582,"filename":"image_06112025_18_02_34_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702961","file1":"1399702960","file0":"1399702957","file4":"1399702963","file5":"1399702964","file3":"1399702962"},"map_files_photo_id_array":[{"photo_id":"1399702964","filename":"file5"},{"photo_id":"1399702961","filename":"file2"},{"photo_id":"1399702963","filename":"file4"},{"photo_id":"1399702960","filename":"file1"},{"photo_id":"1399702957","filename":"file0"},{"photo_id":"1399702962","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399702961":["hashtag1","hashtag2"]},{"1399702964":["hashtag1","hashtag2"]},{"1399702963":["hashtag1","hashtag2"]},{"1399702960":["hashtag1","hashtag2"]},{"1399702957":["hashtag1","hashtag2"]},{"1399702962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399702961, 1399702964, 1399702963, 1399702960, 1399702957, 1399702962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.896477460861206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:12:22.137506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/08/image_16122025_21_09_05_10765.jpg', '/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_15_9669.jpg', '/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_25_9691.jpg', '/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_35_9857.jpg', '/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_55_9769.jpg', '/home/pi/Desktop/images/16122025/21/09/image_16122025_21_10_05_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/08/image_16122025_21_09_05_10765.jpg
/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_15_9669.jpg
/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_25_9691.jpg
/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_35_9857.jpg
/home/pi/Desktop/images/16122025/21/09/image_16122025_21_09_55_9769.jpg
/home/pi/Desktop/images/16122025/21/09/image_16122025_21_10_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":["1399702971","1399702965","1399702970","1399702976","1399702974","1399702968"],"photo_ids_order":["1399702965","1399702968","1399702970","1399702971","1399702974","1399702976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd77eeffa503fab9bea624eea659eff5.jpg","text":"TemporaryFile(/tmp/multipartBody5749294973667085324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916002718,"filename":"image_16122025_21_09_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/16/6561b86202dc9a0d0e84c8f568a537e4.jpg","text":"TemporaryFile(/tmp/multipartBody5270058592775209765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916002718,"filename":"image_16122025_21_09_05_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d50144557e8843fd078e611fd9e0ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5673132854420266925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916002718,"filename":"image_16122025_21_09_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/16/61ab12633f65f0be4bdd5735649b4480.jpg","text":"TemporaryFile(/tmp/multipartBody8868468087149251384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916002718,"filename":"image_16122025_21_10_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/16/a74658cc2afb45e872bbefba8a6109e9.jpg","text":"TemporaryFile(/tmp/multipartBody4744662401191094521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916002718,"filename":"image_16122025_21_09_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/16/893f95a156f0e5e2fa46d50cc46db808.jpg","text":"TemporaryFile(/tmp/multipartBody7004680032703603233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916002718,"filename":"image_16122025_21_09_15_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702970","file1":"1399702968","file0":"1399702965","file4":"1399702974","file5":"1399702976","file3":"1399702971"},"map_files_photo_id_array":[{"photo_id":"1399702976","filename":"file5"},{"photo_id":"1399702970","filename":"file2"},{"photo_id":"1399702974","filename":"file4"},{"photo_id":"1399702968","filename":"file1"},{"photo_id":"1399702965","filename":"file0"},{"photo_id":"1399702971","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702971":["hashtag1","hashtag2"]},{"1399702965":["hashtag1","hashtag2"]},{"1399702970":["hashtag1","hashtag2"]},{"1399702976":["hashtag1","hashtag2"]},{"1399702974":["hashtag1","hashtag2"]},{"1399702968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702971, 1399702965, 1399702970, 1399702976, 1399702974, 1399702968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88412642478943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:13:02.950303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_15_10665.jpg', '/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_25_9545.jpg', '/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_35_9821.jpg', '/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_45_9882.jpg', '/home/pi/Desktop/images/16122025/21/10/image_16122025_21_11_05_9590.jpg', '/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_15_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_15_10665.jpg
/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_25_9545.jpg
/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_35_9821.jpg
/home/pi/Desktop/images/16122025/21/10/image_16122025_21_10_45_9882.jpg
/home/pi/Desktop/images/16122025/21/10/image_16122025_21_11_05_9590.jpg
/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_15_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":["1399702985","1399702979","1399702982","1399702981","1399702980","1399702983"],"photo_ids_order":["1399702979","1399702980","1399702981","1399702982","1399702983","1399702985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/93a231def70eb233277b42a89e4ac63f.jpg","text":"TemporaryFile(/tmp/multipartBody3694567011634383719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916043551,"filename":"image_16122025_21_11_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/16/bca5178963d3457b9c6a14cf743952bc.jpg","text":"TemporaryFile(/tmp/multipartBody5868148394974350009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916043551,"filename":"image_16122025_21_10_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/16/da9e9667b18269c77290b8921ad44f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3572533653787602115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916043551,"filename":"image_16122025_21_10_45_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cfab3c4e8b7eed01fe37d98319dcbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5733537198453853090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916043551,"filename":"image_16122025_21_10_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/16/93893d01d6906707c6e7eb3693fe2962.jpg","text":"TemporaryFile(/tmp/multipartBody8602521803407250698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916043551,"filename":"image_16122025_21_10_25_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/16/6d285e7c57586688875a1b4e573cf444.jpg","text":"TemporaryFile(/tmp/multipartBody6909111702522053778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916043551,"filename":"image_16122025_21_11_05_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702981","file1":"1399702980","file0":"1399702979","file4":"1399702983","file5":"1399702985","file3":"1399702982"},"map_files_photo_id_array":[{"photo_id":"1399702985","filename":"file5"},{"photo_id":"1399702981","filename":"file2"},{"photo_id":"1399702983","filename":"file4"},{"photo_id":"1399702980","filename":"file1"},{"photo_id":"1399702979","filename":"file0"},{"photo_id":"1399702982","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399702985":["hashtag1","hashtag2"]},{"1399702979":["hashtag1","hashtag2"]},{"1399702982":["hashtag1","hashtag2"]},{"1399702981":["hashtag1","hashtag2"]},{"1399702980":["hashtag1","hashtag2"]},{"1399702983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399702985, 1399702979, 1399702982, 1399702981, 1399702980, 1399702983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07001829147339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:13:42.333203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_49_3696.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_52_2582.jpg', '/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_58_3784.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_06_2749.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_13_2650.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_15_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_49_3696.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_52_2582.jpg
/home/pi/Desktop/images/06112025/18/02/image_06112025_18_02_58_3784.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_06_2749.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_13_2650.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_15_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":["1399702997","1399702994","1399702996","1399702990","1399702993","1399702995"],"photo_ids_order":["1399702990","1399702993","1399702994","1399702995","1399702996","1399702997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68b687df04480234dc31b9a9f0e01460.jpg","text":"TemporaryFile(/tmp/multipartBody5106956544950876550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916083070,"filename":"image_06112025_18_03_15_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/16/1352504a0cb0a0828ffb0ed4a050bc8c.jpg","text":"TemporaryFile(/tmp/multipartBody9072045595437091861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916083070,"filename":"image_06112025_18_02_58_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1dc265788edd678b1bbd53a3782800f9.jpg","text":"TemporaryFile(/tmp/multipartBody255482440851226741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916083070,"filename":"image_06112025_18_03_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/16/e91b2eb2a9f5c6efa6496c91ce52e526.jpg","text":"TemporaryFile(/tmp/multipartBody9180040225127208389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916083070,"filename":"image_06112025_18_02_49_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/16/ed1eddbff18256f1b372be7bf70d67f0.jpg","text":"TemporaryFile(/tmp/multipartBody8845791715341254138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916083070,"filename":"image_06112025_18_02_52_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/16/7bf43acfd606af125624c3bd2f9cde43.jpg","text":"TemporaryFile(/tmp/multipartBody2426007254617840792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916083070,"filename":"image_06112025_18_03_06_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399702994","file1":"1399702993","file0":"1399702990","file4":"1399702996","file5":"1399702997","file3":"1399702995"},"map_files_photo_id_array":[{"photo_id":"1399702997","filename":"file5"},{"photo_id":"1399702994","filename":"file2"},{"photo_id":"1399702996","filename":"file4"},{"photo_id":"1399702993","filename":"file1"},{"photo_id":"1399702990","filename":"file0"},{"photo_id":"1399702995","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399702997":["hashtag1","hashtag2"]},{"1399702994":["hashtag1","hashtag2"]},{"1399702996":["hashtag1","hashtag2"]},{"1399702990":["hashtag1","hashtag2"]},{"1399702993":["hashtag1","hashtag2"]},{"1399702995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399702997, 1399702994, 1399702996, 1399702990, 1399702993, 1399702995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.588894844055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:14:22.706076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_25_10666.jpg', '/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_35_9572.jpg', '/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_45_9650.jpg', '/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_55_10673.jpg', '/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_15_9868.jpg', '/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_35_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_25_10666.jpg
/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_35_9572.jpg
/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_45_9650.jpg
/home/pi/Desktop/images/16122025/21/11/image_16122025_21_11_55_10673.jpg
/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_15_9868.jpg
/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_35_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703007","1399703003","1399703012","1399703000","1399702999","1399703005"],"photo_ids_order":["1399702999","1399703000","1399703003","1399703005","1399703007","1399703012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bcdf9c99a3dfc7d965fd1eaa9ca752d.jpg","text":"TemporaryFile(/tmp/multipartBody5760846587049004129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916123302,"filename":"image_16122025_21_12_15_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/16/1b3f0923af7b108d1e473fd42d6a5161.jpg","text":"TemporaryFile(/tmp/multipartBody5863605967204328402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916123302,"filename":"image_16122025_21_11_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf4045cbdc834fa9c9814ad36878a0a0.jpg","text":"TemporaryFile(/tmp/multipartBody2912069962796375805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916123302,"filename":"image_16122025_21_12_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/16/41fb72c37f01adaf97301c18d24ea2ac.jpg","text":"TemporaryFile(/tmp/multipartBody6378238075511472904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916123302,"filename":"image_16122025_21_11_35_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e93952f68010357109f1b07b92f9dab5.jpg","text":"TemporaryFile(/tmp/multipartBody2104159768940948003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916123302,"filename":"image_16122025_21_11_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/41e03e9c546a0d037fd5020e6dd01c05.jpg","text":"TemporaryFile(/tmp/multipartBody5963882567463571615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916123302,"filename":"image_16122025_21_11_55_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703003","file1":"1399703000","file0":"1399702999","file4":"1399703007","file5":"1399703012","file3":"1399703005"},"map_files_photo_id_array":[{"photo_id":"1399703012","filename":"file5"},{"photo_id":"1399703003","filename":"file2"},{"photo_id":"1399703007","filename":"file4"},{"photo_id":"1399703000","filename":"file1"},{"photo_id":"1399702999","filename":"file0"},{"photo_id":"1399703005","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399703007":["hashtag1","hashtag2"]},{"1399703003":["hashtag1","hashtag2"]},{"1399703012":["hashtag1","hashtag2"]},{"1399703000":["hashtag1","hashtag2"]},{"1399702999":["hashtag1","hashtag2"]},{"1399703005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399703007, 1399703003, 1399703012, 1399703000, 1399702999, 1399703005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29506015777588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:15:03.520257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_45_9566.jpg', '/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_56_10674.jpg', '/home/pi/Desktop/images/16122025/21/12/image_16122025_21_13_05_9684.jpg', '/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_26_10641.jpg', '/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_35_9662.jpg', '/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_45_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_45_9566.jpg
/home/pi/Desktop/images/16122025/21/12/image_16122025_21_12_56_10674.jpg
/home/pi/Desktop/images/16122025/21/12/image_16122025_21_13_05_9684.jpg
/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_26_10641.jpg
/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_35_9662.jpg
/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_45_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703022","1399703021","1399703018","1399703020","1399703023","1399703025"],"photo_ids_order":["1399703018","1399703020","1399703021","1399703022","1399703023","1399703025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/257f92610b7764334e17e7e8e3e0be1e.jpg","text":"TemporaryFile(/tmp/multipartBody9018521278641110191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916164123,"filename":"image_16122025_21_13_26_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db04c3dcd8a8490a7350c32ae57bfb31.jpg","text":"TemporaryFile(/tmp/multipartBody5098051400389558336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916164123,"filename":"image_16122025_21_13_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/16/e29cd5051f9307060d78fd2a595a2388.jpg","text":"TemporaryFile(/tmp/multipartBody481185972572084286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916164123,"filename":"image_16122025_21_12_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2238d30801e976ff4bc2837bd598bc3e.jpg","text":"TemporaryFile(/tmp/multipartBody6247614059676474381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916164123,"filename":"image_16122025_21_12_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/16/32ddf5dd65ecd6c8dfaa2a8a5860f3ad.jpg","text":"TemporaryFile(/tmp/multipartBody8271833745287265654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916164123,"filename":"image_16122025_21_13_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2bc2b631418a80615b685c15927f04b3.jpg","text":"TemporaryFile(/tmp/multipartBody7397704159346570058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916164123,"filename":"image_16122025_21_13_45_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703021","file1":"1399703020","file0":"1399703018","file4":"1399703023","file5":"1399703025","file3":"1399703022"},"map_files_photo_id_array":[{"photo_id":"1399703025","filename":"file5"},{"photo_id":"1399703021","filename":"file2"},{"photo_id":"1399703023","filename":"file4"},{"photo_id":"1399703020","filename":"file1"},{"photo_id":"1399703018","filename":"file0"},{"photo_id":"1399703022","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399703022":["hashtag1","hashtag2"]},{"1399703021":["hashtag1","hashtag2"]},{"1399703018":["hashtag1","hashtag2"]},{"1399703020":["hashtag1","hashtag2"]},{"1399703023":["hashtag1","hashtag2"]},{"1399703025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399703022, 1399703021, 1399703018, 1399703020, 1399703023, 1399703025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43376564979553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:15:42.831523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_21_2893.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_28_2639.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_31_3582.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_37_2674.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_39_2751.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_43_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_21_2893.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_28_2639.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_31_3582.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_37_2674.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_39_2751.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_43_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703034","1399703033","1399703036","1399703035","1399703037","1399703031"],"photo_ids_order":["1399703031","1399703033","1399703034","1399703035","1399703036","1399703037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3eaccd710461822aa98e46f664a71a1.jpg","text":"TemporaryFile(/tmp/multipartBody4949893136813457158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916203566,"filename":"image_06112025_18_03_31_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/16/a9c7ddc59d4faa06727409fe7f42df62.jpg","text":"TemporaryFile(/tmp/multipartBody4787350479918788780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916203566,"filename":"image_06112025_18_03_28_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8d51d7c96739ac68f51d4791c663359.jpg","text":"TemporaryFile(/tmp/multipartBody6846206984266281484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916203566,"filename":"image_06112025_18_03_39_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/16/829239b71428d72f48ee721da031bb20.jpg","text":"TemporaryFile(/tmp/multipartBody5732939210661616720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916203566,"filename":"image_06112025_18_03_37_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/16/63f354411bc05358697d6d472856677e.jpg","text":"TemporaryFile(/tmp/multipartBody7740195744250579440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916203566,"filename":"image_06112025_18_03_43_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/16/a063db843b35ea63376fd35b95da38b3.jpg","text":"TemporaryFile(/tmp/multipartBody481392285987959082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916203566,"filename":"image_06112025_18_03_21_2893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703034","file1":"1399703033","file0":"1399703031","file4":"1399703036","file5":"1399703037","file3":"1399703035"},"map_files_photo_id_array":[{"photo_id":"1399703037","filename":"file5"},{"photo_id":"1399703034","filename":"file2"},{"photo_id":"1399703036","filename":"file4"},{"photo_id":"1399703033","filename":"file1"},{"photo_id":"1399703031","filename":"file0"},{"photo_id":"1399703035","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399703034":["hashtag1","hashtag2"]},{"1399703033":["hashtag1","hashtag2"]},{"1399703036":["hashtag1","hashtag2"]},{"1399703035":["hashtag1","hashtag2"]},{"1399703037":["hashtag1","hashtag2"]},{"1399703031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399703034, 1399703033, 1399703036, 1399703035, 1399703037, 1399703031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.463032484054565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:16:22.114175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_56_10682.jpg', '/home/pi/Desktop/images/16122025/21/13/image_16122025_21_14_05_9704.jpg', '/home/pi/Desktop/images/16122025/21/14/image_16122025_21_14_26_10577.jpg', '/home/pi/Desktop/images/16122025/21/14/image_16122025_21_14_55_10659.jpg', '/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_15_9615.jpg', '/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_25_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/13/image_16122025_21_13_56_10682.jpg
/home/pi/Desktop/images/16122025/21/13/image_16122025_21_14_05_9704.jpg
/home/pi/Desktop/images/16122025/21/14/image_16122025_21_14_26_10577.jpg
/home/pi/Desktop/images/16122025/21/14/image_16122025_21_14_55_10659.jpg
/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_15_9615.jpg
/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_25_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703049","1399703040","1399703042","1399703044","1399703038","1399703046"],"photo_ids_order":["1399703038","1399703040","1399703042","1399703044","1399703046","1399703049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3ace7de28bc106695e1ef3d02c7c4a5.jpg","text":"TemporaryFile(/tmp/multipartBody7221564782708511208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916242692,"filename":"image_16122025_21_15_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/16/a70a756e026d9772bd91204130124327.jpg","text":"TemporaryFile(/tmp/multipartBody661342175142544419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916242692,"filename":"image_16122025_21_14_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/16/77b6dee782b8fa6e3d9d278f2f7ed46a.jpg","text":"TemporaryFile(/tmp/multipartBody6912595260981323269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916242692,"filename":"image_16122025_21_14_26_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/16/4402081e112a2cf45b82d4a46721a349.jpg","text":"TemporaryFile(/tmp/multipartBody1449968645607771072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916242692,"filename":"image_16122025_21_14_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a657ed12df21bc7b46b4b087789bb818.jpg","text":"TemporaryFile(/tmp/multipartBody3873404043743068153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916242692,"filename":"image_16122025_21_13_56_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/16/7b8386a10dc9ab3664992c438a10c597.jpg","text":"TemporaryFile(/tmp/multipartBody2474126070132129415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916242692,"filename":"image_16122025_21_15_15_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703042","file1":"1399703040","file0":"1399703038","file4":"1399703046","file5":"1399703049","file3":"1399703044"},"map_files_photo_id_array":[{"photo_id":"1399703049","filename":"file5"},{"photo_id":"1399703042","filename":"file2"},{"photo_id":"1399703046","filename":"file4"},{"photo_id":"1399703040","filename":"file1"},{"photo_id":"1399703038","filename":"file0"},{"photo_id":"1399703044","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399703049":["hashtag1","hashtag2"]},{"1399703040":["hashtag1","hashtag2"]},{"1399703042":["hashtag1","hashtag2"]},{"1399703044":["hashtag1","hashtag2"]},{"1399703038":["hashtag1","hashtag2"]},{"1399703046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399703049, 1399703040, 1399703042, 1399703044, 1399703038, 1399703046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56589961051941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:17:02.888926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_35_9692.jpg', '/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_45_9684.jpg', '/home/pi/Desktop/images/16122025/21/15/image_16122025_21_16_05_9665.jpg', '/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_15_9719.jpg', '/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_26_10691.jpg', '/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_35_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_35_9692.jpg
/home/pi/Desktop/images/16122025/21/15/image_16122025_21_15_45_9684.jpg
/home/pi/Desktop/images/16122025/21/15/image_16122025_21_16_05_9665.jpg
/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_15_9719.jpg
/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_26_10691.jpg
/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_35_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703051","1399703060","1399703057","1399703053","1399703055","1399703058"],"photo_ids_order":["1399703051","1399703053","1399703055","1399703057","1399703058","1399703060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f3fe8c6ba8974778ed62b6bab11c1e31.jpg","text":"TemporaryFile(/tmp/multipartBody8577149737280769418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916283504,"filename":"image_16122025_21_15_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49bec3e08f307137845331f435645a01.jpg","text":"TemporaryFile(/tmp/multipartBody8476584391605795570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916283504,"filename":"image_16122025_21_16_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4724f4c6cfaef052f6cd2e05996d81e8.jpg","text":"TemporaryFile(/tmp/multipartBody513723491075663584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916283504,"filename":"image_16122025_21_16_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/16/fccaa917ac65ed9d388fb20753df95f0.jpg","text":"TemporaryFile(/tmp/multipartBody1307620492820742918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916283504,"filename":"image_16122025_21_15_45_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4395dfe6724417fe7974ea22053a6d00.jpg","text":"TemporaryFile(/tmp/multipartBody571000491336596252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916283504,"filename":"image_16122025_21_16_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8c9e3bf66f92ba3d8e89fa8f705b47e.jpg","text":"TemporaryFile(/tmp/multipartBody5257968634894703221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916283504,"filename":"image_16122025_21_16_26_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703055","file1":"1399703053","file0":"1399703051","file4":"1399703058","file5":"1399703060","file3":"1399703057"},"map_files_photo_id_array":[{"photo_id":"1399703060","filename":"file5"},{"photo_id":"1399703055","filename":"file2"},{"photo_id":"1399703058","filename":"file4"},{"photo_id":"1399703053","filename":"file1"},{"photo_id":"1399703051","filename":"file0"},{"photo_id":"1399703057","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399703051":["hashtag1","hashtag2"]},{"1399703060":["hashtag1","hashtag2"]},{"1399703057":["hashtag1","hashtag2"]},{"1399703053":["hashtag1","hashtag2"]},{"1399703055":["hashtag1","hashtag2"]},{"1399703058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399703051, 1399703060, 1399703057, 1399703053, 1399703055, 1399703058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16348886489868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:17:42.317656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_46_2624.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_48_2697.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_52_3651.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_57_2544.jpg', '/home/pi/Desktop/images/06112025/18/03/image_06112025_18_04_01_3832.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_04_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_46_2624.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_48_2697.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_52_3651.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_03_57_2544.jpg
/home/pi/Desktop/images/06112025/18/03/image_06112025_18_04_01_3832.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_04_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703072","1399703069","1399703071","1399703065","1399703068","1399703070"],"photo_ids_order":["1399703065","1399703068","1399703069","1399703070","1399703071","1399703072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8bb0398d21892f7035c86a9f5f98994.jpg","text":"TemporaryFile(/tmp/multipartBody7454895005140888302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916323052,"filename":"image_06112025_18_04_04_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/16/37ea43b5135cbec671c8134c6601762b.jpg","text":"TemporaryFile(/tmp/multipartBody9020844651293667038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916323052,"filename":"image_06112025_18_03_52_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/16/2b3bb04bf5bff97b28f0cdc42320840f.jpg","text":"TemporaryFile(/tmp/multipartBody168851891341276344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916323052,"filename":"image_06112025_18_04_01_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/16/b3ef85f6eead625e2969af359026e673.jpg","text":"TemporaryFile(/tmp/multipartBody8709779740401817293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916323052,"filename":"image_06112025_18_03_46_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e2f8079198899deb9de2bdc8fbfdf0f.jpg","text":"TemporaryFile(/tmp/multipartBody1728657780840803572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916323052,"filename":"image_06112025_18_03_48_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b1c1c1ebc236e24dbc978b7937c61da.jpg","text":"TemporaryFile(/tmp/multipartBody8813685446170766977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916323052,"filename":"image_06112025_18_03_57_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703069","file1":"1399703068","file0":"1399703065","file4":"1399703071","file5":"1399703072","file3":"1399703070"},"map_files_photo_id_array":[{"photo_id":"1399703072","filename":"file5"},{"photo_id":"1399703069","filename":"file2"},{"photo_id":"1399703071","filename":"file4"},{"photo_id":"1399703068","filename":"file1"},{"photo_id":"1399703065","filename":"file0"},{"photo_id":"1399703070","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399703072":["hashtag1","hashtag2"]},{"1399703069":["hashtag1","hashtag2"]},{"1399703071":["hashtag1","hashtag2"]},{"1399703065":["hashtag1","hashtag2"]},{"1399703068":["hashtag1","hashtag2"]},{"1399703070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399703072, 1399703069, 1399703071, 1399703065, 1399703068, 1399703070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79506969451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:18:22.560374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_56_10662.jpg', '/home/pi/Desktop/images/16122025/21/16/image_16122025_21_17_05_9718.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_15_9558.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_45_9878.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_55_9685.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_18_06_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_56_10662.jpg
/home/pi/Desktop/images/16122025/21/16/image_16122025_21_17_05_9718.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_15_9558.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_45_9878.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_55_9685.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_18_06_10669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4728686809539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:18:32.663623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:18:42.532036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_07_2838.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_09_2606.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_13_3645.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_22_2694.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_24_2555.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_27_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_07_2838.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_09_2606.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_13_3645.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_22_2694.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_24_2555.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_27_2772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703096","1399703093","1399703095","1399703091","1399703094","1399703088"],"photo_ids_order":["1399703088","1399703091","1399703093","1399703094","1399703095","1399703096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1fb17fdebe6d215798cb34d1f8680cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5873363806264756613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916383276,"filename":"image_06112025_18_04_27_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/16/c24eb10eaf848e5118aff95a1791890b.jpg","text":"TemporaryFile(/tmp/multipartBody1878925946391317890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916383276,"filename":"image_06112025_18_04_13_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/16/2976caa4c08924f48d5cc0976b3bdf0c.jpg","text":"TemporaryFile(/tmp/multipartBody309361575161935497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916383276,"filename":"image_06112025_18_04_24_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/16/3de6e0a3e068a0a2af51e694270fbbf2.jpg","text":"TemporaryFile(/tmp/multipartBody6472666732168840880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916383276,"filename":"image_06112025_18_04_09_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7f1477a88ab7e70fc44b83214715a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4728180041842130553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916383276,"filename":"image_06112025_18_04_22_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/16/f64eaac0b218bd68d1449a966e2dfb28.jpg","text":"TemporaryFile(/tmp/multipartBody8782610345660815454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916383276,"filename":"image_06112025_18_04_07_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703093","file1":"1399703091","file0":"1399703088","file4":"1399703095","file5":"1399703096","file3":"1399703094"},"map_files_photo_id_array":[{"photo_id":"1399703096","filename":"file5"},{"photo_id":"1399703093","filename":"file2"},{"photo_id":"1399703095","filename":"file4"},{"photo_id":"1399703091","filename":"file1"},{"photo_id":"1399703088","filename":"file0"},{"photo_id":"1399703094","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399703096":["hashtag1","hashtag2"]},{"1399703093":["hashtag1","hashtag2"]},{"1399703095":["hashtag1","hashtag2"]},{"1399703091":["hashtag1","hashtag2"]},{"1399703094":["hashtag1","hashtag2"]},{"1399703088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399703096, 1399703093, 1399703095, 1399703091, 1399703094, 1399703088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.762237787246704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:19:22.809579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_56_10662.jpg', '/home/pi/Desktop/images/16122025/21/16/image_16122025_21_17_05_9718.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_15_9558.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_45_9878.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_55_9685.jpg', '/home/pi/Desktop/images/16122025/21/17/image_16122025_21_18_06_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/16/image_16122025_21_16_56_10662.jpg
/home/pi/Desktop/images/16122025/21/16/image_16122025_21_17_05_9718.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_15_9558.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_45_9878.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_17_55_9685.jpg
/home/pi/Desktop/images/16122025/21/17/image_16122025_21_18_06_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703106","1399703100","1399703108","1399703101","1399703110","1399703104"],"photo_ids_order":["1399703100","1399703101","1399703104","1399703106","1399703108","1399703110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16089121b4d40cad7c347878c153babe.jpg","text":"TemporaryFile(/tmp/multipartBody2145038795998758801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916423386,"filename":"image_16122025_21_17_45_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/16/f135893c41fa4d8517277e5bc755d3bf.jpg","text":"TemporaryFile(/tmp/multipartBody7062962714596545450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916423386,"filename":"image_16122025_21_16_56_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/16/b6a3a9b6857e877c15091b0e2d91db81.jpg","text":"TemporaryFile(/tmp/multipartBody6923763704669249931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916423386,"filename":"image_16122025_21_17_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/964dce3ae895ec94e18f940d71d94cfb.jpg","text":"TemporaryFile(/tmp/multipartBody313195073404832468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916423386,"filename":"image_16122025_21_17_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bb04240df30c239f367458df83da89c.jpg","text":"TemporaryFile(/tmp/multipartBody2206119397927804026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916423386,"filename":"image_16122025_21_18_06_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/16/e4740e6e6f9c89db919411a4fcc5e0d9.jpg","text":"TemporaryFile(/tmp/multipartBody7224987025682302557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916423386,"filename":"image_16122025_21_17_15_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703104","file1":"1399703101","file0":"1399703100","file4":"1399703108","file5":"1399703110","file3":"1399703106"},"map_files_photo_id_array":[{"photo_id":"1399703110","filename":"file5"},{"photo_id":"1399703104","filename":"file2"},{"photo_id":"1399703108","filename":"file4"},{"photo_id":"1399703101","filename":"file1"},{"photo_id":"1399703100","filename":"file0"},{"photo_id":"1399703106","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399703106":["hashtag1","hashtag2"]},{"1399703100":["hashtag1","hashtag2"]},{"1399703108":["hashtag1","hashtag2"]},{"1399703101":["hashtag1","hashtag2"]},{"1399703110":["hashtag1","hashtag2"]},{"1399703104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399703106, 1399703100, 1399703108, 1399703101, 1399703110, 1399703104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.126174449920654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:20:02.487893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_25_9634.jpg', '/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_35_9773.jpg', '/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_45_10673.jpg', '/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_55_9665.jpg', '/home/pi/Desktop/images/16122025/21/18/image_16122025_21_19_05_9647.jpg', '/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_15_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_25_9634.jpg
/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_35_9773.jpg
/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_45_10673.jpg
/home/pi/Desktop/images/16122025/21/18/image_16122025_21_18_55_9665.jpg
/home/pi/Desktop/images/16122025/21/18/image_16122025_21_19_05_9647.jpg
/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_15_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":["1399703114","1399703219","1399703111","1399703184","1399703148","1399703256"],"photo_ids_order":["1399703111","1399703114","1399703148","1399703184","1399703219","1399703256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/be2b6efeb2c5de56daa9204144cbb744.jpg","text":"TemporaryFile(/tmp/multipartBody7066585377664590447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916463108,"filename":"image_16122025_21_18_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c3d68d3a5ccc4a798451d6da5973b49.jpg","text":"TemporaryFile(/tmp/multipartBody49270555289343772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916463108,"filename":"image_16122025_21_19_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/16/14af574fecdb840fa0f9a655afa7d42c.jpg","text":"TemporaryFile(/tmp/multipartBody1004935745010130673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916463108,"filename":"image_16122025_21_18_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/16/36775316987bd649adfa97ac516ee2ac.jpg","text":"TemporaryFile(/tmp/multipartBody503978937982170747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916463108,"filename":"image_16122025_21_18_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/819cc88beda7e59effe9aa4e85bb0923.jpg","text":"TemporaryFile(/tmp/multipartBody5812697370057276227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916463108,"filename":"image_16122025_21_18_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bf121e5c282022b1a4d4855365d86671.jpg","text":"TemporaryFile(/tmp/multipartBody3339471209464150036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916463108,"filename":"image_16122025_21_19_15_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703148","file1":"1399703114","file0":"1399703111","file4":"1399703219","file5":"1399703256","file3":"1399703184"},"map_files_photo_id_array":[{"photo_id":"1399703256","filename":"file5"},{"photo_id":"1399703148","filename":"file2"},{"photo_id":"1399703219","filename":"file4"},{"photo_id":"1399703114","filename":"file1"},{"photo_id":"1399703111","filename":"file0"},{"photo_id":"1399703184","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399703114":["hashtag1","hashtag2"]},{"1399703219":["hashtag1","hashtag2"]},{"1399703111":["hashtag1","hashtag2"]},{"1399703184":["hashtag1","hashtag2"]},{"1399703148":["hashtag1","hashtag2"]},{"1399703256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399703114, 1399703219, 1399703111, 1399703184, 1399703148, 1399703256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81116008758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:20:42.073375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_31_3685.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_33_2606.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_37_3585.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_45_2928.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_49_3690.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_55_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_31_3685.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_33_2606.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_37_3585.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_45_2928.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_49_3690.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_55_2755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399703507","1399703434","1399703542","1399703577","1399703394","1399703475"],"photo_ids_order":["1399703394","1399703434","1399703475","1399703507","1399703542","1399703577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f2067e1beb81e75fa809861c3709e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1659422985435080617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916502805,"filename":"image_06112025_18_04_45_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1568f880a596f35202820764414e1875.jpg","text":"TemporaryFile(/tmp/multipartBody1548228651429494455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916502805,"filename":"image_06112025_18_04_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/16/883c8317032a88ed2e4a00e5c74d7e99.jpg","text":"TemporaryFile(/tmp/multipartBody891675601880894438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916502805,"filename":"image_06112025_18_04_49_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/16/4259380d0e2eed58986674663268c4fa.jpg","text":"TemporaryFile(/tmp/multipartBody8384640635384894317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916502805,"filename":"image_06112025_18_04_55_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/16/9d5d2a2f7f78e6977281e2a7e1587a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7933967677000599211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916502805,"filename":"image_06112025_18_04_31_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e8c76e52f21d999a3d3cb5c2999fd6dc.jpg","text":"TemporaryFile(/tmp/multipartBody9172380766915573056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916502805,"filename":"image_06112025_18_04_37_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703475","file1":"1399703434","file0":"1399703394","file4":"1399703542","file5":"1399703577","file3":"1399703507"},"map_files_photo_id_array":[{"photo_id":"1399703577","filename":"file5"},{"photo_id":"1399703475","filename":"file2"},{"photo_id":"1399703542","filename":"file4"},{"photo_id":"1399703434","filename":"file1"},{"photo_id":"1399703394","filename":"file0"},{"photo_id":"1399703507","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399703507":["hashtag1","hashtag2"]},{"1399703434":["hashtag1","hashtag2"]},{"1399703542":["hashtag1","hashtag2"]},{"1399703577":["hashtag1","hashtag2"]},{"1399703394":["hashtag1","hashtag2"]},{"1399703475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399703507, 1399703434, 1399703542, 1399703577, 1399703394, 1399703475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71595025062561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:21:22.412088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_25_9624.jpg', '/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_36_10626.jpg', '/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_45_9664.jpg', '/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_55_9565.jpg', '/home/pi/Desktop/images/16122025/21/19/image_16122025_21_20_05_10626.jpg', '/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_15_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_25_9624.jpg
/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_36_10626.jpg
/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_45_9664.jpg
/home/pi/Desktop/images/16122025/21/19/image_16122025_21_19_55_9565.jpg
/home/pi/Desktop/images/16122025/21/19/image_16122025_21_20_05_10626.jpg
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_15_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":["1399703907","1399703753","1399703717","1399703869","1399703833","1399703790"],"photo_ids_order":["1399703717","1399703753","1399703790","1399703833","1399703869","1399703907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1142a28bbed544c4fc42476a05f3bad1.jpg","text":"TemporaryFile(/tmp/multipartBody7875982251966040949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916542996,"filename":"image_16122025_21_20_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/706da380b45a663220b6330d966e77c6.jpg","text":"TemporaryFile(/tmp/multipartBody2534791621871693929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916542996,"filename":"image_16122025_21_19_36_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/16/93d8f4462cffd810b9bc5761ba11d434.jpg","text":"TemporaryFile(/tmp/multipartBody3971140597914354289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916542996,"filename":"image_16122025_21_19_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/16/ad9bb39adb789eeaeba68f3d0c7b6ded.jpg","text":"TemporaryFile(/tmp/multipartBody575563439234466425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916542996,"filename":"image_16122025_21_20_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/16/5a0a8adfb8275d288193afcea16ee5a4.jpg","text":"TemporaryFile(/tmp/multipartBody6396658580815595955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916542996,"filename":"image_16122025_21_19_55_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f734db4bec1a79b995545e8e5080af7.jpg","text":"TemporaryFile(/tmp/multipartBody8433152388814927875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916542996,"filename":"image_16122025_21_19_45_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399703790","file1":"1399703753","file0":"1399703717","file4":"1399703869","file5":"1399703907","file3":"1399703833"},"map_files_photo_id_array":[{"photo_id":"1399703907","filename":"file5"},{"photo_id":"1399703790","filename":"file2"},{"photo_id":"1399703869","filename":"file4"},{"photo_id":"1399703753","filename":"file1"},{"photo_id":"1399703717","filename":"file0"},{"photo_id":"1399703833","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399703907":["hashtag1","hashtag2"]},{"1399703753":["hashtag1","hashtag2"]},{"1399703717":["hashtag1","hashtag2"]},{"1399703869":["hashtag1","hashtag2"]},{"1399703833":["hashtag1","hashtag2"]},{"1399703790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399703907, 1399703753, 1399703717, 1399703869, 1399703833, 1399703790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.143884897232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:22:03.016835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_25_9685.jpg', '/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_36_10639.jpg', '/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_55_9700.jpg', '/home/pi/Desktop/images/16122025/21/20/image_16122025_21_21_06_10697.jpg', '/home/pi/Desktop/images/16122025/21/21/image_16122025_21_21_16_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_25_9685.jpg
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_36_10639.jpg
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_55_9700.jpg
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_21_06_10697.jpg
/home/pi/Desktop/images/16122025/21/21/image_16122025_21_21_16_9900.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46117615699768066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:22:12.508229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:22:22.599613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_25_9685.jpg', '/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_36_10639.jpg', '/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_55_9700.jpg', '/home/pi/Desktop/images/16122025/21/20/image_16122025_21_21_06_10697.jpg', '/home/pi/Desktop/images/16122025/21/21/image_16122025_21_21_16_9900.jpg', '/home/pi/Desktop/images/16122025/21/21/image_16122025_21_21_55_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_25_9685.jpg
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_36_10639.jpg
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_20_55_9700.jpg
/home/pi/Desktop/images/16122025/21/20/image_16122025_21_21_06_10697.jpg
/home/pi/Desktop/images/16122025/21/21/image_16122025_21_21_16_9900.jpg
/home/pi/Desktop/images/16122025/21/21/image_16122025_21_21_55_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704140","1399704137","1399704142","1399704147","1399704144","1399704138"],"photo_ids_order":["1399704137","1399704138","1399704140","1399704142","1399704144","1399704147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01cb0cbeb71db1dcbf6f71f8f5fc4a66.jpg","text":"TemporaryFile(/tmp/multipartBody634431659607567664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916603217,"filename":"image_16122025_21_20_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/16/9d5b70d05c1dbb659355640b21ff5583.jpg","text":"TemporaryFile(/tmp/multipartBody3493395485683268433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916603217,"filename":"image_16122025_21_20_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/40ee95991d2720178d41ee992b2bc916.jpg","text":"TemporaryFile(/tmp/multipartBody3797177953184175251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916603217,"filename":"image_16122025_21_21_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/16/81e29c554670e6c8b45c7dfcf4714007.jpg","text":"TemporaryFile(/tmp/multipartBody4180164459411937986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916603217,"filename":"image_16122025_21_21_55_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c0e9271162360417ba958bbf62db342.jpg","text":"TemporaryFile(/tmp/multipartBody3186797814507946723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916603217,"filename":"image_16122025_21_21_16_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/16/5474254f23db804f58d933b69f413fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4636850688264560142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916603217,"filename":"image_16122025_21_20_36_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704140","file1":"1399704138","file0":"1399704137","file4":"1399704144","file5":"1399704147","file3":"1399704142"},"map_files_photo_id_array":[{"photo_id":"1399704147","filename":"file5"},{"photo_id":"1399704140","filename":"file2"},{"photo_id":"1399704144","filename":"file4"},{"photo_id":"1399704138","filename":"file1"},{"photo_id":"1399704137","filename":"file0"},{"photo_id":"1399704142","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704140":["hashtag1","hashtag2"]},{"1399704137":["hashtag1","hashtag2"]},{"1399704142":["hashtag1","hashtag2"]},{"1399704147":["hashtag1","hashtag2"]},{"1399704144":["hashtag1","hashtag2"]},{"1399704138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704140, 1399704137, 1399704142, 1399704147, 1399704144, 1399704138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29813528060913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:23:03.374829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:23:12.815072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:23:22.758498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/22/image_16122025_21_22_15_9761.jpg', '/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_15_9701.jpg', '/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_45_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/22/image_16122025_21_22_15_9761.jpg
/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_15_9701.jpg
/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_45_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704152","1399704154","1399704168"],"photo_ids_order":["1399704152","1399704154","1399704168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eace82d1fae727cd1f2eabcea5b2d9f7.jpg","text":"TemporaryFile(/tmp/multipartBody9024671126073436637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916663236,"filename":"image_16122025_21_22_15_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/16/5f4d878848c41fffa5bb73e69fe32bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2477388672970203848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916663236,"filename":"image_16122025_21_23_15_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/16/9ba54a3022baa557ead74f5cf472980f.jpg","text":"TemporaryFile(/tmp/multipartBody7090560712339932082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916663236,"filename":"image_16122025_21_23_45_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704168","file1":"1399704154","file0":"1399704152"},"map_files_photo_id_array":[{"photo_id":"1399704168","filename":"file2"},{"photo_id":"1399704154","filename":"file1"},{"photo_id":"1399704152","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704152":["hashtag1","hashtag2"]},{"1399704154":["hashtag1","hashtag2"]},{"1399704168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704152, 1399704154, 1399704168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.49385118484497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:24:02.654919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:24:12.103419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:24:22.234899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_55_9737.jpg', '/home/pi/Desktop/images/16122025/21/23/image_16122025_21_24_06_10865.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_15_9574.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_25_9910.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_35_9694.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_45_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_55_9737.jpg
/home/pi/Desktop/images/16122025/21/23/image_16122025_21_24_06_10865.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_15_9574.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_25_9910.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_35_9694.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_45_10628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.480910062789917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:24:32.192791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:24:42.050847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_57_2719.jpg', '/home/pi/Desktop/images/06112025/18/04/image_06112025_18_05_01_3763.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_04_2989.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_07_2575.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_09_2656.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_15_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_04_57_2719.jpg
/home/pi/Desktop/images/06112025/18/04/image_06112025_18_05_01_3763.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_04_2989.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_07_2575.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_09_2656.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_15_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704652","1399704687","1399704636","1399704639","1399704609","1399704572"],"photo_ids_order":["1399704572","1399704609","1399704636","1399704639","1399704652","1399704687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1cabbb3b6e63e0e69dea13c9dcafd731.jpg","text":"TemporaryFile(/tmp/multipartBody8273757167136880044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916742842,"filename":"image_06112025_18_05_09_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/16/a4bb6c09cff86aad4e5ff52abbb7521b.jpg","text":"TemporaryFile(/tmp/multipartBody6839071160838095684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916742842,"filename":"image_06112025_18_05_15_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e0e8c6f5051fdb0348a445f187d05ce.jpg","text":"TemporaryFile(/tmp/multipartBody7841887556979720606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916742842,"filename":"image_06112025_18_05_04_2989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84e1a2a0c9b076575d053a7b739a9b0f.jpg","text":"TemporaryFile(/tmp/multipartBody7505722057940906990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916742842,"filename":"image_06112025_18_05_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/16/46a18b819c3fce909b5d2d1f34fde8c7.jpg","text":"TemporaryFile(/tmp/multipartBody7543744150600005604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916742842,"filename":"image_06112025_18_05_01_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/16/56c33c075d12f6e50ecb682c64e0dcc1.jpg","text":"TemporaryFile(/tmp/multipartBody4095674726136884980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916742842,"filename":"image_06112025_18_04_57_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704636","file1":"1399704609","file0":"1399704572","file4":"1399704652","file5":"1399704687","file3":"1399704639"},"map_files_photo_id_array":[{"photo_id":"1399704687","filename":"file5"},{"photo_id":"1399704636","filename":"file2"},{"photo_id":"1399704652","filename":"file4"},{"photo_id":"1399704609","filename":"file1"},{"photo_id":"1399704572","filename":"file0"},{"photo_id":"1399704639","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399704652":["hashtag1","hashtag2"]},{"1399704687":["hashtag1","hashtag2"]},{"1399704636":["hashtag1","hashtag2"]},{"1399704639":["hashtag1","hashtag2"]},{"1399704609":["hashtag1","hashtag2"]},{"1399704572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399704652, 1399704687, 1399704636, 1399704639, 1399704609, 1399704572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58851671218872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:25:22.303555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_55_9737.jpg', '/home/pi/Desktop/images/16122025/21/23/image_16122025_21_24_06_10865.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_15_9574.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_25_9910.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_35_9694.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_45_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/23/image_16122025_21_23_55_9737.jpg
/home/pi/Desktop/images/16122025/21/23/image_16122025_21_24_06_10865.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_15_9574.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_25_9910.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_35_9694.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_45_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":["1399704728","1399704725","1399704724","1399704718","1399704721","1399704720"],"photo_ids_order":["1399704718","1399704720","1399704721","1399704724","1399704725","1399704728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2fe0bba296efde8e9b469a689c7f8098.jpg","text":"TemporaryFile(/tmp/multipartBody827855662907151708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916782920,"filename":"image_16122025_21_24_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/16/2792b73c31d38a63e86da18e5bce5379.jpg","text":"TemporaryFile(/tmp/multipartBody7406236094770075219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916782920,"filename":"image_16122025_21_24_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/16/58718ffb524c02ecb9a3f38b0d28508b.jpg","text":"TemporaryFile(/tmp/multipartBody1648907867760814909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916782920,"filename":"image_16122025_21_24_25_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/11c46af1933eadc191e41394fe900f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8594832332316826590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916782920,"filename":"image_16122025_21_23_55_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a459f5dd676891828133aeb05d46d915.jpg","text":"TemporaryFile(/tmp/multipartBody5481438859726787598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916782920,"filename":"image_16122025_21_24_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/16/99bef4d399e8888e8893dbe07145da66.jpg","text":"TemporaryFile(/tmp/multipartBody5551500476812965864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916782920,"filename":"image_16122025_21_24_06_10865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704721","file1":"1399704720","file0":"1399704718","file4":"1399704725","file5":"1399704728","file3":"1399704724"},"map_files_photo_id_array":[{"photo_id":"1399704728","filename":"file5"},{"photo_id":"1399704721","filename":"file2"},{"photo_id":"1399704725","filename":"file4"},{"photo_id":"1399704720","filename":"file1"},{"photo_id":"1399704718","filename":"file0"},{"photo_id":"1399704724","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704728":["hashtag1","hashtag2"]},{"1399704725":["hashtag1","hashtag2"]},{"1399704724":["hashtag1","hashtag2"]},{"1399704718":["hashtag1","hashtag2"]},{"1399704721":["hashtag1","hashtag2"]},{"1399704720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704728, 1399704725, 1399704724, 1399704718, 1399704721, 1399704720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83354210853577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:26:02.975964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_55_9651.jpg', '/home/pi/Desktop/images/16122025/21/24/image_16122025_21_25_05_9568.jpg', '/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_15_10693.jpg', '/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_25_9628.jpg', '/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_35_9781.jpg', '/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_45_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_24_55_9651.jpg
/home/pi/Desktop/images/16122025/21/24/image_16122025_21_25_05_9568.jpg
/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_15_10693.jpg
/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_25_9628.jpg
/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_35_9781.jpg
/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_45_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704734","1399704737","1399704730","1399704733","1399704735","1399704732"],"photo_ids_order":["1399704730","1399704732","1399704733","1399704734","1399704735","1399704737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2ad7b8b59d2b9c4788f1e5e37b6ead4.jpg","text":"TemporaryFile(/tmp/multipartBody5210637576278885338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916823565,"filename":"image_16122025_21_25_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/385810f04d4b387fdb0604396b7fc719.jpg","text":"TemporaryFile(/tmp/multipartBody4231313613622842363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916823565,"filename":"image_16122025_21_25_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e8547ec7ec240318c701c531d52b218.jpg","text":"TemporaryFile(/tmp/multipartBody4220690324649480936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916823565,"filename":"image_16122025_21_24_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/16/72e79bb881f3f0453264f0675aca11c7.jpg","text":"TemporaryFile(/tmp/multipartBody8588316827997605781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916823565,"filename":"image_16122025_21_25_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae5d8121978ff55d54a498c7363a42d7.jpg","text":"TemporaryFile(/tmp/multipartBody4314701030916754321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916823565,"filename":"image_16122025_21_25_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/16/643e9b43897a94c7fb6d27829b98ae89.jpg","text":"TemporaryFile(/tmp/multipartBody4735440422013687823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916823565,"filename":"image_16122025_21_25_05_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704733","file1":"1399704732","file0":"1399704730","file4":"1399704735","file5":"1399704737","file3":"1399704734"},"map_files_photo_id_array":[{"photo_id":"1399704737","filename":"file5"},{"photo_id":"1399704733","filename":"file2"},{"photo_id":"1399704735","filename":"file4"},{"photo_id":"1399704732","filename":"file1"},{"photo_id":"1399704730","filename":"file0"},{"photo_id":"1399704734","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704734":["hashtag1","hashtag2"]},{"1399704737":["hashtag1","hashtag2"]},{"1399704730":["hashtag1","hashtag2"]},{"1399704733":["hashtag1","hashtag2"]},{"1399704735":["hashtag1","hashtag2"]},{"1399704732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704734, 1399704737, 1399704730, 1399704733, 1399704735, 1399704732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96715235710144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:26:42.669090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_18_2663.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_22_3656.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_25_2795.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_27_2665.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_31_3742.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_34_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_18_2663.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_22_3656.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_25_2795.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_27_2665.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_31_3742.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_34_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":["1399704755","1399704749","1399704754","1399704757","1399704748","1399704753"],"photo_ids_order":["1399704748","1399704749","1399704753","1399704754","1399704755","1399704757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e49b9b3384c2cd81c26140e98bd22f8.jpg","text":"TemporaryFile(/tmp/multipartBody6264206605079641410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916863403,"filename":"image_06112025_18_05_31_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/16/7457f4b2b15e8ce11450c44cbe48531a.jpg","text":"TemporaryFile(/tmp/multipartBody1499105347326789996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916863403,"filename":"image_06112025_18_05_22_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/16/2a6bfd173a304c5fbc18098431ed2534.jpg","text":"TemporaryFile(/tmp/multipartBody2905878695329576935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916863403,"filename":"image_06112025_18_05_27_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6db302e8d96ee058feb0f058ebfd553f.jpg","text":"TemporaryFile(/tmp/multipartBody8188667805132398000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916863403,"filename":"image_06112025_18_05_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/16/3a8a2fa65c6643a83c91ca4fe2314d38.jpg","text":"TemporaryFile(/tmp/multipartBody3538785886731043030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916863403,"filename":"image_06112025_18_05_18_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/16/f27034133e975f1f740450f04ab88c40.jpg","text":"TemporaryFile(/tmp/multipartBody7631284312055912510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916863403,"filename":"image_06112025_18_05_25_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704753","file1":"1399704749","file0":"1399704748","file4":"1399704755","file5":"1399704757","file3":"1399704754"},"map_files_photo_id_array":[{"photo_id":"1399704757","filename":"file5"},{"photo_id":"1399704753","filename":"file2"},{"photo_id":"1399704755","filename":"file4"},{"photo_id":"1399704749","filename":"file1"},{"photo_id":"1399704748","filename":"file0"},{"photo_id":"1399704754","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399704755":["hashtag1","hashtag2"]},{"1399704749":["hashtag1","hashtag2"]},{"1399704754":["hashtag1","hashtag2"]},{"1399704757":["hashtag1","hashtag2"]},{"1399704748":["hashtag1","hashtag2"]},{"1399704753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399704755, 1399704749, 1399704754, 1399704757, 1399704748, 1399704753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.076332807540894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:27:21.936759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_55_9683.jpg', '/home/pi/Desktop/images/16122025/21/25/image_16122025_21_26_05_9653.jpg', '/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_15_10718.jpg', '/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_35_9648.jpg', '/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_45_9724.jpg', '/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_55_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/25/image_16122025_21_25_55_9683.jpg
/home/pi/Desktop/images/16122025/21/25/image_16122025_21_26_05_9653.jpg
/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_15_10718.jpg
/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_35_9648.jpg
/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_45_9724.jpg
/home/pi/Desktop/images/16122025/21/26/image_16122025_21_26_55_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704772","1399704766","1399704768","1399704762","1399704770","1399704764"],"photo_ids_order":["1399704762","1399704764","1399704766","1399704768","1399704770","1399704772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f02c2b83462ff0483d6df1045e89e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8995558025410934102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916902540,"filename":"image_16122025_21_26_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d40f5bb5cab6af0ac4ea5db52ed2127e.jpg","text":"TemporaryFile(/tmp/multipartBody2505067672892688721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916902540,"filename":"image_16122025_21_26_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/16/018d13858c947780db0f76f71f07c110.jpg","text":"TemporaryFile(/tmp/multipartBody7845554652767951140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916902540,"filename":"image_16122025_21_26_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eafa5eafd7fae04f3f8cdfee1f65ce28.jpg","text":"TemporaryFile(/tmp/multipartBody3311643311706307087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916902540,"filename":"image_16122025_21_25_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/16/6a9423ea0dcf261902a784f2d70bd67b.jpg","text":"TemporaryFile(/tmp/multipartBody5964396177207746226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916902540,"filename":"image_16122025_21_26_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/49dfe36bb18b9e785538c1ac9c76c092.jpg","text":"TemporaryFile(/tmp/multipartBody8294119130097625139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916902540,"filename":"image_16122025_21_26_05_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704766","file1":"1399704764","file0":"1399704762","file4":"1399704770","file5":"1399704772","file3":"1399704768"},"map_files_photo_id_array":[{"photo_id":"1399704772","filename":"file5"},{"photo_id":"1399704766","filename":"file2"},{"photo_id":"1399704770","filename":"file4"},{"photo_id":"1399704764","filename":"file1"},{"photo_id":"1399704762","filename":"file0"},{"photo_id":"1399704768","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704772":["hashtag1","hashtag2"]},{"1399704766":["hashtag1","hashtag2"]},{"1399704768":["hashtag1","hashtag2"]},{"1399704762":["hashtag1","hashtag2"]},{"1399704770":["hashtag1","hashtag2"]},{"1399704764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704772, 1399704766, 1399704768, 1399704762, 1399704770, 1399704764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81635332107544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:28:02.582403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/26/image_16122025_21_27_05_9767.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_15_9682.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_25_10588.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_45_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/26/image_16122025_21_27_05_9767.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_15_9682.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_25_10588.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_45_9683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39988231658935547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:28:12.257202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:28:22.241678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/26/image_16122025_21_27_05_9767.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_15_9682.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_25_10588.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_45_9683.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_55_10677.jpg', '/home/pi/Desktop/images/16122025/21/27/image_16122025_21_28_05_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/26/image_16122025_21_27_05_9767.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_15_9682.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_25_10588.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_45_9683.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_27_55_10677.jpg
/home/pi/Desktop/images/16122025/21/27/image_16122025_21_28_05_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":["1399704781","1399704778","1399704783","1399704788","1399704776","1399704785"],"photo_ids_order":["1399704776","1399704778","1399704781","1399704783","1399704785","1399704788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42e64dd7e88cb2dd8313a690c181f608.jpg","text":"TemporaryFile(/tmp/multipartBody1606489616713876214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916962817,"filename":"image_16122025_21_27_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/364e12eff9c4553c5c956359dd0772a2.jpg","text":"TemporaryFile(/tmp/multipartBody4745945645354637847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916962817,"filename":"image_16122025_21_27_15_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/607b514f9a95b149dc8ffb8bbaaa4667.jpg","text":"TemporaryFile(/tmp/multipartBody928672077897434219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916962817,"filename":"image_16122025_21_27_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/562dd054f511a50f9b78e16eacde7178.jpg","text":"TemporaryFile(/tmp/multipartBody7949880277362255446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916962817,"filename":"image_16122025_21_28_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/16/53b6ae5a7e7b354e0b26ba052c2667d2.jpg","text":"TemporaryFile(/tmp/multipartBody1293241511009961061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916962817,"filename":"image_16122025_21_27_05_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/16/c3f54af251c1fc03f4a222eb1cf92a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4939389267311298145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765916962817,"filename":"image_16122025_21_27_55_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704781","file1":"1399704778","file0":"1399704776","file4":"1399704785","file5":"1399704788","file3":"1399704783"},"map_files_photo_id_array":[{"photo_id":"1399704788","filename":"file5"},{"photo_id":"1399704781","filename":"file2"},{"photo_id":"1399704785","filename":"file4"},{"photo_id":"1399704778","filename":"file1"},{"photo_id":"1399704776","filename":"file0"},{"photo_id":"1399704783","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704781":["hashtag1","hashtag2"]},{"1399704778":["hashtag1","hashtag2"]},{"1399704783":["hashtag1","hashtag2"]},{"1399704788":["hashtag1","hashtag2"]},{"1399704776":["hashtag1","hashtag2"]},{"1399704785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704781, 1399704778, 1399704783, 1399704788, 1399704776, 1399704785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.774617433547974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:29:03.484107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_15_9673.jpg', '/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_25_10678.jpg', '/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_35_9687.jpg', '/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_45_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_15_9673.jpg
/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_25_10678.jpg
/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_35_9687.jpg
/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_45_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":["1399704796","1399704795","1399704794","1399704791"],"photo_ids_order":["1399704791","1399704794","1399704795","1399704796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92267842e3984e3dd19dddec311d342d.jpg","text":"TemporaryFile(/tmp/multipartBody1293254656660511451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917004095,"filename":"image_16122025_21_28_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3035d764ea9e4ce6db008fa61dbc64f.jpg","text":"TemporaryFile(/tmp/multipartBody1896791379599075758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917004095,"filename":"image_16122025_21_28_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c87034c09d041d954bcbfa2ded5d3da.jpg","text":"TemporaryFile(/tmp/multipartBody5867259178693180885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917004095,"filename":"image_16122025_21_28_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/16/b4b1408a52bc1c70602ec83e2dab0d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1008601437992068519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917004095,"filename":"image_16122025_21_28_15_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704795","file1":"1399704794","file0":"1399704791","file3":"1399704796"},"map_files_photo_id_array":[{"photo_id":"1399704795","filename":"file2"},{"photo_id":"1399704794","filename":"file1"},{"photo_id":"1399704791","filename":"file0"},{"photo_id":"1399704796","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704796":["hashtag1","hashtag2"]},{"1399704795":["hashtag1","hashtag2"]},{"1399704794":["hashtag1","hashtag2"]},{"1399704791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704796, 1399704795, 1399704794, 1399704791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.71030354499817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:29:32.510215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:29:42.450330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_36_2672.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_40_3687.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_43_2684.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_45_2651.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_49_3601.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_52_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_36_2672.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_40_3687.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_43_2684.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_45_2651.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_49_3601.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_52_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":["1399704806","1399704803","1399704805","1399704808","1399704804","1399704807"],"photo_ids_order":["1399704803","1399704804","1399704805","1399704806","1399704807","1399704808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a90582c43fdcb5a57aefd6061977edd9.jpg","text":"TemporaryFile(/tmp/multipartBody975562251240508627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917043179,"filename":"image_06112025_18_05_45_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/16/ecf67b6c6ae1701336f24f025f231b8c.jpg","text":"TemporaryFile(/tmp/multipartBody2657729137246081321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917043179,"filename":"image_06112025_18_05_36_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/16/a34f3e7758b5457f86ade86fc24e9328.jpg","text":"TemporaryFile(/tmp/multipartBody2156991127609606812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917043179,"filename":"image_06112025_18_05_43_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/16/0dc887ff97bbe674457704e532b7bff2.jpg","text":"TemporaryFile(/tmp/multipartBody4548229862637031034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917043179,"filename":"image_06112025_18_05_52_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/16/d40f3368a3952c8660af8cb9343ab079.jpg","text":"TemporaryFile(/tmp/multipartBody1335247502645039719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917043179,"filename":"image_06112025_18_05_40_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/16/570c082b78b9ee4a7ac6ab86f49b0a87.jpg","text":"TemporaryFile(/tmp/multipartBody5344416419630776000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917043179,"filename":"image_06112025_18_05_49_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704805","file1":"1399704804","file0":"1399704803","file4":"1399704807","file5":"1399704808","file3":"1399704806"},"map_files_photo_id_array":[{"photo_id":"1399704808","filename":"file5"},{"photo_id":"1399704805","filename":"file2"},{"photo_id":"1399704807","filename":"file4"},{"photo_id":"1399704804","filename":"file1"},{"photo_id":"1399704803","filename":"file0"},{"photo_id":"1399704806","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399704806":["hashtag1","hashtag2"]},{"1399704803":["hashtag1","hashtag2"]},{"1399704805":["hashtag1","hashtag2"]},{"1399704808":["hashtag1","hashtag2"]},{"1399704804":["hashtag1","hashtag2"]},{"1399704807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399704806, 1399704803, 1399704805, 1399704808, 1399704804, 1399704807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60469651222229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:30:22.818798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_56_10663.jpg', '/home/pi/Desktop/images/16122025/21/28/image_16122025_21_29_05_9594.jpg', '/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_15_9656.jpg', '/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_26_10705.jpg', '/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_35_9699.jpg', '/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_45_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/28/image_16122025_21_28_56_10663.jpg
/home/pi/Desktop/images/16122025/21/28/image_16122025_21_29_05_9594.jpg
/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_15_9656.jpg
/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_26_10705.jpg
/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_35_9699.jpg
/home/pi/Desktop/images/16122025/21/29/image_16122025_21_29_45_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704812","1399704815","1399704823","1399704817","1399704811","1399704819"],"photo_ids_order":["1399704811","1399704812","1399704815","1399704817","1399704819","1399704823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2261c9fc840190498aca2ac69b045816.jpg","text":"TemporaryFile(/tmp/multipartBody7605884622427700809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917083410,"filename":"image_16122025_21_29_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5077b66c52ae1d4e9356ecbe21fe6625.jpg","text":"TemporaryFile(/tmp/multipartBody3166974633341867835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917083410,"filename":"image_16122025_21_29_15_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/16/9e0045d9c14bce99bc3cdb011855f900.jpg","text":"TemporaryFile(/tmp/multipartBody8612662732821756579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917083410,"filename":"image_16122025_21_29_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04ffce6e2e37010b9eb381f4c1a63628.jpg","text":"TemporaryFile(/tmp/multipartBody1591836849691115887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917083410,"filename":"image_16122025_21_29_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/16/a00042aa0664d40ca8bea469012c8e74.jpg","text":"TemporaryFile(/tmp/multipartBody4887492792925885895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917083410,"filename":"image_16122025_21_28_56_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/16/96ae70ae26d6912e75dd1216d71bdc49.jpg","text":"TemporaryFile(/tmp/multipartBody5250256415029879826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917083410,"filename":"image_16122025_21_29_35_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704815","file1":"1399704812","file0":"1399704811","file4":"1399704819","file5":"1399704823","file3":"1399704817"},"map_files_photo_id_array":[{"photo_id":"1399704823","filename":"file5"},{"photo_id":"1399704815","filename":"file2"},{"photo_id":"1399704819","filename":"file4"},{"photo_id":"1399704812","filename":"file1"},{"photo_id":"1399704811","filename":"file0"},{"photo_id":"1399704817","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704812":["hashtag1","hashtag2"]},{"1399704815":["hashtag1","hashtag2"]},{"1399704823":["hashtag1","hashtag2"]},{"1399704817":["hashtag1","hashtag2"]},{"1399704811":["hashtag1","hashtag2"]},{"1399704819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704812, 1399704815, 1399704823, 1399704817, 1399704811, 1399704819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97704815864563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:31:02.622534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/30/image_16122025_21_30_14_10058.jpg', '/home/pi/Desktop/images/16122025/21/30/image_16122025_21_30_25_10893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/30/image_16122025_21_30_14_10058.jpg
/home/pi/Desktop/images/16122025/21/30/image_16122025_21_30_25_10893.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704830","1399704828"],"photo_ids_order":["1399704828","1399704830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2cbbbed61e1eee2f7c4eaedcf3bf18b.jpg","text":"TemporaryFile(/tmp/multipartBody1285906343187286992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917123090,"filename":"image_16122025_21_30_25_10893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1b436070daa0b144b09a760ea340994a.jpg","text":"TemporaryFile(/tmp/multipartBody1846917937956666944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917123090,"filename":"image_16122025_21_30_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399704830","file0":"1399704828"},"map_files_photo_id_array":[{"photo_id":"1399704830","filename":"file1"},{"photo_id":"1399704828","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704830":["hashtag1","hashtag2"]},{"1399704828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704830, 1399704828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.388583421707153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:31:21.929968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/30/image_16122025_21_30_35_9656.jpg', '/home/pi/Desktop/images/16122025/21/30/image_16122025_21_31_05_9835.jpg', '/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_15_9681.jpg', '/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_24_9638.jpg', '/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_45_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/30/image_16122025_21_30_35_9656.jpg
/home/pi/Desktop/images/16122025/21/30/image_16122025_21_31_05_9835.jpg
/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_15_9681.jpg
/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_24_9638.jpg
/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_45_10045.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704836","1399704838","1399704832","1399704840","1399704834"],"photo_ids_order":["1399704832","1399704834","1399704836","1399704838","1399704840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d1c1417f86cc6d2995af69fbdd68ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody7537237108165834293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917142471,"filename":"image_16122025_21_31_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cb53bca25233a4250e992b931aa86ce2.jpg","text":"TemporaryFile(/tmp/multipartBody5033006337607912669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917142471,"filename":"image_16122025_21_31_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bf9cbfa2ea443d430c9762b122b1c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6820446875733420421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917142471,"filename":"image_16122025_21_30_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22913681a18c3e88bc1277150090570e.jpg","text":"TemporaryFile(/tmp/multipartBody4735337920956213308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917142471,"filename":"image_16122025_21_31_45_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/16/f8bcdbd96232562ff130e39ef803d2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3137640301261708972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917142471,"filename":"image_16122025_21_31_05_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704836","file1":"1399704834","file0":"1399704832","file4":"1399704840","file3":"1399704838"},"map_files_photo_id_array":[{"photo_id":"1399704836","filename":"file2"},{"photo_id":"1399704840","filename":"file4"},{"photo_id":"1399704834","filename":"file1"},{"photo_id":"1399704832","filename":"file0"},{"photo_id":"1399704838","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704836":["hashtag1","hashtag2"]},{"1399704838":["hashtag1","hashtag2"]},{"1399704832":["hashtag1","hashtag2"]},{"1399704840":["hashtag1","hashtag2"]},{"1399704834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704836, 1399704838, 1399704832, 1399704840, 1399704834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.50865650177002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:32:02.531732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:32:12.056986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:32:22.175522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_55_9712.jpg', '/home/pi/Desktop/images/16122025/21/31/image_16122025_21_32_04_9778.jpg', '/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_15_10648.jpg', '/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_25_9572.jpg', '/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_34_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/31/image_16122025_21_31_55_9712.jpg
/home/pi/Desktop/images/16122025/21/31/image_16122025_21_32_04_9778.jpg
/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_15_10648.jpg
/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_25_9572.jpg
/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_34_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":["1399704851","1399704845","1399704853","1399704850","1399704847"],"photo_ids_order":["1399704845","1399704847","1399704850","1399704851","1399704853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c5c5bcd2bf96ce24a309d54ca7d3abc.jpg","text":"TemporaryFile(/tmp/multipartBody5116753151455445208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917202742,"filename":"image_16122025_21_32_25_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d4e4a94e97de7da34eddf9c0036eff3.jpg","text":"TemporaryFile(/tmp/multipartBody5134151164302066656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917202742,"filename":"image_16122025_21_31_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/16/301468aba03e0678f460a516e9377985.jpg","text":"TemporaryFile(/tmp/multipartBody7541627308680447454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917202742,"filename":"image_16122025_21_32_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/16/39ff51fc8b17949205616a1dc23040ad.jpg","text":"TemporaryFile(/tmp/multipartBody8462113931080087304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917202742,"filename":"image_16122025_21_32_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1cbd8b766a5f26b8141d5b44ec22599.jpg","text":"TemporaryFile(/tmp/multipartBody2481518444515211043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917202742,"filename":"image_16122025_21_32_04_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704850","file1":"1399704847","file0":"1399704845","file4":"1399704853","file3":"1399704851"},"map_files_photo_id_array":[{"photo_id":"1399704850","filename":"file2"},{"photo_id":"1399704853","filename":"file4"},{"photo_id":"1399704847","filename":"file1"},{"photo_id":"1399704845","filename":"file0"},{"photo_id":"1399704851","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704851":["hashtag1","hashtag2"]},{"1399704845":["hashtag1","hashtag2"]},{"1399704853":["hashtag1","hashtag2"]},{"1399704850":["hashtag1","hashtag2"]},{"1399704847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704851, 1399704845, 1399704853, 1399704850, 1399704847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.20041489601135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:33:02.999561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:33:12.348000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:33:22.405793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_55_9748.jpg', '/home/pi/Desktop/images/16122025/21/32/image_16122025_21_33_04_9541.jpg', '/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_15_10727.jpg', '/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_25_9666.jpg', '/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_45_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/32/image_16122025_21_32_55_9748.jpg
/home/pi/Desktop/images/16122025/21/32/image_16122025_21_33_04_9541.jpg
/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_15_10727.jpg
/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_25_9666.jpg
/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_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":["1399704871","1399704865","1399704867","1399704869","1399704863"],"photo_ids_order":["1399704863","1399704865","1399704867","1399704869","1399704871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b98dadcad83bad778d8b87d147e58300.jpg","text":"TemporaryFile(/tmp/multipartBody5575327465154697947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917262943,"filename":"image_16122025_21_33_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/16/8ce2fa6a756713e3df59ca2271abfb08.jpg","text":"TemporaryFile(/tmp/multipartBody6228685364851730571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917262943,"filename":"image_16122025_21_33_04_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/16/f6c3a814aad454c9a1388c3904dc190d.jpg","text":"TemporaryFile(/tmp/multipartBody3748671976320959276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917262943,"filename":"image_16122025_21_33_15_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/099e4584ecb9778923ce0f4a8cbca489.jpg","text":"TemporaryFile(/tmp/multipartBody627032499043935676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917262943,"filename":"image_16122025_21_33_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02ba0833d1c1a4ed6ba3423d8f9bfb39.jpg","text":"TemporaryFile(/tmp/multipartBody2092853164136983389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917262943,"filename":"image_16122025_21_32_55_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704867","file1":"1399704865","file0":"1399704863","file4":"1399704871","file3":"1399704869"},"map_files_photo_id_array":[{"photo_id":"1399704867","filename":"file2"},{"photo_id":"1399704871","filename":"file4"},{"photo_id":"1399704865","filename":"file1"},{"photo_id":"1399704863","filename":"file0"},{"photo_id":"1399704869","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704871":["hashtag1","hashtag2"]},{"1399704865":["hashtag1","hashtag2"]},{"1399704867":["hashtag1","hashtag2"]},{"1399704869":["hashtag1","hashtag2"]},{"1399704863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704871, 1399704865, 1399704867, 1399704869, 1399704863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.0011031627655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:34:03.275616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:34:12.666394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:34:22.678338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_55_9678.jpg', '/home/pi/Desktop/images/16122025/21/33/image_16122025_21_34_05_9888.jpg', '/home/pi/Desktop/images/16122025/21/34/image_16122025_21_34_15_9829.jpg', '/home/pi/Desktop/images/16122025/21/34/image_16122025_21_34_25_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/33/image_16122025_21_33_55_9678.jpg
/home/pi/Desktop/images/16122025/21/33/image_16122025_21_34_05_9888.jpg
/home/pi/Desktop/images/16122025/21/34/image_16122025_21_34_15_9829.jpg
/home/pi/Desktop/images/16122025/21/34/image_16122025_21_34_25_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704874","1399704876","1399704881","1399704878"],"photo_ids_order":["1399704874","1399704876","1399704878","1399704881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c045f3016f8986ff061ea3c60b0aaa0.jpg","text":"TemporaryFile(/tmp/multipartBody3130387230087768390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917323191,"filename":"image_16122025_21_33_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/16/2fad90b34452c9880ae58a57a9d473df.jpg","text":"TemporaryFile(/tmp/multipartBody7002546007926209500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917323191,"filename":"image_16122025_21_34_05_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/16/eca1e8a7a440b65b699aaca42a9613b2.jpg","text":"TemporaryFile(/tmp/multipartBody469820261337271851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917323191,"filename":"image_16122025_21_34_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/16/30517481063364cb3a9252f5f93a5dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4791685254261233514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917323191,"filename":"image_16122025_21_34_15_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704878","file1":"1399704876","file0":"1399704874","file3":"1399704881"},"map_files_photo_id_array":[{"photo_id":"1399704878","filename":"file2"},{"photo_id":"1399704876","filename":"file1"},{"photo_id":"1399704874","filename":"file0"},{"photo_id":"1399704881","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704874":["hashtag1","hashtag2"]},{"1399704876":["hashtag1","hashtag2"]},{"1399704881":["hashtag1","hashtag2"]},{"1399704878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704874, 1399704876, 1399704881, 1399704878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.011844635009766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:35:02.609769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:35:11.806335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:35:22.065453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/34/image_16122025_21_34_55_10691.jpg', '/home/pi/Desktop/images/16122025/21/34/image_16122025_21_35_05_9618.jpg', '/home/pi/Desktop/images/16122025/21/35/image_16122025_21_35_15_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/34/image_16122025_21_34_55_10691.jpg
/home/pi/Desktop/images/16122025/21/34/image_16122025_21_35_05_9618.jpg
/home/pi/Desktop/images/16122025/21/35/image_16122025_21_35_15_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704886","1399704889","1399704888"],"photo_ids_order":["1399704886","1399704888","1399704889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dd6e59bb8bac5a31bb049d13c50fce4.jpg","text":"TemporaryFile(/tmp/multipartBody6732750005205522527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917382544,"filename":"image_16122025_21_34_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b85b68aaca2611f3a5397bb4520f5ee3.jpg","text":"TemporaryFile(/tmp/multipartBody716410501363428681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917382544,"filename":"image_16122025_21_35_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/16/2586701602abc7a2a0344be4450ab80f.jpg","text":"TemporaryFile(/tmp/multipartBody2706448213615364634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917382544,"filename":"image_16122025_21_35_05_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704889","file1":"1399704888","file0":"1399704886"},"map_files_photo_id_array":[{"photo_id":"1399704889","filename":"file2"},{"photo_id":"1399704888","filename":"file1"},{"photo_id":"1399704886","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704886":["hashtag1","hashtag2"]},{"1399704889":["hashtag1","hashtag2"]},{"1399704888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704886, 1399704889, 1399704888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.143641471862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:36:02.513161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:36:12.099194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:36:22.162677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/35/image_16122025_21_35_35_9663.jpg', '/home/pi/Desktop/images/16122025/21/35/image_16122025_21_36_05_9649.jpg', '/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_15_9811.jpg', '/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_24_9897.jpg', '/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_45_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/35/image_16122025_21_35_35_9663.jpg
/home/pi/Desktop/images/16122025/21/35/image_16122025_21_36_05_9649.jpg
/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_15_9811.jpg
/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_24_9897.jpg
/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_45_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":["1399704905","1399704895","1399704900","1399704903","1399704896"],"photo_ids_order":["1399704895","1399704896","1399704900","1399704903","1399704905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/71e3ff7113b4f0e0cc20b5360d2cac24.jpg","text":"TemporaryFile(/tmp/multipartBody6297997815783171449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917442721,"filename":"image_16122025_21_36_45_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/16/40e8dbe718ed2ea0d72b592643cbda06.jpg","text":"TemporaryFile(/tmp/multipartBody9205957398011257233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917442721,"filename":"image_16122025_21_35_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/16/74c18d184cabc7b4070e1f0c1246ee3d.jpg","text":"TemporaryFile(/tmp/multipartBody5059197203841510302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917442721,"filename":"image_16122025_21_36_15_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/16/0565bb4498c1fd62a0ab6e729c498749.jpg","text":"TemporaryFile(/tmp/multipartBody1842016019097090947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917442721,"filename":"image_16122025_21_36_24_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/467d0527d18a20f010cdec787d434261.jpg","text":"TemporaryFile(/tmp/multipartBody2293227387319155142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917442721,"filename":"image_16122025_21_36_05_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704900","file1":"1399704896","file0":"1399704895","file4":"1399704905","file3":"1399704903"},"map_files_photo_id_array":[{"photo_id":"1399704900","filename":"file2"},{"photo_id":"1399704905","filename":"file4"},{"photo_id":"1399704896","filename":"file1"},{"photo_id":"1399704895","filename":"file0"},{"photo_id":"1399704903","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704905":["hashtag1","hashtag2"]},{"1399704895":["hashtag1","hashtag2"]},{"1399704900":["hashtag1","hashtag2"]},{"1399704903":["hashtag1","hashtag2"]},{"1399704896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704905, 1399704895, 1399704900, 1399704903, 1399704896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.771788120269775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:37:02.898856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:37:12.232554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:37:22.326343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_55_9740.jpg', '/home/pi/Desktop/images/16122025/21/36/image_16122025_21_37_05_10585.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_15_9707.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_24_9591.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_35_10702.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_45_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_55_9740.jpg
/home/pi/Desktop/images/16122025/21/36/image_16122025_21_37_05_10585.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_15_9707.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_24_9591.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_35_10702.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_45_9644.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4611520767211914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:37:32.339918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:37:42.354677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_54_2755.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_57_2676.jpg', '/home/pi/Desktop/images/06112025/18/05/image_06112025_18_06_01_3669.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_04_2714.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_06_2669.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_10_3750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_54_2755.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_05_57_2676.jpg
/home/pi/Desktop/images/06112025/18/05/image_06112025_18_06_01_3669.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_04_2714.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_06_2669.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_10_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":["1399704923","1399704926","1399704922","1399704925","1399704921","1399704924"],"photo_ids_order":["1399704921","1399704922","1399704923","1399704924","1399704925","1399704926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/74cf1d5f855dbb05c3ce829bd82b9249.jpg","text":"TemporaryFile(/tmp/multipartBody5087826537593623687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917523106,"filename":"image_06112025_18_06_01_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/16/425d74e33ff1a3ceee230c4ef1a73dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8732714937720702658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917523106,"filename":"image_06112025_18_06_10_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/16/afef634410f66ba13f5adcb5dd6c5e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5768688050828298627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917523106,"filename":"image_06112025_18_05_57_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85d3db2350d0b0010a708a2a6ebda718.jpg","text":"TemporaryFile(/tmp/multipartBody4088249310691208669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917523106,"filename":"image_06112025_18_06_06_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5922811236a7b34b2f9971a8cc91ebdd.jpg","text":"TemporaryFile(/tmp/multipartBody6964893488144658830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917523106,"filename":"image_06112025_18_05_54_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/16/668e433ca9e262ca548be58f122f7532.jpg","text":"TemporaryFile(/tmp/multipartBody367784211144013449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917523106,"filename":"image_06112025_18_06_04_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704923","file1":"1399704922","file0":"1399704921","file4":"1399704925","file5":"1399704926","file3":"1399704924"},"map_files_photo_id_array":[{"photo_id":"1399704926","filename":"file5"},{"photo_id":"1399704923","filename":"file2"},{"photo_id":"1399704925","filename":"file4"},{"photo_id":"1399704922","filename":"file1"},{"photo_id":"1399704921","filename":"file0"},{"photo_id":"1399704924","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399704923":["hashtag1","hashtag2"]},{"1399704926":["hashtag1","hashtag2"]},{"1399704922":["hashtag1","hashtag2"]},{"1399704925":["hashtag1","hashtag2"]},{"1399704921":["hashtag1","hashtag2"]},{"1399704924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399704923, 1399704926, 1399704922, 1399704925, 1399704921, 1399704924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53273320198059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:38:22.671825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_55_9740.jpg', '/home/pi/Desktop/images/16122025/21/36/image_16122025_21_37_05_10585.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_15_9707.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_24_9591.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_35_10702.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_45_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/36/image_16122025_21_36_55_9740.jpg
/home/pi/Desktop/images/16122025/21/36/image_16122025_21_37_05_10585.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_15_9707.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_24_9591.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_35_10702.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_45_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":["1399704932","1399704940","1399704934","1399704928","1399704936","1399704930"],"photo_ids_order":["1399704928","1399704930","1399704932","1399704934","1399704936","1399704940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/846320d31c778573344ef5e95502c856.jpg","text":"TemporaryFile(/tmp/multipartBody7605018100961807618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917563287,"filename":"image_16122025_21_37_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/16/446523076f9bb6f6da5d4ea259cb81a3.jpg","text":"TemporaryFile(/tmp/multipartBody1889886037420953195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917563287,"filename":"image_16122025_21_37_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d18d71f441670819c47e0bf8035ebc8b.jpg","text":"TemporaryFile(/tmp/multipartBody6181422460503763575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917563287,"filename":"image_16122025_21_37_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8586d2673fd5baddb0eaaf4d5b3bc85.jpg","text":"TemporaryFile(/tmp/multipartBody8876660520675147227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917563287,"filename":"image_16122025_21_36_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/16/c754421e15848b6e9f5e41af8af63bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5521845995154811769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917563287,"filename":"image_16122025_21_37_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/16/10437c141b219517f04b078ded462eba.jpg","text":"TemporaryFile(/tmp/multipartBody5951476167228957185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917563287,"filename":"image_16122025_21_37_05_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704932","file1":"1399704930","file0":"1399704928","file4":"1399704936","file5":"1399704940","file3":"1399704934"},"map_files_photo_id_array":[{"photo_id":"1399704940","filename":"file5"},{"photo_id":"1399704932","filename":"file2"},{"photo_id":"1399704936","filename":"file4"},{"photo_id":"1399704930","filename":"file1"},{"photo_id":"1399704928","filename":"file0"},{"photo_id":"1399704934","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704932":["hashtag1","hashtag2"]},{"1399704940":["hashtag1","hashtag2"]},{"1399704934":["hashtag1","hashtag2"]},{"1399704928":["hashtag1","hashtag2"]},{"1399704936":["hashtag1","hashtag2"]},{"1399704930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704932, 1399704940, 1399704934, 1399704928, 1399704936, 1399704930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.180704832077026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:39:03.943170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_55_9822.jpg', '/home/pi/Desktop/images/16122025/21/37/image_16122025_21_38_05_10678.jpg', '/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_15_9721.jpg', '/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_25_9703.jpg', '/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_34_9706.jpg', '/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_45_10836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_37_55_9822.jpg
/home/pi/Desktop/images/16122025/21/37/image_16122025_21_38_05_10678.jpg
/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_15_9721.jpg
/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_25_9703.jpg
/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_34_9706.jpg
/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_45_10836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399704959","1399704979","1399704958","1399704957","1399704960","1399704954"],"photo_ids_order":["1399704954","1399704957","1399704958","1399704959","1399704960","1399704979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e727f6d6d79f8ff082730f685cf61c2.jpg","text":"TemporaryFile(/tmp/multipartBody430237358979387014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917604643,"filename":"image_16122025_21_38_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec2ccec1cce903afa68e8dd64e39acc4.jpg","text":"TemporaryFile(/tmp/multipartBody8666426361673520650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917604643,"filename":"image_16122025_21_38_45_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/16/58ff4fcccda750913e38c512daa28829.jpg","text":"TemporaryFile(/tmp/multipartBody6413950325193591262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917604643,"filename":"image_16122025_21_38_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/16/478e9bf6022985e4ad559bfad9981ebe.jpg","text":"TemporaryFile(/tmp/multipartBody357824186368989681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917604643,"filename":"image_16122025_21_38_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/16/88f7f03ee55e881bb84a13f6154599fc.jpg","text":"TemporaryFile(/tmp/multipartBody5927422975286342628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917604643,"filename":"image_16122025_21_38_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/734a2aec60f9d2365715a8d09773775e.jpg","text":"TemporaryFile(/tmp/multipartBody5705216097049463037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917604643,"filename":"image_16122025_21_37_55_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399704958","file1":"1399704957","file0":"1399704954","file4":"1399704960","file5":"1399704979","file3":"1399704959"},"map_files_photo_id_array":[{"photo_id":"1399704979","filename":"file5"},{"photo_id":"1399704958","filename":"file2"},{"photo_id":"1399704960","filename":"file4"},{"photo_id":"1399704957","filename":"file1"},{"photo_id":"1399704954","filename":"file0"},{"photo_id":"1399704959","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399704959":["hashtag1","hashtag2"]},{"1399704979":["hashtag1","hashtag2"]},{"1399704958":["hashtag1","hashtag2"]},{"1399704957":["hashtag1","hashtag2"]},{"1399704960":["hashtag1","hashtag2"]},{"1399704954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399704959, 1399704979, 1399704958, 1399704957, 1399704960, 1399704954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27923512458801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:39:42.781864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_12_2546.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_15_2783.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_19_3565.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_22_2698.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_31_3763.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_36_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_12_2546.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_15_2783.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_19_3565.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_22_2698.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_31_3763.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_36_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":["1399705007","1399705003","1399705000","1399705002","1399705005","1399705004"],"photo_ids_order":["1399705000","1399705002","1399705003","1399705004","1399705005","1399705007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20ada70f2a5b510702bd5598e846e981.jpg","text":"TemporaryFile(/tmp/multipartBody332107778027258692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917643536,"filename":"image_06112025_18_06_36_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/16/1c4dd4e937697419ec9190735f501a8a.jpg","text":"TemporaryFile(/tmp/multipartBody905925382099856952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917643536,"filename":"image_06112025_18_06_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/16/73e1e2cb860067db5c91562dd9d421eb.jpg","text":"TemporaryFile(/tmp/multipartBody7529907939827124430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917643536,"filename":"image_06112025_18_06_12_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/16/9d5439ef1d4776544564d1d865738c01.jpg","text":"TemporaryFile(/tmp/multipartBody3306920464863116528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917643536,"filename":"image_06112025_18_06_15_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/16/fee714e856b8e10b5d3587be741969c5.jpg","text":"TemporaryFile(/tmp/multipartBody7983059044428248324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917643536,"filename":"image_06112025_18_06_31_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/16/3e3ad0535187f3252ecc5f07af6722df.jpg","text":"TemporaryFile(/tmp/multipartBody6620274929933225425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917643536,"filename":"image_06112025_18_06_22_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399705003","file1":"1399705002","file0":"1399705000","file4":"1399705005","file5":"1399705007","file3":"1399705004"},"map_files_photo_id_array":[{"photo_id":"1399705007","filename":"file5"},{"photo_id":"1399705003","filename":"file2"},{"photo_id":"1399705005","filename":"file4"},{"photo_id":"1399705002","filename":"file1"},{"photo_id":"1399705000","filename":"file0"},{"photo_id":"1399705004","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399705007":["hashtag1","hashtag2"]},{"1399705003":["hashtag1","hashtag2"]},{"1399705000":["hashtag1","hashtag2"]},{"1399705002":["hashtag1","hashtag2"]},{"1399705005":["hashtag1","hashtag2"]},{"1399705004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399705007, 1399705003, 1399705000, 1399705002, 1399705005, 1399705004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80359244346619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:40:22.081143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_55_9687.jpg', '/home/pi/Desktop/images/16122025/21/38/image_16122025_21_39_04_9596.jpg', '/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_15_10684.jpg', '/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_25_9632.jpg', '/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_34_9625.jpg', '/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_45_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/38/image_16122025_21_38_55_9687.jpg
/home/pi/Desktop/images/16122025/21/38/image_16122025_21_39_04_9596.jpg
/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_15_10684.jpg
/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_25_9632.jpg
/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_34_9625.jpg
/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_45_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399705066","1399705060","1399705021","1399705018","1399705012","1399705049"],"photo_ids_order":["1399705012","1399705018","1399705021","1399705049","1399705060","1399705066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cf85147dfc93a68f18f2c459b88f2d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5539246647391566796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917682665,"filename":"image_16122025_21_39_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/16/90bd7a264d0b83f24d4b35122d72c032.jpg","text":"TemporaryFile(/tmp/multipartBody7159491043107840776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917682665,"filename":"image_16122025_21_39_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/16/e5da0fbfe5a0cf71b01030ee08ced320.jpg","text":"TemporaryFile(/tmp/multipartBody9156796696585192016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917682665,"filename":"image_16122025_21_39_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ee6a9636821f579ae44450fb6fb5d24.jpg","text":"TemporaryFile(/tmp/multipartBody1814704924785620689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917682665,"filename":"image_16122025_21_39_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/16/05f1d86155a7dd59d7be722bbe8472de.jpg","text":"TemporaryFile(/tmp/multipartBody25517704243247595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917682665,"filename":"image_16122025_21_38_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2fc9f3cbed396f7c8c849e43465474a2.jpg","text":"TemporaryFile(/tmp/multipartBody3252305860680810881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917682665,"filename":"image_16122025_21_39_25_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399705021","file1":"1399705018","file0":"1399705012","file4":"1399705060","file5":"1399705066","file3":"1399705049"},"map_files_photo_id_array":[{"photo_id":"1399705066","filename":"file5"},{"photo_id":"1399705021","filename":"file2"},{"photo_id":"1399705060","filename":"file4"},{"photo_id":"1399705018","filename":"file1"},{"photo_id":"1399705012","filename":"file0"},{"photo_id":"1399705049","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399705066":["hashtag1","hashtag2"]},{"1399705060":["hashtag1","hashtag2"]},{"1399705021":["hashtag1","hashtag2"]},{"1399705018":["hashtag1","hashtag2"]},{"1399705012":["hashtag1","hashtag2"]},{"1399705049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399705066, 1399705060, 1399705021, 1399705018, 1399705012, 1399705049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72503900527954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:41:03.053770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_55_9608.jpg', '/home/pi/Desktop/images/16122025/21/39/image_16122025_21_40_05_9926.jpg', '/home/pi/Desktop/images/16122025/21/40/image_16122025_21_40_34_9611.jpg', '/home/pi/Desktop/images/16122025/21/40/image_16122025_21_40_45_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/39/image_16122025_21_39_55_9608.jpg
/home/pi/Desktop/images/16122025/21/39/image_16122025_21_40_05_9926.jpg
/home/pi/Desktop/images/16122025/21/40/image_16122025_21_40_34_9611.jpg
/home/pi/Desktop/images/16122025/21/40/image_16122025_21_40_45_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399705090","1399705092","1399705091","1399705088"],"photo_ids_order":["1399705088","1399705090","1399705091","1399705092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7fe0b55caab5a80a975927b94c6bd25b.jpg","text":"TemporaryFile(/tmp/multipartBody4943540299427790191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917723583,"filename":"image_16122025_21_40_05_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f7d931fdf0c8b1937142acbfde6f54a.jpg","text":"TemporaryFile(/tmp/multipartBody6331925073983035249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917723583,"filename":"image_16122025_21_40_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5e7bc299a0c37a0305c3cf0a6a8b7475.jpg","text":"TemporaryFile(/tmp/multipartBody1056191955992593383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917723583,"filename":"image_16122025_21_40_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/16/f455bc94a568d00b1be10a14c0b3c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody2389574029253004503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917723583,"filename":"image_16122025_21_39_55_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399705091","file1":"1399705090","file0":"1399705088","file3":"1399705092"},"map_files_photo_id_array":[{"photo_id":"1399705091","filename":"file2"},{"photo_id":"1399705090","filename":"file1"},{"photo_id":"1399705088","filename":"file0"},{"photo_id":"1399705092","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399705090":["hashtag1","hashtag2"]},{"1399705092":["hashtag1","hashtag2"]},{"1399705091":["hashtag1","hashtag2"]},{"1399705088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399705090, 1399705092, 1399705091, 1399705088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.806883573532104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:41:32.414256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:41:42.388906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_42_2548.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_52_2778.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_54_2749.jpg', '/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_58_3672.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_01_2786.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_03_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_42_2548.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_52_2778.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_54_2749.jpg
/home/pi/Desktop/images/06112025/18/06/image_06112025_18_06_58_3672.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_01_2786.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_03_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":["1399705267","1399705261","1399705249","1399705242","1399705266","1399705268"],"photo_ids_order":["1399705242","1399705249","1399705261","1399705266","1399705267","1399705268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd47cd3be808c9ee69268476228606c0.jpg","text":"TemporaryFile(/tmp/multipartBody5735638455219511196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917763135,"filename":"image_06112025_18_07_01_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/16/722b212f3906cabbddf2755e8dfc6728.jpg","text":"TemporaryFile(/tmp/multipartBody4786871473032994821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917763135,"filename":"image_06112025_18_06_54_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/16/6a278808d0945e7168174f20d6db7e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7147837350798703005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917763135,"filename":"image_06112025_18_06_52_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/16/555f3d4caa54c6e3e255e54fe4c7a8e8.jpg","text":"TemporaryFile(/tmp/multipartBody272280434251536655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917763135,"filename":"image_06112025_18_06_42_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/16/82f80166bed6777130dc7a6a1914c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody4608726713346510074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917763135,"filename":"image_06112025_18_06_58_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/16/6b065374302189186271c03c718327d2.jpg","text":"TemporaryFile(/tmp/multipartBody8139830842920212023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917763135,"filename":"image_06112025_18_07_03_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399705261","file1":"1399705249","file0":"1399705242","file4":"1399705267","file5":"1399705268","file3":"1399705266"},"map_files_photo_id_array":[{"photo_id":"1399705268","filename":"file5"},{"photo_id":"1399705261","filename":"file2"},{"photo_id":"1399705267","filename":"file4"},{"photo_id":"1399705249","filename":"file1"},{"photo_id":"1399705242","filename":"file0"},{"photo_id":"1399705266","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399705267":["hashtag1","hashtag2"]},{"1399705261":["hashtag1","hashtag2"]},{"1399705249":["hashtag1","hashtag2"]},{"1399705242":["hashtag1","hashtag2"]},{"1399705266":["hashtag1","hashtag2"]},{"1399705268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399705267, 1399705261, 1399705249, 1399705242, 1399705266, 1399705268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98720717430115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:42:22.644538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/40/image_16122025_21_40_55_9664.jpg', '/home/pi/Desktop/images/16122025/21/40/image_16122025_21_41_05_9798.jpg', '/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_25_9639.jpg', '/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_35_9702.jpg', '/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_45_10660.jpg', '/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/40/image_16122025_21_40_55_9664.jpg
/home/pi/Desktop/images/16122025/21/40/image_16122025_21_41_05_9798.jpg
/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_25_9639.jpg
/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_35_9702.jpg
/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_45_10660.jpg
/home/pi/Desktop/images/16122025/21/41/image_16122025_21_41_55_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":["1399705307","1399705279","1399705312","1399705306","1399705309","1399705337"],"photo_ids_order":["1399705279","1399705306","1399705307","1399705309","1399705312","1399705337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42c6abd4f508e56da910685f5c7a0b15.jpg","text":"TemporaryFile(/tmp/multipartBody8046512257174984453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917803226,"filename":"image_16122025_21_41_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/16/279ed0bfa3ca42a1e38d1eea329cf923.jpg","text":"TemporaryFile(/tmp/multipartBody919137953725759585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917803226,"filename":"image_16122025_21_40_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/16/2b9a912fcbbf999455e59d7aeb0bea56.jpg","text":"TemporaryFile(/tmp/multipartBody3319719545293029234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917803226,"filename":"image_16122025_21_41_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e80711ca921a1dfb0e22f30a007f455.jpg","text":"TemporaryFile(/tmp/multipartBody3372587927906642662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917803226,"filename":"image_16122025_21_41_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ead1c6d4b89cdcd0cf44704dd825d7be.jpg","text":"TemporaryFile(/tmp/multipartBody7523517120574550951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917803226,"filename":"image_16122025_21_41_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/16/15047938a404d017b886b8a4ef3e97be.jpg","text":"TemporaryFile(/tmp/multipartBody5754311014742995727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917803226,"filename":"image_16122025_21_41_55_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399705307","file1":"1399705306","file0":"1399705279","file4":"1399705312","file5":"1399705337","file3":"1399705309"},"map_files_photo_id_array":[{"photo_id":"1399705337","filename":"file5"},{"photo_id":"1399705307","filename":"file2"},{"photo_id":"1399705312","filename":"file4"},{"photo_id":"1399705306","filename":"file1"},{"photo_id":"1399705279","filename":"file0"},{"photo_id":"1399705309","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399705307":["hashtag1","hashtag2"]},{"1399705279":["hashtag1","hashtag2"]},{"1399705312":["hashtag1","hashtag2"]},{"1399705306":["hashtag1","hashtag2"]},{"1399705309":["hashtag1","hashtag2"]},{"1399705337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399705307, 1399705279, 1399705312, 1399705306, 1399705309, 1399705337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01764130592346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:43:02.678381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/41/image_16122025_21_42_04_9655.jpg', '/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_15_10673.jpg', '/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_25_9706.jpg', '/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_34_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/41/image_16122025_21_42_04_9655.jpg
/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_15_10673.jpg
/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_25_9706.jpg
/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_34_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399705764","1399705653","1399705575","1399705719"],"photo_ids_order":["1399705575","1399705653","1399705719","1399705764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1676431a6ae932319f1d4cf9a2538574.jpg","text":"TemporaryFile(/tmp/multipartBody6600594136671223815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917843201,"filename":"image_16122025_21_42_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/16/3c1d5b38bed294ece8a4a81e994ba54b.jpg","text":"TemporaryFile(/tmp/multipartBody7659786369569944666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917843201,"filename":"image_16122025_21_42_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b61bfba2bac95d5946ce78d6451066e6.jpg","text":"TemporaryFile(/tmp/multipartBody2355706908400310054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917843201,"filename":"image_16122025_21_42_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/16/783ddf23bdd37fb93aa06d5a19ecd96d.jpg","text":"TemporaryFile(/tmp/multipartBody9107830320618264617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917843201,"filename":"image_16122025_21_42_25_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399705719","file1":"1399705653","file0":"1399705575","file3":"1399705764"},"map_files_photo_id_array":[{"photo_id":"1399705719","filename":"file2"},{"photo_id":"1399705653","filename":"file1"},{"photo_id":"1399705575","filename":"file0"},{"photo_id":"1399705764","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399705764":["hashtag1","hashtag2"]},{"1399705653":["hashtag1","hashtag2"]},{"1399705575":["hashtag1","hashtag2"]},{"1399705719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399705764, 1399705653, 1399705575, 1399705719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.30855965614319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:43:32.063148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:43:41.929315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_06_2711.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_10_3769.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_13_2662.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_16_3277.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_19_2992.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_21_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_06_2711.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_10_3769.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_13_2662.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_16_3277.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_19_2992.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_21_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399705996","1399705999","1399705995","1399705998","1399705997","1399705973"],"photo_ids_order":["1399705973","1399705995","1399705996","1399705997","1399705998","1399705999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9896e33b8d2099c71d31d68ee79ac11f.jpg","text":"TemporaryFile(/tmp/multipartBody8197864059506519515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917882671,"filename":"image_06112025_18_07_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/16/969fe1d804783ce756cd6b3348b0be19.jpg","text":"TemporaryFile(/tmp/multipartBody2954812704715757837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917882671,"filename":"image_06112025_18_07_21_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/16/d0edd526b4062726bd2c97a03b95cb7c.jpg","text":"TemporaryFile(/tmp/multipartBody8133149952990535476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917882671,"filename":"image_06112025_18_07_10_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/16/93f18dad56eb62e4bda17863d1f98ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6313702683237127188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917882671,"filename":"image_06112025_18_07_19_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/16/c2dd54222f0ff684b1196dcfbc99ac58.jpg","text":"TemporaryFile(/tmp/multipartBody2124371516265830842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917882671,"filename":"image_06112025_18_07_16_3277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b5b67f46b6d069a7e3411e506cc65562.jpg","text":"TemporaryFile(/tmp/multipartBody6690473293652809088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917882671,"filename":"image_06112025_18_07_06_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399705996","file1":"1399705995","file0":"1399705973","file4":"1399705998","file5":"1399705999","file3":"1399705997"},"map_files_photo_id_array":[{"photo_id":"1399705999","filename":"file5"},{"photo_id":"1399705996","filename":"file2"},{"photo_id":"1399705998","filename":"file4"},{"photo_id":"1399705995","filename":"file1"},{"photo_id":"1399705973","filename":"file0"},{"photo_id":"1399705997","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399705996":["hashtag1","hashtag2"]},{"1399705999":["hashtag1","hashtag2"]},{"1399705995":["hashtag1","hashtag2"]},{"1399705998":["hashtag1","hashtag2"]},{"1399705997":["hashtag1","hashtag2"]},{"1399705973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399705996, 1399705999, 1399705995, 1399705998, 1399705997, 1399705973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.891631841659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:44:22.251007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_45_10677.jpg', '/home/pi/Desktop/images/16122025/21/42/image_16122025_21_43_05_9798.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_14_9672.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_25_10593.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_45_10704.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_45_10677.jpg
/home/pi/Desktop/images/16122025/21/42/image_16122025_21_43_05_9798.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_14_9672.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_25_10593.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_45_10704.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_55_9642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4764132499694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:44:32.312457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:44:42.200252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_40_3768.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_42_2593.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_45_2743.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_49_3729.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_51_2678.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_54_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_40_3768.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_42_2593.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_45_2743.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_49_3729.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_51_2678.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_54_2834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706439","1399706400","1399706325","1399706363","1399706438","1399706254"],"photo_ids_order":["1399706254","1399706325","1399706363","1399706400","1399706438","1399706439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d07a6141bedc19d84c0564c5d85c6075.jpg","text":"TemporaryFile(/tmp/multipartBody7481512802026575176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917942943,"filename":"image_06112025_18_07_54_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39bac5af94756c61e66e1be5668ae14a.jpg","text":"TemporaryFile(/tmp/multipartBody380942685878008078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917942943,"filename":"image_06112025_18_07_49_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/16/af6ef8dc94aa29460171091ea8b5df80.jpg","text":"TemporaryFile(/tmp/multipartBody2279812001948690258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917942943,"filename":"image_06112025_18_07_42_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ec632aeba36dec2d326a8bd5deafa073.jpg","text":"TemporaryFile(/tmp/multipartBody4554438959585523202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917942943,"filename":"image_06112025_18_07_45_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/16/09af5ef4c58bea16d7b1c2e8b3cf600d.jpg","text":"TemporaryFile(/tmp/multipartBody8342558669383004047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917942943,"filename":"image_06112025_18_07_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/16/85b5b5dd60ca834cb380a24d441b5680.jpg","text":"TemporaryFile(/tmp/multipartBody5550193943775753001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917942943,"filename":"image_06112025_18_07_40_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706363","file1":"1399706325","file0":"1399706254","file4":"1399706438","file5":"1399706439","file3":"1399706400"},"map_files_photo_id_array":[{"photo_id":"1399706439","filename":"file5"},{"photo_id":"1399706363","filename":"file2"},{"photo_id":"1399706438","filename":"file4"},{"photo_id":"1399706325","filename":"file1"},{"photo_id":"1399706254","filename":"file0"},{"photo_id":"1399706400","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399706439":["hashtag1","hashtag2"]},{"1399706400":["hashtag1","hashtag2"]},{"1399706325":["hashtag1","hashtag2"]},{"1399706363":["hashtag1","hashtag2"]},{"1399706438":["hashtag1","hashtag2"]},{"1399706254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399706439, 1399706400, 1399706325, 1399706363, 1399706438, 1399706254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02486300468445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:45:22.515169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_45_10677.jpg', '/home/pi/Desktop/images/16122025/21/42/image_16122025_21_43_05_9798.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_14_9672.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_25_10593.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_45_10704.jpg', '/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/42/image_16122025_21_42_45_10677.jpg
/home/pi/Desktop/images/16122025/21/42/image_16122025_21_43_05_9798.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_14_9672.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_25_10593.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_45_10704.jpg
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_43_55_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":["1399706449","1399706443","1399706446","1399706451","1399706441","1399706444"],"photo_ids_order":["1399706441","1399706443","1399706444","1399706446","1399706449","1399706451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/14b7d5c1a40c3aba8faab2492268437e.jpg","text":"TemporaryFile(/tmp/multipartBody641102283213999403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917983161,"filename":"image_16122025_21_43_45_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c750092a9490ab9af03c7624f092c239.jpg","text":"TemporaryFile(/tmp/multipartBody510815403480686459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917983161,"filename":"image_16122025_21_43_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9eabe067dec991fb7ea0b0e42aeb7819.jpg","text":"TemporaryFile(/tmp/multipartBody4132779777105455212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917983161,"filename":"image_16122025_21_43_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e7c93b618bc61206c155b76fb9ffc80.jpg","text":"TemporaryFile(/tmp/multipartBody6990452163494727992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917983161,"filename":"image_16122025_21_43_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab36e7420061af1cc8f1c7a6fd01a215.jpg","text":"TemporaryFile(/tmp/multipartBody3742669765415517785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917983161,"filename":"image_16122025_21_42_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/364478d22c59ddea490ff2ef74876900.jpg","text":"TemporaryFile(/tmp/multipartBody2812227116211272452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765917983161,"filename":"image_16122025_21_43_14_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706444","file1":"1399706443","file0":"1399706441","file4":"1399706449","file5":"1399706451","file3":"1399706446"},"map_files_photo_id_array":[{"photo_id":"1399706451","filename":"file5"},{"photo_id":"1399706444","filename":"file2"},{"photo_id":"1399706449","filename":"file4"},{"photo_id":"1399706443","filename":"file1"},{"photo_id":"1399706441","filename":"file0"},{"photo_id":"1399706446","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706449":["hashtag1","hashtag2"]},{"1399706443":["hashtag1","hashtag2"]},{"1399706446":["hashtag1","hashtag2"]},{"1399706451":["hashtag1","hashtag2"]},{"1399706441":["hashtag1","hashtag2"]},{"1399706444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706449, 1399706443, 1399706446, 1399706451, 1399706441, 1399706444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.796062707901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:46:03.173078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/43/image_16122025_21_44_05_9775.jpg', '/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_14_9622.jpg', '/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_25_10752.jpg', '/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_35_9684.jpg', '/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_44_9588.jpg', '/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/43/image_16122025_21_44_05_9775.jpg
/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_14_9622.jpg
/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_25_10752.jpg
/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_35_9684.jpg
/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_44_9588.jpg
/home/pi/Desktop/images/16122025/21/44/image_16122025_21_44_55_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706455","1399706457","1399706454","1399706456","1399706459","1399706452"],"photo_ids_order":["1399706452","1399706454","1399706455","1399706456","1399706457","1399706459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/01d9c02faeef524ed88462efb93453a9.jpg","text":"TemporaryFile(/tmp/multipartBody5245532484919275098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918023763,"filename":"image_16122025_21_44_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/16/51500569fec445d74be0c9d8305e916b.jpg","text":"TemporaryFile(/tmp/multipartBody87206116259642184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918023763,"filename":"image_16122025_21_44_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25e98bc84c5d4bafbc8129b450f7b6c7.jpg","text":"TemporaryFile(/tmp/multipartBody962280818442327404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918023763,"filename":"image_16122025_21_44_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/16/fe8fbaf0afee4bc672b2729c4629fbca.jpg","text":"TemporaryFile(/tmp/multipartBody2792595612490405728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918023763,"filename":"image_16122025_21_44_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/16/764a2994f1059f519741d7b589bbfe0e.jpg","text":"TemporaryFile(/tmp/multipartBody2811676152503792834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918023763,"filename":"image_16122025_21_44_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc639260709efb08bc60aa3f8a3cd287.jpg","text":"TemporaryFile(/tmp/multipartBody7225809973030993987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918023763,"filename":"image_16122025_21_44_05_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706455","file1":"1399706454","file0":"1399706452","file4":"1399706457","file5":"1399706459","file3":"1399706456"},"map_files_photo_id_array":[{"photo_id":"1399706459","filename":"file5"},{"photo_id":"1399706455","filename":"file2"},{"photo_id":"1399706457","filename":"file4"},{"photo_id":"1399706454","filename":"file1"},{"photo_id":"1399706452","filename":"file0"},{"photo_id":"1399706456","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706455":["hashtag1","hashtag2"]},{"1399706457":["hashtag1","hashtag2"]},{"1399706454":["hashtag1","hashtag2"]},{"1399706456":["hashtag1","hashtag2"]},{"1399706459":["hashtag1","hashtag2"]},{"1399706452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706455, 1399706457, 1399706454, 1399706456, 1399706459, 1399706452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.812304735183716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:46:42.735347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_57_2744.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_08_01_3790.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_03_2599.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_06_2711.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_12_2678.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_25_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_57_2744.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_08_01_3790.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_03_2599.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_06_2711.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_12_2678.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_25_3544.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6384570598602295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:47:02.698493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/44/image_16122025_21_45_05_9566.jpg', '/home/pi/Desktop/images/16122025/21/45/image_16122025_21_45_15_10630.jpg', '/home/pi/Desktop/images/16122025/21/45/image_16122025_21_45_45_9994.jpg', '/home/pi/Desktop/images/16122025/21/45/image_16122025_21_45_54_9784.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_15_9677.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_25_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/44/image_16122025_21_45_05_9566.jpg
/home/pi/Desktop/images/16122025/21/45/image_16122025_21_45_15_10630.jpg
/home/pi/Desktop/images/16122025/21/45/image_16122025_21_45_45_9994.jpg
/home/pi/Desktop/images/16122025/21/45/image_16122025_21_45_54_9784.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_15_9677.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_25_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706674","1399706673","1399706676","1399706672","1399706627","1399706665"],"photo_ids_order":["1399706627","1399706665","1399706672","1399706673","1399706674","1399706676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3060ea94bfd4d8ae40258c5362c9f809.jpg","text":"TemporaryFile(/tmp/multipartBody932611615025414804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918083345,"filename":"image_16122025_21_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/16/b7c1f7b9be858944baf72a085caad938.jpg","text":"TemporaryFile(/tmp/multipartBody6292062166818731049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918083345,"filename":"image_16122025_21_45_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/16/00aee68155100740b909f9f2bfb421eb.jpg","text":"TemporaryFile(/tmp/multipartBody2666337905941847930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918083345,"filename":"image_16122025_21_46_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5df546e622aa82e86ec95558955f44c4.jpg","text":"TemporaryFile(/tmp/multipartBody5802381901746975101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918083345,"filename":"image_16122025_21_45_45_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4ab497c6b55502dbb79d4bad132a0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1800711770960399207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918083345,"filename":"image_16122025_21_45_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/16/4da8a0bc73257ee163eeb7ef08513300.jpg","text":"TemporaryFile(/tmp/multipartBody8831260311420566635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918083345,"filename":"image_16122025_21_45_15_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706672","file1":"1399706665","file0":"1399706627","file4":"1399706674","file5":"1399706676","file3":"1399706673"},"map_files_photo_id_array":[{"photo_id":"1399706676","filename":"file5"},{"photo_id":"1399706672","filename":"file2"},{"photo_id":"1399706674","filename":"file4"},{"photo_id":"1399706665","filename":"file1"},{"photo_id":"1399706627","filename":"file0"},{"photo_id":"1399706673","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706674":["hashtag1","hashtag2"]},{"1399706673":["hashtag1","hashtag2"]},{"1399706676":["hashtag1","hashtag2"]},{"1399706672":["hashtag1","hashtag2"]},{"1399706627":["hashtag1","hashtag2"]},{"1399706665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706674, 1399706673, 1399706676, 1399706672, 1399706627, 1399706665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.722615480422974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:47:42.033583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_57_2744.jpg', '/home/pi/Desktop/images/06112025/18/07/image_06112025_18_08_01_3790.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_03_2599.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_06_2711.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_12_2678.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_25_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_07_57_2744.jpg
/home/pi/Desktop/images/06112025/18/07/image_06112025_18_08_01_3790.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_03_2599.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_06_2711.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_12_2678.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_25_3544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706688","1399706690","1399706687","1399706681","1399706689","1399706686"],"photo_ids_order":["1399706681","1399706686","1399706687","1399706688","1399706689","1399706690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d08f5e3707332701569131c86996f91.jpg","text":"TemporaryFile(/tmp/multipartBody3643220824168673661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918122647,"filename":"image_06112025_18_08_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/16/cbf5078b81ed32ae1c196f9858eedee9.jpg","text":"TemporaryFile(/tmp/multipartBody1563116009076674158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918122647,"filename":"image_06112025_18_08_25_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d735372ea0d2aadb174a2fbfbdc825a.jpg","text":"TemporaryFile(/tmp/multipartBody3847923017891086342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918122647,"filename":"image_06112025_18_08_03_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/16/d22ced8bcea89a88bba647e3d2e644a8.jpg","text":"TemporaryFile(/tmp/multipartBody6046348140901438739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918122647,"filename":"image_06112025_18_07_57_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/16/04ace6dc5b67434edd0c33897b9f8165.jpg","text":"TemporaryFile(/tmp/multipartBody8826201558177341244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918122647,"filename":"image_06112025_18_08_12_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/16/e5aff2c496c00d6c976db009f7116db6.jpg","text":"TemporaryFile(/tmp/multipartBody2043227947688948441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918122647,"filename":"image_06112025_18_08_01_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706687","file1":"1399706686","file0":"1399706681","file4":"1399706689","file5":"1399706690","file3":"1399706688"},"map_files_photo_id_array":[{"photo_id":"1399706690","filename":"file5"},{"photo_id":"1399706687","filename":"file2"},{"photo_id":"1399706689","filename":"file4"},{"photo_id":"1399706686","filename":"file1"},{"photo_id":"1399706681","filename":"file0"},{"photo_id":"1399706688","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399706688":["hashtag1","hashtag2"]},{"1399706690":["hashtag1","hashtag2"]},{"1399706687":["hashtag1","hashtag2"]},{"1399706681":["hashtag1","hashtag2"]},{"1399706689":["hashtag1","hashtag2"]},{"1399706686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399706688, 1399706690, 1399706687, 1399706681, 1399706689, 1399706686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.567755460739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:48:22.258217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_34_9817.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_45_10827.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_55_9708.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_47_05_9650.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_14_9855.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_25_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_34_9817.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_45_10827.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_55_9708.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_47_05_9650.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_14_9855.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_25_10609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4822530746459961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:48:32.306425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:48:42.270403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_27_2622.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_31_3634.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_39_2775.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_43_3633.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_45_2554.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_48_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_27_2622.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_31_3634.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_39_2775.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_43_3633.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_45_2554.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_48_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706707","1399706710","1399706706","1399706702","1399706705","1399706708"],"photo_ids_order":["1399706702","1399706705","1399706706","1399706707","1399706708","1399706710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ca3db86ccde9fde1f3e9be22c67d0ff.jpg","text":"TemporaryFile(/tmp/multipartBody4922059942803761412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918183019,"filename":"image_06112025_18_08_43_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/104b38cdd9f4cfab475d612ff00b2dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3346339060137965697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918183019,"filename":"image_06112025_18_08_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/16/95221db86bfaa74e875a89216c63931e.jpg","text":"TemporaryFile(/tmp/multipartBody1799850696249865282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918183019,"filename":"image_06112025_18_08_39_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6497885bf46a71e10949eb11b4b89ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1877522796408798667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918183019,"filename":"image_06112025_18_08_27_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/511e5094432b03e61df6d68c40a883d1.jpg","text":"TemporaryFile(/tmp/multipartBody6345850197433976279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918183019,"filename":"image_06112025_18_08_31_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c12a73645f4ac0a95ca62d76db2b81d.jpg","text":"TemporaryFile(/tmp/multipartBody7747787255536704892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918183019,"filename":"image_06112025_18_08_45_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706706","file1":"1399706705","file0":"1399706702","file4":"1399706708","file5":"1399706710","file3":"1399706707"},"map_files_photo_id_array":[{"photo_id":"1399706710","filename":"file5"},{"photo_id":"1399706706","filename":"file2"},{"photo_id":"1399706708","filename":"file4"},{"photo_id":"1399706705","filename":"file1"},{"photo_id":"1399706702","filename":"file0"},{"photo_id":"1399706707","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399706707":["hashtag1","hashtag2"]},{"1399706710":["hashtag1","hashtag2"]},{"1399706706":["hashtag1","hashtag2"]},{"1399706702":["hashtag1","hashtag2"]},{"1399706705":["hashtag1","hashtag2"]},{"1399706708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399706707, 1399706710, 1399706706, 1399706702, 1399706705, 1399706708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90638875961304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:49:22.536008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_34_9817.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_45_10827.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_55_9708.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_47_05_9650.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_14_9855.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_25_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_34_9817.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_45_10827.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_55_9708.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_47_05_9650.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_14_9855.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_25_10609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5228595733642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 21:49:32.584754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:49:42.486341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_51_3689.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_55_3448.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_58_2608.jpg', '/home/pi/Desktop/images/06112025/18/08/image_06112025_18_09_00_2773.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_03_2532.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_06_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_51_3689.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_55_3448.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_08_58_2608.jpg
/home/pi/Desktop/images/06112025/18/08/image_06112025_18_09_00_2773.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_03_2532.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_06_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706725","1399706724","1399706727","1399706721","1399706723","1399706726"],"photo_ids_order":["1399706721","1399706723","1399706724","1399706725","1399706726","1399706727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f00a6615053eb3cb080e114e2671dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody3540113659632196569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918243243,"filename":"image_06112025_18_09_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/16/ad361c200bd9a6f6e7ac4caf1dbaba5c.jpg","text":"TemporaryFile(/tmp/multipartBody6118551639169561488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918243243,"filename":"image_06112025_18_08_58_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/16/2b25ec73104aa2983995df97811737c7.jpg","text":"TemporaryFile(/tmp/multipartBody4566884930261450772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918243243,"filename":"image_06112025_18_09_06_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/03179995fe143da4039ca33b55a93930.jpg","text":"TemporaryFile(/tmp/multipartBody8420163634640602377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918243243,"filename":"image_06112025_18_08_51_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/16/a24ce30d8f1bc3caea590b6be1d3ef69.jpg","text":"TemporaryFile(/tmp/multipartBody8613315283614508046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918243243,"filename":"image_06112025_18_08_55_3448.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0e545dd136b69e738376b5321071a6cb.jpg","text":"TemporaryFile(/tmp/multipartBody2079563441163329187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918243243,"filename":"image_06112025_18_09_03_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706724","file1":"1399706723","file0":"1399706721","file4":"1399706726","file5":"1399706727","file3":"1399706725"},"map_files_photo_id_array":[{"photo_id":"1399706727","filename":"file5"},{"photo_id":"1399706724","filename":"file2"},{"photo_id":"1399706726","filename":"file4"},{"photo_id":"1399706723","filename":"file1"},{"photo_id":"1399706721","filename":"file0"},{"photo_id":"1399706725","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399706725":["hashtag1","hashtag2"]},{"1399706724":["hashtag1","hashtag2"]},{"1399706727":["hashtag1","hashtag2"]},{"1399706721":["hashtag1","hashtag2"]},{"1399706723":["hashtag1","hashtag2"]},{"1399706726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399706725, 1399706724, 1399706727, 1399706721, 1399706723, 1399706726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.800060987472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:50:22.776902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_34_9817.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_45_10827.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_55_9708.jpg', '/home/pi/Desktop/images/16122025/21/46/image_16122025_21_47_05_9650.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_14_9855.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_25_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_34_9817.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_45_10827.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_46_55_9708.jpg
/home/pi/Desktop/images/16122025/21/46/image_16122025_21_47_05_9650.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_14_9855.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_25_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706731","1399706734","1399706733","1399706732","1399706735","1399706729"],"photo_ids_order":["1399706729","1399706731","1399706732","1399706733","1399706734","1399706735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3f5f1944bbc2536578fd54a3f9781c88.jpg","text":"TemporaryFile(/tmp/multipartBody240449044489305370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918283404,"filename":"image_16122025_21_46_45_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/16/7bf941c673044fea5a69c181c5714bb6.jpg","text":"TemporaryFile(/tmp/multipartBody1982749996792300196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918283404,"filename":"image_16122025_21_47_14_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ad813a5fc6d933311c404f8ca759097.jpg","text":"TemporaryFile(/tmp/multipartBody7046971428258979217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918283404,"filename":"image_16122025_21_47_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/16/17b02fce7a169e5f5d36c7ff6a601499.jpg","text":"TemporaryFile(/tmp/multipartBody5184909587612429746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918283404,"filename":"image_16122025_21_46_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4e93ca9e231aff8f1880e496bc8c238f.jpg","text":"TemporaryFile(/tmp/multipartBody8808208777608307309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918283404,"filename":"image_16122025_21_47_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/957ffdd120eade18d4393c5402e67fde.jpg","text":"TemporaryFile(/tmp/multipartBody5589838064349283850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918283404,"filename":"image_16122025_21_46_34_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706732","file1":"1399706731","file0":"1399706729","file4":"1399706734","file5":"1399706735","file3":"1399706733"},"map_files_photo_id_array":[{"photo_id":"1399706735","filename":"file5"},{"photo_id":"1399706732","filename":"file2"},{"photo_id":"1399706734","filename":"file4"},{"photo_id":"1399706731","filename":"file1"},{"photo_id":"1399706729","filename":"file0"},{"photo_id":"1399706733","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706731":["hashtag1","hashtag2"]},{"1399706734":["hashtag1","hashtag2"]},{"1399706733":["hashtag1","hashtag2"]},{"1399706732":["hashtag1","hashtag2"]},{"1399706735":["hashtag1","hashtag2"]},{"1399706729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706731, 1399706734, 1399706733, 1399706732, 1399706735, 1399706729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59828996658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:51:02.587398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_35_9753.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_55_10724.jpg', '/home/pi/Desktop/images/16122025/21/47/image_16122025_21_48_05_9680.jpg', '/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_15_9786.jpg', '/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_25_10577.jpg', '/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_35_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_35_9753.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_47_55_10724.jpg
/home/pi/Desktop/images/16122025/21/47/image_16122025_21_48_05_9680.jpg
/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_15_9786.jpg
/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_25_10577.jpg
/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_35_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":["1399706740","1399706737","1399706742","1399706736","1399706745","1399706744"],"photo_ids_order":["1399706736","1399706737","1399706740","1399706742","1399706744","1399706745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d6be5b00e7f928f7defaca3dc28fa99.jpg","text":"TemporaryFile(/tmp/multipartBody8952983179494012414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918323224,"filename":"image_16122025_21_48_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/16/66fceed55b161ff521c2be1e965da974.jpg","text":"TemporaryFile(/tmp/multipartBody214954285353919817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918323224,"filename":"image_16122025_21_47_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9bb267788bcf1a06dc1ec72bd6201ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3964086953595884549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918323224,"filename":"image_16122025_21_48_15_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50e5ee525e54118ba47d7175cbe0eea7.jpg","text":"TemporaryFile(/tmp/multipartBody6476687965349219273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918323224,"filename":"image_16122025_21_47_35_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/963224259dc37ad1d9cc10a9fce4153c.jpg","text":"TemporaryFile(/tmp/multipartBody8246371994290901098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918323224,"filename":"image_16122025_21_48_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ebb8b86732dcf8033aa4bb67a83d740.jpg","text":"TemporaryFile(/tmp/multipartBody7102550786713810214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918323224,"filename":"image_16122025_21_48_25_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706740","file1":"1399706737","file0":"1399706736","file4":"1399706744","file5":"1399706745","file3":"1399706742"},"map_files_photo_id_array":[{"photo_id":"1399706745","filename":"file5"},{"photo_id":"1399706740","filename":"file2"},{"photo_id":"1399706744","filename":"file4"},{"photo_id":"1399706737","filename":"file1"},{"photo_id":"1399706736","filename":"file0"},{"photo_id":"1399706742","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706740":["hashtag1","hashtag2"]},{"1399706737":["hashtag1","hashtag2"]},{"1399706742":["hashtag1","hashtag2"]},{"1399706736":["hashtag1","hashtag2"]},{"1399706745":["hashtag1","hashtag2"]},{"1399706744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706740, 1399706737, 1399706742, 1399706736, 1399706745, 1399706744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60624575614929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:51:42.034506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_13_3648.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_15_2642.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_18_2547.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_22_3697.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_24_2730.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_27_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_13_3648.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_15_2642.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_18_2547.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_22_3697.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_24_2730.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_27_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":["1399706752","1399706755","1399706754","1399706751","1399706750","1399706753"],"photo_ids_order":["1399706750","1399706751","1399706752","1399706753","1399706754","1399706755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a29f608ada113390b0f113164f8e2f56.jpg","text":"TemporaryFile(/tmp/multipartBody5329268289376207454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918362779,"filename":"image_06112025_18_09_18_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/16/472345173b2e11ab9d2e7a7958a0a025.jpg","text":"TemporaryFile(/tmp/multipartBody8298711926072094923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918362779,"filename":"image_06112025_18_09_27_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/16/d489a84da596f8162818398c8f18d5cb.jpg","text":"TemporaryFile(/tmp/multipartBody7927340983487388252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918362779,"filename":"image_06112025_18_09_24_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/16/8df90bdd252a3ee0506f8c7db4c540ce.jpg","text":"TemporaryFile(/tmp/multipartBody92572347033530749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918362779,"filename":"image_06112025_18_09_15_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cbaffbe4fd241d542421a1000fa40b11.jpg","text":"TemporaryFile(/tmp/multipartBody3827259629641319946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918362779,"filename":"image_06112025_18_09_13_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/16/4b201455a039104c29b3ac6567cb3331.jpg","text":"TemporaryFile(/tmp/multipartBody5022510550080805782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918362779,"filename":"image_06112025_18_09_22_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706752","file1":"1399706751","file0":"1399706750","file4":"1399706754","file5":"1399706755","file3":"1399706753"},"map_files_photo_id_array":[{"photo_id":"1399706755","filename":"file5"},{"photo_id":"1399706752","filename":"file2"},{"photo_id":"1399706754","filename":"file4"},{"photo_id":"1399706751","filename":"file1"},{"photo_id":"1399706750","filename":"file0"},{"photo_id":"1399706753","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399706752":["hashtag1","hashtag2"]},{"1399706755":["hashtag1","hashtag2"]},{"1399706754":["hashtag1","hashtag2"]},{"1399706751":["hashtag1","hashtag2"]},{"1399706750":["hashtag1","hashtag2"]},{"1399706753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399706752, 1399706755, 1399706754, 1399706751, 1399706750, 1399706753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.156424045562744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:52:22.308996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_45_9715.jpg', '/home/pi/Desktop/images/16122025/21/48/image_16122025_21_49_05_10634.jpg', '/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_15_9691.jpg', '/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_24_9524.jpg', '/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_35_10723.jpg', '/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_45_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/48/image_16122025_21_48_45_9715.jpg
/home/pi/Desktop/images/16122025/21/48/image_16122025_21_49_05_10634.jpg
/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_15_9691.jpg
/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_24_9524.jpg
/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_35_10723.jpg
/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_45_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706767","1399706763","1399706757","1399706759","1399706756","1399706761"],"photo_ids_order":["1399706756","1399706757","1399706759","1399706761","1399706763","1399706767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20c8d7a349cfc2cfbef31fb9b162551a.jpg","text":"TemporaryFile(/tmp/multipartBody4298844112792132188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918402910,"filename":"image_16122025_21_49_45_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59cf3e670b91c8dec773409f7f852927.jpg","text":"TemporaryFile(/tmp/multipartBody5172040763551819484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918402910,"filename":"image_16122025_21_49_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c825ae71cfa269a8498756c2ee78664b.jpg","text":"TemporaryFile(/tmp/multipartBody1863932658095482232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918402910,"filename":"image_16122025_21_49_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/16/d9cdc6dc0523d2e5932cecb5bcef734d.jpg","text":"TemporaryFile(/tmp/multipartBody6625390597633866216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918402910,"filename":"image_16122025_21_49_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1f4baa4ff35091c7eeeb78c24a5ddc9.jpg","text":"TemporaryFile(/tmp/multipartBody1561055915780082038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918402910,"filename":"image_16122025_21_48_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/700ba2fb908113e4a828000cd643ab1e.jpg","text":"TemporaryFile(/tmp/multipartBody3972967475165653086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918402910,"filename":"image_16122025_21_49_24_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706759","file1":"1399706757","file0":"1399706756","file4":"1399706763","file5":"1399706767","file3":"1399706761"},"map_files_photo_id_array":[{"photo_id":"1399706767","filename":"file5"},{"photo_id":"1399706759","filename":"file2"},{"photo_id":"1399706763","filename":"file4"},{"photo_id":"1399706757","filename":"file1"},{"photo_id":"1399706756","filename":"file0"},{"photo_id":"1399706761","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706767":["hashtag1","hashtag2"]},{"1399706763":["hashtag1","hashtag2"]},{"1399706757":["hashtag1","hashtag2"]},{"1399706759":["hashtag1","hashtag2"]},{"1399706756":["hashtag1","hashtag2"]},{"1399706761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706767, 1399706763, 1399706757, 1399706759, 1399706756, 1399706761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17615246772766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:53:03.231210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_55_9720.jpg', '/home/pi/Desktop/images/16122025/21/49/image_16122025_21_50_05_10566.jpg', '/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_15_9621.jpg', '/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_25_9890.jpg', '/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_35_9782.jpg', '/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/49/image_16122025_21_49_55_9720.jpg
/home/pi/Desktop/images/16122025/21/49/image_16122025_21_50_05_10566.jpg
/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_15_9621.jpg
/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_25_9890.jpg
/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_35_9782.jpg
/home/pi/Desktop/images/16122025/21/50/image_16122025_21_50_55_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706793","1399706795","1399706792","1399706789","1399706797","1399706791"],"photo_ids_order":["1399706789","1399706791","1399706792","1399706793","1399706795","1399706797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc5f882cfda963db39f7694c4b465887.jpg","text":"TemporaryFile(/tmp/multipartBody7419990046482446465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918443837,"filename":"image_16122025_21_50_25_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/16/c7d782c2006d0021fbcc6269f3391860.jpg","text":"TemporaryFile(/tmp/multipartBody3724775046974117466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918443837,"filename":"image_16122025_21_50_35_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e6b506d2b92beb4712ace9f6a8b0f81.jpg","text":"TemporaryFile(/tmp/multipartBody4337000946521557421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918443837,"filename":"image_16122025_21_50_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/16/7a3a8e8dc403021b15561af29d79bb2a.jpg","text":"TemporaryFile(/tmp/multipartBody2571573958821689206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918443837,"filename":"image_16122025_21_49_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/16/c03e64f13603258d803d1a11f09742aa.jpg","text":"TemporaryFile(/tmp/multipartBody4370756233317079688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918443837,"filename":"image_16122025_21_50_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b330e552a6bb28fe044bf605e8a17ed.jpg","text":"TemporaryFile(/tmp/multipartBody5832072248462309902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918443837,"filename":"image_16122025_21_50_05_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706792","file1":"1399706791","file0":"1399706789","file4":"1399706795","file5":"1399706797","file3":"1399706793"},"map_files_photo_id_array":[{"photo_id":"1399706797","filename":"file5"},{"photo_id":"1399706792","filename":"file2"},{"photo_id":"1399706795","filename":"file4"},{"photo_id":"1399706791","filename":"file1"},{"photo_id":"1399706789","filename":"file0"},{"photo_id":"1399706793","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706793":["hashtag1","hashtag2"]},{"1399706795":["hashtag1","hashtag2"]},{"1399706792":["hashtag1","hashtag2"]},{"1399706789":["hashtag1","hashtag2"]},{"1399706797":["hashtag1","hashtag2"]},{"1399706791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706793, 1399706795, 1399706792, 1399706789, 1399706797, 1399706791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16650438308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:53:42.522612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_30_2738.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_36_2700.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_39_2766.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_42_2974.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_45_3633.jpg', '/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_58_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_30_2738.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_36_2700.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_39_2766.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_42_2974.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_45_3633.jpg
/home/pi/Desktop/images/06112025/18/09/image_06112025_18_09_58_1591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706925","1399706820","1399706802","1399706960","1399706855","1399706890"],"photo_ids_order":["1399706802","1399706820","1399706855","1399706890","1399706925","1399706960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b7579982d3e32f37049e86b0ff3a360.jpg","text":"TemporaryFile(/tmp/multipartBody2864766146943886288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918483300,"filename":"image_06112025_18_09_45_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/16/ef003431a4c104affe83f2148d00d93a.jpg","text":"TemporaryFile(/tmp/multipartBody5172072467502928660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918483300,"filename":"image_06112025_18_09_36_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0ae6c71dcd79df012d077ac535c75963.jpg","text":"TemporaryFile(/tmp/multipartBody3596779939345217465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918483300,"filename":"image_06112025_18_09_30_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/16/ce6c1693310bff5c69f17059a3bdea56.jpg","text":"TemporaryFile(/tmp/multipartBody9164384622476335657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918483300,"filename":"image_06112025_18_09_58_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/16/3cd2d4e520ffebac3c4d58c2a93fff78.jpg","text":"TemporaryFile(/tmp/multipartBody7697658875420414073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918483300,"filename":"image_06112025_18_09_39_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/16/61a6a27afc043daea3592491c96230eb.jpg","text":"TemporaryFile(/tmp/multipartBody4659147412940389903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918483300,"filename":"image_06112025_18_09_42_2974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706855","file1":"1399706820","file0":"1399706802","file4":"1399706925","file5":"1399706960","file3":"1399706890"},"map_files_photo_id_array":[{"photo_id":"1399706960","filename":"file5"},{"photo_id":"1399706855","filename":"file2"},{"photo_id":"1399706925","filename":"file4"},{"photo_id":"1399706820","filename":"file1"},{"photo_id":"1399706802","filename":"file0"},{"photo_id":"1399706890","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399706925":["hashtag1","hashtag2"]},{"1399706820":["hashtag1","hashtag2"]},{"1399706802":["hashtag1","hashtag2"]},{"1399706960":["hashtag1","hashtag2"]},{"1399706855":["hashtag1","hashtag2"]},{"1399706890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399706925, 1399706820, 1399706802, 1399706960, 1399706855, 1399706890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60175180435181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:54:22.782674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/50/image_16122025_21_51_05_9771.jpg', '/home/pi/Desktop/images/16122025/21/51/image_16122025_21_51_15_10584.jpg', '/home/pi/Desktop/images/16122025/21/51/image_16122025_21_51_25_9548.jpg', '/home/pi/Desktop/images/16122025/21/51/image_16122025_21_51_45_9698.jpg', '/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_15_10697.jpg', '/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_25_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/50/image_16122025_21_51_05_9771.jpg
/home/pi/Desktop/images/16122025/21/51/image_16122025_21_51_15_10584.jpg
/home/pi/Desktop/images/16122025/21/51/image_16122025_21_51_25_9548.jpg
/home/pi/Desktop/images/16122025/21/51/image_16122025_21_51_45_9698.jpg
/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_15_10697.jpg
/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_25_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399706971","1399706979","1399706976","1399706972","1399706969","1399706974"],"photo_ids_order":["1399706969","1399706971","1399706972","1399706974","1399706976","1399706979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8544bc863f0797b5c6671c0299120ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7767154310604164488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918523375,"filename":"image_16122025_21_51_15_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/16/078c6482c6308fa1fce1593a99c6b492.jpg","text":"TemporaryFile(/tmp/multipartBody1755766768165758921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918523375,"filename":"image_16122025_21_52_25_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d9b8505ed5d2bdf0c9e05037d09dc3df.jpg","text":"TemporaryFile(/tmp/multipartBody940300529577232717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918523375,"filename":"image_16122025_21_52_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/16/b746dc9589801c84b97a02313805ab90.jpg","text":"TemporaryFile(/tmp/multipartBody5669402002806471720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918523375,"filename":"image_16122025_21_51_25_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/16/8ec8fdcaff20c484ef2a00452586551c.jpg","text":"TemporaryFile(/tmp/multipartBody6233910726327848950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918523375,"filename":"image_16122025_21_51_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/16/7ea166f2b285ef428b11d3bc2a4c83f2.jpg","text":"TemporaryFile(/tmp/multipartBody6351666602604583909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918523375,"filename":"image_16122025_21_51_45_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399706972","file1":"1399706971","file0":"1399706969","file4":"1399706976","file5":"1399706979","file3":"1399706974"},"map_files_photo_id_array":[{"photo_id":"1399706979","filename":"file5"},{"photo_id":"1399706972","filename":"file2"},{"photo_id":"1399706976","filename":"file4"},{"photo_id":"1399706971","filename":"file1"},{"photo_id":"1399706969","filename":"file0"},{"photo_id":"1399706974","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399706971":["hashtag1","hashtag2"]},{"1399706979":["hashtag1","hashtag2"]},{"1399706976":["hashtag1","hashtag2"]},{"1399706972":["hashtag1","hashtag2"]},{"1399706969":["hashtag1","hashtag2"]},{"1399706974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399706971, 1399706979, 1399706976, 1399706972, 1399706969, 1399706974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13275980949402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:55:02.633517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_44_9720.jpg', '/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_55_10596.jpg', '/home/pi/Desktop/images/16122025/21/52/image_16122025_21_53_05_9632.jpg', '/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_15_10670.jpg', '/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_25_9607.jpg', '/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_34_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_44_9720.jpg
/home/pi/Desktop/images/16122025/21/52/image_16122025_21_52_55_10596.jpg
/home/pi/Desktop/images/16122025/21/52/image_16122025_21_53_05_9632.jpg
/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_15_10670.jpg
/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_25_9607.jpg
/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_34_9522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399707106","1399707093","1399707111","1399707077","1399707107","1399707104"],"photo_ids_order":["1399707077","1399707093","1399707104","1399707106","1399707107","1399707111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe1b036956fbb3373eb2111befa5d589.jpg","text":"TemporaryFile(/tmp/multipartBody6096810905280897193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918563244,"filename":"image_16122025_21_53_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/16/c9a42a46a00f2fa64655ad926dbfa7fb.jpg","text":"TemporaryFile(/tmp/multipartBody5553681122506856804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918563244,"filename":"image_16122025_21_52_55_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/16/fd2be2dc8995099b1f89512e06832b81.jpg","text":"TemporaryFile(/tmp/multipartBody3831721794106247833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918563244,"filename":"image_16122025_21_53_34_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8c1cb6f495537afa93ba89524f045803.jpg","text":"TemporaryFile(/tmp/multipartBody869318224417003587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918563244,"filename":"image_16122025_21_52_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3b3fcda080286950632f88037211cef.jpg","text":"TemporaryFile(/tmp/multipartBody595262141041509861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918563244,"filename":"image_16122025_21_53_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/16/b812ae266b06b2ae3465761ef59e4786.jpg","text":"TemporaryFile(/tmp/multipartBody4581692281402087339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918563244,"filename":"image_16122025_21_53_05_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399707104","file1":"1399707093","file0":"1399707077","file4":"1399707107","file5":"1399707111","file3":"1399707106"},"map_files_photo_id_array":[{"photo_id":"1399707111","filename":"file5"},{"photo_id":"1399707104","filename":"file2"},{"photo_id":"1399707107","filename":"file4"},{"photo_id":"1399707093","filename":"file1"},{"photo_id":"1399707077","filename":"file0"},{"photo_id":"1399707106","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399707106":["hashtag1","hashtag2"]},{"1399707093":["hashtag1","hashtag2"]},{"1399707111":["hashtag1","hashtag2"]},{"1399707077":["hashtag1","hashtag2"]},{"1399707107":["hashtag1","hashtag2"]},{"1399707104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399707106, 1399707093, 1399707111, 1399707077, 1399707107, 1399707104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.726208209991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:55:41.910721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_04_2767.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_06_2596.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_09_2620.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_21_3543.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_24_2644.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_27_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_04_2767.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_06_2596.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_09_2620.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_21_3543.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_24_2644.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_27_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":["1399707150","1399707153","1399707156","1399707155","1399707154","1399707157"],"photo_ids_order":["1399707150","1399707153","1399707154","1399707155","1399707156","1399707157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1fc8fe716ac5406f67becf866f3d1e67.jpg","text":"TemporaryFile(/tmp/multipartBody2661154690940121420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918602665,"filename":"image_06112025_18_10_04_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/16/0d63f91a5a97f5123875809eb0e542fc.jpg","text":"TemporaryFile(/tmp/multipartBody565168769751036838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918602665,"filename":"image_06112025_18_10_06_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/16/2f8e7d28e416f0ebd1e5f75a3b2c3321.jpg","text":"TemporaryFile(/tmp/multipartBody7496858905779911608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918602665,"filename":"image_06112025_18_10_24_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/16/c3f53b5d1abdc8707ff8bddcf8d66b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7484677104459020659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918602665,"filename":"image_06112025_18_10_21_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/16/d787ea31fe23eb571bfdbeac1034eecd.jpg","text":"TemporaryFile(/tmp/multipartBody8846902623298304494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918602665,"filename":"image_06112025_18_10_09_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/16/a7fdd8d9a47ca076ce659700774c9839.jpg","text":"TemporaryFile(/tmp/multipartBody6910721768156079226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918602665,"filename":"image_06112025_18_10_27_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399707154","file1":"1399707153","file0":"1399707150","file4":"1399707156","file5":"1399707157","file3":"1399707155"},"map_files_photo_id_array":[{"photo_id":"1399707157","filename":"file5"},{"photo_id":"1399707154","filename":"file2"},{"photo_id":"1399707156","filename":"file4"},{"photo_id":"1399707153","filename":"file1"},{"photo_id":"1399707150","filename":"file0"},{"photo_id":"1399707155","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399707150":["hashtag1","hashtag2"]},{"1399707153":["hashtag1","hashtag2"]},{"1399707156":["hashtag1","hashtag2"]},{"1399707155":["hashtag1","hashtag2"]},{"1399707154":["hashtag1","hashtag2"]},{"1399707157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399707150, 1399707153, 1399707156, 1399707155, 1399707154, 1399707157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48758888244629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 21:56:22.282883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_45_10700.jpg', '/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_55_9894.jpg', '/home/pi/Desktop/images/16122025/21/53/image_16122025_21_54_05_9756.jpg', '/home/pi/Desktop/images/16122025/21/54/image_16122025_21_54_14_9611.jpg', '/home/pi/Desktop/images/16122025/21/54/image_16122025_21_54_25_10630.jpg', '/home/pi/Desktop/images/16122025/21/54/image_16122025_21_54_35_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_45_10700.jpg
/home/pi/Desktop/images/16122025/21/53/image_16122025_21_53_55_9894.jpg
/home/pi/Desktop/images/16122025/21/53/image_16122025_21_54_05_9756.jpg
/home/pi/Desktop/images/16122025/21/54/image_16122025_21_54_14_9611.jpg
/home/pi/Desktop/images/16122025/21/54/image_16122025_21_54_25_10630.jpg
/home/pi/Desktop/images/16122025/21/54/image_16122025_21_54_35_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":["1399707294","1399707183","1399707327","1399707315","1399707219","1399707254"],"photo_ids_order":["1399707183","1399707219","1399707254","1399707294","1399707315","1399707327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/863f1334d5869843f48a6fce917a954e.jpg","text":"TemporaryFile(/tmp/multipartBody2340240308658620450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918642868,"filename":"image_16122025_21_54_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/16/6fc497bf78b3ecfe7627296c8f910c83.jpg","text":"TemporaryFile(/tmp/multipartBody2759493306866572563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918642868,"filename":"image_16122025_21_53_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff92a2e92b56043337ac054238f7794a.jpg","text":"TemporaryFile(/tmp/multipartBody2031664424893746601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918642868,"filename":"image_16122025_21_54_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/16/1b58468d19bc28fd6d82a0c797cf45d8.jpg","text":"TemporaryFile(/tmp/multipartBody2441816091639899468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918642868,"filename":"image_16122025_21_54_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/40f2bd8a0be141630e20f1971c06ef3f.jpg","text":"TemporaryFile(/tmp/multipartBody1757821021414730473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918642868,"filename":"image_16122025_21_53_55_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/590979174fdfbdfb3a23cadc6aff5a26.jpg","text":"TemporaryFile(/tmp/multipartBody2344550517511587904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918642868,"filename":"image_16122025_21_54_05_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399707254","file1":"1399707219","file0":"1399707183","file4":"1399707315","file5":"1399707327","file3":"1399707294"},"map_files_photo_id_array":[{"photo_id":"1399707327","filename":"file5"},{"photo_id":"1399707254","filename":"file2"},{"photo_id":"1399707315","filename":"file4"},{"photo_id":"1399707219","filename":"file1"},{"photo_id":"1399707183","filename":"file0"},{"photo_id":"1399707294","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399707294":["hashtag1","hashtag2"]},{"1399707183":["hashtag1","hashtag2"]},{"1399707327":["hashtag1","hashtag2"]},{"1399707315":["hashtag1","hashtag2"]},{"1399707219":["hashtag1","hashtag2"]},{"1399707254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399707294, 1399707183, 1399707327, 1399707315, 1399707219, 1399707254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.207656383514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:57:03.068625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/54/image_16122025_21_55_05_9661.jpg', '/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_14_9650.jpg', '/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_25_10686.jpg', '/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_35_9707.jpg', '/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_45_9695.jpg', '/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/54/image_16122025_21_55_05_9661.jpg
/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_14_9650.jpg
/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_25_10686.jpg
/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_35_9707.jpg
/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_45_9695.jpg
/home/pi/Desktop/images/16122025/21/55/image_16122025_21_55_55_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399707444","1399707429","1399707440","1399707404","1399707442","1399707400"],"photo_ids_order":["1399707400","1399707404","1399707429","1399707440","1399707442","1399707444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4528b1ceb21a60be54b409d87822e248.jpg","text":"TemporaryFile(/tmp/multipartBody5979158826500277455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918683723,"filename":"image_16122025_21_55_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5984296cdd83087888cce5f22785b374.jpg","text":"TemporaryFile(/tmp/multipartBody2002403833704444141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918683723,"filename":"image_16122025_21_55_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/16/893cc5fb556424cce09933f285cb9abc.jpg","text":"TemporaryFile(/tmp/multipartBody1171020396925463572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918683723,"filename":"image_16122025_21_55_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/467fdbbf69f274818f2aac1e96fa1c12.jpg","text":"TemporaryFile(/tmp/multipartBody3736262856280288570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918683723,"filename":"image_16122025_21_55_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/16/06b13d139d5ae75e3ba0a4ae71e81988.jpg","text":"TemporaryFile(/tmp/multipartBody6308670085528325947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918683723,"filename":"image_16122025_21_55_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/16/ef814440dd83478fca32df9ac30822f8.jpg","text":"TemporaryFile(/tmp/multipartBody368213648397285437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918683723,"filename":"image_16122025_21_55_05_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399707429","file1":"1399707404","file0":"1399707400","file4":"1399707442","file5":"1399707444","file3":"1399707440"},"map_files_photo_id_array":[{"photo_id":"1399707444","filename":"file5"},{"photo_id":"1399707429","filename":"file2"},{"photo_id":"1399707442","filename":"file4"},{"photo_id":"1399707404","filename":"file1"},{"photo_id":"1399707400","filename":"file0"},{"photo_id":"1399707440","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399707444":["hashtag1","hashtag2"]},{"1399707429":["hashtag1","hashtag2"]},{"1399707440":["hashtag1","hashtag2"]},{"1399707404":["hashtag1","hashtag2"]},{"1399707442":["hashtag1","hashtag2"]},{"1399707400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399707444, 1399707429, 1399707440, 1399707404, 1399707442, 1399707400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44834756851196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:57:42.333438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_30_3761.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_36_2608.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_39_3041.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_42_2611.jpg', '/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_45_3815.jpg', '/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_09_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_30_3761.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_36_2608.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_39_3041.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_42_2611.jpg
/home/pi/Desktop/images/06112025/18/10/image_06112025_18_10_45_3815.jpg
/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_09_2685.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399707450","1399707453","1399707452","1399707449","1399707451","1399707454"],"photo_ids_order":["1399707449","1399707450","1399707451","1399707452","1399707453","1399707454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9145f0a5ce7a5968022f1c5add0af21.jpg","text":"TemporaryFile(/tmp/multipartBody4751841524407683250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918723076,"filename":"image_06112025_18_10_36_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b9aef0ea59da0ebfdc5232516b378ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2993769340559980745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918723076,"filename":"image_06112025_18_10_45_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/320400347eaeadd6e83829df7c42eae5.jpg","text":"TemporaryFile(/tmp/multipartBody8910129090942561588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918723076,"filename":"image_06112025_18_10_42_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/16/f1fc0b4a711b66dfd0feae99ee521e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2930341143756477198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918723076,"filename":"image_06112025_18_10_30_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/16/88316024860ea3dad59c88a7b86a6782.jpg","text":"TemporaryFile(/tmp/multipartBody4384848469190259521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918723076,"filename":"image_06112025_18_10_39_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/16/9fd010601dbb4576113a79d4d6a792bf.jpg","text":"TemporaryFile(/tmp/multipartBody8669237411834051849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918723076,"filename":"image_06112025_18_11_09_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399707451","file1":"1399707450","file0":"1399707449","file4":"1399707453","file5":"1399707454","file3":"1399707452"},"map_files_photo_id_array":[{"photo_id":"1399707454","filename":"file5"},{"photo_id":"1399707451","filename":"file2"},{"photo_id":"1399707453","filename":"file4"},{"photo_id":"1399707450","filename":"file1"},{"photo_id":"1399707449","filename":"file0"},{"photo_id":"1399707452","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399707450":["hashtag1","hashtag2"]},{"1399707453":["hashtag1","hashtag2"]},{"1399707452":["hashtag1","hashtag2"]},{"1399707449":["hashtag1","hashtag2"]},{"1399707451":["hashtag1","hashtag2"]},{"1399707454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399707450, 1399707453, 1399707452, 1399707449, 1399707451, 1399707454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24326157569885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 21:59:03.619325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/55/image_16122025_21_56_05_9660.jpg', '/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_15_9618.jpg', '/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_25_10744.jpg', '/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_35_9617.jpg', '/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_44_9570.jpg', '/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_55_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/55/image_16122025_21_56_05_9660.jpg
/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_15_9618.jpg
/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_25_10744.jpg
/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_35_9617.jpg
/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_44_9570.jpg
/home/pi/Desktop/images/16122025/21/56/image_16122025_21_56_55_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399707741","1399707584","1399707779","1399707670","1399707631","1399707706"],"photo_ids_order":["1399707584","1399707631","1399707670","1399707706","1399707741","1399707779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3091007b642b846f7a90ace695fc6ed.jpg","text":"TemporaryFile(/tmp/multipartBody5165543774769145043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918804311,"filename":"image_16122025_21_56_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/16/3ae359e7c0711158295d8b85da3cdf02.jpg","text":"TemporaryFile(/tmp/multipartBody5853290855563534668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918804311,"filename":"image_16122025_21_56_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/34d4fef9a945488fa0658483552ec3ac.jpg","text":"TemporaryFile(/tmp/multipartBody8878011576595020641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918804311,"filename":"image_16122025_21_56_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/16/51f45f552eba46b308f22953e1233d33.jpg","text":"TemporaryFile(/tmp/multipartBody4265795098621399093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918804311,"filename":"image_16122025_21_56_25_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8b076024ceb3e08563a8e0eefd1ffd8.jpg","text":"TemporaryFile(/tmp/multipartBody6088052992965163256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918804311,"filename":"image_16122025_21_56_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a70594c0ed10a0d2dded89d0bdbff619.jpg","text":"TemporaryFile(/tmp/multipartBody3667177752654641345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918804311,"filename":"image_16122025_21_56_35_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399707670","file1":"1399707631","file0":"1399707584","file4":"1399707741","file5":"1399707779","file3":"1399707706"},"map_files_photo_id_array":[{"photo_id":"1399707779","filename":"file5"},{"photo_id":"1399707670","filename":"file2"},{"photo_id":"1399707741","filename":"file4"},{"photo_id":"1399707631","filename":"file1"},{"photo_id":"1399707584","filename":"file0"},{"photo_id":"1399707706","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399707741":["hashtag1","hashtag2"]},{"1399707584":["hashtag1","hashtag2"]},{"1399707779":["hashtag1","hashtag2"]},{"1399707670":["hashtag1","hashtag2"]},{"1399707631":["hashtag1","hashtag2"]},{"1399707706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399707741, 1399707584, 1399707779, 1399707670, 1399707631, 1399707706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.383307695388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 21:59:42.843440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_18_2665.jpg', '/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_30_2822.jpg', '/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_36_3594.jpg', '/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_39_2691.jpg', '/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_45_2672.jpg', '/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_48_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_18_2665.jpg
/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_30_2822.jpg
/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_36_3594.jpg
/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_39_2691.jpg
/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_45_2672.jpg
/home/pi/Desktop/images/06112025/18/11/image_06112025_18_11_48_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":["1399707913","1399708026","1399707990","1399707951","1399708028","1399708024"],"photo_ids_order":["1399707913","1399707951","1399707990","1399708024","1399708026","1399708028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7034d4d6117ab53ae0b3120e7bc23a0.jpg","text":"TemporaryFile(/tmp/multipartBody1865274227215790733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918843578,"filename":"image_06112025_18_11_18_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/16/cd01e9be3d81c4358e42fcfff372ea1b.jpg","text":"TemporaryFile(/tmp/multipartBody8712089379157439659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918843578,"filename":"image_06112025_18_11_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/16/76709969d60b341240b97030ab98724b.jpg","text":"TemporaryFile(/tmp/multipartBody1176654354727522579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918843578,"filename":"image_06112025_18_11_36_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/16/ec91266cd311881cb99ea963f517c215.jpg","text":"TemporaryFile(/tmp/multipartBody5008010487530271206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918843578,"filename":"image_06112025_18_11_30_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/16/cb3411d21e3e0fad0c521bfb2fe31a76.jpg","text":"TemporaryFile(/tmp/multipartBody798347206453212383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918843578,"filename":"image_06112025_18_11_48_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/16/cdbbf8431c65956b16f2b10f4436cd82.jpg","text":"TemporaryFile(/tmp/multipartBody3924628106413009298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918843578,"filename":"image_06112025_18_11_39_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399707990","file1":"1399707951","file0":"1399707913","file4":"1399708026","file5":"1399708028","file3":"1399708024"},"map_files_photo_id_array":[{"photo_id":"1399708028","filename":"file5"},{"photo_id":"1399707990","filename":"file2"},{"photo_id":"1399708026","filename":"file4"},{"photo_id":"1399707951","filename":"file1"},{"photo_id":"1399707913","filename":"file0"},{"photo_id":"1399708024","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399707913":["hashtag1","hashtag2"]},{"1399708026":["hashtag1","hashtag2"]},{"1399707990":["hashtag1","hashtag2"]},{"1399707951":["hashtag1","hashtag2"]},{"1399708028":["hashtag1","hashtag2"]},{"1399708024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399707913, 1399708026, 1399707990, 1399707951, 1399708028, 1399708024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.831788301467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:00:22.214191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/56/image_16122025_21_57_05_9689.jpg', '/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_15_9682.jpg', '/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_25_10624.jpg', '/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_35_9621.jpg', '/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_45_9909.jpg', '/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_54_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/56/image_16122025_21_57_05_9689.jpg
/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_15_9682.jpg
/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_25_10624.jpg
/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_35_9621.jpg
/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_45_9909.jpg
/home/pi/Desktop/images/16122025/21/57/image_16122025_21_57_54_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399708137","1399708175","1399708162","1399708099","1399708030","1399708062"],"photo_ids_order":["1399708030","1399708062","1399708099","1399708137","1399708162","1399708175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fe4ff9d0896a99749816c3578c55ffba.jpg","text":"TemporaryFile(/tmp/multipartBody3571623167220078101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918882799,"filename":"image_16122025_21_57_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bed7bedc2120a18cde5719a976a0e7b3.jpg","text":"TemporaryFile(/tmp/multipartBody6692432696895563229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918882799,"filename":"image_16122025_21_57_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/16/b16f9409c4440663f527409b3d1af31c.jpg","text":"TemporaryFile(/tmp/multipartBody8241005889463265213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918882799,"filename":"image_16122025_21_57_45_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/16/af76e01728f105e0f316b206b97f0bba.jpg","text":"TemporaryFile(/tmp/multipartBody7507668713471542368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918882799,"filename":"image_16122025_21_57_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/16/a7912d3f31e82df652888924dbfd084f.jpg","text":"TemporaryFile(/tmp/multipartBody4523261118870365553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918882799,"filename":"image_16122025_21_57_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/289048b2275d9813833350aa0ce424ae.jpg","text":"TemporaryFile(/tmp/multipartBody3206478789357293281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918882799,"filename":"image_16122025_21_57_15_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399708099","file1":"1399708062","file0":"1399708030","file4":"1399708162","file5":"1399708175","file3":"1399708137"},"map_files_photo_id_array":[{"photo_id":"1399708175","filename":"file5"},{"photo_id":"1399708099","filename":"file2"},{"photo_id":"1399708162","filename":"file4"},{"photo_id":"1399708062","filename":"file1"},{"photo_id":"1399708030","filename":"file0"},{"photo_id":"1399708137","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399708137":["hashtag1","hashtag2"]},{"1399708175":["hashtag1","hashtag2"]},{"1399708162":["hashtag1","hashtag2"]},{"1399708099":["hashtag1","hashtag2"]},{"1399708030":["hashtag1","hashtag2"]},{"1399708062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399708137, 1399708175, 1399708162, 1399708099, 1399708030, 1399708062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94409394264221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:01:02.992157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/57/image_16122025_21_58_05_10883.jpg', '/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_15_9807.jpg', '/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_25_9869.jpg', '/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_35_9625.jpg', '/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_45_10670.jpg', '/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_55_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/57/image_16122025_21_58_05_10883.jpg
/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_15_9807.jpg
/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_25_9869.jpg
/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_35_9625.jpg
/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_45_10670.jpg
/home/pi/Desktop/images/16122025/21/58/image_16122025_21_58_55_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399708524","1399708565","1399708453","1399708417","1399708488","1399708380"],"photo_ids_order":["1399708380","1399708417","1399708453","1399708488","1399708524","1399708565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a84b5a0028be5d2b0709a3ca1834dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7098839629644687436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918923627,"filename":"image_16122025_21_58_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2eb09f498a8664d2627950a32484103.jpg","text":"TemporaryFile(/tmp/multipartBody5989086139391548320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918923627,"filename":"image_16122025_21_58_55_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/16/8c2d2526d5ce4dcb60edd495354b184e.jpg","text":"TemporaryFile(/tmp/multipartBody2991241917992175702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918923627,"filename":"image_16122025_21_58_25_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/16/94e5cb76a4410fc8d55f769d863fb8ef.jpg","text":"TemporaryFile(/tmp/multipartBody6301967484756870400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918923627,"filename":"image_16122025_21_58_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/16/fe132662fe8c8612cc9e07eee27fd37f.jpg","text":"TemporaryFile(/tmp/multipartBody5189778390239511411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918923627,"filename":"image_16122025_21_58_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/16/840e748da3b4c77471f5ecf895acaed0.jpg","text":"TemporaryFile(/tmp/multipartBody3461567631067141998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918923627,"filename":"image_16122025_21_58_05_10883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399708453","file1":"1399708417","file0":"1399708380","file4":"1399708524","file5":"1399708565","file3":"1399708488"},"map_files_photo_id_array":[{"photo_id":"1399708565","filename":"file5"},{"photo_id":"1399708453","filename":"file2"},{"photo_id":"1399708524","filename":"file4"},{"photo_id":"1399708417","filename":"file1"},{"photo_id":"1399708380","filename":"file0"},{"photo_id":"1399708488","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399708524":["hashtag1","hashtag2"]},{"1399708565":["hashtag1","hashtag2"]},{"1399708453":["hashtag1","hashtag2"]},{"1399708417":["hashtag1","hashtag2"]},{"1399708488":["hashtag1","hashtag2"]},{"1399708380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399708524, 1399708565, 1399708453, 1399708417, 1399708488, 1399708380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59388971328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:01:42.321309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_45_1738.jpg', '/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_51_2713.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_15_2878.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_24_3690.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_35_2797.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_42_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_45_1738.jpg
/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_51_2713.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_15_2878.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_24_3690.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_35_2797.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_42_2699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6292362213134766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:02:03.000311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/21/58/image_16122025_21_59_05_9669.jpg', '/home/pi/Desktop/images/16122025/21/59/image_16122025_21_59_35_9701.jpg', '/home/pi/Desktop/images/16122025/21/59/image_16122025_21_59_45_9715.jpg', '/home/pi/Desktop/images/16122025/21/59/image_16122025_21_59_54_9689.jpg', '/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_26_10724.jpg', '/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_35_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/21/58/image_16122025_21_59_05_9669.jpg
/home/pi/Desktop/images/16122025/21/59/image_16122025_21_59_35_9701.jpg
/home/pi/Desktop/images/16122025/21/59/image_16122025_21_59_45_9715.jpg
/home/pi/Desktop/images/16122025/21/59/image_16122025_21_59_54_9689.jpg
/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_26_10724.jpg
/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_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":["1399709021","1399709092","1399709056","1399708931","1399708894","1399708984"],"photo_ids_order":["1399708894","1399708931","1399708984","1399709021","1399709056","1399709092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/744241d890e9de3ff09b390e23499d11.jpg","text":"TemporaryFile(/tmp/multipartBody543571460990132922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918983568,"filename":"image_16122025_21_59_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/16/a2d4196dd71799385a1aefdf9682c466.jpg","text":"TemporaryFile(/tmp/multipartBody647212460045910280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918983568,"filename":"image_16122025_22_00_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/16/61ab5415ef166d3fa527632ef50d24e2.jpg","text":"TemporaryFile(/tmp/multipartBody2840942672522444226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918983568,"filename":"image_16122025_22_00_26_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/553f470e26ca5b5696328f1f53a12485.jpg","text":"TemporaryFile(/tmp/multipartBody6655794398667466546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918983568,"filename":"image_16122025_21_59_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/16/3fad2b7dd26eb7cee37bdb909927bb42.jpg","text":"TemporaryFile(/tmp/multipartBody2336437633025659373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918983568,"filename":"image_16122025_21_59_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/16/4a7319c5bee459380d85ef2c403e2770.jpg","text":"TemporaryFile(/tmp/multipartBody103548312601102523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765918983568,"filename":"image_16122025_21_59_45_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399708984","file1":"1399708931","file0":"1399708894","file4":"1399709056","file5":"1399709092","file3":"1399709021"},"map_files_photo_id_array":[{"photo_id":"1399709092","filename":"file5"},{"photo_id":"1399708984","filename":"file2"},{"photo_id":"1399709056","filename":"file4"},{"photo_id":"1399708931","filename":"file1"},{"photo_id":"1399708894","filename":"file0"},{"photo_id":"1399709021","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399709021":["hashtag1","hashtag2"]},{"1399709092":["hashtag1","hashtag2"]},{"1399709056":["hashtag1","hashtag2"]},{"1399708931":["hashtag1","hashtag2"]},{"1399708894":["hashtag1","hashtag2"]},{"1399708984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399709021, 1399709092, 1399709056, 1399708931, 1399708894, 1399708984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72380709648132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:02:42.616770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_45_1738.jpg', '/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_51_2713.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_15_2878.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_24_3690.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_35_2797.jpg', '/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_42_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_45_1738.jpg
/home/pi/Desktop/images/06112025/18/12/image_06112025_18_12_51_2713.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_15_2878.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_24_3690.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_35_2797.jpg
/home/pi/Desktop/images/06112025/18/13/image_06112025_18_13_42_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399709100","1399709102","1399709131","1399709097","1399709101","1399709187"],"photo_ids_order":["1399709097","1399709100","1399709101","1399709102","1399709131","1399709187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7485e5e71e7c3dcfaf398280cf0e2429.jpg","text":"TemporaryFile(/tmp/multipartBody7197819608273933981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919023233,"filename":"image_06112025_18_12_51_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/16/f481bd9956ed73c762d7c9cbba6327d3.jpg","text":"TemporaryFile(/tmp/multipartBody9039968953355281425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919023233,"filename":"image_06112025_18_13_24_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/16/2c73759b8de8592b17babfcb422a9f66.jpg","text":"TemporaryFile(/tmp/multipartBody5238778250042934094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919023233,"filename":"image_06112025_18_13_35_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/16/87c540cf2cb1a4314d16d9736290e144.jpg","text":"TemporaryFile(/tmp/multipartBody4038353685961739644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919023233,"filename":"image_06112025_18_12_45_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afb9469da48d9237416033800230d3fa.jpg","text":"TemporaryFile(/tmp/multipartBody1259016289051494989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919023233,"filename":"image_06112025_18_13_15_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/16/c056facc4303f60e7be1429b4a35fe19.jpg","text":"TemporaryFile(/tmp/multipartBody7804856762384135593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919023233,"filename":"image_06112025_18_13_42_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399709101","file1":"1399709100","file0":"1399709097","file4":"1399709131","file5":"1399709187","file3":"1399709102"},"map_files_photo_id_array":[{"photo_id":"1399709187","filename":"file5"},{"photo_id":"1399709101","filename":"file2"},{"photo_id":"1399709131","filename":"file4"},{"photo_id":"1399709100","filename":"file1"},{"photo_id":"1399709097","filename":"file0"},{"photo_id":"1399709102","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399709100":["hashtag1","hashtag2"]},{"1399709102":["hashtag1","hashtag2"]},{"1399709131":["hashtag1","hashtag2"]},{"1399709097":["hashtag1","hashtag2"]},{"1399709101":["hashtag1","hashtag2"]},{"1399709187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399709100, 1399709102, 1399709131, 1399709097, 1399709101, 1399709187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3311402797699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:03:21.903075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_45_9646.jpg', '/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_56_10631.jpg', '/home/pi/Desktop/images/16122025/22/00/image_16122025_22_01_05_9746.jpg', '/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_15_9666.jpg', '/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_26_10755.jpg', '/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_35_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_45_9646.jpg
/home/pi/Desktop/images/16122025/22/00/image_16122025_22_00_56_10631.jpg
/home/pi/Desktop/images/16122025/22/00/image_16122025_22_01_05_9746.jpg
/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_15_9666.jpg
/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_26_10755.jpg
/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_35_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":["1399709666","1399709555","1399709456","1399709414","1399709515","1399709611"],"photo_ids_order":["1399709414","1399709456","1399709515","1399709555","1399709611","1399709666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e4b8018bfe2b2e3fdbfdd07387181ee.jpg","text":"TemporaryFile(/tmp/multipartBody200673554367206325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919062521,"filename":"image_16122025_22_01_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/16/8986fabdb1db6e4fa0ebd274225fed81.jpg","text":"TemporaryFile(/tmp/multipartBody8227243528166762791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919062521,"filename":"image_16122025_22_01_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aac9c4ad6cfdf86e347704c1f7cc40a0.jpg","text":"TemporaryFile(/tmp/multipartBody5675376752230262512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919062521,"filename":"image_16122025_22_00_56_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/16/518d90d3e2d4904cf07a0ab4cc4f3c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1980237317096752142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919062521,"filename":"image_16122025_22_00_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/16/4ccb65e7c06f8488955d9586619a98ad.jpg","text":"TemporaryFile(/tmp/multipartBody1670815378183408498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919062521,"filename":"image_16122025_22_01_05_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31307603aed64fc62004e6539d69c853.jpg","text":"TemporaryFile(/tmp/multipartBody9161599461032375605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919062521,"filename":"image_16122025_22_01_26_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399709515","file1":"1399709456","file0":"1399709414","file4":"1399709611","file5":"1399709666","file3":"1399709555"},"map_files_photo_id_array":[{"photo_id":"1399709666","filename":"file5"},{"photo_id":"1399709515","filename":"file2"},{"photo_id":"1399709611","filename":"file4"},{"photo_id":"1399709456","filename":"file1"},{"photo_id":"1399709414","filename":"file0"},{"photo_id":"1399709555","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399709666":["hashtag1","hashtag2"]},{"1399709555":["hashtag1","hashtag2"]},{"1399709456":["hashtag1","hashtag2"]},{"1399709414":["hashtag1","hashtag2"]},{"1399709515":["hashtag1","hashtag2"]},{"1399709611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399709666, 1399709555, 1399709456, 1399709414, 1399709515, 1399709611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64777207374573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:04:02.880935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_45_9720.jpg', '/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_55_9792.jpg', '/home/pi/Desktop/images/16122025/22/01/image_16122025_22_02_06_10757.jpg', '/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_16_9778.jpg', '/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_25_9613.jpg', '/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_36_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_45_9720.jpg
/home/pi/Desktop/images/16122025/22/01/image_16122025_22_01_55_9792.jpg
/home/pi/Desktop/images/16122025/22/01/image_16122025_22_02_06_10757.jpg
/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_16_9778.jpg
/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_25_9613.jpg
/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_36_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":["1399709855","1399709810","1399709857","1399709848","1399709856","1399709859"],"photo_ids_order":["1399709810","1399709848","1399709855","1399709856","1399709857","1399709859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ce9f95a83fb8c323d408bf8dafb51b1.jpg","text":"TemporaryFile(/tmp/multipartBody1191825583464313710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919103534,"filename":"image_16122025_22_02_06_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/16/e6a1389d600a79366a73ad617fd0637c.jpg","text":"TemporaryFile(/tmp/multipartBody8100463299115121466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919103534,"filename":"image_16122025_22_01_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/409b7a025ececd5cf4953c9b9385b919.jpg","text":"TemporaryFile(/tmp/multipartBody896589556258194526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919103534,"filename":"image_16122025_22_02_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5f947cdaa3475cb80a50618c92cfada.jpg","text":"TemporaryFile(/tmp/multipartBody3223972694785452881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919103534,"filename":"image_16122025_22_01_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/16/e18338996d3442ef42f9830a805da037.jpg","text":"TemporaryFile(/tmp/multipartBody2496695778752516462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919103534,"filename":"image_16122025_22_02_16_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/16/b378d02854b4dc122ce757fcc8e9f508.jpg","text":"TemporaryFile(/tmp/multipartBody7956856315892404767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919103534,"filename":"image_16122025_22_02_36_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399709855","file1":"1399709848","file0":"1399709810","file4":"1399709857","file5":"1399709859","file3":"1399709856"},"map_files_photo_id_array":[{"photo_id":"1399709859","filename":"file5"},{"photo_id":"1399709855","filename":"file2"},{"photo_id":"1399709857","filename":"file4"},{"photo_id":"1399709848","filename":"file1"},{"photo_id":"1399709810","filename":"file0"},{"photo_id":"1399709856","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399709855":["hashtag1","hashtag2"]},{"1399709810":["hashtag1","hashtag2"]},{"1399709857":["hashtag1","hashtag2"]},{"1399709848":["hashtag1","hashtag2"]},{"1399709856":["hashtag1","hashtag2"]},{"1399709859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399709855, 1399709810, 1399709857, 1399709848, 1399709856, 1399709859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18001675605774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:04:42.082310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_18_2938.jpg', '/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_24_3566.jpg', '/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_33_3638.jpg', '/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_54_2565.jpg', '/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_03_2538.jpg', '/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_08_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_18_2938.jpg
/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_24_3566.jpg
/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_33_3638.jpg
/home/pi/Desktop/images/06112025/18/14/image_06112025_18_14_54_2565.jpg
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_03_2538.jpg
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_08_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399710141","1399710230","1399710073","1399710289","1399710334","1399710186"],"photo_ids_order":["1399710073","1399710141","1399710186","1399710230","1399710289","1399710334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8dbb8e3159325e37799e52f5d4aa2a00.jpg","text":"TemporaryFile(/tmp/multipartBody1022507587940058227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919142852,"filename":"image_06112025_18_14_24_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/16/77753c8613c4efa321ba0ccf82bd6c37.jpg","text":"TemporaryFile(/tmp/multipartBody2930578178981675129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919142852,"filename":"image_06112025_18_14_54_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b2699c74edfa86592136da57424ba875.jpg","text":"TemporaryFile(/tmp/multipartBody462866808646068074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919142852,"filename":"image_06112025_18_14_18_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/63838d0afc24bc43fc0f190207e1557e.jpg","text":"TemporaryFile(/tmp/multipartBody5974956290437832393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919142852,"filename":"image_06112025_18_15_03_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/16/0dad05838cb5a6d0b6b8116cae0a3b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3353274889829221216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919142852,"filename":"image_06112025_18_15_08_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/16/a1e563baa03815c14858251241ad7ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8119465188712634009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919142852,"filename":"image_06112025_18_14_33_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399710186","file1":"1399710141","file0":"1399710073","file4":"1399710289","file5":"1399710334","file3":"1399710230"},"map_files_photo_id_array":[{"photo_id":"1399710334","filename":"file5"},{"photo_id":"1399710186","filename":"file2"},{"photo_id":"1399710289","filename":"file4"},{"photo_id":"1399710141","filename":"file1"},{"photo_id":"1399710073","filename":"file0"},{"photo_id":"1399710230","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399710141":["hashtag1","hashtag2"]},{"1399710230":["hashtag1","hashtag2"]},{"1399710073":["hashtag1","hashtag2"]},{"1399710289":["hashtag1","hashtag2"]},{"1399710334":["hashtag1","hashtag2"]},{"1399710186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399710141, 1399710230, 1399710073, 1399710289, 1399710334, 1399710186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45787525177002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:05:22.436194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_45_9642.jpg', '/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_55_9889.jpg', '/home/pi/Desktop/images/16122025/22/02/image_16122025_22_03_05_9688.jpg', '/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_16_10621.jpg', '/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_25_9717.jpg', '/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_35_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_45_9642.jpg
/home/pi/Desktop/images/16122025/22/02/image_16122025_22_02_55_9889.jpg
/home/pi/Desktop/images/16122025/22/02/image_16122025_22_03_05_9688.jpg
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_16_10621.jpg
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_25_9717.jpg
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_35_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399710686","1399710638","1399710481","1399710559","1399710597","1399710520"],"photo_ids_order":["1399710481","1399710520","1399710559","1399710597","1399710638","1399710686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39f67e8537c8a0d1b016a90ac511b870.jpg","text":"TemporaryFile(/tmp/multipartBody4757552034772790743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919183014,"filename":"image_16122025_22_03_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/16/77321ac66a591da067bab4201925acd2.jpg","text":"TemporaryFile(/tmp/multipartBody5332428437923830369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919183014,"filename":"image_16122025_22_03_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/53d4aa41277db67d638000739a4cb93a.jpg","text":"TemporaryFile(/tmp/multipartBody15202668598253438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919183014,"filename":"image_16122025_22_02_45_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/16/249ecae310c7c8546fe00f8016f40084.jpg","text":"TemporaryFile(/tmp/multipartBody8945446014285243695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919183014,"filename":"image_16122025_22_03_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/16/3747857653fa0861f3f3fe7bc7c2a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody3026681379864399207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919183014,"filename":"image_16122025_22_03_16_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/16/dd242022f49828f765a8fa6744d3cb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4119607783041213739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919183014,"filename":"image_16122025_22_02_55_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399710559","file1":"1399710520","file0":"1399710481","file4":"1399710638","file5":"1399710686","file3":"1399710597"},"map_files_photo_id_array":[{"photo_id":"1399710686","filename":"file5"},{"photo_id":"1399710559","filename":"file2"},{"photo_id":"1399710638","filename":"file4"},{"photo_id":"1399710520","filename":"file1"},{"photo_id":"1399710481","filename":"file0"},{"photo_id":"1399710597","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399710686":["hashtag1","hashtag2"]},{"1399710638":["hashtag1","hashtag2"]},{"1399710481":["hashtag1","hashtag2"]},{"1399710559":["hashtag1","hashtag2"]},{"1399710597":["hashtag1","hashtag2"]},{"1399710520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399710686, 1399710638, 1399710481, 1399710559, 1399710597, 1399710520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5226035118103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:06:02.978442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_46_10797.jpg', '/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_55_9706.jpg', '/home/pi/Desktop/images/16122025/22/03/image_16122025_22_04_05_9860.jpg', '/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_15_9745.jpg', '/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_55_9705.jpg', '/home/pi/Desktop/images/16122025/22/05/image_16122025_22_05_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_46_10797.jpg
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_55_9706.jpg
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_04_05_9860.jpg
/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_15_9745.jpg
/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_55_9705.jpg
/home/pi/Desktop/images/16122025/22/05/image_16122025_22_05_14_10053.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4659268856048584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:06:12.503343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:06:22.665228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_46_10797.jpg', '/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_55_9706.jpg', '/home/pi/Desktop/images/16122025/22/03/image_16122025_22_04_05_9860.jpg', '/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_15_9745.jpg', '/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_55_9705.jpg', '/home/pi/Desktop/images/16122025/22/05/image_16122025_22_05_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_46_10797.jpg
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_03_55_9706.jpg
/home/pi/Desktop/images/16122025/22/03/image_16122025_22_04_05_9860.jpg
/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_15_9745.jpg
/home/pi/Desktop/images/16122025/22/04/image_16122025_22_04_55_9705.jpg
/home/pi/Desktop/images/16122025/22/05/image_16122025_22_05_14_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399711373","1399711148","1399711294","1399711249","1399711332","1399711212"],"photo_ids_order":["1399711148","1399711212","1399711249","1399711294","1399711332","1399711373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8b3f3324d7cdad2a7a9a33f2f76b65f.jpg","text":"TemporaryFile(/tmp/multipartBody2193862167937187295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919243262,"filename":"image_16122025_22_05_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2cdfbf039ef24bab5892648f5064ced3.jpg","text":"TemporaryFile(/tmp/multipartBody4260817319288613030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919243262,"filename":"image_16122025_22_03_46_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/16/93c160a4f16deac5c88335cb8da9e582.jpg","text":"TemporaryFile(/tmp/multipartBody6235950917761351758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919243262,"filename":"image_16122025_22_04_15_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/16/683a4abab662ae2ca3c7886f6eff18de.jpg","text":"TemporaryFile(/tmp/multipartBody8124281235303537786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919243262,"filename":"image_16122025_22_04_05_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/16/9292a7e49c609c057c2dc5167ff3bbd0.jpg","text":"TemporaryFile(/tmp/multipartBody2557765187081366967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919243262,"filename":"image_16122025_22_04_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/058517862b0d6459d5c52060dbb96c95.jpg","text":"TemporaryFile(/tmp/multipartBody1185549788702257576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919243262,"filename":"image_16122025_22_03_55_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399711249","file1":"1399711212","file0":"1399711148","file4":"1399711332","file5":"1399711373","file3":"1399711294"},"map_files_photo_id_array":[{"photo_id":"1399711373","filename":"file5"},{"photo_id":"1399711249","filename":"file2"},{"photo_id":"1399711332","filename":"file4"},{"photo_id":"1399711212","filename":"file1"},{"photo_id":"1399711148","filename":"file0"},{"photo_id":"1399711294","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399711373":["hashtag1","hashtag2"]},{"1399711148":["hashtag1","hashtag2"]},{"1399711294":["hashtag1","hashtag2"]},{"1399711249":["hashtag1","hashtag2"]},{"1399711332":["hashtag1","hashtag2"]},{"1399711212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399711373, 1399711148, 1399711294, 1399711249, 1399711332, 1399711212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.164652824401855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:07:03.260377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/05/image_16122025_22_05_24_10675.jpg', '/home/pi/Desktop/images/16122025/22/05/image_16122025_22_06_04_9806.jpg', '/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_15_10656.jpg', '/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_24_9625.jpg', '/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_34_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/05/image_16122025_22_05_24_10675.jpg
/home/pi/Desktop/images/16122025/22/05/image_16122025_22_06_04_9806.jpg
/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_15_10656.jpg
/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_24_9625.jpg
/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_34_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399711649","1399711508","1399711789","1399711720","1399711581"],"photo_ids_order":["1399711508","1399711581","1399711649","1399711720","1399711789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/165e921f62e69788ccd561fbf25d3fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1982242892592464180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919283886,"filename":"image_16122025_22_06_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/16/844ba3cc4f476f079c7b7c7fe40fca32.jpg","text":"TemporaryFile(/tmp/multipartBody733508057753063350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919283886,"filename":"image_16122025_22_05_24_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/79e454e803ad18dbe6e62ed89791346e.jpg","text":"TemporaryFile(/tmp/multipartBody8712908198889305039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919283886,"filename":"image_16122025_22_06_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8ca704037345f59e6e9d15abbe2d7616.jpg","text":"TemporaryFile(/tmp/multipartBody6408635520232087705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919283886,"filename":"image_16122025_22_06_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c740ec23dc90cae706d20a711b9b18b7.jpg","text":"TemporaryFile(/tmp/multipartBody8103157971868999766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919283886,"filename":"image_16122025_22_06_04_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399711649","file1":"1399711581","file0":"1399711508","file4":"1399711789","file3":"1399711720"},"map_files_photo_id_array":[{"photo_id":"1399711649","filename":"file2"},{"photo_id":"1399711789","filename":"file4"},{"photo_id":"1399711581","filename":"file1"},{"photo_id":"1399711508","filename":"file0"},{"photo_id":"1399711720","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399711649":["hashtag1","hashtag2"]},{"1399711508":["hashtag1","hashtag2"]},{"1399711789":["hashtag1","hashtag2"]},{"1399711720":["hashtag1","hashtag2"]},{"1399711581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399711649, 1399711508, 1399711789, 1399711720, 1399711581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.522172927856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:07:42.739490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_15_3789.jpg', '/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_18_2691.jpg', '/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_27_3639.jpg', '/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_39_3621.jpg', '/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_53_2766.jpg', '/home/pi/Desktop/images/06112025/18/15/image_06112025_18_16_00_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_15_3789.jpg
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_18_2691.jpg
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_27_3639.jpg
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_39_3621.jpg
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_15_53_2766.jpg
/home/pi/Desktop/images/06112025/18/15/image_06112025_18_16_00_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399712114","1399712057","1399712138","1399712173","1399712167","1399712125"],"photo_ids_order":["1399712057","1399712114","1399712125","1399712138","1399712167","1399712173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c8cfb9817e067f39234d319913a07d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5546860342530210012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919323472,"filename":"image_06112025_18_15_18_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/16/8dd3baf55743d5be6dfb4ca63fc37c88.jpg","text":"TemporaryFile(/tmp/multipartBody7130708184658601661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919323472,"filename":"image_06112025_18_15_15_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a1396defc372f55e92c2e8d2af8169d.jpg","text":"TemporaryFile(/tmp/multipartBody8627941835457908926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919323472,"filename":"image_06112025_18_15_39_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/16/39b5f4590fe494a350a126197d537fef.jpg","text":"TemporaryFile(/tmp/multipartBody6576671505193285269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919323472,"filename":"image_06112025_18_16_00_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/094dfe670acf52fac1871efbac12d2ad.jpg","text":"TemporaryFile(/tmp/multipartBody1723926307181651340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919323472,"filename":"image_06112025_18_15_53_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/16/0dcd3a3ff1418d62f9b035432ad5e1ee.jpg","text":"TemporaryFile(/tmp/multipartBody7825460662815784826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919323472,"filename":"image_06112025_18_15_27_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399712125","file1":"1399712114","file0":"1399712057","file4":"1399712167","file5":"1399712173","file3":"1399712138"},"map_files_photo_id_array":[{"photo_id":"1399712173","filename":"file5"},{"photo_id":"1399712125","filename":"file2"},{"photo_id":"1399712167","filename":"file4"},{"photo_id":"1399712114","filename":"file1"},{"photo_id":"1399712057","filename":"file0"},{"photo_id":"1399712138","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399712114":["hashtag1","hashtag2"]},{"1399712057":["hashtag1","hashtag2"]},{"1399712138":["hashtag1","hashtag2"]},{"1399712173":["hashtag1","hashtag2"]},{"1399712167":["hashtag1","hashtag2"]},{"1399712125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399712114, 1399712057, 1399712138, 1399712173, 1399712167, 1399712125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33335781097412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:08:22.024608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_45_10748.jpg', '/home/pi/Desktop/images/16122025/22/06/image_16122025_22_07_04_9636.jpg', '/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_15_10641.jpg', '/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_24_9657.jpg', '/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_34_9756.jpg', '/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/06/image_16122025_22_06_45_10748.jpg
/home/pi/Desktop/images/16122025/22/06/image_16122025_22_07_04_9636.jpg
/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_15_10641.jpg
/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_24_9657.jpg
/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_34_9756.jpg
/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_44_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":["1399712333","1399712221","1399712187","1399712346","1399712297","1399712258"],"photo_ids_order":["1399712187","1399712221","1399712258","1399712297","1399712333","1399712346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eaa5d240a63f8f05c1b20c61882aecae.jpg","text":"TemporaryFile(/tmp/multipartBody6807218342134567977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919362630,"filename":"image_16122025_22_07_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/16/75a7809826499d82f488aed011b3b1cd.jpg","text":"TemporaryFile(/tmp/multipartBody7616091078264224641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919362630,"filename":"image_16122025_22_07_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/16/ddbb5c0381fcd5457043f64918aa80d7.jpg","text":"TemporaryFile(/tmp/multipartBody6605301828272028003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919362630,"filename":"image_16122025_22_06_45_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a3e940840ecc4fee42c73d6c2e614eb.jpg","text":"TemporaryFile(/tmp/multipartBody2046398827072815858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919362630,"filename":"image_16122025_22_07_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6a8689e0d147636feedbf5b265a6bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5791929871070251381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919362630,"filename":"image_16122025_22_07_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/16/d075700d09268cea80de39fb1cb79e96.jpg","text":"TemporaryFile(/tmp/multipartBody1551603941111749162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919362630,"filename":"image_16122025_22_07_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399712258","file1":"1399712221","file0":"1399712187","file4":"1399712333","file5":"1399712346","file3":"1399712297"},"map_files_photo_id_array":[{"photo_id":"1399712346","filename":"file5"},{"photo_id":"1399712258","filename":"file2"},{"photo_id":"1399712333","filename":"file4"},{"photo_id":"1399712221","filename":"file1"},{"photo_id":"1399712187","filename":"file0"},{"photo_id":"1399712297","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399712333":["hashtag1","hashtag2"]},{"1399712221":["hashtag1","hashtag2"]},{"1399712187":["hashtag1","hashtag2"]},{"1399712346":["hashtag1","hashtag2"]},{"1399712297":["hashtag1","hashtag2"]},{"1399712258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399712333, 1399712221, 1399712187, 1399712346, 1399712297, 1399712258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35004758834839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:09:02.888523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_55_10791.jpg', '/home/pi/Desktop/images/16122025/22/08/image_16122025_22_08_14_9693.jpg', '/home/pi/Desktop/images/16122025/22/08/image_16122025_22_08_25_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/07/image_16122025_22_07_55_10791.jpg
/home/pi/Desktop/images/16122025/22/08/image_16122025_22_08_14_9693.jpg
/home/pi/Desktop/images/16122025/22/08/image_16122025_22_08_25_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399712438","1399712397","1399712409"],"photo_ids_order":["1399712397","1399712409","1399712438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0b21124dab3946e63eba4ca6bed5846.jpg","text":"TemporaryFile(/tmp/multipartBody4600554909699793762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919403402,"filename":"image_16122025_22_08_25_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42f8a1448c8988a04848e01e0be16235.jpg","text":"TemporaryFile(/tmp/multipartBody204567193925555536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919403402,"filename":"image_16122025_22_07_55_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/171c1e2563fc277fef8bf0202c7696b3.jpg","text":"TemporaryFile(/tmp/multipartBody8689550661693720975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919403402,"filename":"image_16122025_22_08_14_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399712438","file1":"1399712409","file0":"1399712397"},"map_files_photo_id_array":[{"photo_id":"1399712438","filename":"file2"},{"photo_id":"1399712409","filename":"file1"},{"photo_id":"1399712397","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399712438":["hashtag1","hashtag2"]},{"1399712397":["hashtag1","hashtag2"]},{"1399712409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399712438, 1399712397, 1399712409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.107657194137573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:09:32.201920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:09:42.166748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_11_2749.jpg', '/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_15_3634.jpg', '/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_04_3020.jpg', '/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_17_2713.jpg', '/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_36_3543.jpg', '/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_38_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_11_2749.jpg
/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_15_3634.jpg
/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_04_3020.jpg
/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_17_2713.jpg
/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_36_3543.jpg
/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_38_2774.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6395161151885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:10:02.867256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/08/image_16122025_22_08_34_9547.jpg', '/home/pi/Desktop/images/16122025/22/09/image_16122025_22_09_24_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/08/image_16122025_22_08_34_9547.jpg
/home/pi/Desktop/images/16122025/22/09/image_16122025_22_09_24_10714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399712459","1399712457"],"photo_ids_order":["1399712457","1399712459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42cb2c20e4b1967436ff267f0bd484a4.jpg","text":"TemporaryFile(/tmp/multipartBody9058358839579993220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919463301,"filename":"image_16122025_22_09_24_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/16/181992fe96695c5551ac923c7b006306.jpg","text":"TemporaryFile(/tmp/multipartBody5410025574754630272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919463301,"filename":"image_16122025_22_08_34_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399712459","file0":"1399712457"},"map_files_photo_id_array":[{"photo_id":"1399712459","filename":"file1"},{"photo_id":"1399712457","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399712459":["hashtag1","hashtag2"]},{"1399712457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399712459, 1399712457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.34672975540161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:10:22.449196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_11_2749.jpg', '/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_15_3634.jpg', '/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_04_3020.jpg', '/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_17_2713.jpg', '/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_36_3543.jpg', '/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_38_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_11_2749.jpg
/home/pi/Desktop/images/06112025/18/16/image_06112025_18_16_15_3634.jpg
/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_04_3020.jpg
/home/pi/Desktop/images/06112025/18/17/image_06112025_18_17_17_2713.jpg
/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_36_3543.jpg
/home/pi/Desktop/images/06112025/18/19/image_06112025_18_19_38_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399712467","1399712469","1399712463","1399712472","1399712466","1399712460"],"photo_ids_order":["1399712460","1399712463","1399712466","1399712467","1399712469","1399712472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0515891a17ad9b3e6498d7b917f210ea.jpg","text":"TemporaryFile(/tmp/multipartBody2792600425711524186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919483046,"filename":"image_06112025_18_17_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/16/0dd3a9c599295a781bd6db5b515db9d7.jpg","text":"TemporaryFile(/tmp/multipartBody570469345338857304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919483046,"filename":"image_06112025_18_19_36_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/16/1cb004dfd15883e63c940326615a9c55.jpg","text":"TemporaryFile(/tmp/multipartBody3832098542054785452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919483046,"filename":"image_06112025_18_16_15_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70478a8ad43f5723d45d1f6bbc6ebc6f.jpg","text":"TemporaryFile(/tmp/multipartBody6279666235741306946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919483046,"filename":"image_06112025_18_19_38_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1609f3009a89e23ef11dc6a9f1a9b62.jpg","text":"TemporaryFile(/tmp/multipartBody6040851914952788181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919483046,"filename":"image_06112025_18_17_04_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5358096d5b9cb83b788ea1c3f9246171.jpg","text":"TemporaryFile(/tmp/multipartBody7271342840783739480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919483046,"filename":"image_06112025_18_16_11_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399712466","file1":"1399712463","file0":"1399712460","file4":"1399712469","file5":"1399712472","file3":"1399712467"},"map_files_photo_id_array":[{"photo_id":"1399712472","filename":"file5"},{"photo_id":"1399712466","filename":"file2"},{"photo_id":"1399712469","filename":"file4"},{"photo_id":"1399712463","filename":"file1"},{"photo_id":"1399712460","filename":"file0"},{"photo_id":"1399712467","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399712467":["hashtag1","hashtag2"]},{"1399712469":["hashtag1","hashtag2"]},{"1399712463":["hashtag1","hashtag2"]},{"1399712472":["hashtag1","hashtag2"]},{"1399712466":["hashtag1","hashtag2"]},{"1399712460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399712467, 1399712469, 1399712463, 1399712472, 1399712466, 1399712460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.06737995147705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:11:22.657058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/09/image_16122025_22_09_34_9697.jpg', '/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_14_10040.jpg', '/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_24_10704.jpg', '/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_34_9671.jpg', '/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_44_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/09/image_16122025_22_09_34_9697.jpg
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_14_10040.jpg
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_24_10704.jpg
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_34_9671.jpg
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_44_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":["1399712479","1399712481","1399712475","1399712483","1399712477"],"photo_ids_order":["1399712475","1399712477","1399712479","1399712481","1399712483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0b0f0101346b913fae4787901435788e.jpg","text":"TemporaryFile(/tmp/multipartBody1051227205590015787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919543199,"filename":"image_16122025_22_11_24_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50b89d871d6cf50a24ed1dca5a877ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2577611948314366872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919543199,"filename":"image_16122025_22_11_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/16/30e77f10ed0df981085bf88835863131.jpg","text":"TemporaryFile(/tmp/multipartBody8133102736520180260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919543199,"filename":"image_16122025_22_09_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d7a98e1e568009bcafbf3e8ad01c555.jpg","text":"TemporaryFile(/tmp/multipartBody5142542583416908993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919543199,"filename":"image_16122025_22_11_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/16/b0b05349020a63158d83770d0c88a44f.jpg","text":"TemporaryFile(/tmp/multipartBody8615194938715728936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919543199,"filename":"image_16122025_22_11_14_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399712479","file1":"1399712477","file0":"1399712475","file4":"1399712483","file3":"1399712481"},"map_files_photo_id_array":[{"photo_id":"1399712479","filename":"file2"},{"photo_id":"1399712483","filename":"file4"},{"photo_id":"1399712477","filename":"file1"},{"photo_id":"1399712475","filename":"file0"},{"photo_id":"1399712481","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399712479":["hashtag1","hashtag2"]},{"1399712481":["hashtag1","hashtag2"]},{"1399712475":["hashtag1","hashtag2"]},{"1399712483":["hashtag1","hashtag2"]},{"1399712477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399712479, 1399712481, 1399712475, 1399712483, 1399712477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.825623989105225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:12:02.209263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:12:11.882074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:12:21.899548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_55_10717.jpg', '/home/pi/Desktop/images/16122025/22/11/image_16122025_22_12_04_9637.jpg', '/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_24_9891.jpg', '/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_34_10511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_55_10717.jpg
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_12_04_9637.jpg
/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_24_9891.jpg
/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_34_10511.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38071513175964355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:12:31.953967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:12:41.898800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_29_3673.jpg', '/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_32_2832.jpg', '/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_38_2640.jpg', '/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_42_3886.jpg', '/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_50_2740.jpg', '/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_56_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_29_3673.jpg
/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_32_2832.jpg
/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_38_2640.jpg
/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_42_3886.jpg
/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_50_2740.jpg
/home/pi/Desktop/images/06112025/18/20/image_06112025_18_20_56_2541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399712504","1399712507","1399712503","1399712499","1399712502","1399712505"],"photo_ids_order":["1399712499","1399712502","1399712503","1399712504","1399712505","1399712507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12f324258829447b34af453924a5bcfc.jpg","text":"TemporaryFile(/tmp/multipartBody8529017225089067404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919622636,"filename":"image_06112025_18_20_42_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/16/68107e3f9031b5dbcc8e77a22dd4bab9.jpg","text":"TemporaryFile(/tmp/multipartBody4368653307001557356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919622636,"filename":"image_06112025_18_20_56_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/16/215c4bae7939800bd8d1f4e2c6255953.jpg","text":"TemporaryFile(/tmp/multipartBody4354601820650446057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919622636,"filename":"image_06112025_18_20_38_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/16/232dbe0abb052f4e7cdd01ee86ca02ed.jpg","text":"TemporaryFile(/tmp/multipartBody3807547162156531065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919622636,"filename":"image_06112025_18_20_29_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/16/c29c12832fbd2127e43acce9cd4a7d41.jpg","text":"TemporaryFile(/tmp/multipartBody1464683787311692297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919622636,"filename":"image_06112025_18_20_32_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/16/7b5ea5426da59076ac721279c6234cce.jpg","text":"TemporaryFile(/tmp/multipartBody9145376708948748597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919622636,"filename":"image_06112025_18_20_50_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399712503","file1":"1399712502","file0":"1399712499","file4":"1399712505","file5":"1399712507","file3":"1399712504"},"map_files_photo_id_array":[{"photo_id":"1399712507","filename":"file5"},{"photo_id":"1399712503","filename":"file2"},{"photo_id":"1399712505","filename":"file4"},{"photo_id":"1399712502","filename":"file1"},{"photo_id":"1399712499","filename":"file0"},{"photo_id":"1399712504","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399712504":["hashtag1","hashtag2"]},{"1399712507":["hashtag1","hashtag2"]},{"1399712503":["hashtag1","hashtag2"]},{"1399712499":["hashtag1","hashtag2"]},{"1399712502":["hashtag1","hashtag2"]},{"1399712505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399712504, 1399712507, 1399712503, 1399712499, 1399712502, 1399712505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70306444168091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:13:22.147680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_55_10717.jpg', '/home/pi/Desktop/images/16122025/22/11/image_16122025_22_12_04_9637.jpg', '/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_24_9891.jpg', '/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_34_10511.jpg', '/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_44_9693.jpg', '/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_14_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_11_55_10717.jpg
/home/pi/Desktop/images/16122025/22/11/image_16122025_22_12_04_9637.jpg
/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_24_9891.jpg
/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_34_10511.jpg
/home/pi/Desktop/images/16122025/22/12/image_16122025_22_12_44_9693.jpg
/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_14_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399712791","1399712881","1399712599","1399712668","1399712634","1399712709"],"photo_ids_order":["1399712599","1399712634","1399712668","1399712709","1399712791","1399712881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3421cdf7ea8dd3ed2a066b409e0990e7.jpg","text":"TemporaryFile(/tmp/multipartBody5019672212150503270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919662716,"filename":"image_16122025_22_12_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/16/e93cd603aeb7d7d0edcffb088fcf1ed1.jpg","text":"TemporaryFile(/tmp/multipartBody230317829338125849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919662716,"filename":"image_16122025_22_13_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18a9540c1f1935ad2d11bd7ab9021ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2750843946756833467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919662716,"filename":"image_16122025_22_11_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d5abd8d5f3fd94bcad9d97f3a091821.jpg","text":"TemporaryFile(/tmp/multipartBody8733193559250458372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919662716,"filename":"image_16122025_22_12_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/16/8d55ffbac34799ed977f3ef84a288ba3.jpg","text":"TemporaryFile(/tmp/multipartBody9110669951792518743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919662716,"filename":"image_16122025_22_12_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/16/720a06b91ddf186fc312613114cefd5b.jpg","text":"TemporaryFile(/tmp/multipartBody1373445777847216861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919662716,"filename":"image_16122025_22_12_34_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399712668","file1":"1399712634","file0":"1399712599","file4":"1399712791","file5":"1399712881","file3":"1399712709"},"map_files_photo_id_array":[{"photo_id":"1399712881","filename":"file5"},{"photo_id":"1399712668","filename":"file2"},{"photo_id":"1399712791","filename":"file4"},{"photo_id":"1399712634","filename":"file1"},{"photo_id":"1399712599","filename":"file0"},{"photo_id":"1399712709","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399712791":["hashtag1","hashtag2"]},{"1399712881":["hashtag1","hashtag2"]},{"1399712599":["hashtag1","hashtag2"]},{"1399712668":["hashtag1","hashtag2"]},{"1399712634":["hashtag1","hashtag2"]},{"1399712709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399712791, 1399712881, 1399712599, 1399712668, 1399712634, 1399712709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.940393686294556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:14:22.388629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_24_9836.jpg', '/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_34_10671.jpg', '/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_44_9693.jpg', '/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_54_9859.jpg', '/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_14_9592.jpg', '/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_24_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_24_9836.jpg
/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_34_10671.jpg
/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_44_9693.jpg
/home/pi/Desktop/images/16122025/22/13/image_16122025_22_13_54_9859.jpg
/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_14_9592.jpg
/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_24_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":["1399713241","1399713205","1399713090","1399713168","1399713132","1399713278"],"photo_ids_order":["1399713090","1399713132","1399713168","1399713205","1399713241","1399713278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c7f6ee63fa626c67f9faca1443d4211.jpg","text":"TemporaryFile(/tmp/multipartBody5553088648927587816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919722960,"filename":"image_16122025_22_14_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/16/33ea4ca5143e9f04a9ac683b5076b23a.jpg","text":"TemporaryFile(/tmp/multipartBody7630036734397675194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919722960,"filename":"image_16122025_22_13_54_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2380027d30ebbaaa09ad8087672df815.jpg","text":"TemporaryFile(/tmp/multipartBody1872071174268672476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919722960,"filename":"image_16122025_22_13_24_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1abfbe117042f2094d7364e39e1e28e.jpg","text":"TemporaryFile(/tmp/multipartBody2416459965257338052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919722960,"filename":"image_16122025_22_13_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/16/c1668f2393cc7d4424398c34434f90a6.jpg","text":"TemporaryFile(/tmp/multipartBody4047393885198471400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919722960,"filename":"image_16122025_22_13_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/16/4e4f96078848ca35705b968c69667772.jpg","text":"TemporaryFile(/tmp/multipartBody2305663217230222083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919722960,"filename":"image_16122025_22_14_24_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399713168","file1":"1399713132","file0":"1399713090","file4":"1399713241","file5":"1399713278","file3":"1399713205"},"map_files_photo_id_array":[{"photo_id":"1399713278","filename":"file5"},{"photo_id":"1399713168","filename":"file2"},{"photo_id":"1399713241","filename":"file4"},{"photo_id":"1399713132","filename":"file1"},{"photo_id":"1399713090","filename":"file0"},{"photo_id":"1399713205","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399713241":["hashtag1","hashtag2"]},{"1399713205":["hashtag1","hashtag2"]},{"1399713090":["hashtag1","hashtag2"]},{"1399713168":["hashtag1","hashtag2"]},{"1399713132":["hashtag1","hashtag2"]},{"1399713278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399713241, 1399713205, 1399713090, 1399713168, 1399713132, 1399713278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02739858627319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:15:03.305885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_34_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_34_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399713302"],"photo_id":"1399713302","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bb531b8c92edfaca8c493f450d29da6.jpg","text":"TemporaryFile(/tmp/multipartBody826203838980535737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919763723,"filename":"image_16122025_22_14_34_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399713302"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399713302"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.590456485748291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:15:22.619880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_02_2602.jpg', '/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_20_1701.jpg', '/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_32_1561.jpg', '/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_56_1739.jpg', '/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_02_2691.jpg', '/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_08_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_02_2602.jpg
/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_20_1701.jpg
/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_32_1561.jpg
/home/pi/Desktop/images/06112025/18/21/image_06112025_18_21_56_1739.jpg
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_02_2691.jpg
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_08_3683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399713304","1399713307","1399713306","1399713303","1399713335","1399713305"],"photo_ids_order":["1399713303","1399713304","1399713305","1399713306","1399713307","1399713335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5016780be5bb5c0d46be03afd20b9f2a.jpg","text":"TemporaryFile(/tmp/multipartBody2480235559029267815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919783346,"filename":"image_06112025_18_21_20_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/16/ecc41b66197934580cc66b54ae523fff.jpg","text":"TemporaryFile(/tmp/multipartBody6954715745356589923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919783346,"filename":"image_06112025_18_22_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/16/14510832bd6885c94801f652a8428212.jpg","text":"TemporaryFile(/tmp/multipartBody5315344987637675682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919783346,"filename":"image_06112025_18_21_56_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/16/da959a958de25f2fb5a27206d9effb05.jpg","text":"TemporaryFile(/tmp/multipartBody2751301338324117979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919783346,"filename":"image_06112025_18_21_02_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab149df6a83889a6e5274d847e533517.jpg","text":"TemporaryFile(/tmp/multipartBody1489557286013095739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919783346,"filename":"image_06112025_18_22_08_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/16/0a75b74e3f8c476cbbb71e6b381d1716.jpg","text":"TemporaryFile(/tmp/multipartBody789202993462501253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919783346,"filename":"image_06112025_18_21_32_1561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399713305","file1":"1399713304","file0":"1399713303","file4":"1399713307","file5":"1399713335","file3":"1399713306"},"map_files_photo_id_array":[{"photo_id":"1399713335","filename":"file5"},{"photo_id":"1399713305","filename":"file2"},{"photo_id":"1399713307","filename":"file4"},{"photo_id":"1399713304","filename":"file1"},{"photo_id":"1399713303","filename":"file0"},{"photo_id":"1399713306","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399713304":["hashtag1","hashtag2"]},{"1399713307":["hashtag1","hashtag2"]},{"1399713306":["hashtag1","hashtag2"]},{"1399713303":["hashtag1","hashtag2"]},{"1399713335":["hashtag1","hashtag2"]},{"1399713305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399713304, 1399713307, 1399713306, 1399713303, 1399713335, 1399713305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89811706542969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:16:02.389239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:16:11.893665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:16:21.956895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_44_10576.jpg', '/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_14_10037.jpg', '/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_25_10669.jpg', '/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_35_9716.jpg', '/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_44_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/14/image_16122025_22_14_44_10576.jpg
/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_14_10037.jpg
/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_25_10669.jpg
/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_35_9716.jpg
/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_44_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":["1399713598","1399713547","1399713546","1399713575","1399713592"],"photo_ids_order":["1399713546","1399713547","1399713575","1399713592","1399713598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ae1e80ddf86145eb6b292355a45a2cb8.jpg","text":"TemporaryFile(/tmp/multipartBody2296229682601185780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919842503,"filename":"image_16122025_22_16_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/16/a9898a728ced650659715c9b25a0c450.jpg","text":"TemporaryFile(/tmp/multipartBody1053531800218359737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919842503,"filename":"image_16122025_22_16_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ba2cab2902084706f82443bdfa3bfe5.jpg","text":"TemporaryFile(/tmp/multipartBody4001036064324895911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919842503,"filename":"image_16122025_22_14_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/16/a5ec026d71117ed62bde7173127db290.jpg","text":"TemporaryFile(/tmp/multipartBody8371354796228646404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919842503,"filename":"image_16122025_22_16_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eaa4777994485bdfb98e32930f429af0.jpg","text":"TemporaryFile(/tmp/multipartBody5689768825224497345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919842503,"filename":"image_16122025_22_16_35_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399713575","file1":"1399713547","file0":"1399713546","file4":"1399713598","file3":"1399713592"},"map_files_photo_id_array":[{"photo_id":"1399713575","filename":"file2"},{"photo_id":"1399713598","filename":"file4"},{"photo_id":"1399713547","filename":"file1"},{"photo_id":"1399713546","filename":"file0"},{"photo_id":"1399713592","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399713598":["hashtag1","hashtag2"]},{"1399713547":["hashtag1","hashtag2"]},{"1399713546":["hashtag1","hashtag2"]},{"1399713575":["hashtag1","hashtag2"]},{"1399713592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399713598, 1399713547, 1399713546, 1399713575, 1399713592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.24985599517822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:17:02.923245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:17:12.118569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:17:22.166706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_55_10626.jpg', '/home/pi/Desktop/images/16122025/22/16/image_16122025_22_17_05_9682.jpg', '/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_14_9657.jpg', '/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_25_10740.jpg', '/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_45_10562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/16/image_16122025_22_16_55_10626.jpg
/home/pi/Desktop/images/16122025/22/16/image_16122025_22_17_05_9682.jpg
/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_14_9657.jpg
/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_25_10740.jpg
/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_45_10562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399713766","1399713667","1399713664","1399713662","1399713815"],"photo_ids_order":["1399713662","1399713664","1399713667","1399713766","1399713815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d44279e3df980423e0d86cc699af00b.jpg","text":"TemporaryFile(/tmp/multipartBody1023872886817273302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919902679,"filename":"image_16122025_22_17_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e662137fc5e4eb71bbc3b9ae12b51a9.jpg","text":"TemporaryFile(/tmp/multipartBody7246186059529161203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919902679,"filename":"image_16122025_22_17_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/16/efdaaf43f825d770bbfe27d15940b98f.jpg","text":"TemporaryFile(/tmp/multipartBody45332858115121555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919902679,"filename":"image_16122025_22_17_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80371ba0ae2fc634136540a47f53760e.jpg","text":"TemporaryFile(/tmp/multipartBody8892598427396783432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919902679,"filename":"image_16122025_22_16_55_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/16/c6ca80628758a62ff809a106ada6fb37.jpg","text":"TemporaryFile(/tmp/multipartBody8791760383575340949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919902679,"filename":"image_16122025_22_17_45_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399713667","file1":"1399713664","file0":"1399713662","file4":"1399713815","file3":"1399713766"},"map_files_photo_id_array":[{"photo_id":"1399713667","filename":"file2"},{"photo_id":"1399713815","filename":"file4"},{"photo_id":"1399713664","filename":"file1"},{"photo_id":"1399713662","filename":"file0"},{"photo_id":"1399713766","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399713766":["hashtag1","hashtag2"]},{"1399713667":["hashtag1","hashtag2"]},{"1399713664":["hashtag1","hashtag2"]},{"1399713662":["hashtag1","hashtag2"]},{"1399713815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399713766, 1399713667, 1399713664, 1399713662, 1399713815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 59.44887733459473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:18:22.419572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_55_9595.jpg', '/home/pi/Desktop/images/16122025/22/17/image_16122025_22_18_05_9791.jpg', '/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_15_10609.jpg', '/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_25_9794.jpg', '/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_34_9574.jpg', '/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_44_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/17/image_16122025_22_17_55_9595.jpg
/home/pi/Desktop/images/16122025/22/17/image_16122025_22_18_05_9791.jpg
/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_15_10609.jpg
/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_25_9794.jpg
/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_34_9574.jpg
/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_44_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":["1399714135","1399714024","1399714248","1399713969","1399714076","1399714195"],"photo_ids_order":["1399713969","1399714024","1399714076","1399714135","1399714195","1399714248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3dd3de84662e9e19f126e62402d3b862.jpg","text":"TemporaryFile(/tmp/multipartBody283993384986047096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919962969,"filename":"image_16122025_22_18_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/16/4b2fd20d900c51b017ab6528b2238495.jpg","text":"TemporaryFile(/tmp/multipartBody4667862328175535664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919962969,"filename":"image_16122025_22_18_05_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8bca4f1df4e3117dd8335b7f355dfd8e.jpg","text":"TemporaryFile(/tmp/multipartBody4888861850803663624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919962969,"filename":"image_16122025_22_18_44_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ed94c3712c5b787917f7928678c3a099.jpg","text":"TemporaryFile(/tmp/multipartBody1918553446385499033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919962969,"filename":"image_16122025_22_17_55_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/16/720d587a998e2687345e2133e6b7c26c.jpg","text":"TemporaryFile(/tmp/multipartBody4274693469019529965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919962969,"filename":"image_16122025_22_18_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30dd7b934fdb99b5ae47891eadb24377.jpg","text":"TemporaryFile(/tmp/multipartBody6678993406832936328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765919962969,"filename":"image_16122025_22_18_34_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399714076","file1":"1399714024","file0":"1399713969","file4":"1399714195","file5":"1399714248","file3":"1399714135"},"map_files_photo_id_array":[{"photo_id":"1399714248","filename":"file5"},{"photo_id":"1399714076","filename":"file2"},{"photo_id":"1399714195","filename":"file4"},{"photo_id":"1399714024","filename":"file1"},{"photo_id":"1399713969","filename":"file0"},{"photo_id":"1399714135","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399714135":["hashtag1","hashtag2"]},{"1399714024":["hashtag1","hashtag2"]},{"1399714248":["hashtag1","hashtag2"]},{"1399713969":["hashtag1","hashtag2"]},{"1399714076":["hashtag1","hashtag2"]},{"1399714195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399714135, 1399714024, 1399714248, 1399713969, 1399714076, 1399714195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.54110264778137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:19:12.585479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:19:22.615734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_55_10553.jpg', '/home/pi/Desktop/images/16122025/22/18/image_16122025_22_19_05_9603.jpg', '/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_14_9683.jpg', '/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_25_10671.jpg', '/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_35_9738.jpg', '/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_44_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/18/image_16122025_22_18_55_10553.jpg
/home/pi/Desktop/images/16122025/22/18/image_16122025_22_19_05_9603.jpg
/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_14_9683.jpg
/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_25_10671.jpg
/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_35_9738.jpg
/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_44_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":["1399714578","1399714563","1399714467","1399714524","1399714577","1399714582"],"photo_ids_order":["1399714467","1399714524","1399714563","1399714577","1399714578","1399714582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/117a0a94716b7be5619f2e46076759bb.jpg","text":"TemporaryFile(/tmp/multipartBody9203920568050610488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920023221,"filename":"image_16122025_22_19_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c03ad1b5c448c8dfc133a95b27116697.jpg","text":"TemporaryFile(/tmp/multipartBody286521450429374462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920023221,"filename":"image_16122025_22_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/16/7b610d161971a2f3b9727b536fd3b221.jpg","text":"TemporaryFile(/tmp/multipartBody6594227647682557370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920023221,"filename":"image_16122025_22_18_55_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/16/48dc5fe91287cab686b334fb372711d9.jpg","text":"TemporaryFile(/tmp/multipartBody1457255060977324343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920023221,"filename":"image_16122025_22_19_05_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f05adb33b698537287fd4aa2ad311a46.jpg","text":"TemporaryFile(/tmp/multipartBody2616392281236534430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920023221,"filename":"image_16122025_22_19_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/16/ecb82d3a2d47fdab2c46f9752f30ec73.jpg","text":"TemporaryFile(/tmp/multipartBody125918882761740767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920023221,"filename":"image_16122025_22_19_44_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399714563","file1":"1399714524","file0":"1399714467","file4":"1399714578","file5":"1399714582","file3":"1399714577"},"map_files_photo_id_array":[{"photo_id":"1399714582","filename":"file5"},{"photo_id":"1399714563","filename":"file2"},{"photo_id":"1399714578","filename":"file4"},{"photo_id":"1399714524","filename":"file1"},{"photo_id":"1399714467","filename":"file0"},{"photo_id":"1399714577","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399714578":["hashtag1","hashtag2"]},{"1399714563":["hashtag1","hashtag2"]},{"1399714467":["hashtag1","hashtag2"]},{"1399714524":["hashtag1","hashtag2"]},{"1399714577":["hashtag1","hashtag2"]},{"1399714582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399714578, 1399714563, 1399714467, 1399714524, 1399714577, 1399714582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.585448026657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:20:02.319563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:20:11.918975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:20:21.966420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_55_10632.jpg', '/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_14_10050.jpg', '/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_25_10780.jpg', '/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_45_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/19/image_16122025_22_19_55_10632.jpg
/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_14_10050.jpg
/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_25_10780.jpg
/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_45_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399714906","1399714839","1399714871","1399714942"],"photo_ids_order":["1399714839","1399714871","1399714906","1399714942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/82a3e630709bde8c1e7021ec59711650.jpg","text":"TemporaryFile(/tmp/multipartBody4605074539935045750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920082476,"filename":"image_16122025_22_20_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/16/9fee9fe47bc16356f3adff252e767f18.jpg","text":"TemporaryFile(/tmp/multipartBody1614752749907976670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920082476,"filename":"image_16122025_22_19_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afa7fbc89a59e695f328d5a731e1d2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7655978756217130643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920082476,"filename":"image_16122025_22_20_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6a546b98114e99cc347de6016870bce9.jpg","text":"TemporaryFile(/tmp/multipartBody848675521649317247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920082476,"filename":"image_16122025_22_20_45_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399714906","file1":"1399714871","file0":"1399714839","file3":"1399714942"},"map_files_photo_id_array":[{"photo_id":"1399714906","filename":"file2"},{"photo_id":"1399714871","filename":"file1"},{"photo_id":"1399714839","filename":"file0"},{"photo_id":"1399714942","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399714906":["hashtag1","hashtag2"]},{"1399714839":["hashtag1","hashtag2"]},{"1399714871":["hashtag1","hashtag2"]},{"1399714942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399714906, 1399714839, 1399714871, 1399714942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.989110231399536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:21:02.797635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:21:12.215207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:21:22.218209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_55_9703.jpg', '/home/pi/Desktop/images/16122025/22/20/image_16122025_22_21_05_9702.jpg', '/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_14_9668.jpg', '/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_25_10852.jpg', '/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_35_9706.jpg', '/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_45_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/20/image_16122025_22_20_55_9703.jpg
/home/pi/Desktop/images/16122025/22/20/image_16122025_22_21_05_9702.jpg
/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_14_9668.jpg
/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_25_10852.jpg
/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_35_9706.jpg
/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_45_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399715049","1399715054","1399715009","1399715044","1399715047","1399715035"],"photo_ids_order":["1399715009","1399715035","1399715044","1399715047","1399715049","1399715054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/10faf9cb3685f9a1b56017449c7e28e9.jpg","text":"TemporaryFile(/tmp/multipartBody232686863426463665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920142795,"filename":"image_16122025_22_21_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/64958d484423437c850d6448852e1d96.jpg","text":"TemporaryFile(/tmp/multipartBody2898781585731424226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920142795,"filename":"image_16122025_22_21_45_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/16/1c83f0001e231fdc88a74495111071e3.jpg","text":"TemporaryFile(/tmp/multipartBody6119223741866471886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920142795,"filename":"image_16122025_22_20_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/16/8f2d5b75d1b8e36d3e47c227db141a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4069480460731503560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920142795,"filename":"image_16122025_22_21_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a5c475c416c4a9b7584692fc8e1ce52.jpg","text":"TemporaryFile(/tmp/multipartBody3055850441363377124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920142795,"filename":"image_16122025_22_21_25_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/16/18dacc8f6b7083f5a88b66c9ae452a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6557679232181214673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920142795,"filename":"image_16122025_22_21_05_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399715044","file1":"1399715035","file0":"1399715009","file4":"1399715049","file5":"1399715054","file3":"1399715047"},"map_files_photo_id_array":[{"photo_id":"1399715054","filename":"file5"},{"photo_id":"1399715044","filename":"file2"},{"photo_id":"1399715049","filename":"file4"},{"photo_id":"1399715035","filename":"file1"},{"photo_id":"1399715009","filename":"file0"},{"photo_id":"1399715047","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399715049":["hashtag1","hashtag2"]},{"1399715054":["hashtag1","hashtag2"]},{"1399715009":["hashtag1","hashtag2"]},{"1399715044":["hashtag1","hashtag2"]},{"1399715047":["hashtag1","hashtag2"]},{"1399715035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399715049, 1399715054, 1399715009, 1399715044, 1399715047, 1399715035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76107406616211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:22:02.920309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:22:12.392546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:22:22.401778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_55_10544.jpg', '/home/pi/Desktop/images/16122025/22/21/image_16122025_22_22_05_9767.jpg', '/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_15_9606.jpg', '/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_25_10665.jpg', '/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_35_9755.jpg', '/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_45_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/21/image_16122025_22_21_55_10544.jpg
/home/pi/Desktop/images/16122025/22/21/image_16122025_22_22_05_9767.jpg
/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_15_9606.jpg
/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_25_10665.jpg
/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_35_9755.jpg
/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_45_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399715259","1399715334","1399715241","1399715279","1399715351","1399715317"],"photo_ids_order":["1399715241","1399715259","1399715279","1399715317","1399715334","1399715351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88365f35333ad0bd173e9444bc520798.jpg","text":"TemporaryFile(/tmp/multipartBody5728650456910578013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920202973,"filename":"image_16122025_22_22_05_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/16/4a48bc21b12a8b89451ae8889c290a74.jpg","text":"TemporaryFile(/tmp/multipartBody6801645692685716823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920202973,"filename":"image_16122025_22_22_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/16/ea786461657e13837bf01436aeebe7db.jpg","text":"TemporaryFile(/tmp/multipartBody5020200597479134015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920202973,"filename":"image_16122025_22_21_55_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/16/ba3ad3799d3727d69232eee885c2f57b.jpg","text":"TemporaryFile(/tmp/multipartBody2389061324296772478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920202973,"filename":"image_16122025_22_22_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d5bd755ae8e671d93f1ca464eff30706.jpg","text":"TemporaryFile(/tmp/multipartBody2030722157831543568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920202973,"filename":"image_16122025_22_22_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/16/0ea34afd4b3f41613aacde831a7ea629.jpg","text":"TemporaryFile(/tmp/multipartBody7293547473280398617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920202973,"filename":"image_16122025_22_22_25_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399715279","file1":"1399715259","file0":"1399715241","file4":"1399715334","file5":"1399715351","file3":"1399715317"},"map_files_photo_id_array":[{"photo_id":"1399715351","filename":"file5"},{"photo_id":"1399715279","filename":"file2"},{"photo_id":"1399715334","filename":"file4"},{"photo_id":"1399715259","filename":"file1"},{"photo_id":"1399715241","filename":"file0"},{"photo_id":"1399715317","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399715259":["hashtag1","hashtag2"]},{"1399715334":["hashtag1","hashtag2"]},{"1399715241":["hashtag1","hashtag2"]},{"1399715279":["hashtag1","hashtag2"]},{"1399715351":["hashtag1","hashtag2"]},{"1399715317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399715259, 1399715334, 1399715241, 1399715279, 1399715351, 1399715317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11691355705261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:23:12.776251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:23:22.818494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_54_9608.jpg', '/home/pi/Desktop/images/16122025/22/22/image_16122025_22_23_05_10785.jpg', '/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_15_9858.jpg', '/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_35_9806.jpg', '/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_45_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/22/image_16122025_22_22_54_9608.jpg
/home/pi/Desktop/images/16122025/22/22/image_16122025_22_23_05_10785.jpg
/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_15_9858.jpg
/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_35_9806.jpg
/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_45_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399715532","1399715497","1399715479","1399715512","1399715461"],"photo_ids_order":["1399715461","1399715479","1399715497","1399715512","1399715532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bfc629973b603cac37fce9660732fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8746221744600595540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920263352,"filename":"image_16122025_22_23_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a5b86a538c65d26f25da9b6dc0f5976.jpg","text":"TemporaryFile(/tmp/multipartBody2923566086751386137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920263352,"filename":"image_16122025_22_23_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6478b84a1b3c4ab3549e91416bd5ffe7.jpg","text":"TemporaryFile(/tmp/multipartBody4071610234076097666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920263352,"filename":"image_16122025_22_23_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/16/1c47128c417dd82c1b0dceea484b8169.jpg","text":"TemporaryFile(/tmp/multipartBody1329805863657367262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920263352,"filename":"image_16122025_22_23_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/16/2a6001b550c0d5d43f97ca855ed07c4e.jpg","text":"TemporaryFile(/tmp/multipartBody3138869200053430622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920263352,"filename":"image_16122025_22_22_54_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399715497","file1":"1399715479","file0":"1399715461","file4":"1399715532","file3":"1399715512"},"map_files_photo_id_array":[{"photo_id":"1399715497","filename":"file2"},{"photo_id":"1399715532","filename":"file4"},{"photo_id":"1399715479","filename":"file1"},{"photo_id":"1399715461","filename":"file0"},{"photo_id":"1399715512","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399715532":["hashtag1","hashtag2"]},{"1399715497":["hashtag1","hashtag2"]},{"1399715479":["hashtag1","hashtag2"]},{"1399715512":["hashtag1","hashtag2"]},{"1399715461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399715532, 1399715497, 1399715479, 1399715512, 1399715461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.394659757614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:24:02.704942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:24:12.058731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:24:22.037260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_55_9780.jpg', '/home/pi/Desktop/images/16122025/22/23/image_16122025_22_24_05_9683.jpg', '/home/pi/Desktop/images/16122025/22/24/image_16122025_22_24_14_9729.jpg', '/home/pi/Desktop/images/16122025/22/24/image_16122025_22_24_25_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/23/image_16122025_22_23_55_9780.jpg
/home/pi/Desktop/images/16122025/22/23/image_16122025_22_24_05_9683.jpg
/home/pi/Desktop/images/16122025/22/24/image_16122025_22_24_14_9729.jpg
/home/pi/Desktop/images/16122025/22/24/image_16122025_22_24_25_10784.jpg
 val : 1 : upload photos 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":["1399715681","1399715744","1399715687","1399715686"],"photo_ids_order":["1399715681","1399715686","1399715687","1399715744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff1e98f5ede1447f80f7fa476bda48f8.jpg","text":"TemporaryFile(/tmp/multipartBody685558050613473762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920322592,"filename":"image_16122025_22_23_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/16/5e3766e896ea9a53d0f7c1cb6071bbd8.jpg","text":"TemporaryFile(/tmp/multipartBody358411219732218086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920322592,"filename":"image_16122025_22_24_25_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ede7f9e3eae4e956edc97c08e86101be.jpg","text":"TemporaryFile(/tmp/multipartBody5512536568553127514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920322592,"filename":"image_16122025_22_24_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f809a0363f2ebaf74d60edb948a0da9f.jpg","text":"TemporaryFile(/tmp/multipartBody6490045568219583195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920322592,"filename":"image_16122025_22_24_05_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399715687","file1":"1399715686","file0":"1399715681","file3":"1399715744"},"map_files_photo_id_array":[{"photo_id":"1399715687","filename":"file2"},{"photo_id":"1399715686","filename":"file1"},{"photo_id":"1399715681","filename":"file0"},{"photo_id":"1399715744","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399715681":["hashtag1","hashtag2"]},{"1399715744":["hashtag1","hashtag2"]},{"1399715687":["hashtag1","hashtag2"]},{"1399715686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399715681, 1399715744, 1399715687, 1399715686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 61.578407526016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:25:32.251719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:25:42.132355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_21_12686.jpg', '/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_23_1808.jpg', '/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_31_1677.jpg', '/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_39_6443.jpg', '/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_41_1726.jpg', '/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_43_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_21_12686.jpg
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_23_1808.jpg
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_31_1677.jpg
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_39_6443.jpg
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_41_1726.jpg
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_43_1616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399715805","1399715808","1399715810","1399715812","1399715806","1399715815"],"photo_ids_order":["1399715805","1399715806","1399715808","1399715810","1399715812","1399715815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8860291b223696206d711ce0e1690b64.jpg","text":"TemporaryFile(/tmp/multipartBody3285681778675431168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920402873,"filename":"image_06112025_18_22_21_12686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12779752decb8c6bc2b02e566557872e.jpg","text":"TemporaryFile(/tmp/multipartBody5563788903756971873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920402873,"filename":"image_06112025_18_22_31_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/16/73fd7b8fdc9dd32a10c6be6c55a1cb78.jpg","text":"TemporaryFile(/tmp/multipartBody7857587341124262853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920402873,"filename":"image_06112025_18_22_39_6443.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb5c24d2e27eaaf6c656a7274317c076.jpg","text":"TemporaryFile(/tmp/multipartBody5691912010252100182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920402873,"filename":"image_06112025_18_22_41_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/16/91c79360753c57dc25683f246508d122.jpg","text":"TemporaryFile(/tmp/multipartBody4290182637972799731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920402873,"filename":"image_06112025_18_22_23_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c9a4e8d3a78ed3e8df670593d5207587.jpg","text":"TemporaryFile(/tmp/multipartBody2749961285580608319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920402873,"filename":"image_06112025_18_22_43_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399715808","file1":"1399715806","file0":"1399715805","file4":"1399715812","file5":"1399715815","file3":"1399715810"},"map_files_photo_id_array":[{"photo_id":"1399715815","filename":"file5"},{"photo_id":"1399715808","filename":"file2"},{"photo_id":"1399715812","filename":"file4"},{"photo_id":"1399715806","filename":"file1"},{"photo_id":"1399715805","filename":"file0"},{"photo_id":"1399715810","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399715805":["hashtag1","hashtag2"]},{"1399715808":["hashtag1","hashtag2"]},{"1399715810":["hashtag1","hashtag2"]},{"1399715812":["hashtag1","hashtag2"]},{"1399715806":["hashtag1","hashtag2"]},{"1399715815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399715805, 1399715808, 1399715810, 1399715812, 1399715806, 1399715815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21596336364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:26:22.412270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/24/image_16122025_22_24_55_10608.jpg', '/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_14_10052.jpg', '/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_25_10705.jpg', '/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_34_9674.jpg', '/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_44_9606.jpg', '/home/pi/Desktop/images/16122025/22/25/image_16122025_22_26_04_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/24/image_16122025_22_24_55_10608.jpg
/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_14_10052.jpg
/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_25_10705.jpg
/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_34_9674.jpg
/home/pi/Desktop/images/16122025/22/25/image_16122025_22_25_44_9606.jpg
/home/pi/Desktop/images/16122025/22/25/image_16122025_22_26_04_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399715823","1399715826","1399715825","1399715828","1399715824","1399715821"],"photo_ids_order":["1399715821","1399715823","1399715824","1399715825","1399715826","1399715828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a77fc93959f848c3c117c6bfab2fcbfe.jpg","text":"TemporaryFile(/tmp/multipartBody878051007067811348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920442991,"filename":"image_16122025_22_25_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7f14a1c1ccbef345d54487143dd3675.jpg","text":"TemporaryFile(/tmp/multipartBody6936880755406749176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920442991,"filename":"image_16122025_22_25_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/241b8767624e884b396b72dc2457a113.jpg","text":"TemporaryFile(/tmp/multipartBody8311798223456691809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920442991,"filename":"image_16122025_22_25_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/16/00f55562a1ea1c47bc34778c5e5c108e.jpg","text":"TemporaryFile(/tmp/multipartBody3811648613678807022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920442991,"filename":"image_16122025_22_26_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/46a9d35f76e8b52746de81e6790ce22e.jpg","text":"TemporaryFile(/tmp/multipartBody4692938100563406922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920442991,"filename":"image_16122025_22_25_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da40db6b7c0a52deb10a49f208f39203.jpg","text":"TemporaryFile(/tmp/multipartBody6736210400436043112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920442991,"filename":"image_16122025_22_24_55_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399715824","file1":"1399715823","file0":"1399715821","file4":"1399715826","file5":"1399715828","file3":"1399715825"},"map_files_photo_id_array":[{"photo_id":"1399715828","filename":"file5"},{"photo_id":"1399715824","filename":"file2"},{"photo_id":"1399715826","filename":"file4"},{"photo_id":"1399715823","filename":"file1"},{"photo_id":"1399715821","filename":"file0"},{"photo_id":"1399715825","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399715823":["hashtag1","hashtag2"]},{"1399715826":["hashtag1","hashtag2"]},{"1399715825":["hashtag1","hashtag2"]},{"1399715828":["hashtag1","hashtag2"]},{"1399715824":["hashtag1","hashtag2"]},{"1399715821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399715823, 1399715826, 1399715825, 1399715828, 1399715824, 1399715821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61111664772034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:27:03.307508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_15_10666.jpg', '/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_24_9682.jpg', '/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_34_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_15_10666.jpg
/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_24_9682.jpg
/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_34_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399715835","1399715836","1399715833"],"photo_ids_order":["1399715833","1399715835","1399715836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd9cb6fb8e9b87812ee28e15fda5aeda.jpg","text":"TemporaryFile(/tmp/multipartBody1673144840553028762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920483806,"filename":"image_16122025_22_26_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/16/f47680c19522276152532df4d3ba5ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4051140032422736869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920483806,"filename":"image_16122025_22_26_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/16/52a2753b5ed165e8d2e8656a3359ea42.jpg","text":"TemporaryFile(/tmp/multipartBody568048842135223241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920483806,"filename":"image_16122025_22_26_15_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399715836","file1":"1399715835","file0":"1399715833"},"map_files_photo_id_array":[{"photo_id":"1399715836","filename":"file2"},{"photo_id":"1399715835","filename":"file1"},{"photo_id":"1399715833","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399715835":["hashtag1","hashtag2"]},{"1399715836":["hashtag1","hashtag2"]},{"1399715833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399715835, 1399715836, 1399715833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.41745662689209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:27:32.699540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:27:42.626511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_44_1708.jpg', '/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_08_2666.jpg', '/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_13_5689.jpg', '/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_15_1801.jpg', '/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_17_1841.jpg', '/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_11_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/22/image_06112025_18_22_44_1708.jpg
/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_08_2666.jpg
/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_13_5689.jpg
/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_15_1801.jpg
/home/pi/Desktop/images/06112025/18/23/image_06112025_18_23_17_1841.jpg
/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_11_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399716123","1399715894","1399716157","1399716037","1399715962","1399716001"],"photo_ids_order":["1399715894","1399715962","1399716001","1399716037","1399716123","1399716157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/955c55720230d6b4ab75d147ec7b0a43.jpg","text":"TemporaryFile(/tmp/multipartBody43069410758266327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920523404,"filename":"image_06112025_18_23_17_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ccff4778e121ef42c543a17a5dfd35f1.jpg","text":"TemporaryFile(/tmp/multipartBody8049230879936796640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920523404,"filename":"image_06112025_18_22_44_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/16/a87e476ad71537f05d756f9d5a3a2d56.jpg","text":"TemporaryFile(/tmp/multipartBody6253382827229032897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920523404,"filename":"image_06112025_18_24_11_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/16/643cf88d8636a13e606f7a4eb7b31e66.jpg","text":"TemporaryFile(/tmp/multipartBody5310642313939669417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920523404,"filename":"image_06112025_18_23_15_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/16/fd03c67a7e565f735ae0da3af62f8d72.jpg","text":"TemporaryFile(/tmp/multipartBody301483769247026263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920523404,"filename":"image_06112025_18_23_08_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/16/4fb709fc3f477f9d79ef7f4b6431f114.jpg","text":"TemporaryFile(/tmp/multipartBody3677103457424597869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920523404,"filename":"image_06112025_18_23_13_5689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399716001","file1":"1399715962","file0":"1399715894","file4":"1399716123","file5":"1399716157","file3":"1399716037"},"map_files_photo_id_array":[{"photo_id":"1399716157","filename":"file5"},{"photo_id":"1399716001","filename":"file2"},{"photo_id":"1399716123","filename":"file4"},{"photo_id":"1399715962","filename":"file1"},{"photo_id":"1399715894","filename":"file0"},{"photo_id":"1399716037","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399716123":["hashtag1","hashtag2"]},{"1399715894":["hashtag1","hashtag2"]},{"1399716157":["hashtag1","hashtag2"]},{"1399716037":["hashtag1","hashtag2"]},{"1399715962":["hashtag1","hashtag2"]},{"1399716001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399716123, 1399715894, 1399716157, 1399716037, 1399715962, 1399716001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.22888445854187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:28:31.989535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:28:41.922026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_18_7420.jpg', '/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_20_1648.jpg', '/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_23_1891.jpg', '/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_31_1588.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_10_3336.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_14_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_18_7420.jpg
/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_20_1648.jpg
/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_23_1891.jpg
/home/pi/Desktop/images/06112025/18/24/image_06112025_18_24_31_1588.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_10_3336.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_14_3578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399716333","1399716365","1399716335","1399716338","1399716337","1399716336"],"photo_ids_order":["1399716333","1399716335","1399716336","1399716337","1399716338","1399716365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2e05450817b4612ec90882376d20c20.jpg","text":"TemporaryFile(/tmp/multipartBody4111660319333057743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920582671,"filename":"image_06112025_18_24_18_7420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37e1404a0ee3df2596f1793632c06a50.jpg","text":"TemporaryFile(/tmp/multipartBody5582307039496298129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920582671,"filename":"image_06112025_18_25_14_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0d6f94df9d8eb01c12ac1615659ae7e.jpg","text":"TemporaryFile(/tmp/multipartBody5797432332600674083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920582671,"filename":"image_06112025_18_24_20_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/384b79608065acc4b691693f408f8a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1962559852793425776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920582671,"filename":"image_06112025_18_25_10_3336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73aed0f3ab77d1fe406f29582ecf0231.jpg","text":"TemporaryFile(/tmp/multipartBody4441378401724651670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920582671,"filename":"image_06112025_18_24_31_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0db145cd5ac1ffec711f14424ef2697e.jpg","text":"TemporaryFile(/tmp/multipartBody787665943016036077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920582671,"filename":"image_06112025_18_24_23_1891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399716336","file1":"1399716335","file0":"1399716333","file4":"1399716338","file5":"1399716365","file3":"1399716337"},"map_files_photo_id_array":[{"photo_id":"1399716365","filename":"file5"},{"photo_id":"1399716336","filename":"file2"},{"photo_id":"1399716338","filename":"file4"},{"photo_id":"1399716335","filename":"file1"},{"photo_id":"1399716333","filename":"file0"},{"photo_id":"1399716337","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399716333":["hashtag1","hashtag2"]},{"1399716365":["hashtag1","hashtag2"]},{"1399716335":["hashtag1","hashtag2"]},{"1399716338":["hashtag1","hashtag2"]},{"1399716337":["hashtag1","hashtag2"]},{"1399716336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399716333, 1399716365, 1399716335, 1399716338, 1399716337, 1399716336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.467918395996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:29:22.186140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_45_10604.jpg', '/home/pi/Desktop/images/16122025/22/26/image_16122025_22_27_04_9561.jpg', '/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_15_10693.jpg', '/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_24_9897.jpg', '/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_34_9639.jpg', '/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_44_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/26/image_16122025_22_26_45_10604.jpg
/home/pi/Desktop/images/16122025/22/26/image_16122025_22_27_04_9561.jpg
/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_15_10693.jpg
/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_24_9897.jpg
/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_34_9639.jpg
/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_44_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":["1399716459","1399716503","1399716468","1399716540","1399716477","1399716429"],"photo_ids_order":["1399716429","1399716459","1399716468","1399716477","1399716503","1399716540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e54c3ffda5b28652e718225d67e76b75.jpg","text":"TemporaryFile(/tmp/multipartBody2618323648685655697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920622757,"filename":"image_16122025_22_27_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/16/16513bab95bc027c2902b54ac807f647.jpg","text":"TemporaryFile(/tmp/multipartBody7212962770294796197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920622757,"filename":"image_16122025_22_27_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/16/f54874214d1f7e15e0f38baec3513422.jpg","text":"TemporaryFile(/tmp/multipartBody5396135627083420171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920622757,"filename":"image_16122025_22_27_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a69eb155cb691bcfe1e03810f3ee7539.jpg","text":"TemporaryFile(/tmp/multipartBody1109741696540323242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920622757,"filename":"image_16122025_22_27_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/16/f7876d1929506d0946dcbc8710745128.jpg","text":"TemporaryFile(/tmp/multipartBody3437468731248285828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920622757,"filename":"image_16122025_22_27_24_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f05c37d74451dd71b7cf26d39fac618f.jpg","text":"TemporaryFile(/tmp/multipartBody6955144523258059727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920622757,"filename":"image_16122025_22_26_45_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399716468","file1":"1399716459","file0":"1399716429","file4":"1399716503","file5":"1399716540","file3":"1399716477"},"map_files_photo_id_array":[{"photo_id":"1399716540","filename":"file5"},{"photo_id":"1399716468","filename":"file2"},{"photo_id":"1399716503","filename":"file4"},{"photo_id":"1399716459","filename":"file1"},{"photo_id":"1399716429","filename":"file0"},{"photo_id":"1399716477","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399716459":["hashtag1","hashtag2"]},{"1399716503":["hashtag1","hashtag2"]},{"1399716468":["hashtag1","hashtag2"]},{"1399716540":["hashtag1","hashtag2"]},{"1399716477":["hashtag1","hashtag2"]},{"1399716429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399716459, 1399716503, 1399716468, 1399716540, 1399716477, 1399716429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.531511545181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:30:02.849285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_55_10862.jpg', '/home/pi/Desktop/images/16122025/22/27/image_16122025_22_28_04_9661.jpg', '/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_14_9571.jpg', '/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_34_9669.jpg', '/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_44_9647.jpg', '/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/27/image_16122025_22_27_55_10862.jpg
/home/pi/Desktop/images/16122025/22/27/image_16122025_22_28_04_9661.jpg
/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_14_9571.jpg
/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_34_9669.jpg
/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_44_9647.jpg
/home/pi/Desktop/images/16122025/22/28/image_16122025_22_28_54_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399716866","1399716794","1399716755","1399716829","1399716715","1399716681"],"photo_ids_order":["1399716681","1399716715","1399716755","1399716794","1399716829","1399716866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92366c6dbdfa8f5ba3124b4e73063d59.jpg","text":"TemporaryFile(/tmp/multipartBody6921755613406984378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920663453,"filename":"image_16122025_22_28_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/16/7b460519fabfcdd05cd975af462d785c.jpg","text":"TemporaryFile(/tmp/multipartBody75982503417490817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920663453,"filename":"image_16122025_22_28_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e89d7dc359d27172f4969bc2163bb533.jpg","text":"TemporaryFile(/tmp/multipartBody1414272289112002265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920663453,"filename":"image_16122025_22_28_14_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78f4457ed6dd89c5783b24f98a03caeb.jpg","text":"TemporaryFile(/tmp/multipartBody3743843990904585591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920663453,"filename":"image_16122025_22_28_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/16/738f177849774be5e53f875e155c8737.jpg","text":"TemporaryFile(/tmp/multipartBody1258254889371013943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920663453,"filename":"image_16122025_22_28_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d1c4b5c0d608fbb6182708940e917f7.jpg","text":"TemporaryFile(/tmp/multipartBody7729905670290426058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920663453,"filename":"image_16122025_22_27_55_10862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399716755","file1":"1399716715","file0":"1399716681","file4":"1399716829","file5":"1399716866","file3":"1399716794"},"map_files_photo_id_array":[{"photo_id":"1399716866","filename":"file5"},{"photo_id":"1399716755","filename":"file2"},{"photo_id":"1399716829","filename":"file4"},{"photo_id":"1399716715","filename":"file1"},{"photo_id":"1399716681","filename":"file0"},{"photo_id":"1399716794","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399716866":["hashtag1","hashtag2"]},{"1399716794":["hashtag1","hashtag2"]},{"1399716755":["hashtag1","hashtag2"]},{"1399716829":["hashtag1","hashtag2"]},{"1399716715":["hashtag1","hashtag2"]},{"1399716681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399716866, 1399716794, 1399716755, 1399716829, 1399716715, 1399716681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85105538368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:30:42.442333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_17_2904.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_22_2594.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_37_2601.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_41_3081.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_43_2802.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_48_5094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_17_2904.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_22_2594.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_37_2601.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_41_3081.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_43_2802.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_48_5094.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399716953","1399717010","1399716973","1399716949","1399716954","1399716951"],"photo_ids_order":["1399716949","1399716951","1399716953","1399716954","1399716973","1399717010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39dae31e82f8854dc1befc62bf982efc.jpg","text":"TemporaryFile(/tmp/multipartBody8622082116616172780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920703230,"filename":"image_06112025_18_25_37_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cfd513b2ae4f3df3735273238159cae4.jpg","text":"TemporaryFile(/tmp/multipartBody2906442554486388437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920703230,"filename":"image_06112025_18_25_48_5094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a7f91d34d67b93c39970ebd8c92cb2ab.jpg","text":"TemporaryFile(/tmp/multipartBody5687926650638166336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920703230,"filename":"image_06112025_18_25_43_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/16/3fc30ede0d5e18c176231f15360c3f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2873886314454642315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920703230,"filename":"image_06112025_18_25_17_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/16/0c61e20d3e748d7974cf636674138301.jpg","text":"TemporaryFile(/tmp/multipartBody6960703331086519826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920703230,"filename":"image_06112025_18_25_41_3081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e50e62ad182546b445d25d71af99bd0.jpg","text":"TemporaryFile(/tmp/multipartBody6350869317148945120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920703230,"filename":"image_06112025_18_25_22_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399716953","file1":"1399716951","file0":"1399716949","file4":"1399716973","file5":"1399717010","file3":"1399716954"},"map_files_photo_id_array":[{"photo_id":"1399717010","filename":"file5"},{"photo_id":"1399716953","filename":"file2"},{"photo_id":"1399716973","filename":"file4"},{"photo_id":"1399716951","filename":"file1"},{"photo_id":"1399716949","filename":"file0"},{"photo_id":"1399716954","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399716953":["hashtag1","hashtag2"]},{"1399717010":["hashtag1","hashtag2"]},{"1399716973":["hashtag1","hashtag2"]},{"1399716949":["hashtag1","hashtag2"]},{"1399716954":["hashtag1","hashtag2"]},{"1399716951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399716953, 1399717010, 1399716973, 1399716949, 1399716954, 1399716951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.372018814086914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:31:22.745507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/28/image_16122025_22_29_04_9695.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_14_9679.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_24_10587.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_34_9692.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_45_10537.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/28/image_16122025_22_29_04_9695.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_14_9679.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_24_10587.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_34_9692.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_45_10537.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_54_9647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5099422931671143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:31:32.836811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:31:42.747873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_50_1686.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_53_2566.jpg', '/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_58_2633.jpg', '/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_34_2892.jpg', '/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_41_2571.jpg', '/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_43_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_50_1686.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_53_2566.jpg
/home/pi/Desktop/images/06112025/18/25/image_06112025_18_25_58_2633.jpg
/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_34_2892.jpg
/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_41_2571.jpg
/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_43_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":["1399717109","1399717112","1399717106","1399717111","1399717108","1399717110"],"photo_ids_order":["1399717106","1399717108","1399717109","1399717110","1399717111","1399717112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fcc3e4db512bb072f539fc24f56ff5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8799770106898879233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920763504,"filename":"image_06112025_18_25_58_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/16/f334186c6e674c534ea1d4b13ca222bc.jpg","text":"TemporaryFile(/tmp/multipartBody2562050104321256234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920763504,"filename":"image_06112025_18_26_43_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/16/6d26863f95577d70465497649f696735.jpg","text":"TemporaryFile(/tmp/multipartBody8322387181631219062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920763504,"filename":"image_06112025_18_25_50_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/16/957e219ad94b2bc533902515102154b4.jpg","text":"TemporaryFile(/tmp/multipartBody5198397573744331485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920763504,"filename":"image_06112025_18_26_41_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/16/5e50a62bea1580d2c2ff5a1df842c752.jpg","text":"TemporaryFile(/tmp/multipartBody1733133187997670878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920763504,"filename":"image_06112025_18_25_53_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/16/73692673ac20461e58afac472e6cad73.jpg","text":"TemporaryFile(/tmp/multipartBody7440762572564090835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920763504,"filename":"image_06112025_18_26_34_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399717109","file1":"1399717108","file0":"1399717106","file4":"1399717111","file5":"1399717112","file3":"1399717110"},"map_files_photo_id_array":[{"photo_id":"1399717112","filename":"file5"},{"photo_id":"1399717109","filename":"file2"},{"photo_id":"1399717111","filename":"file4"},{"photo_id":"1399717108","filename":"file1"},{"photo_id":"1399717106","filename":"file0"},{"photo_id":"1399717110","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399717109":["hashtag1","hashtag2"]},{"1399717112":["hashtag1","hashtag2"]},{"1399717106":["hashtag1","hashtag2"]},{"1399717111":["hashtag1","hashtag2"]},{"1399717108":["hashtag1","hashtag2"]},{"1399717110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399717109, 1399717112, 1399717106, 1399717111, 1399717108, 1399717110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.985506772994995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:32:32.064610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:32:41.983050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_47_3489.jpg', '/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_52_2595.jpg', '/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_56_3569.jpg', '/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_25_2558.jpg', '/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_40_2605.jpg', '/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_43_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_47_3489.jpg
/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_52_2595.jpg
/home/pi/Desktop/images/06112025/18/26/image_06112025_18_26_56_3569.jpg
/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_25_2558.jpg
/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_40_2605.jpg
/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_43_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":["1399717121","1399717118","1399717126","1399717129","1399717120","1399717122"],"photo_ids_order":["1399717118","1399717120","1399717121","1399717122","1399717126","1399717129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cc4230719ec29e5917dea8ea841f11f2.jpg","text":"TemporaryFile(/tmp/multipartBody4513237619987152349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920822777,"filename":"image_06112025_18_26_56_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/16/aab3a3ca942f86ef93d45ae05aeaa57a.jpg","text":"TemporaryFile(/tmp/multipartBody3458615086416840337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920822777,"filename":"image_06112025_18_26_47_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/16/72ffd8f23fc8a2c2f1a9383fcf6ccfdf.jpg","text":"TemporaryFile(/tmp/multipartBody3508577331249082531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920822777,"filename":"image_06112025_18_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/16/eec9391bd44737e301ee63db95490d54.jpg","text":"TemporaryFile(/tmp/multipartBody8955586879741123569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920822777,"filename":"image_06112025_18_27_43_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/16/a313d3baf75f524cdb6833c6917c1f68.jpg","text":"TemporaryFile(/tmp/multipartBody8458711096534327525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920822777,"filename":"image_06112025_18_26_52_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5dc767e5a75ae195d1b786469b1aa4e8.jpg","text":"TemporaryFile(/tmp/multipartBody5505734796369001506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920822777,"filename":"image_06112025_18_27_25_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399717121","file1":"1399717120","file0":"1399717118","file4":"1399717126","file5":"1399717129","file3":"1399717122"},"map_files_photo_id_array":[{"photo_id":"1399717129","filename":"file5"},{"photo_id":"1399717121","filename":"file2"},{"photo_id":"1399717126","filename":"file4"},{"photo_id":"1399717120","filename":"file1"},{"photo_id":"1399717118","filename":"file0"},{"photo_id":"1399717122","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399717121":["hashtag1","hashtag2"]},{"1399717118":["hashtag1","hashtag2"]},{"1399717126":["hashtag1","hashtag2"]},{"1399717129":["hashtag1","hashtag2"]},{"1399717120":["hashtag1","hashtag2"]},{"1399717122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399717121, 1399717118, 1399717126, 1399717129, 1399717120, 1399717122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59599757194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:33:22.249051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/28/image_16122025_22_29_04_9695.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_14_9679.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_24_10587.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_34_9692.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_45_10537.jpg', '/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/28/image_16122025_22_29_04_9695.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_14_9679.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_24_10587.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_34_9692.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_45_10537.jpg
/home/pi/Desktop/images/16122025/22/29/image_16122025_22_29_54_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399717133","1399717136","1399717138","1399717141","1399717140","1399717131"],"photo_ids_order":["1399717131","1399717133","1399717136","1399717138","1399717140","1399717141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9bb3143bbe536d997c8e41071c9bc211.jpg","text":"TemporaryFile(/tmp/multipartBody8699465133468365193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920862820,"filename":"image_16122025_22_29_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/16/d354d0cbadcd4c4e9cdf4c2bdd04df12.jpg","text":"TemporaryFile(/tmp/multipartBody4258054693352815748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920862820,"filename":"image_16122025_22_29_24_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a06dc2b3b9c39e5e21de0890c96f058b.jpg","text":"TemporaryFile(/tmp/multipartBody7263951743828516572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920862820,"filename":"image_16122025_22_29_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/16/153961c2ab6e296b7bec6803b0789570.jpg","text":"TemporaryFile(/tmp/multipartBody1443587386037979158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920862820,"filename":"image_16122025_22_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/16/8a3346789c0007c5c25a8e79e2dbb709.jpg","text":"TemporaryFile(/tmp/multipartBody8316410184268544384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920862820,"filename":"image_16122025_22_29_45_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2b5219162ac427fe0d7a948f762619d4.jpg","text":"TemporaryFile(/tmp/multipartBody6955144711782615518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920862820,"filename":"image_16122025_22_29_04_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399717136","file1":"1399717133","file0":"1399717131","file4":"1399717140","file5":"1399717141","file3":"1399717138"},"map_files_photo_id_array":[{"photo_id":"1399717141","filename":"file5"},{"photo_id":"1399717136","filename":"file2"},{"photo_id":"1399717140","filename":"file4"},{"photo_id":"1399717133","filename":"file1"},{"photo_id":"1399717131","filename":"file0"},{"photo_id":"1399717138","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399717133":["hashtag1","hashtag2"]},{"1399717136":["hashtag1","hashtag2"]},{"1399717138":["hashtag1","hashtag2"]},{"1399717141":["hashtag1","hashtag2"]},{"1399717140":["hashtag1","hashtag2"]},{"1399717131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399717133, 1399717136, 1399717138, 1399717141, 1399717140, 1399717131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46810841560364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:34:03.160241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_14_10055.jpg', '/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_25_10568.jpg', '/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_34_9610.jpg', '/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_54_9574.jpg', '/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_15_10692.jpg', '/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_34_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_14_10055.jpg
/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_25_10568.jpg
/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_34_9610.jpg
/home/pi/Desktop/images/16122025/22/30/image_16122025_22_30_54_9574.jpg
/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_15_10692.jpg
/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_34_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":["1399717145","1399717144","1399717147","1399717149","1399717143","1399717146"],"photo_ids_order":["1399717143","1399717144","1399717145","1399717146","1399717147","1399717149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0a7a10f4896436f012d895e7632d4e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7432195844820799055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920903753,"filename":"image_16122025_22_30_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/16/25c5f4fe2ce7f91f1d1fd26bcc790231.jpg","text":"TemporaryFile(/tmp/multipartBody6686581982858638484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920903753,"filename":"image_16122025_22_30_25_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3d70c19d0d7ce89ffba4837426a9dc9.jpg","text":"TemporaryFile(/tmp/multipartBody9127958771082297626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920903753,"filename":"image_16122025_22_31_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/16/5de173495aea0ae5d51a46768a00a45c.jpg","text":"TemporaryFile(/tmp/multipartBody6916860774594582589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920903753,"filename":"image_16122025_22_31_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/16/8c2a086dc2a49e6cf23bbeb70149d4a7.jpg","text":"TemporaryFile(/tmp/multipartBody8990510988928140908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920903753,"filename":"image_16122025_22_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/16/f53e1b5ceb315d570c640c6c545e2331.jpg","text":"TemporaryFile(/tmp/multipartBody8230344286486543977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920903753,"filename":"image_16122025_22_30_54_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399717145","file1":"1399717144","file0":"1399717143","file4":"1399717147","file5":"1399717149","file3":"1399717146"},"map_files_photo_id_array":[{"photo_id":"1399717149","filename":"file5"},{"photo_id":"1399717145","filename":"file2"},{"photo_id":"1399717147","filename":"file4"},{"photo_id":"1399717144","filename":"file1"},{"photo_id":"1399717143","filename":"file0"},{"photo_id":"1399717146","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399717145":["hashtag1","hashtag2"]},{"1399717144":["hashtag1","hashtag2"]},{"1399717147":["hashtag1","hashtag2"]},{"1399717149":["hashtag1","hashtag2"]},{"1399717143":["hashtag1","hashtag2"]},{"1399717146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399717145, 1399717144, 1399717147, 1399717149, 1399717143, 1399717146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.893070220947266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:34:42.395669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_52_2582.jpg', '/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_55_3563.jpg', '/home/pi/Desktop/images/06112025/18/28/image_06112025_18_28_45_1570.jpg', '/home/pi/Desktop/images/06112025/18/28/image_06112025_18_28_55_5183.jpg', '/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_07_11708.jpg', '/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_14_1786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_52_2582.jpg
/home/pi/Desktop/images/06112025/18/27/image_06112025_18_27_55_3563.jpg
/home/pi/Desktop/images/06112025/18/28/image_06112025_18_28_45_1570.jpg
/home/pi/Desktop/images/06112025/18/28/image_06112025_18_28_55_5183.jpg
/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_07_11708.jpg
/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_14_1786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399717361","1399717250","1399717399","1399717324","1399717215","1399717289"],"photo_ids_order":["1399717215","1399717250","1399717289","1399717324","1399717361","1399717399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7f841d0dc23dd2f39c05da5892bec06.jpg","text":"TemporaryFile(/tmp/multipartBody970707907114916731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920943145,"filename":"image_06112025_18_29_07_11708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da41ee4c3c6cad56026b345b03279778.jpg","text":"TemporaryFile(/tmp/multipartBody5012073192188370111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920943145,"filename":"image_06112025_18_27_55_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/16/c4a2ee1cf99050202b2ea732b14e67e0.jpg","text":"TemporaryFile(/tmp/multipartBody8001877675568815208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920943145,"filename":"image_06112025_18_29_14_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37cbf305bc70ecf0b893a00ac4d6ef55.jpg","text":"TemporaryFile(/tmp/multipartBody715668843731081775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920943145,"filename":"image_06112025_18_28_55_5183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0305f280e2115504a432a4458b538bf.jpg","text":"TemporaryFile(/tmp/multipartBody9170820780389121237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920943145,"filename":"image_06112025_18_27_52_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/16/2bc8c576fa656e0f73070bee1d6d7b6d.jpg","text":"TemporaryFile(/tmp/multipartBody6902640089848213186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920943145,"filename":"image_06112025_18_28_45_1570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399717289","file1":"1399717250","file0":"1399717215","file4":"1399717361","file5":"1399717399","file3":"1399717324"},"map_files_photo_id_array":[{"photo_id":"1399717399","filename":"file5"},{"photo_id":"1399717289","filename":"file2"},{"photo_id":"1399717361","filename":"file4"},{"photo_id":"1399717250","filename":"file1"},{"photo_id":"1399717215","filename":"file0"},{"photo_id":"1399717324","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399717361":["hashtag1","hashtag2"]},{"1399717250":["hashtag1","hashtag2"]},{"1399717399":["hashtag1","hashtag2"]},{"1399717324":["hashtag1","hashtag2"]},{"1399717215":["hashtag1","hashtag2"]},{"1399717289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399717361, 1399717250, 1399717399, 1399717324, 1399717215, 1399717289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16996240615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:35:22.696125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_45_10744.jpg', '/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_55_9766.jpg', '/home/pi/Desktop/images/16122025/22/31/image_16122025_22_32_04_9586.jpg', '/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_14_9798.jpg', '/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_25_10539.jpg', '/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_34_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_45_10744.jpg
/home/pi/Desktop/images/16122025/22/31/image_16122025_22_31_55_9766.jpg
/home/pi/Desktop/images/16122025/22/31/image_16122025_22_32_04_9586.jpg
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_14_9798.jpg
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_25_10539.jpg
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_34_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":["1399717622","1399717693","1399717540","1399717656","1399717578","1399717728"],"photo_ids_order":["1399717540","1399717578","1399717622","1399717656","1399717693","1399717728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2d603f50d777f7a8dd82b8bb8bff9451.jpg","text":"TemporaryFile(/tmp/multipartBody555189818799769583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920983274,"filename":"image_16122025_22_32_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/16/3bab474d0c16cf61e6ad070251c82a60.jpg","text":"TemporaryFile(/tmp/multipartBody1954921012849781453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920983274,"filename":"image_16122025_22_32_25_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a42ade965fdbb3c3661b70a1ef33e6f9.jpg","text":"TemporaryFile(/tmp/multipartBody8398579920089297900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920983274,"filename":"image_16122025_22_31_45_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37ebf903d12b35cc1068a0db8b1b332f.jpg","text":"TemporaryFile(/tmp/multipartBody5409639419524598212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920983274,"filename":"image_16122025_22_32_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/16/eff3ae0b357dc09acb91c8f13cfc3d73.jpg","text":"TemporaryFile(/tmp/multipartBody7484464053672049806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920983274,"filename":"image_16122025_22_31_55_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/16/14a3e10dee66021b272406d92563fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody6966600089034289353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765920983274,"filename":"image_16122025_22_32_34_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399717622","file1":"1399717578","file0":"1399717540","file4":"1399717693","file5":"1399717728","file3":"1399717656"},"map_files_photo_id_array":[{"photo_id":"1399717728","filename":"file5"},{"photo_id":"1399717622","filename":"file2"},{"photo_id":"1399717693","filename":"file4"},{"photo_id":"1399717578","filename":"file1"},{"photo_id":"1399717540","filename":"file0"},{"photo_id":"1399717656","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399717622":["hashtag1","hashtag2"]},{"1399717693":["hashtag1","hashtag2"]},{"1399717540":["hashtag1","hashtag2"]},{"1399717656":["hashtag1","hashtag2"]},{"1399717578":["hashtag1","hashtag2"]},{"1399717728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399717622, 1399717693, 1399717540, 1399717656, 1399717578, 1399717728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40613889694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:36:02.467745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_44_9790.jpg', '/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_55_10661.jpg', '/home/pi/Desktop/images/16122025/22/32/image_16122025_22_33_05_9687.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_14_9663.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_25_10656.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_34_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_44_9790.jpg
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_55_10661.jpg
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_33_05_9687.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_14_9663.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_25_10656.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_34_9559.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47918105125427246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:36:11.898893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:36:21.966104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_44_9790.jpg', '/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_55_10661.jpg', '/home/pi/Desktop/images/16122025/22/32/image_16122025_22_33_05_9687.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_14_9663.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_25_10656.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_34_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_44_9790.jpg
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_32_55_10661.jpg
/home/pi/Desktop/images/16122025/22/32/image_16122025_22_33_05_9687.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_14_9663.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_25_10656.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_34_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399718071","1399718074","1399718106","1399718075","1399718069","1399718045"],"photo_ids_order":["1399718045","1399718069","1399718071","1399718074","1399718075","1399718106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/657585fcb055dba251a6e4a3245ba30e.jpg","text":"TemporaryFile(/tmp/multipartBody4670647542396235324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921042537,"filename":"image_16122025_22_33_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/16/4187c1edae44cb5d2197ffe770c19a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6672795094019536122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921042537,"filename":"image_16122025_22_33_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/16/2fc732cbd11729636bd64fe4cb7bdf22.jpg","text":"TemporaryFile(/tmp/multipartBody4893078871104974735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921042537,"filename":"image_16122025_22_33_34_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7524d930200b99413db6bd84b48df73e.jpg","text":"TemporaryFile(/tmp/multipartBody3067895307725505051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921042537,"filename":"image_16122025_22_33_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ed8763c14dde20decbf7c730e15482a.jpg","text":"TemporaryFile(/tmp/multipartBody4299564963308830851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921042537,"filename":"image_16122025_22_32_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/16/8668f35273ae5bffd29df658150615b1.jpg","text":"TemporaryFile(/tmp/multipartBody3353370675837544804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921042537,"filename":"image_16122025_22_32_44_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399718071","file1":"1399718069","file0":"1399718045","file4":"1399718075","file5":"1399718106","file3":"1399718074"},"map_files_photo_id_array":[{"photo_id":"1399718106","filename":"file5"},{"photo_id":"1399718071","filename":"file2"},{"photo_id":"1399718075","filename":"file4"},{"photo_id":"1399718069","filename":"file1"},{"photo_id":"1399718045","filename":"file0"},{"photo_id":"1399718074","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399718071":["hashtag1","hashtag2"]},{"1399718074":["hashtag1","hashtag2"]},{"1399718106":["hashtag1","hashtag2"]},{"1399718075":["hashtag1","hashtag2"]},{"1399718069":["hashtag1","hashtag2"]},{"1399718045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399718071, 1399718074, 1399718106, 1399718075, 1399718069, 1399718045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89318299293518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:37:02.788044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_44_9774.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_55_10664.jpg', '/home/pi/Desktop/images/16122025/22/33/image_16122025_22_34_05_9708.jpg', '/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_14_9554.jpg', '/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_25_10618.jpg', '/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_34_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_44_9774.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_33_55_10664.jpg
/home/pi/Desktop/images/16122025/22/33/image_16122025_22_34_05_9708.jpg
/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_14_9554.jpg
/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_25_10618.jpg
/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_34_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399718210","1399718207","1399718212","1399718214","1399718208","1399718211"],"photo_ids_order":["1399718207","1399718208","1399718210","1399718211","1399718212","1399718214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8911415b63039c1232d8aef4d0862bb.jpg","text":"TemporaryFile(/tmp/multipartBody5158514465593427524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921083423,"filename":"image_16122025_22_34_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73607c7d3ddab91ce8478adb10b39d51.jpg","text":"TemporaryFile(/tmp/multipartBody7017427569420083635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921083423,"filename":"image_16122025_22_33_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/16/fa76830550fb967167c8b7a096e27871.jpg","text":"TemporaryFile(/tmp/multipartBody5464384094593382783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921083423,"filename":"image_16122025_22_34_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8510f237e7d7b1e1db8b68cc8271e885.jpg","text":"TemporaryFile(/tmp/multipartBody6851070186664592565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921083423,"filename":"image_16122025_22_34_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/16/13062fd55341b1a1958288582a3ea1a5.jpg","text":"TemporaryFile(/tmp/multipartBody4634986375224118171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921083423,"filename":"image_16122025_22_33_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/278d43639df8dc871a0d35867556a18d.jpg","text":"TemporaryFile(/tmp/multipartBody4315341777763054700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921083423,"filename":"image_16122025_22_34_14_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399718210","file1":"1399718208","file0":"1399718207","file4":"1399718212","file5":"1399718214","file3":"1399718211"},"map_files_photo_id_array":[{"photo_id":"1399718214","filename":"file5"},{"photo_id":"1399718210","filename":"file2"},{"photo_id":"1399718212","filename":"file4"},{"photo_id":"1399718208","filename":"file1"},{"photo_id":"1399718207","filename":"file0"},{"photo_id":"1399718211","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399718210":["hashtag1","hashtag2"]},{"1399718207":["hashtag1","hashtag2"]},{"1399718212":["hashtag1","hashtag2"]},{"1399718214":["hashtag1","hashtag2"]},{"1399718208":["hashtag1","hashtag2"]},{"1399718211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399718210, 1399718207, 1399718212, 1399718214, 1399718208, 1399718211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07421255111694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:37:42.123872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_15_1782.jpg', '/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_28_11120.jpg', '/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_11_4074.jpg', '/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_19_2553.jpg', '/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_34_1704.jpg', '/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_43_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_15_1782.jpg
/home/pi/Desktop/images/06112025/18/29/image_06112025_18_29_28_11120.jpg
/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_11_4074.jpg
/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_19_2553.jpg
/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_34_1704.jpg
/home/pi/Desktop/images/06112025/18/30/image_06112025_18_30_43_2860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399718332","1399718269","1399718335","1399718307","1399718322","1399718336"],"photo_ids_order":["1399718269","1399718307","1399718322","1399718332","1399718335","1399718336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e9fd10ed391f05249611970373f02d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4216709571491512181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921122878,"filename":"image_06112025_18_30_19_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/16/fcc5a5ad0eb61f796d466aff19db42b0.jpg","text":"TemporaryFile(/tmp/multipartBody2410468194453004047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921122878,"filename":"image_06112025_18_29_15_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/89f61ff245505aaf72b01270e863e39b.jpg","text":"TemporaryFile(/tmp/multipartBody5211566959111538311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921122878,"filename":"image_06112025_18_30_34_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/16/1a1c22e048164c0ce7d7aa47ba26425d.jpg","text":"TemporaryFile(/tmp/multipartBody3644671150655399480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921122878,"filename":"image_06112025_18_29_28_11120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b72076e6f999bf20d603d657cdaf4a4.jpg","text":"TemporaryFile(/tmp/multipartBody2071070823277599768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921122878,"filename":"image_06112025_18_30_11_4074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/81dca370b577250730123199804ed6d3.jpg","text":"TemporaryFile(/tmp/multipartBody6668142524187864672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921122878,"filename":"image_06112025_18_30_43_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399718322","file1":"1399718307","file0":"1399718269","file4":"1399718335","file5":"1399718336","file3":"1399718332"},"map_files_photo_id_array":[{"photo_id":"1399718336","filename":"file5"},{"photo_id":"1399718322","filename":"file2"},{"photo_id":"1399718335","filename":"file4"},{"photo_id":"1399718307","filename":"file1"},{"photo_id":"1399718269","filename":"file0"},{"photo_id":"1399718332","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399718332":["hashtag1","hashtag2"]},{"1399718269":["hashtag1","hashtag2"]},{"1399718335":["hashtag1","hashtag2"]},{"1399718307":["hashtag1","hashtag2"]},{"1399718322":["hashtag1","hashtag2"]},{"1399718336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399718332, 1399718269, 1399718335, 1399718307, 1399718322, 1399718336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.324636936187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:38:22.416251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_44_9677.jpg', '/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_55_10689.jpg', '/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_14_10059.jpg', '/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_25_10704.jpg', '/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_35_9621.jpg', '/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_44_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_44_9677.jpg
/home/pi/Desktop/images/16122025/22/34/image_16122025_22_34_55_10689.jpg
/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_14_10059.jpg
/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_25_10704.jpg
/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_35_9621.jpg
/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_44_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399718516","1399718374","1399718443","1399718406","1399718480","1399718555"],"photo_ids_order":["1399718374","1399718406","1399718443","1399718480","1399718516","1399718555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2110a9cb4995b8975bc08d2c0a73011c.jpg","text":"TemporaryFile(/tmp/multipartBody4546970432671791291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921163027,"filename":"image_16122025_22_35_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73beb1a211814fc330cb34a38155f301.jpg","text":"TemporaryFile(/tmp/multipartBody3375931914550913973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921163027,"filename":"image_16122025_22_34_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/16/0396899075bf6d61b086dc5311fb4fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4753324079192536170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921163027,"filename":"image_16122025_22_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/16/df44e4d56ae071c22161de0ec86ea0c7.jpg","text":"TemporaryFile(/tmp/multipartBody4782170568487934698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921163027,"filename":"image_16122025_22_34_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/16/9daa0876c45059fede81b20bf66a2f72.jpg","text":"TemporaryFile(/tmp/multipartBody6687886730856415679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921163027,"filename":"image_16122025_22_35_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5eff01765044ca82138bb8e88b5f2f20.jpg","text":"TemporaryFile(/tmp/multipartBody476033625850949950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921163027,"filename":"image_16122025_22_35_44_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399718443","file1":"1399718406","file0":"1399718374","file4":"1399718516","file5":"1399718555","file3":"1399718480"},"map_files_photo_id_array":[{"photo_id":"1399718555","filename":"file5"},{"photo_id":"1399718443","filename":"file2"},{"photo_id":"1399718516","filename":"file4"},{"photo_id":"1399718406","filename":"file1"},{"photo_id":"1399718374","filename":"file0"},{"photo_id":"1399718480","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399718516":["hashtag1","hashtag2"]},{"1399718374":["hashtag1","hashtag2"]},{"1399718443":["hashtag1","hashtag2"]},{"1399718406":["hashtag1","hashtag2"]},{"1399718480":["hashtag1","hashtag2"]},{"1399718555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399718516, 1399718374, 1399718443, 1399718406, 1399718480, 1399718555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18933963775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:39:03.596435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_55_10702.jpg', '/home/pi/Desktop/images/16122025/22/35/image_16122025_22_36_05_9657.jpg', '/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_14_9782.jpg', '/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_35_9791.jpg', '/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_44_9700.jpg', '/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_54_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/35/image_16122025_22_35_55_10702.jpg
/home/pi/Desktop/images/16122025/22/35/image_16122025_22_36_05_9657.jpg
/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_14_9782.jpg
/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_35_9791.jpg
/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_44_9700.jpg
/home/pi/Desktop/images/16122025/22/36/image_16122025_22_36_54_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":["1399718866","1399718821","1399718859","1399718787","1399718715","1399718750"],"photo_ids_order":["1399718715","1399718750","1399718787","1399718821","1399718859","1399718866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95ce6c618792e35abd5cd128a295f490.jpg","text":"TemporaryFile(/tmp/multipartBody5609075578233061041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921204273,"filename":"image_16122025_22_36_54_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d2314a3b6c6f939a5a5d9a7f31a0ba97.jpg","text":"TemporaryFile(/tmp/multipartBody4405199558577714951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921204273,"filename":"image_16122025_22_36_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cd0a9ea5f9cee19c94c3f1fd8c5e98ad.jpg","text":"TemporaryFile(/tmp/multipartBody1708714775204318927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921204273,"filename":"image_16122025_22_36_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e158a142aaa36a2f38706bcd0bb528a0.jpg","text":"TemporaryFile(/tmp/multipartBody9071569932734017074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921204273,"filename":"image_16122025_22_36_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0c5f4fd9d37fbe8c2cc0721c01517fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1062370375265718873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921204273,"filename":"image_16122025_22_35_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/16/aa34483565f82ca5e4f5adb0b7e87698.jpg","text":"TemporaryFile(/tmp/multipartBody1889012363568020834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921204273,"filename":"image_16122025_22_36_05_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399718787","file1":"1399718750","file0":"1399718715","file4":"1399718859","file5":"1399718866","file3":"1399718821"},"map_files_photo_id_array":[{"photo_id":"1399718866","filename":"file5"},{"photo_id":"1399718787","filename":"file2"},{"photo_id":"1399718859","filename":"file4"},{"photo_id":"1399718750","filename":"file1"},{"photo_id":"1399718715","filename":"file0"},{"photo_id":"1399718821","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399718866":["hashtag1","hashtag2"]},{"1399718821":["hashtag1","hashtag2"]},{"1399718859":["hashtag1","hashtag2"]},{"1399718787":["hashtag1","hashtag2"]},{"1399718715":["hashtag1","hashtag2"]},{"1399718750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399718866, 1399718821, 1399718859, 1399718787, 1399718715, 1399718750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30893850326538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:39:42.706679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_11_3775.jpg', '/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_13_2740.jpg', '/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_16_2636.jpg', '/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_22_2666.jpg', '/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_31_1728.jpg', '/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_34_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_11_3775.jpg
/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_13_2740.jpg
/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_16_2636.jpg
/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_22_2666.jpg
/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_31_1728.jpg
/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_34_3764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719028","1399718946","1399718934","1399718987","1399719050","1399719082"],"photo_ids_order":["1399718934","1399718946","1399718987","1399719028","1399719050","1399719082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6da9476f75fe46454f0e3ab9ff6d82ce.jpg","text":"TemporaryFile(/tmp/multipartBody5354453675465796788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921243464,"filename":"image_06112025_18_31_22_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/16/6ba5992e99a13044576f2b455ce59286.jpg","text":"TemporaryFile(/tmp/multipartBody7828328886511079654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921243464,"filename":"image_06112025_18_31_13_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/16/b86f5f5f2b014fd4a09dcba92e7242a4.jpg","text":"TemporaryFile(/tmp/multipartBody7812340878632884914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921243464,"filename":"image_06112025_18_31_11_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/16/6fe125545fb942a7cfd4e19adbd33067.jpg","text":"TemporaryFile(/tmp/multipartBody5444890109993494826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921243464,"filename":"image_06112025_18_31_16_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/39d1a667eb03ea29dd81781fc4fb01db.jpg","text":"TemporaryFile(/tmp/multipartBody7708043490865692782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921243464,"filename":"image_06112025_18_31_31_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/16/af020da48af4e711fb798f1c2bd33a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7824128180323943672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921243464,"filename":"image_06112025_18_31_34_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399718987","file1":"1399718946","file0":"1399718934","file4":"1399719050","file5":"1399719082","file3":"1399719028"},"map_files_photo_id_array":[{"photo_id":"1399719082","filename":"file5"},{"photo_id":"1399718987","filename":"file2"},{"photo_id":"1399719050","filename":"file4"},{"photo_id":"1399718946","filename":"file1"},{"photo_id":"1399718934","filename":"file0"},{"photo_id":"1399719028","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719028":["hashtag1","hashtag2"]},{"1399718946":["hashtag1","hashtag2"]},{"1399718934":["hashtag1","hashtag2"]},{"1399718987":["hashtag1","hashtag2"]},{"1399719050":["hashtag1","hashtag2"]},{"1399719082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719028, 1399718946, 1399718934, 1399718987, 1399719050, 1399719082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98034358024597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:40:22.067869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_15_9716.jpg', '/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_25_9847.jpg', '/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_34_9712.jpg', '/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_45_10750.jpg', '/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_55_9745.jpg', '/home/pi/Desktop/images/16122025/22/37/image_16122025_22_38_04_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_15_9716.jpg
/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_25_9847.jpg
/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_34_9712.jpg
/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_45_10750.jpg
/home/pi/Desktop/images/16122025/22/37/image_16122025_22_37_55_9745.jpg
/home/pi/Desktop/images/16122025/22/37/image_16122025_22_38_04_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719189","1399719174","1399719159","1399719144","1399719129","1399719206"],"photo_ids_order":["1399719129","1399719144","1399719159","1399719174","1399719189","1399719206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a87c53d9a7ef12c8b4fda8c1928c3267.jpg","text":"TemporaryFile(/tmp/multipartBody5520342496353298421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921282645,"filename":"image_16122025_22_37_55_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9ac322dba3c59e590dda9ed116d3e45c.jpg","text":"TemporaryFile(/tmp/multipartBody431015978883119531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921282645,"filename":"image_16122025_22_37_45_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96be03542192676b8a4aa8d466026096.jpg","text":"TemporaryFile(/tmp/multipartBody6235528864518368251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921282645,"filename":"image_16122025_22_37_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/16/17affd48d9d4e0d9630409812da8f73b.jpg","text":"TemporaryFile(/tmp/multipartBody7097811517340880527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921282645,"filename":"image_16122025_22_37_25_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02daaa9ab73f164630627d53a4dcc08e.jpg","text":"TemporaryFile(/tmp/multipartBody5894938205864000296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921282645,"filename":"image_16122025_22_37_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/16/a357aef41d8603aeb06074b6a8cccca1.jpg","text":"TemporaryFile(/tmp/multipartBody2407524693536752443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921282645,"filename":"image_16122025_22_38_04_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719159","file1":"1399719144","file0":"1399719129","file4":"1399719189","file5":"1399719206","file3":"1399719174"},"map_files_photo_id_array":[{"photo_id":"1399719206","filename":"file5"},{"photo_id":"1399719159","filename":"file2"},{"photo_id":"1399719189","filename":"file4"},{"photo_id":"1399719144","filename":"file1"},{"photo_id":"1399719129","filename":"file0"},{"photo_id":"1399719174","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719189":["hashtag1","hashtag2"]},{"1399719174":["hashtag1","hashtag2"]},{"1399719159":["hashtag1","hashtag2"]},{"1399719144":["hashtag1","hashtag2"]},{"1399719129":["hashtag1","hashtag2"]},{"1399719206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719189, 1399719174, 1399719159, 1399719144, 1399719129, 1399719206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.027968645095825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:41:02.936303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_15_10759.jpg', '/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_25_9743.jpg', '/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_34_9649.jpg', '/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_45_10591.jpg', '/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_55_9597.jpg', '/home/pi/Desktop/images/16122025/22/38/image_16122025_22_39_04_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_15_10759.jpg
/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_25_9743.jpg
/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_34_9649.jpg
/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_45_10591.jpg
/home/pi/Desktop/images/16122025/22/38/image_16122025_22_38_55_9597.jpg
/home/pi/Desktop/images/16122025/22/38/image_16122025_22_39_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
<Response [200]>
b'{"photo_ids":["1399719319","1399719294","1399719324","1399719306","1399719266","1399719281"],"photo_ids_order":["1399719266","1399719281","1399719294","1399719306","1399719319","1399719324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9e3c26f7c0ec34dfb317a068b4eadc3e.jpg","text":"TemporaryFile(/tmp/multipartBody5677158413574522547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921323568,"filename":"image_16122025_22_38_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/16/a00163963d0da0674954ee31d780031d.jpg","text":"TemporaryFile(/tmp/multipartBody1214743286132234109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921323568,"filename":"image_16122025_22_38_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/16/0de2ad944ea892b57f59da0824fd16e3.jpg","text":"TemporaryFile(/tmp/multipartBody4045647127660076528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921323568,"filename":"image_16122025_22_39_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/16/3caeadd7ce715900605ff992c0966be6.jpg","text":"TemporaryFile(/tmp/multipartBody907056630030826710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921323568,"filename":"image_16122025_22_38_45_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6370c52ca2220afd6377eaac6e525d76.jpg","text":"TemporaryFile(/tmp/multipartBody6152705404103251299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921323568,"filename":"image_16122025_22_38_15_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8b4ebdf8b8423c67ce8611faffc1ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6976871009145281760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921323568,"filename":"image_16122025_22_38_25_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719294","file1":"1399719281","file0":"1399719266","file4":"1399719319","file5":"1399719324","file3":"1399719306"},"map_files_photo_id_array":[{"photo_id":"1399719324","filename":"file5"},{"photo_id":"1399719294","filename":"file2"},{"photo_id":"1399719319","filename":"file4"},{"photo_id":"1399719281","filename":"file1"},{"photo_id":"1399719266","filename":"file0"},{"photo_id":"1399719306","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719319":["hashtag1","hashtag2"]},{"1399719294":["hashtag1","hashtag2"]},{"1399719324":["hashtag1","hashtag2"]},{"1399719306":["hashtag1","hashtag2"]},{"1399719266":["hashtag1","hashtag2"]},{"1399719281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719319, 1399719294, 1399719324, 1399719306, 1399719266, 1399719281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.923145055770874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:41:42.302398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_58_2582.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_02_3789.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_04_2585.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_12_7454.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_19_2824.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_22_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/31/image_06112025_18_31_58_2582.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_02_3789.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_04_2585.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_12_7454.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_19_2824.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_22_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":["1399719337","1399719334","1399719336","1399719330","1399719333","1399719335"],"photo_ids_order":["1399719330","1399719333","1399719334","1399719335","1399719336","1399719337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/157fb3c40f67d20b9d9451ffab2fcc10.jpg","text":"TemporaryFile(/tmp/multipartBody7907260142773721292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921363054,"filename":"image_06112025_18_32_22_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/16/aa8291c1d9cd8804776491875622be60.jpg","text":"TemporaryFile(/tmp/multipartBody612086352700815190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921363054,"filename":"image_06112025_18_32_04_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aadf756b274d4097e2571b454165304a.jpg","text":"TemporaryFile(/tmp/multipartBody6897138022561679353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921363054,"filename":"image_06112025_18_32_19_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/16/1b548e4cce643646f7d240bd9846fb63.jpg","text":"TemporaryFile(/tmp/multipartBody5898428007144694605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921363054,"filename":"image_06112025_18_31_58_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/16/901071647ca2ace326ae7e868428ee89.jpg","text":"TemporaryFile(/tmp/multipartBody529342916672663841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921363054,"filename":"image_06112025_18_32_02_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/16/ff20f03e0fccb959051b85e93fde6245.jpg","text":"TemporaryFile(/tmp/multipartBody4074744163000834857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921363054,"filename":"image_06112025_18_32_12_7454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719334","file1":"1399719333","file0":"1399719330","file4":"1399719336","file5":"1399719337","file3":"1399719335"},"map_files_photo_id_array":[{"photo_id":"1399719337","filename":"file5"},{"photo_id":"1399719334","filename":"file2"},{"photo_id":"1399719336","filename":"file4"},{"photo_id":"1399719333","filename":"file1"},{"photo_id":"1399719330","filename":"file0"},{"photo_id":"1399719335","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719337":["hashtag1","hashtag2"]},{"1399719334":["hashtag1","hashtag2"]},{"1399719336":["hashtag1","hashtag2"]},{"1399719330":["hashtag1","hashtag2"]},{"1399719333":["hashtag1","hashtag2"]},{"1399719335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719337, 1399719334, 1399719336, 1399719330, 1399719333, 1399719335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54550075531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:42:22.597835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_15_10690.jpg', '/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_25_9618.jpg', '/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_34_9585.jpg', '/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_45_10886.jpg', '/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_55_9880.jpg', '/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_15_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_15_10690.jpg
/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_25_9618.jpg
/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_34_9585.jpg
/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_45_10886.jpg
/home/pi/Desktop/images/16122025/22/39/image_16122025_22_39_55_9880.jpg
/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_15_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719346","1399719340","1399719342","1399719350","1399719344","1399719338"],"photo_ids_order":["1399719338","1399719340","1399719342","1399719344","1399719346","1399719350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b03513ef5a11e8404b3242e43b175dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7917158480229872608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921403179,"filename":"image_16122025_22_39_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/16/6911d7200c0a60203d6ca0075b743210.jpg","text":"TemporaryFile(/tmp/multipartBody3041220822268741685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921403179,"filename":"image_16122025_22_39_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/16/b6b5441d8b3d713e265c9d7522d34d84.jpg","text":"TemporaryFile(/tmp/multipartBody4181423681522779229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921403179,"filename":"image_16122025_22_39_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/16/2ed330649afad566cd1876f0c98c1ad7.jpg","text":"TemporaryFile(/tmp/multipartBody6037984475666621683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921403179,"filename":"image_16122025_22_40_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/36be98de45edc12859cc99e718d32b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5419553311847485633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921403179,"filename":"image_16122025_22_39_45_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/16/1c0ba4ce461f6daf55c4628e356675d3.jpg","text":"TemporaryFile(/tmp/multipartBody6452959816694653708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921403179,"filename":"image_16122025_22_39_15_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719342","file1":"1399719340","file0":"1399719338","file4":"1399719346","file5":"1399719350","file3":"1399719344"},"map_files_photo_id_array":[{"photo_id":"1399719350","filename":"file5"},{"photo_id":"1399719342","filename":"file2"},{"photo_id":"1399719346","filename":"file4"},{"photo_id":"1399719340","filename":"file1"},{"photo_id":"1399719338","filename":"file0"},{"photo_id":"1399719344","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719346":["hashtag1","hashtag2"]},{"1399719340":["hashtag1","hashtag2"]},{"1399719342":["hashtag1","hashtag2"]},{"1399719350":["hashtag1","hashtag2"]},{"1399719344":["hashtag1","hashtag2"]},{"1399719338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719346, 1399719340, 1399719342, 1399719350, 1399719344, 1399719338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03476691246033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:43:03.297519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_26_10767.jpg', '/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_35_9539.jpg', '/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_46_10623.jpg', '/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_56_9801.jpg', '/home/pi/Desktop/images/16122025/22/40/image_16122025_22_41_05_9668.jpg', '/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_15_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_26_10767.jpg
/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_35_9539.jpg
/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_46_10623.jpg
/home/pi/Desktop/images/16122025/22/40/image_16122025_22_40_56_9801.jpg
/home/pi/Desktop/images/16122025/22/40/image_16122025_22_41_05_9668.jpg
/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_15_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719355","1399719358","1399719360","1399719357","1399719362","1399719359"],"photo_ids_order":["1399719355","1399719357","1399719358","1399719359","1399719360","1399719362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bcb23a339b30cb3ca46e30a3661d3766.jpg","text":"TemporaryFile(/tmp/multipartBody4033705515151413255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921443889,"filename":"image_16122025_22_40_26_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/16/228168665dae2e5e171dbecc10547f9c.jpg","text":"TemporaryFile(/tmp/multipartBody5311828658154746716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921443889,"filename":"image_16122025_22_40_46_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/16/3ab471732b10f992bba9a8dfa55c0bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1181147752826327582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921443889,"filename":"image_16122025_22_41_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d31f3459a46e917ffd1f7917e594d6cd.jpg","text":"TemporaryFile(/tmp/multipartBody3020272700133379970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921443889,"filename":"image_16122025_22_40_35_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/23a02d0afb3a2e6562b3f1adfa01f264.jpg","text":"TemporaryFile(/tmp/multipartBody2710010346977025240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921443889,"filename":"image_16122025_22_41_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/28e5f1ede1aca3923fc2d47ca12b0391.jpg","text":"TemporaryFile(/tmp/multipartBody9149115750296163368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921443889,"filename":"image_16122025_22_40_56_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719358","file1":"1399719357","file0":"1399719355","file4":"1399719360","file5":"1399719362","file3":"1399719359"},"map_files_photo_id_array":[{"photo_id":"1399719362","filename":"file5"},{"photo_id":"1399719358","filename":"file2"},{"photo_id":"1399719360","filename":"file4"},{"photo_id":"1399719357","filename":"file1"},{"photo_id":"1399719355","filename":"file0"},{"photo_id":"1399719359","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719355":["hashtag1","hashtag2"]},{"1399719358":["hashtag1","hashtag2"]},{"1399719360":["hashtag1","hashtag2"]},{"1399719357":["hashtag1","hashtag2"]},{"1399719362":["hashtag1","hashtag2"]},{"1399719359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719355, 1399719358, 1399719360, 1399719357, 1399719362, 1399719359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82493877410889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:43:42.773445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_37_2773.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_46_9660.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_49_1605.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_51_1665.jpg', '/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_57_6075.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_08_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_37_2773.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_46_9660.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_49_1605.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_51_1665.jpg
/home/pi/Desktop/images/06112025/18/32/image_06112025_18_32_57_6075.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_08_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719370","1399719367","1399719372","1399719375","1399719371","1399719373"],"photo_ids_order":["1399719367","1399719370","1399719371","1399719372","1399719373","1399719375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3f660e1475de00339340f54894c899c.jpg","text":"TemporaryFile(/tmp/multipartBody4930648240003250052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921483519,"filename":"image_06112025_18_32_46_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/16/e1a98a316e1105c9d711846c159efa18.jpg","text":"TemporaryFile(/tmp/multipartBody4623245262225825963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921483519,"filename":"image_06112025_18_32_37_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/16/e61f736f21c481677023f79de08b315a.jpg","text":"TemporaryFile(/tmp/multipartBody5299665879215984817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921483519,"filename":"image_06112025_18_32_51_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/90f4c49459193815d9f43ed76c4df608.jpg","text":"TemporaryFile(/tmp/multipartBody2572744361095764612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921483519,"filename":"image_06112025_18_33_08_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/16/2f37b1d99cdba9dcd1dc0b985518a412.jpg","text":"TemporaryFile(/tmp/multipartBody9029617924815273503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921483519,"filename":"image_06112025_18_32_49_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2c4424b4a98e89c2799bb9ea4cf9b14f.jpg","text":"TemporaryFile(/tmp/multipartBody8132337588948086984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921483519,"filename":"image_06112025_18_32_57_6075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719371","file1":"1399719370","file0":"1399719367","file4":"1399719373","file5":"1399719375","file3":"1399719372"},"map_files_photo_id_array":[{"photo_id":"1399719375","filename":"file5"},{"photo_id":"1399719371","filename":"file2"},{"photo_id":"1399719373","filename":"file4"},{"photo_id":"1399719370","filename":"file1"},{"photo_id":"1399719367","filename":"file0"},{"photo_id":"1399719372","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719370":["hashtag1","hashtag2"]},{"1399719367":["hashtag1","hashtag2"]},{"1399719372":["hashtag1","hashtag2"]},{"1399719375":["hashtag1","hashtag2"]},{"1399719371":["hashtag1","hashtag2"]},{"1399719373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719370, 1399719367, 1399719372, 1399719375, 1399719371, 1399719373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05653166770935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:44:22.130532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_26_10735.jpg', '/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_35_9548.jpg', '/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_55_10631.jpg', '/home/pi/Desktop/images/16122025/22/41/image_16122025_22_42_05_9554.jpg', '/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_16_10735.jpg', '/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_25_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_26_10735.jpg
/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_35_9548.jpg
/home/pi/Desktop/images/16122025/22/41/image_16122025_22_41_55_10631.jpg
/home/pi/Desktop/images/16122025/22/41/image_16122025_22_42_05_9554.jpg
/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_16_10735.jpg
/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_25_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719382","1399719385","1399719387","1399719389","1399719380","1399719392"],"photo_ids_order":["1399719380","1399719382","1399719385","1399719387","1399719389","1399719392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa9cb410616389c0ea3305d2865699f2.jpg","text":"TemporaryFile(/tmp/multipartBody849584716348107669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921522708,"filename":"image_16122025_22_41_35_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1217c5898672bf565437d26da24d1956.jpg","text":"TemporaryFile(/tmp/multipartBody8205104324396339309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921522708,"filename":"image_16122025_22_41_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea3397f0017ac7efcfc521a1aa1871bc.jpg","text":"TemporaryFile(/tmp/multipartBody6942146460334428136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921522708,"filename":"image_16122025_22_42_05_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a341acd42bf1648980175f0d4a144776.jpg","text":"TemporaryFile(/tmp/multipartBody914426440313184944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921522708,"filename":"image_16122025_22_42_16_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1dd305f8c2ebe896608ce709fa3e570.jpg","text":"TemporaryFile(/tmp/multipartBody62636549537812915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921522708,"filename":"image_16122025_22_41_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/16/249e0700a301ebf2fa07749ba9a639d4.jpg","text":"TemporaryFile(/tmp/multipartBody2133864697454470743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921522708,"filename":"image_16122025_22_42_25_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719385","file1":"1399719382","file0":"1399719380","file4":"1399719389","file5":"1399719392","file3":"1399719387"},"map_files_photo_id_array":[{"photo_id":"1399719392","filename":"file5"},{"photo_id":"1399719385","filename":"file2"},{"photo_id":"1399719389","filename":"file4"},{"photo_id":"1399719382","filename":"file1"},{"photo_id":"1399719380","filename":"file0"},{"photo_id":"1399719387","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719382":["hashtag1","hashtag2"]},{"1399719385":["hashtag1","hashtag2"]},{"1399719387":["hashtag1","hashtag2"]},{"1399719389":["hashtag1","hashtag2"]},{"1399719380":["hashtag1","hashtag2"]},{"1399719392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719382, 1399719385, 1399719387, 1399719389, 1399719380, 1399719392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78819417953491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:45:02.903418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_46_10786.jpg', '/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_55_9021.jpg', '/home/pi/Desktop/images/16122025/22/42/image_16122025_22_43_06_10691.jpg', '/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_15_9741.jpg', '/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_25_9732.jpg', '/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_36_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_46_10786.jpg
/home/pi/Desktop/images/16122025/22/42/image_16122025_22_42_55_9021.jpg
/home/pi/Desktop/images/16122025/22/42/image_16122025_22_43_06_10691.jpg
/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_15_9741.jpg
/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_25_9732.jpg
/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_36_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719397","1399719400","1399719396","1399719395","1399719398","1399719394"],"photo_ids_order":["1399719394","1399719395","1399719396","1399719397","1399719398","1399719400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0da4cec971f3e481b97be142fb129e3c.jpg","text":"TemporaryFile(/tmp/multipartBody810404047017205638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921563514,"filename":"image_16122025_22_43_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/22a3a3d0b70d9476dce1d9ebdd844780.jpg","text":"TemporaryFile(/tmp/multipartBody3186722874423514116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921563514,"filename":"image_16122025_22_43_36_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/560ca8892a2971572f25aa9f2c961810.jpg","text":"TemporaryFile(/tmp/multipartBody2361834330167522115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921563514,"filename":"image_16122025_22_43_06_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/16/bda4a0d67fa80f77b983868ca546a33c.jpg","text":"TemporaryFile(/tmp/multipartBody4411320083518543715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921563514,"filename":"image_16122025_22_42_55_9021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fce3c0f52a93faa82340952d82d30e34.jpg","text":"TemporaryFile(/tmp/multipartBody3719065846976393720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921563514,"filename":"image_16122025_22_43_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/16/1554797823edb88ab42ba65ca9e81a82.jpg","text":"TemporaryFile(/tmp/multipartBody1752464808943024752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921563514,"filename":"image_16122025_22_42_46_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719396","file1":"1399719395","file0":"1399719394","file4":"1399719398","file5":"1399719400","file3":"1399719397"},"map_files_photo_id_array":[{"photo_id":"1399719400","filename":"file5"},{"photo_id":"1399719396","filename":"file2"},{"photo_id":"1399719398","filename":"file4"},{"photo_id":"1399719395","filename":"file1"},{"photo_id":"1399719394","filename":"file0"},{"photo_id":"1399719397","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719397":["hashtag1","hashtag2"]},{"1399719400":["hashtag1","hashtag2"]},{"1399719396":["hashtag1","hashtag2"]},{"1399719395":["hashtag1","hashtag2"]},{"1399719398":["hashtag1","hashtag2"]},{"1399719394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719397, 1399719400, 1399719396, 1399719395, 1399719398, 1399719394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.194966077804565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:45:42.191939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_10_1750.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_13_1720.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_15_1659.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_16_1670.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_18_1557.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_20_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_10_1750.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_13_1720.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_15_1659.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_16_1670.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_18_1557.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_20_1599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719412","1399719409","1399719411","1399719405","1399719413","1399719410"],"photo_ids_order":["1399719405","1399719409","1399719410","1399719411","1399719412","1399719413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef0d52487a8f56471c33fde05bd52281.jpg","text":"TemporaryFile(/tmp/multipartBody1486970836752156759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921603014,"filename":"image_06112025_18_33_18_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/16/a178509b77c1fb8cfd5fe2a002068fc6.jpg","text":"TemporaryFile(/tmp/multipartBody1233162868639894733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921603014,"filename":"image_06112025_18_33_13_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/16/5f98e845c625679f67cca8f12396a188.jpg","text":"TemporaryFile(/tmp/multipartBody9021667205809699113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921603014,"filename":"image_06112025_18_33_16_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a92ebe3989c36b6a4c56d8dafeb254e9.jpg","text":"TemporaryFile(/tmp/multipartBody4862834115146736879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921603014,"filename":"image_06112025_18_33_10_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/073d28b347cc85d8166efaf77f1cd8eb.jpg","text":"TemporaryFile(/tmp/multipartBody6544618140273045395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921603014,"filename":"image_06112025_18_33_20_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/16/c4a364e200888f5d26694d296753b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody4213431658035832008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921603014,"filename":"image_06112025_18_33_15_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719410","file1":"1399719409","file0":"1399719405","file4":"1399719412","file5":"1399719413","file3":"1399719411"},"map_files_photo_id_array":[{"photo_id":"1399719413","filename":"file5"},{"photo_id":"1399719410","filename":"file2"},{"photo_id":"1399719412","filename":"file4"},{"photo_id":"1399719409","filename":"file1"},{"photo_id":"1399719405","filename":"file0"},{"photo_id":"1399719411","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719412":["hashtag1","hashtag2"]},{"1399719409":["hashtag1","hashtag2"]},{"1399719411":["hashtag1","hashtag2"]},{"1399719405":["hashtag1","hashtag2"]},{"1399719413":["hashtag1","hashtag2"]},{"1399719410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719412, 1399719409, 1399719411, 1399719405, 1399719413, 1399719410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58760929107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:46:22.478256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_45_9679.jpg', '/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_55_9684.jpg', '/home/pi/Desktop/images/16122025/22/43/image_16122025_22_44_06_10678.jpg', '/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_15_9571.jpg', '/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_25_9624.jpg', '/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_36_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_45_9679.jpg
/home/pi/Desktop/images/16122025/22/43/image_16122025_22_43_55_9684.jpg
/home/pi/Desktop/images/16122025/22/43/image_16122025_22_44_06_10678.jpg
/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_15_9571.jpg
/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_25_9624.jpg
/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_36_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":["1399719424","1399719427","1399719420","1399719417","1399719422","1399719416"],"photo_ids_order":["1399719416","1399719417","1399719420","1399719422","1399719424","1399719427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/898109702e2e62cbaaa404e45d8e5fed.jpg","text":"TemporaryFile(/tmp/multipartBody6214104996449899670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921643057,"filename":"image_16122025_22_44_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/16/c0a0661ff3863b34eb146f259827cd94.jpg","text":"TemporaryFile(/tmp/multipartBody7950030813685968344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921643057,"filename":"image_16122025_22_44_36_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/16/8c9885c3c49203cacf17378fd36bfc1d.jpg","text":"TemporaryFile(/tmp/multipartBody589045002374589337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921643057,"filename":"image_16122025_22_44_06_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/16/2fa9789dcc4f48f214a98dad6c46cf79.jpg","text":"TemporaryFile(/tmp/multipartBody1928551910382974316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921643057,"filename":"image_16122025_22_43_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/42b2402efd722133cd105a7b9352102a.jpg","text":"TemporaryFile(/tmp/multipartBody2719861130860726995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921643057,"filename":"image_16122025_22_44_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/16/a76942dd094f17a8764b9c8449573e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6093335495987677074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921643057,"filename":"image_16122025_22_43_45_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719420","file1":"1399719417","file0":"1399719416","file4":"1399719424","file5":"1399719427","file3":"1399719422"},"map_files_photo_id_array":[{"photo_id":"1399719427","filename":"file5"},{"photo_id":"1399719420","filename":"file2"},{"photo_id":"1399719424","filename":"file4"},{"photo_id":"1399719417","filename":"file1"},{"photo_id":"1399719416","filename":"file0"},{"photo_id":"1399719422","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719424":["hashtag1","hashtag2"]},{"1399719427":["hashtag1","hashtag2"]},{"1399719420":["hashtag1","hashtag2"]},{"1399719417":["hashtag1","hashtag2"]},{"1399719422":["hashtag1","hashtag2"]},{"1399719416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719424, 1399719427, 1399719420, 1399719417, 1399719422, 1399719416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23150086402893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:47:03.450399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_45_9561.jpg', '/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_14_10055.jpg', '/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_24_10834.jpg', '/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_34_9536.jpg', '/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_44_9704.jpg', '/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_54_10820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/44/image_16122025_22_44_45_9561.jpg
/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_14_10055.jpg
/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_24_10834.jpg
/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_34_9536.jpg
/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_44_9704.jpg
/home/pi/Desktop/images/16122025/22/45/image_16122025_22_45_54_10820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719430","1399719429","1399719432","1399719431","1399719434","1399719428"],"photo_ids_order":["1399719428","1399719429","1399719430","1399719431","1399719432","1399719434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31c84c2a8cf89fd32dc16250614057bc.jpg","text":"TemporaryFile(/tmp/multipartBody4034614757753554716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921684048,"filename":"image_16122025_22_45_24_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4cf33454620c5317416894decb6e9f88.jpg","text":"TemporaryFile(/tmp/multipartBody6432219079135359674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921684048,"filename":"image_16122025_22_45_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/55a95ff14878c71e63350d347b63e41a.jpg","text":"TemporaryFile(/tmp/multipartBody983194940792184811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921684048,"filename":"image_16122025_22_45_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/16/cf40956b2744b5a5bb650c0d1b1985ed.jpg","text":"TemporaryFile(/tmp/multipartBody8553189016694644015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921684048,"filename":"image_16122025_22_45_34_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c97a18d3c5f632c57f38f45b80af66a.jpg","text":"TemporaryFile(/tmp/multipartBody1194574614176471505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921684048,"filename":"image_16122025_22_45_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/16/e5b8802b9f7bcc48d1e3928898c87a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1659037744132038892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921684048,"filename":"image_16122025_22_44_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719430","file1":"1399719429","file0":"1399719428","file4":"1399719432","file5":"1399719434","file3":"1399719431"},"map_files_photo_id_array":[{"photo_id":"1399719434","filename":"file5"},{"photo_id":"1399719430","filename":"file2"},{"photo_id":"1399719432","filename":"file4"},{"photo_id":"1399719429","filename":"file1"},{"photo_id":"1399719428","filename":"file0"},{"photo_id":"1399719431","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719430":["hashtag1","hashtag2"]},{"1399719429":["hashtag1","hashtag2"]},{"1399719432":["hashtag1","hashtag2"]},{"1399719431":["hashtag1","hashtag2"]},{"1399719434":["hashtag1","hashtag2"]},{"1399719428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719430, 1399719429, 1399719432, 1399719431, 1399719434, 1399719428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22078609466553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:47:42.806356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_29_1719.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_31_1654.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_34_3750.jpg', '/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_37_2713.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_04_1645.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_10_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_29_1719.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_31_1654.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_34_3750.jpg
/home/pi/Desktop/images/06112025/18/33/image_06112025_18_33_37_2713.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_04_1645.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_10_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719442","1399719445","1399719444","1399719443","1399719446","1399719440"],"photo_ids_order":["1399719440","1399719442","1399719443","1399719444","1399719445","1399719446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3834efbf35c0cfd63740bc2edbbb311f.jpg","text":"TemporaryFile(/tmp/multipartBody6426168573664283648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921723731,"filename":"image_06112025_18_33_31_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/607503d0abbd0e831cf8c127c0774330.jpg","text":"TemporaryFile(/tmp/multipartBody849734753307430061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921723731,"filename":"image_06112025_18_34_04_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/16/948077eb2145eec376d85ede0605401d.jpg","text":"TemporaryFile(/tmp/multipartBody4409039657976659230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921723731,"filename":"image_06112025_18_33_37_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7404d69cf2b30874e3844c581a1e8fd5.jpg","text":"TemporaryFile(/tmp/multipartBody118262584823956174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921723731,"filename":"image_06112025_18_33_34_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/16/be6074005b8228247742531fbde2e1af.jpg","text":"TemporaryFile(/tmp/multipartBody6287102661423950328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921723731,"filename":"image_06112025_18_34_10_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/16/b96eddcc5841ce189d1f72531f16df4a.jpg","text":"TemporaryFile(/tmp/multipartBody409334347402198796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921723731,"filename":"image_06112025_18_33_29_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719443","file1":"1399719442","file0":"1399719440","file4":"1399719445","file5":"1399719446","file3":"1399719444"},"map_files_photo_id_array":[{"photo_id":"1399719446","filename":"file5"},{"photo_id":"1399719443","filename":"file2"},{"photo_id":"1399719445","filename":"file4"},{"photo_id":"1399719442","filename":"file1"},{"photo_id":"1399719440","filename":"file0"},{"photo_id":"1399719444","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719442":["hashtag1","hashtag2"]},{"1399719445":["hashtag1","hashtag2"]},{"1399719444":["hashtag1","hashtag2"]},{"1399719443":["hashtag1","hashtag2"]},{"1399719446":["hashtag1","hashtag2"]},{"1399719440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719442, 1399719445, 1399719444, 1399719443, 1399719446, 1399719440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16392636299133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:48:22.076622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_14_9640.jpg', '/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_24_10629.jpg', '/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_34_9806.jpg', '/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_44_9816.jpg', '/home/pi/Desktop/images/16122025/22/47/image_16122025_22_47_24_9676.jpg', '/home/pi/Desktop/images/16122025/22/47/image_16122025_22_47_34_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_14_9640.jpg
/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_24_10629.jpg
/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_34_9806.jpg
/home/pi/Desktop/images/16122025/22/46/image_16122025_22_46_44_9816.jpg
/home/pi/Desktop/images/16122025/22/47/image_16122025_22_47_24_9676.jpg
/home/pi/Desktop/images/16122025/22/47/image_16122025_22_47_34_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719448","1399719447","1399719450","1399719458","1399719452","1399719455"],"photo_ids_order":["1399719447","1399719448","1399719450","1399719452","1399719455","1399719458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ead81ac7c7f2af17cfc07f2709b778fc.jpg","text":"TemporaryFile(/tmp/multipartBody5746521914820417370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921762653,"filename":"image_16122025_22_46_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/117abcf949157bb1568d89958c611c53.jpg","text":"TemporaryFile(/tmp/multipartBody5471106058042272631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921762653,"filename":"image_16122025_22_46_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e5aaefb875179feb14aa9ddc1154063a.jpg","text":"TemporaryFile(/tmp/multipartBody6258318540266931636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921762653,"filename":"image_16122025_22_46_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/16/4980ebdfec2127e08b5b7bd12e088689.jpg","text":"TemporaryFile(/tmp/multipartBody6061979756131578423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921762653,"filename":"image_16122025_22_47_34_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f8b2a772f34e5b6f349f4d82bba8bfff.jpg","text":"TemporaryFile(/tmp/multipartBody223819650132705859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921762653,"filename":"image_16122025_22_46_44_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7e07154e782348ce88ea58522dc9dd9c.jpg","text":"TemporaryFile(/tmp/multipartBody4790101014929933576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921762653,"filename":"image_16122025_22_47_24_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719450","file1":"1399719448","file0":"1399719447","file4":"1399719455","file5":"1399719458","file3":"1399719452"},"map_files_photo_id_array":[{"photo_id":"1399719458","filename":"file5"},{"photo_id":"1399719450","filename":"file2"},{"photo_id":"1399719455","filename":"file4"},{"photo_id":"1399719448","filename":"file1"},{"photo_id":"1399719447","filename":"file0"},{"photo_id":"1399719452","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719448":["hashtag1","hashtag2"]},{"1399719447":["hashtag1","hashtag2"]},{"1399719450":["hashtag1","hashtag2"]},{"1399719458":["hashtag1","hashtag2"]},{"1399719452":["hashtag1","hashtag2"]},{"1399719455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719448, 1399719447, 1399719450, 1399719458, 1399719452, 1399719455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.560150146484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:49:03.151427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/47/image_16122025_22_47_44_9623.jpg', '/home/pi/Desktop/images/16122025/22/47/image_16122025_22_48_04_10748.jpg', '/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_14_9607.jpg', '/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_24_9583.jpg', '/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_34_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/47/image_16122025_22_47_44_9623.jpg
/home/pi/Desktop/images/16122025/22/47/image_16122025_22_48_04_10748.jpg
/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_14_9607.jpg
/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_24_9583.jpg
/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_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":["1399719469","1399719466","1399719468","1399719464","1399719467"],"photo_ids_order":["1399719464","1399719466","1399719467","1399719468","1399719469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/481ce05c4d3d38e7dd58b29ffb99213e.jpg","text":"TemporaryFile(/tmp/multipartBody4084960240122873626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921803861,"filename":"image_16122025_22_48_34_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/192c502aa144a8510ba81cf0615a5e9f.jpg","text":"TemporaryFile(/tmp/multipartBody6059544765640734764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921803861,"filename":"image_16122025_22_48_04_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/16/3baba58dcec3183b37fe1def9710f141.jpg","text":"TemporaryFile(/tmp/multipartBody1643135354473216553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921803861,"filename":"image_16122025_22_48_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/16/e96a3cf8acd7b34b1d13f05bd182d8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4801995950853979040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921803861,"filename":"image_16122025_22_47_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/16/34d3a915958bea990b8aef363bd9f0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4492013989078459160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921803861,"filename":"image_16122025_22_48_14_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719467","file1":"1399719466","file0":"1399719464","file4":"1399719469","file3":"1399719468"},"map_files_photo_id_array":[{"photo_id":"1399719467","filename":"file2"},{"photo_id":"1399719469","filename":"file4"},{"photo_id":"1399719466","filename":"file1"},{"photo_id":"1399719464","filename":"file0"},{"photo_id":"1399719468","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719469":["hashtag1","hashtag2"]},{"1399719466":["hashtag1","hashtag2"]},{"1399719468":["hashtag1","hashtag2"]},{"1399719464":["hashtag1","hashtag2"]},{"1399719467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719469, 1399719466, 1399719468, 1399719464, 1399719467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.938507795333862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:49:42.352537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_11_1696.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_13_1842.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_17_1829.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_18_1798.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_20_1614.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_24_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_11_1696.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_13_1842.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_17_1829.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_18_1798.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_20_1614.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_24_1636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.653193473815918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:50:02.984138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_44_9696.jpg', '/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_14_9794.jpg', '/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_24_9680.jpg', '/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_34_9815.jpg', '/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_44_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/48/image_16122025_22_48_44_9696.jpg
/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_14_9794.jpg
/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_24_9680.jpg
/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_34_9815.jpg
/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_44_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719484","1399719483","1399719486","1399719485","1399719487"],"photo_ids_order":["1399719483","1399719484","1399719485","1399719486","1399719487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bcd87788aa5b3a54ea04ad8a57c5cf1b.jpg","text":"TemporaryFile(/tmp/multipartBody2602774554810141857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921863535,"filename":"image_16122025_22_49_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b62004c9e9f8240d89b8cb625c4fb5d2.jpg","text":"TemporaryFile(/tmp/multipartBody5576532497825603755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921863535,"filename":"image_16122025_22_48_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/16/a001eb314836ad112c83297cb9b02d18.jpg","text":"TemporaryFile(/tmp/multipartBody6909264919260810559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921863535,"filename":"image_16122025_22_49_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d829c17a68593c52933c613a8396586.jpg","text":"TemporaryFile(/tmp/multipartBody7545117327392345550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921863535,"filename":"image_16122025_22_49_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/16/77a702b658b8f807f71e5b62d0519255.jpg","text":"TemporaryFile(/tmp/multipartBody6943918471251921447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921863535,"filename":"image_16122025_22_49_44_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719485","file1":"1399719484","file0":"1399719483","file4":"1399719487","file3":"1399719486"},"map_files_photo_id_array":[{"photo_id":"1399719485","filename":"file2"},{"photo_id":"1399719487","filename":"file4"},{"photo_id":"1399719484","filename":"file1"},{"photo_id":"1399719483","filename":"file0"},{"photo_id":"1399719486","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719484":["hashtag1","hashtag2"]},{"1399719483":["hashtag1","hashtag2"]},{"1399719486":["hashtag1","hashtag2"]},{"1399719485":["hashtag1","hashtag2"]},{"1399719487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719484, 1399719483, 1399719486, 1399719485, 1399719487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.153602361679077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:50:42.612679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_11_1696.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_13_1842.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_17_1829.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_18_1798.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_20_1614.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_24_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_11_1696.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_13_1842.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_17_1829.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_18_1798.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_20_1614.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_24_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719498","1399719501","1399719494","1399719497","1399719500","1399719499"],"photo_ids_order":["1399719494","1399719497","1399719498","1399719499","1399719500","1399719501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1c3665e283ab99f37b14779b8d25dcb.jpg","text":"TemporaryFile(/tmp/multipartBody422722157644653335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921903266,"filename":"image_06112025_18_34_17_1829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8b08a9990d961c436890a0fa7941c7da.jpg","text":"TemporaryFile(/tmp/multipartBody3318572427311598766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921903266,"filename":"image_06112025_18_34_24_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/16/7fe693606302dd25b8f60c7dfc839273.jpg","text":"TemporaryFile(/tmp/multipartBody693450909584309124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921903266,"filename":"image_06112025_18_34_11_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/59821050c31058e8f74ff694d3d7d10e.jpg","text":"TemporaryFile(/tmp/multipartBody3924992400582426401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921903266,"filename":"image_06112025_18_34_13_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e597b828795c35fe14c145a27a1695a1.jpg","text":"TemporaryFile(/tmp/multipartBody9222879829689091667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921903266,"filename":"image_06112025_18_34_20_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/16/1676ed9e468283ca361e87aeaf6c95af.jpg","text":"TemporaryFile(/tmp/multipartBody7247942696218371005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921903266,"filename":"image_06112025_18_34_18_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719498","file1":"1399719497","file0":"1399719494","file4":"1399719500","file5":"1399719501","file3":"1399719499"},"map_files_photo_id_array":[{"photo_id":"1399719501","filename":"file5"},{"photo_id":"1399719498","filename":"file2"},{"photo_id":"1399719500","filename":"file4"},{"photo_id":"1399719497","filename":"file1"},{"photo_id":"1399719494","filename":"file0"},{"photo_id":"1399719499","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719498":["hashtag1","hashtag2"]},{"1399719501":["hashtag1","hashtag2"]},{"1399719494":["hashtag1","hashtag2"]},{"1399719497":["hashtag1","hashtag2"]},{"1399719500":["hashtag1","hashtag2"]},{"1399719499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719498, 1399719501, 1399719494, 1399719497, 1399719500, 1399719499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72779726982117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:51:21.846550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_54_9710.jpg', '/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_14_10057.jpg', '/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_35_9539.jpg', '/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_45_9834.jpg', '/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_55_10823.jpg', '/home/pi/Desktop/images/16122025/22/50/image_16122025_22_51_05_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/49/image_16122025_22_49_54_9710.jpg
/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_14_10057.jpg
/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_35_9539.jpg
/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_45_9834.jpg
/home/pi/Desktop/images/16122025/22/50/image_16122025_22_50_55_10823.jpg
/home/pi/Desktop/images/16122025/22/50/image_16122025_22_51_05_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":["1399719508","1399719502","1399719510","1399719504","1399719513","1399719506"],"photo_ids_order":["1399719502","1399719504","1399719506","1399719508","1399719510","1399719513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d786590025c1c518c21d539d4b87c1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3007233022327366744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921942452,"filename":"image_16122025_22_50_45_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/16/9b70be3c85e9968362738a2ec8a74f88.jpg","text":"TemporaryFile(/tmp/multipartBody7249805521444894195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921942452,"filename":"image_16122025_22_49_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/16/328e8b9d5c5893cd01751a7810c8d3dd.jpg","text":"TemporaryFile(/tmp/multipartBody5007135076401591003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921942452,"filename":"image_16122025_22_50_55_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21acfdd4f2c30be5194a9b2a1f1e0892.jpg","text":"TemporaryFile(/tmp/multipartBody7432319418224734423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921942452,"filename":"image_16122025_22_50_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/16/2740fd38cf0b62471dc38bf24ce896d5.jpg","text":"TemporaryFile(/tmp/multipartBody3099087930003259333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921942452,"filename":"image_16122025_22_51_05_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f501def2cca6659525842a495c2ae26.jpg","text":"TemporaryFile(/tmp/multipartBody7832600282421571811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765921942452,"filename":"image_16122025_22_50_35_9539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719506","file1":"1399719504","file0":"1399719502","file4":"1399719510","file5":"1399719513","file3":"1399719508"},"map_files_photo_id_array":[{"photo_id":"1399719513","filename":"file5"},{"photo_id":"1399719506","filename":"file2"},{"photo_id":"1399719510","filename":"file4"},{"photo_id":"1399719504","filename":"file1"},{"photo_id":"1399719502","filename":"file0"},{"photo_id":"1399719508","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719508":["hashtag1","hashtag2"]},{"1399719502":["hashtag1","hashtag2"]},{"1399719510":["hashtag1","hashtag2"]},{"1399719504":["hashtag1","hashtag2"]},{"1399719513":["hashtag1","hashtag2"]},{"1399719506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719508, 1399719502, 1399719510, 1399719504, 1399719513, 1399719506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29182314872742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:52:02.478746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_15_9514.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_25_10656.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_35_9569.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_44_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_15_9514.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_25_10656.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_35_9569.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_44_9562.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4409027099609375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:52:12.058597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:52:22.072127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_15_9514.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_25_10656.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_35_9569.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_44_9562.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_55_10821.jpg', '/home/pi/Desktop/images/16122025/22/51/image_16122025_22_52_05_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_15_9514.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_25_10656.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_35_9569.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_44_9562.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_51_55_10821.jpg
/home/pi/Desktop/images/16122025/22/51/image_16122025_22_52_05_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719523","1399719525","1399719519","1399719530","1399719527","1399719521"],"photo_ids_order":["1399719519","1399719521","1399719523","1399719525","1399719527","1399719530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/07b1afdcf08c7a785d02e15b22316a76.jpg","text":"TemporaryFile(/tmp/multipartBody7295905735800853262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922002657,"filename":"image_16122025_22_51_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/16/566a73c62f7bb882d52b5741d4bdd095.jpg","text":"TemporaryFile(/tmp/multipartBody2574879849733961849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922002657,"filename":"image_16122025_22_51_44_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7f20e9aa24fefa0116a69b6b8ee3893f.jpg","text":"TemporaryFile(/tmp/multipartBody7752370702893944891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922002657,"filename":"image_16122025_22_51_15_9514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37a6cf9e2c809b4566e3449479163c31.jpg","text":"TemporaryFile(/tmp/multipartBody7805778009328284196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922002657,"filename":"image_16122025_22_52_05_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/16/112c06f7628c772ac9af0718a75db710.jpg","text":"TemporaryFile(/tmp/multipartBody8899056442527387391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922002657,"filename":"image_16122025_22_51_55_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2dd13a97f7fc5cfac65dcfbb90740da2.jpg","text":"TemporaryFile(/tmp/multipartBody6450162910505709476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922002657,"filename":"image_16122025_22_51_25_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719523","file1":"1399719521","file0":"1399719519","file4":"1399719527","file5":"1399719530","file3":"1399719525"},"map_files_photo_id_array":[{"photo_id":"1399719530","filename":"file5"},{"photo_id":"1399719523","filename":"file2"},{"photo_id":"1399719527","filename":"file4"},{"photo_id":"1399719521","filename":"file1"},{"photo_id":"1399719519","filename":"file0"},{"photo_id":"1399719525","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719523":["hashtag1","hashtag2"]},{"1399719525":["hashtag1","hashtag2"]},{"1399719519":["hashtag1","hashtag2"]},{"1399719530":["hashtag1","hashtag2"]},{"1399719527":["hashtag1","hashtag2"]},{"1399719521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719523, 1399719525, 1399719519, 1399719530, 1399719527, 1399719521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64785289764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:53:03.163652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_15_9598.jpg', '/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_25_10759.jpg', '/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_35_9586.jpg', '/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_45_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_15_9598.jpg
/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_25_10759.jpg
/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_35_9586.jpg
/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_45_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":["1399719535","1399719532","1399719534","1399719533"],"photo_ids_order":["1399719532","1399719533","1399719534","1399719535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c41763b2d9512200e7d743e7797d3dfe.jpg","text":"TemporaryFile(/tmp/multipartBody236020383436475193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922043720,"filename":"image_16122025_22_52_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/16/60fddbde3f088907d93d0999c5dc5884.jpg","text":"TemporaryFile(/tmp/multipartBody8873318790467208297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922043720,"filename":"image_16122025_22_52_15_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/460e7b33a926708046395996461bdd90.jpg","text":"TemporaryFile(/tmp/multipartBody2939094894989204297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922043720,"filename":"image_16122025_22_52_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/16/2eb5f6bce6b90deb01bf7fcc8aac12ad.jpg","text":"TemporaryFile(/tmp/multipartBody2795704657197210706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922043720,"filename":"image_16122025_22_52_25_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719534","file1":"1399719533","file0":"1399719532","file3":"1399719535"},"map_files_photo_id_array":[{"photo_id":"1399719534","filename":"file2"},{"photo_id":"1399719533","filename":"file1"},{"photo_id":"1399719532","filename":"file0"},{"photo_id":"1399719535","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719535":["hashtag1","hashtag2"]},{"1399719532":["hashtag1","hashtag2"]},{"1399719534":["hashtag1","hashtag2"]},{"1399719533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719535, 1399719532, 1399719534, 1399719533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.140470504760742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 22:53:32.420988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:53:42.367002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_25_1532.jpg', '/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_56_1673.jpg', '/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_01_1686.jpg', '/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_35_1688.jpg', '/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_37_1581.jpg', '/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_41_1779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_25_1532.jpg
/home/pi/Desktop/images/06112025/18/34/image_06112025_18_34_56_1673.jpg
/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_01_1686.jpg
/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_35_1688.jpg
/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_37_1581.jpg
/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_41_1779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719553","1399719556","1399719541","1399719555","1399719557","1399719554"],"photo_ids_order":["1399719541","1399719553","1399719554","1399719555","1399719556","1399719557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c365b7c1ec2b7eda45600b418ff4f8a0.jpg","text":"TemporaryFile(/tmp/multipartBody3313325894521735011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922083221,"filename":"image_06112025_18_34_56_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e526c609f5f0ed6913d98139ec207225.jpg","text":"TemporaryFile(/tmp/multipartBody7602815237716518739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922083221,"filename":"image_06112025_18_35_37_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/16/ceb744fa44fd5496040b842429d22ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4193227762640236980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922083221,"filename":"image_06112025_18_34_25_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/16/d031d8c771b59addbad3edf4d6dc7a6a.jpg","text":"TemporaryFile(/tmp/multipartBody6395442244981219019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922083221,"filename":"image_06112025_18_35_35_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/60ba2a7953bf9f05e11343dd184e5f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8839269223679637563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922083221,"filename":"image_06112025_18_35_41_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b58dfb11a1ddbe980bdd8d684354feac.jpg","text":"TemporaryFile(/tmp/multipartBody7702230822354113391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922083221,"filename":"image_06112025_18_35_01_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719554","file1":"1399719553","file0":"1399719541","file4":"1399719556","file5":"1399719557","file3":"1399719555"},"map_files_photo_id_array":[{"photo_id":"1399719557","filename":"file5"},{"photo_id":"1399719554","filename":"file2"},{"photo_id":"1399719556","filename":"file4"},{"photo_id":"1399719553","filename":"file1"},{"photo_id":"1399719541","filename":"file0"},{"photo_id":"1399719555","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719553":["hashtag1","hashtag2"]},{"1399719556":["hashtag1","hashtag2"]},{"1399719541":["hashtag1","hashtag2"]},{"1399719555":["hashtag1","hashtag2"]},{"1399719557":["hashtag1","hashtag2"]},{"1399719554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719553, 1399719556, 1399719541, 1399719555, 1399719557, 1399719554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.817359924316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:54:22.673184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_54_9730.jpg', '/home/pi/Desktop/images/16122025/22/52/image_16122025_22_53_05_10583.jpg', '/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_15_9591.jpg', '/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_25_10645.jpg', '/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_35_9723.jpg', '/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/52/image_16122025_22_52_54_9730.jpg
/home/pi/Desktop/images/16122025/22/52/image_16122025_22_53_05_10583.jpg
/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_15_9591.jpg
/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_25_10645.jpg
/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_35_9723.jpg
/home/pi/Desktop/images/16122025/22/53/image_16122025_22_53_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":["1399719565","1399719559","1399719561","1399719569","1399719563","1399719566"],"photo_ids_order":["1399719559","1399719561","1399719563","1399719565","1399719566","1399719569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/082ecf245b1652ae84fac32d37c74b91.jpg","text":"TemporaryFile(/tmp/multipartBody2837810731177227723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922123262,"filename":"image_16122025_22_53_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1ca38f32c1fd573379c179513f0792a8.jpg","text":"TemporaryFile(/tmp/multipartBody6226325012744501560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922123262,"filename":"image_16122025_22_52_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/16/7dc2bf0f461dddb5fbe15586fbcbf4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4013824320989557567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922123262,"filename":"image_16122025_22_53_05_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70334b0276765c97eb55b65c0debdc2c.jpg","text":"TemporaryFile(/tmp/multipartBody7357974399363475614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922123262,"filename":"image_16122025_22_53_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/16/11714a86ee041f5e12e1d2f86934678e.jpg","text":"TemporaryFile(/tmp/multipartBody1528457655056304362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922123262,"filename":"image_16122025_22_53_15_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/16/c3ddac112d9ce53fa812e015e49b4ee2.jpg","text":"TemporaryFile(/tmp/multipartBody8486065785749125677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922123262,"filename":"image_16122025_22_53_35_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719563","file1":"1399719561","file0":"1399719559","file4":"1399719566","file5":"1399719569","file3":"1399719565"},"map_files_photo_id_array":[{"photo_id":"1399719569","filename":"file5"},{"photo_id":"1399719563","filename":"file2"},{"photo_id":"1399719566","filename":"file4"},{"photo_id":"1399719561","filename":"file1"},{"photo_id":"1399719559","filename":"file0"},{"photo_id":"1399719565","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719565":["hashtag1","hashtag2"]},{"1399719559":["hashtag1","hashtag2"]},{"1399719561":["hashtag1","hashtag2"]},{"1399719569":["hashtag1","hashtag2"]},{"1399719563":["hashtag1","hashtag2"]},{"1399719566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719565, 1399719559, 1399719561, 1399719569, 1399719563, 1399719566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75004982948303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:55:02.649268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/53/image_16122025_22_54_05_10696.jpg', '/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_15_9747.jpg', '/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_24_9545.jpg', '/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_35_10695.jpg', '/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_45_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/53/image_16122025_22_54_05_10696.jpg
/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_15_9747.jpg
/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_24_9545.jpg
/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_35_10695.jpg
/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_45_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719574","1399719577","1399719576","1399719575","1399719578"],"photo_ids_order":["1399719574","1399719575","1399719576","1399719577","1399719578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37b36759001a3c0092e006f66584f2f9.jpg","text":"TemporaryFile(/tmp/multipartBody3783705656125343171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922163240,"filename":"image_16122025_22_54_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/16/a066b81e2643f42302cbb722a5fc869b.jpg","text":"TemporaryFile(/tmp/multipartBody6421014682152690619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922163240,"filename":"image_16122025_22_54_35_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c075d377b5b8e00b3cef807dc28adc11.jpg","text":"TemporaryFile(/tmp/multipartBody1685737267715021168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922163240,"filename":"image_16122025_22_54_24_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c818905c26dbd3ee8b9553c535583c91.jpg","text":"TemporaryFile(/tmp/multipartBody773248973237378667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922163240,"filename":"image_16122025_22_54_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/16/8818a65153d4b5216eb07204f1a708c1.jpg","text":"TemporaryFile(/tmp/multipartBody6034171792059700473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922163240,"filename":"image_16122025_22_54_45_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719576","file1":"1399719575","file0":"1399719574","file4":"1399719578","file3":"1399719577"},"map_files_photo_id_array":[{"photo_id":"1399719576","filename":"file2"},{"photo_id":"1399719578","filename":"file4"},{"photo_id":"1399719575","filename":"file1"},{"photo_id":"1399719574","filename":"file0"},{"photo_id":"1399719577","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719574":["hashtag1","hashtag2"]},{"1399719577":["hashtag1","hashtag2"]},{"1399719576":["hashtag1","hashtag2"]},{"1399719575":["hashtag1","hashtag2"]},{"1399719578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719574, 1399719577, 1399719576, 1399719575, 1399719578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.13549542427063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:55:42.008976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_56_15515.jpg', '/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_58_1705.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_01_1657.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_03_1604.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_14_6190.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_20_6038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_56_15515.jpg
/home/pi/Desktop/images/06112025/18/35/image_06112025_18_35_58_1705.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_01_1657.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_03_1604.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_14_6190.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_20_6038.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719589","1399719591","1399719588","1399719590","1399719584","1399719592"],"photo_ids_order":["1399719584","1399719588","1399719589","1399719590","1399719591","1399719592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d8f1ae1abebb273e9983923aa2ca26f7.jpg","text":"TemporaryFile(/tmp/multipartBody6725318525243842738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922202767,"filename":"image_06112025_18_36_01_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/16/38452dafae1bcdf1b928252601d5db24.jpg","text":"TemporaryFile(/tmp/multipartBody6795767456456269244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922202767,"filename":"image_06112025_18_36_14_6190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5070c41b11f9dfb326f06848f6966653.jpg","text":"TemporaryFile(/tmp/multipartBody8544864963426145126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922202767,"filename":"image_06112025_18_35_58_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/16/a537f2363b16d22bd4e0501138e80fe6.jpg","text":"TemporaryFile(/tmp/multipartBody362969470124541930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922202767,"filename":"image_06112025_18_36_03_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/16/c52a8fa85152e9ae803cbe7df453860c.jpg","text":"TemporaryFile(/tmp/multipartBody4303833738523845799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922202767,"filename":"image_06112025_18_35_56_15515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8e91144cf346bf21a070260f7c65f3a3.jpg","text":"TemporaryFile(/tmp/multipartBody8500653554392675800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922202767,"filename":"image_06112025_18_36_20_6038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719589","file1":"1399719588","file0":"1399719584","file4":"1399719591","file5":"1399719592","file3":"1399719590"},"map_files_photo_id_array":[{"photo_id":"1399719592","filename":"file5"},{"photo_id":"1399719589","filename":"file2"},{"photo_id":"1399719591","filename":"file4"},{"photo_id":"1399719588","filename":"file1"},{"photo_id":"1399719584","filename":"file0"},{"photo_id":"1399719590","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399719589":["hashtag1","hashtag2"]},{"1399719591":["hashtag1","hashtag2"]},{"1399719588":["hashtag1","hashtag2"]},{"1399719590":["hashtag1","hashtag2"]},{"1399719584":["hashtag1","hashtag2"]},{"1399719592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399719589, 1399719591, 1399719588, 1399719590, 1399719584, 1399719592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.979360580444336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:56:22.308270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_55_9733.jpg', '/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_14_10055.jpg', '/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_25_10849.jpg', '/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_44_9687.jpg', '/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_55_10601.jpg', '/home/pi/Desktop/images/16122025/22/55/image_16122025_22_56_05_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/54/image_16122025_22_54_55_9733.jpg
/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_14_10055.jpg
/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_25_10849.jpg
/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_44_9687.jpg
/home/pi/Desktop/images/16122025/22/55/image_16122025_22_55_55_10601.jpg
/home/pi/Desktop/images/16122025/22/55/image_16122025_22_56_05_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":["1399719595","1399719597","1399719601","1399719609","1399719603","1399719599"],"photo_ids_order":["1399719595","1399719597","1399719599","1399719601","1399719603","1399719609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6d04643a721ec74f5a580cd154894a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4412027988730383526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922242890,"filename":"image_16122025_22_54_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/16/44030ccf3b258350ef0a80247ec91fb1.jpg","text":"TemporaryFile(/tmp/multipartBody9071719943701104041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922242890,"filename":"image_16122025_22_55_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/228212014e1eb17a1a86e28834edbc34.jpg","text":"TemporaryFile(/tmp/multipartBody1348709174428403936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922242890,"filename":"image_16122025_22_55_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/16/9fcb9269f9a784090791201259860eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2072733829332698492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922242890,"filename":"image_16122025_22_56_05_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/16/44c3a4a44cded33ae790b6a8565e9918.jpg","text":"TemporaryFile(/tmp/multipartBody1918825586122797559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922242890,"filename":"image_16122025_22_55_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/16/d2877d294bc1167a4acb77022df0e11b.jpg","text":"TemporaryFile(/tmp/multipartBody2239798213846637027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922242890,"filename":"image_16122025_22_55_25_10849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719599","file1":"1399719597","file0":"1399719595","file4":"1399719603","file5":"1399719609","file3":"1399719601"},"map_files_photo_id_array":[{"photo_id":"1399719609","filename":"file5"},{"photo_id":"1399719599","filename":"file2"},{"photo_id":"1399719603","filename":"file4"},{"photo_id":"1399719597","filename":"file1"},{"photo_id":"1399719595","filename":"file0"},{"photo_id":"1399719601","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719595":["hashtag1","hashtag2"]},{"1399719597":["hashtag1","hashtag2"]},{"1399719601":["hashtag1","hashtag2"]},{"1399719609":["hashtag1","hashtag2"]},{"1399719603":["hashtag1","hashtag2"]},{"1399719599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719595, 1399719597, 1399719601, 1399719609, 1399719603, 1399719599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.344695806503296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:57:03.177884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/56/image_16122025_22_56_14_9654.jpg', '/home/pi/Desktop/images/16122025/22/56/image_16122025_22_56_25_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/56/image_16122025_22_56_14_9654.jpg
/home/pi/Desktop/images/16122025/22/56/image_16122025_22_56_25_10697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719613","1399719611"],"photo_ids_order":["1399719611","1399719613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/75a02727827789eda1bb8748b50dd641.jpg","text":"TemporaryFile(/tmp/multipartBody3232598387932628878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922283639,"filename":"image_16122025_22_56_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/565157a05a8ebce149a9873998a33055.jpg","text":"TemporaryFile(/tmp/multipartBody1359385850724745960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922283639,"filename":"image_16122025_22_56_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399719613","file0":"1399719611"},"map_files_photo_id_array":[{"photo_id":"1399719613","filename":"file1"},{"photo_id":"1399719611","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719613":["hashtag1","hashtag2"]},{"1399719611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719613, 1399719611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.01156711578369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 22:57:22.542329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/56/image_16122025_22_56_34_9599.jpg', '/home/pi/Desktop/images/16122025/22/56/image_16122025_22_57_04_9672.jpg', '/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_14_9854.jpg', '/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_25_10557.jpg', '/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_44_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/56/image_16122025_22_56_34_9599.jpg
/home/pi/Desktop/images/16122025/22/56/image_16122025_22_57_04_9672.jpg
/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_14_9854.jpg
/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_25_10557.jpg
/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_44_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399719622","1399719615","1399719618","1399719620","1399719617"],"photo_ids_order":["1399719615","1399719617","1399719618","1399719620","1399719622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b79601487612f5f43ad373d1aad52073.jpg","text":"TemporaryFile(/tmp/multipartBody629539937066704352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922303093,"filename":"image_16122025_22_57_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/afc1327012f81080705ac005f855ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody6256106203508571653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922303093,"filename":"image_16122025_22_56_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d4375f393a727e989bac2e5f06d9e5f1.jpg","text":"TemporaryFile(/tmp/multipartBody1767449942258200095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922303093,"filename":"image_16122025_22_57_14_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/20cca994da3cc3e729b3ec3112f4c3d5.jpg","text":"TemporaryFile(/tmp/multipartBody794758784481272974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922303093,"filename":"image_16122025_22_57_25_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d786ec42b620521c05c425ff35a087b2.jpg","text":"TemporaryFile(/tmp/multipartBody4951993247785834669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922303093,"filename":"image_16122025_22_57_04_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719618","file1":"1399719617","file0":"1399719615","file4":"1399719622","file3":"1399719620"},"map_files_photo_id_array":[{"photo_id":"1399719618","filename":"file2"},{"photo_id":"1399719622","filename":"file4"},{"photo_id":"1399719617","filename":"file1"},{"photo_id":"1399719615","filename":"file0"},{"photo_id":"1399719620","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399719622":["hashtag1","hashtag2"]},{"1399719615":["hashtag1","hashtag2"]},{"1399719618":["hashtag1","hashtag2"]},{"1399719620":["hashtag1","hashtag2"]},{"1399719617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399719622, 1399719615, 1399719618, 1399719620, 1399719617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.087666034698486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 22:59:03.015445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_55_10707.jpg', '/home/pi/Desktop/images/16122025/22/57/image_16122025_22_58_05_9647.jpg', '/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_14_9646.jpg', '/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_25_10631.jpg', '/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_35_9709.jpg', '/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_44_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/57/image_16122025_22_57_55_10707.jpg
/home/pi/Desktop/images/16122025/22/57/image_16122025_22_58_05_9647.jpg
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_14_9646.jpg
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_25_10631.jpg
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_35_9709.jpg
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_44_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720180","1399719838","1399720030","1399719960","1399720098","1399719890"],"photo_ids_order":["1399719838","1399719890","1399719960","1399720030","1399720098","1399720180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f1c0dc5a88ea56f2774ac5815b2801ff.jpg","text":"TemporaryFile(/tmp/multipartBody2419166626327347489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922403745,"filename":"image_16122025_22_58_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a783f2a16aedb52f0efae9dd3978b96.jpg","text":"TemporaryFile(/tmp/multipartBody3217510805689037773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922403745,"filename":"image_16122025_22_57_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b73c08a2793a56d5e9d1ba517df80e5.jpg","text":"TemporaryFile(/tmp/multipartBody1401356825442879066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922403745,"filename":"image_16122025_22_58_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5b3a80001f0656f05daeb1ace8221fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6086337881112128409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922403745,"filename":"image_16122025_22_58_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/855dd5a4e9b06a4e041fc19597600040.jpg","text":"TemporaryFile(/tmp/multipartBody4249619518569012317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922403745,"filename":"image_16122025_22_58_35_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb6b4c922712fc655d5869285f2af3ef.jpg","text":"TemporaryFile(/tmp/multipartBody6462963830181540313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922403745,"filename":"image_16122025_22_58_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399719960","file1":"1399719890","file0":"1399719838","file4":"1399720098","file5":"1399720180","file3":"1399720030"},"map_files_photo_id_array":[{"photo_id":"1399720180","filename":"file5"},{"photo_id":"1399719960","filename":"file2"},{"photo_id":"1399720098","filename":"file4"},{"photo_id":"1399719890","filename":"file1"},{"photo_id":"1399719838","filename":"file0"},{"photo_id":"1399720030","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720180":["hashtag1","hashtag2"]},{"1399719838":["hashtag1","hashtag2"]},{"1399720030":["hashtag1","hashtag2"]},{"1399719960":["hashtag1","hashtag2"]},{"1399720098":["hashtag1","hashtag2"]},{"1399719890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720180, 1399719838, 1399720030, 1399719960, 1399720098, 1399719890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52592968940735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 22:59:41.859787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_21_1759.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_25_1737.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_28_1750.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_51_2592.jpg', '/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_59_8545.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_01_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_21_1759.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_25_1737.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_28_1750.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_51_2592.jpg
/home/pi/Desktop/images/06112025/18/36/image_06112025_18_36_59_8545.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_01_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720433","1399720399","1399720480","1399720365","1399720401","1399720404"],"photo_ids_order":["1399720365","1399720399","1399720401","1399720404","1399720433","1399720480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ef2b5223564be923d966827d471cb00.jpg","text":"TemporaryFile(/tmp/multipartBody6869234605601658719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922442654,"filename":"image_06112025_18_36_59_8545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6fdabc9ef122f44c7574a7b173241feb.jpg","text":"TemporaryFile(/tmp/multipartBody5478531502056969805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922442654,"filename":"image_06112025_18_36_25_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/16/cfb9c090ce9adce7b56bafd6f77c7bbd.jpg","text":"TemporaryFile(/tmp/multipartBody5182958409951454432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922442654,"filename":"image_06112025_18_37_01_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/16/9ab2fddd4036966b9cba691b85bda956.jpg","text":"TemporaryFile(/tmp/multipartBody4922957747791149133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922442654,"filename":"image_06112025_18_36_21_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/16/6c6df336ca20da32e149067d12711757.jpg","text":"TemporaryFile(/tmp/multipartBody9095498836533449270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922442654,"filename":"image_06112025_18_36_28_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44fc76634d33e391e2ba7374336855d5.jpg","text":"TemporaryFile(/tmp/multipartBody1717796108064521255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922442654,"filename":"image_06112025_18_36_51_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720401","file1":"1399720399","file0":"1399720365","file4":"1399720433","file5":"1399720480","file3":"1399720404"},"map_files_photo_id_array":[{"photo_id":"1399720480","filename":"file5"},{"photo_id":"1399720401","filename":"file2"},{"photo_id":"1399720433","filename":"file4"},{"photo_id":"1399720399","filename":"file1"},{"photo_id":"1399720365","filename":"file0"},{"photo_id":"1399720404","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720433":["hashtag1","hashtag2"]},{"1399720399":["hashtag1","hashtag2"]},{"1399720480":["hashtag1","hashtag2"]},{"1399720365":["hashtag1","hashtag2"]},{"1399720401":["hashtag1","hashtag2"]},{"1399720404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720433, 1399720399, 1399720480, 1399720365, 1399720401, 1399720404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.923585414886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:00:22.166620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_54_9870.jpg', '/home/pi/Desktop/images/16122025/22/58/image_16122025_22_59_05_10631.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_24_9671.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_35_10690.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_44_9566.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_23_00_05_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_54_9870.jpg
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_59_05_10631.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_24_9671.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_35_10690.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_44_9566.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_23_00_05_10828.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47811341285705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:00:32.134579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:00:42.093326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_03_1681.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_05_1861.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_06_1636.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_10_1563.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_16_1553.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_18_1818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_03_1681.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_05_1861.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_06_1636.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_10_1563.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_16_1553.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_18_1818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720582","1399720579","1399720576","1399720581","1399720578","1399720580"],"photo_ids_order":["1399720576","1399720578","1399720579","1399720580","1399720581","1399720582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0bf3e5b170f31f6842168927fd6b49ea.jpg","text":"TemporaryFile(/tmp/multipartBody4825929050442287019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922502851,"filename":"image_06112025_18_37_18_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/16/2b02807291a0db5c3c84c01b292f88c2.jpg","text":"TemporaryFile(/tmp/multipartBody1054597283429003392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922502851,"filename":"image_06112025_18_37_06_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/16/5d633f4babb5df16e3acfab8ed64ce36.jpg","text":"TemporaryFile(/tmp/multipartBody1215297741263574813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922502851,"filename":"image_06112025_18_37_03_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d410d503084ed24874889cf1cc17329.jpg","text":"TemporaryFile(/tmp/multipartBody8719973844071374449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922502851,"filename":"image_06112025_18_37_16_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/16/9b89d8038afc256ce723d2fc9948887d.jpg","text":"TemporaryFile(/tmp/multipartBody2602407661458697056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922502851,"filename":"image_06112025_18_37_05_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/16/b0ac5cf2b06c1c9b52b99041788b5648.jpg","text":"TemporaryFile(/tmp/multipartBody5921782705929560972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922502851,"filename":"image_06112025_18_37_10_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720579","file1":"1399720578","file0":"1399720576","file4":"1399720581","file5":"1399720582","file3":"1399720580"},"map_files_photo_id_array":[{"photo_id":"1399720582","filename":"file5"},{"photo_id":"1399720579","filename":"file2"},{"photo_id":"1399720581","filename":"file4"},{"photo_id":"1399720578","filename":"file1"},{"photo_id":"1399720576","filename":"file0"},{"photo_id":"1399720580","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720582":["hashtag1","hashtag2"]},{"1399720579":["hashtag1","hashtag2"]},{"1399720576":["hashtag1","hashtag2"]},{"1399720581":["hashtag1","hashtag2"]},{"1399720578":["hashtag1","hashtag2"]},{"1399720580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720582, 1399720579, 1399720576, 1399720581, 1399720578, 1399720580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53837776184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:01:22.342976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_54_9870.jpg', '/home/pi/Desktop/images/16122025/22/58/image_16122025_22_59_05_10631.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_24_9671.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_35_10690.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_44_9566.jpg', '/home/pi/Desktop/images/16122025/22/59/image_16122025_23_00_05_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_58_54_9870.jpg
/home/pi/Desktop/images/16122025/22/58/image_16122025_22_59_05_10631.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_24_9671.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_35_10690.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_22_59_44_9566.jpg
/home/pi/Desktop/images/16122025/22/59/image_16122025_23_00_05_10828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720585","1399720594","1399720587","1399720584","1399720592","1399720589"],"photo_ids_order":["1399720584","1399720585","1399720587","1399720589","1399720592","1399720594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5bacf848d296fe8a36a9448532d0d0f7.jpg","text":"TemporaryFile(/tmp/multipartBody4240255616105940247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922542954,"filename":"image_16122025_22_59_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab371feab2f7f7f816a2a165533aa223.jpg","text":"TemporaryFile(/tmp/multipartBody440645943364089716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922542954,"filename":"image_16122025_23_00_05_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3cd0bf0369d507dee08ced651f8a84da.jpg","text":"TemporaryFile(/tmp/multipartBody8323971249140691706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922542954,"filename":"image_16122025_22_59_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/16/ded11f8bdde65634629528b39fda5cf1.jpg","text":"TemporaryFile(/tmp/multipartBody2573793135872748152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922542954,"filename":"image_16122025_22_58_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/16/5af9bd9c4453487e2013085c2f5f64ea.jpg","text":"TemporaryFile(/tmp/multipartBody3987974845214126390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922542954,"filename":"image_16122025_22_59_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/04152dc93787178a402fc0b7908ac54c.jpg","text":"TemporaryFile(/tmp/multipartBody6239265882307887670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922542954,"filename":"image_16122025_22_59_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720587","file1":"1399720585","file0":"1399720584","file4":"1399720592","file5":"1399720594","file3":"1399720589"},"map_files_photo_id_array":[{"photo_id":"1399720594","filename":"file5"},{"photo_id":"1399720587","filename":"file2"},{"photo_id":"1399720592","filename":"file4"},{"photo_id":"1399720585","filename":"file1"},{"photo_id":"1399720584","filename":"file0"},{"photo_id":"1399720589","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720585":["hashtag1","hashtag2"]},{"1399720594":["hashtag1","hashtag2"]},{"1399720587":["hashtag1","hashtag2"]},{"1399720584":["hashtag1","hashtag2"]},{"1399720592":["hashtag1","hashtag2"]},{"1399720589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720585, 1399720594, 1399720587, 1399720584, 1399720592, 1399720589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19199991226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:02:03.032700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_15_9734.jpg', '/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_35_10677.jpg', '/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_45_9851.jpg', '/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_55_9792.jpg', '/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_15_10633.jpg', '/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_25_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_15_9734.jpg
/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_35_10677.jpg
/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_45_9851.jpg
/home/pi/Desktop/images/16122025/23/00/image_16122025_23_00_55_9792.jpg
/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_15_10633.jpg
/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_25_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720597","1399720600","1399720596","1399720599","1399720598","1399720602"],"photo_ids_order":["1399720596","1399720597","1399720598","1399720599","1399720600","1399720602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5003cb2f527856bcd1bba72722b14e8.jpg","text":"TemporaryFile(/tmp/multipartBody5585991772283889616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922583607,"filename":"image_16122025_23_00_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/16/b5458e62a9efd4388d2ba3aab7ed5902.jpg","text":"TemporaryFile(/tmp/multipartBody2748393566052325032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922583607,"filename":"image_16122025_23_01_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d068065702740549429031e538cb9c2a.jpg","text":"TemporaryFile(/tmp/multipartBody5290961034227589644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922583607,"filename":"image_16122025_23_00_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/16/51f084014aac8930adbe16fa0f03ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody8443775977784649973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922583607,"filename":"image_16122025_23_00_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/16/63e3e94614f01fd326a37f611a94a598.jpg","text":"TemporaryFile(/tmp/multipartBody3792869785274564127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922583607,"filename":"image_16122025_23_00_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/16/ba9ffc3cb6a96072195185f2a7bbb4e0.jpg","text":"TemporaryFile(/tmp/multipartBody8947771891744348456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922583607,"filename":"image_16122025_23_01_25_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720598","file1":"1399720597","file0":"1399720596","file4":"1399720600","file5":"1399720602","file3":"1399720599"},"map_files_photo_id_array":[{"photo_id":"1399720602","filename":"file5"},{"photo_id":"1399720598","filename":"file2"},{"photo_id":"1399720600","filename":"file4"},{"photo_id":"1399720597","filename":"file1"},{"photo_id":"1399720596","filename":"file0"},{"photo_id":"1399720599","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720597":["hashtag1","hashtag2"]},{"1399720600":["hashtag1","hashtag2"]},{"1399720596":["hashtag1","hashtag2"]},{"1399720599":["hashtag1","hashtag2"]},{"1399720598":["hashtag1","hashtag2"]},{"1399720602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720597, 1399720600, 1399720596, 1399720599, 1399720598, 1399720602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.426955699920654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:02:42.556092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_20_1755.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_26_1783.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_37_2628.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_40_2539.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_42_2671.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_46_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_20_1755.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_26_1783.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_37_2628.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_40_2539.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_42_2671.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_46_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720613","1399720615","1399720612","1399720614","1399720608","1399720616"],"photo_ids_order":["1399720608","1399720612","1399720613","1399720614","1399720615","1399720616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6bb8087234f6db7ff39ce0d72cc24179.jpg","text":"TemporaryFile(/tmp/multipartBody5926361617919851177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922623314,"filename":"image_06112025_18_37_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/16/040a266961b94ecaa7f3aa5a2a366f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6213310668881995489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922623314,"filename":"image_06112025_18_37_42_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/16/aa3f1eac48af5753b8e0c6fb88f937af.jpg","text":"TemporaryFile(/tmp/multipartBody1832752421951785363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922623314,"filename":"image_06112025_18_37_26_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/16/46a76b732a9ab904056267640142b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4212106405267758348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922623314,"filename":"image_06112025_18_37_40_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/16/41691153f0bccb415912d3523bf23af6.jpg","text":"TemporaryFile(/tmp/multipartBody7432117903529481459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922623314,"filename":"image_06112025_18_37_20_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fc5c761c5054bb37c3e6626c03094c4.jpg","text":"TemporaryFile(/tmp/multipartBody7043642864470750535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922623314,"filename":"image_06112025_18_37_46_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720613","file1":"1399720612","file0":"1399720608","file4":"1399720615","file5":"1399720616","file3":"1399720614"},"map_files_photo_id_array":[{"photo_id":"1399720616","filename":"file5"},{"photo_id":"1399720613","filename":"file2"},{"photo_id":"1399720615","filename":"file4"},{"photo_id":"1399720612","filename":"file1"},{"photo_id":"1399720608","filename":"file0"},{"photo_id":"1399720614","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720613":["hashtag1","hashtag2"]},{"1399720615":["hashtag1","hashtag2"]},{"1399720612":["hashtag1","hashtag2"]},{"1399720614":["hashtag1","hashtag2"]},{"1399720608":["hashtag1","hashtag2"]},{"1399720616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720613, 1399720615, 1399720612, 1399720614, 1399720608, 1399720616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29088497161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:03:22.812381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_34_9589.jpg', '/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_45_10701.jpg', '/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_55_9818.jpg', '/home/pi/Desktop/images/16122025/23/01/image_16122025_23_02_04_9712.jpg', '/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_14_9677.jpg', '/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_25_10866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_34_9589.jpg
/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_45_10701.jpg
/home/pi/Desktop/images/16122025/23/01/image_16122025_23_01_55_9818.jpg
/home/pi/Desktop/images/16122025/23/01/image_16122025_23_02_04_9712.jpg
/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_14_9677.jpg
/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_25_10866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720619","1399720624","1399720626","1399720629","1399720620","1399720622"],"photo_ids_order":["1399720619","1399720620","1399720622","1399720624","1399720626","1399720629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/560b94dc2fc6d393cdc4fc085d8eb1e9.jpg","text":"TemporaryFile(/tmp/multipartBody5942195633101978522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922663393,"filename":"image_16122025_23_01_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/16/c069faa7c0977b06888f673cfb068857.jpg","text":"TemporaryFile(/tmp/multipartBody313091204748467590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922663393,"filename":"image_16122025_23_02_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/16/ef461695d0db21451f05a519abe5816b.jpg","text":"TemporaryFile(/tmp/multipartBody496354919262536142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922663393,"filename":"image_16122025_23_02_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/16/e2e2a9c432697ad82138ad1e2364575b.jpg","text":"TemporaryFile(/tmp/multipartBody2908054235915121446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922663393,"filename":"image_16122025_23_02_25_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/16/e741e25c710f548de87ac75fcb61a361.jpg","text":"TemporaryFile(/tmp/multipartBody448634264399634721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922663393,"filename":"image_16122025_23_01_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f423f05e0f1ca1387737e91431d0c23d.jpg","text":"TemporaryFile(/tmp/multipartBody791854624835772392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922663393,"filename":"image_16122025_23_01_55_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720622","file1":"1399720620","file0":"1399720619","file4":"1399720626","file5":"1399720629","file3":"1399720624"},"map_files_photo_id_array":[{"photo_id":"1399720629","filename":"file5"},{"photo_id":"1399720622","filename":"file2"},{"photo_id":"1399720626","filename":"file4"},{"photo_id":"1399720620","filename":"file1"},{"photo_id":"1399720619","filename":"file0"},{"photo_id":"1399720624","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720619":["hashtag1","hashtag2"]},{"1399720624":["hashtag1","hashtag2"]},{"1399720626":["hashtag1","hashtag2"]},{"1399720629":["hashtag1","hashtag2"]},{"1399720620":["hashtag1","hashtag2"]},{"1399720622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720619, 1399720624, 1399720626, 1399720629, 1399720620, 1399720622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00452899932861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:04:02.730014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_35_9585.jpg', '/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_44_9617.jpg', '/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_55_10763.jpg', '/home/pi/Desktop/images/16122025/23/02/image_16122025_23_03_05_9758.jpg', '/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_14_9608.jpg', '/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_25_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_35_9585.jpg
/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_44_9617.jpg
/home/pi/Desktop/images/16122025/23/02/image_16122025_23_02_55_10763.jpg
/home/pi/Desktop/images/16122025/23/02/image_16122025_23_03_05_9758.jpg
/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_14_9608.jpg
/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_25_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720633","1399720636","1399720632","1399720635","1399720634","1399720637"],"photo_ids_order":["1399720632","1399720633","1399720634","1399720635","1399720636","1399720637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fead3177ddc4226961844d7635478ef.jpg","text":"TemporaryFile(/tmp/multipartBody8593459250992169250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922703330,"filename":"image_16122025_23_02_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a11db347079b9bdc0ac65f32b3f801ff.jpg","text":"TemporaryFile(/tmp/multipartBody5444100283638823061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922703330,"filename":"image_16122025_23_03_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a216fd6ce5740887273a9d863f4ce546.jpg","text":"TemporaryFile(/tmp/multipartBody6284524957184123806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922703330,"filename":"image_16122025_23_02_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dc8a372d30a400c6d5b4f05a9e274ffe.jpg","text":"TemporaryFile(/tmp/multipartBody396169023898006986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922703330,"filename":"image_16122025_23_03_05_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5f77861d5ced16f6091899b5d3cc615.jpg","text":"TemporaryFile(/tmp/multipartBody1968013866329224987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922703330,"filename":"image_16122025_23_02_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/16/e37de7a40a75563d6a574175cd5ff038.jpg","text":"TemporaryFile(/tmp/multipartBody8506593105047198529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922703330,"filename":"image_16122025_23_03_25_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720634","file1":"1399720633","file0":"1399720632","file4":"1399720636","file5":"1399720637","file3":"1399720635"},"map_files_photo_id_array":[{"photo_id":"1399720637","filename":"file5"},{"photo_id":"1399720634","filename":"file2"},{"photo_id":"1399720636","filename":"file4"},{"photo_id":"1399720633","filename":"file1"},{"photo_id":"1399720632","filename":"file0"},{"photo_id":"1399720635","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720633":["hashtag1","hashtag2"]},{"1399720636":["hashtag1","hashtag2"]},{"1399720632":["hashtag1","hashtag2"]},{"1399720635":["hashtag1","hashtag2"]},{"1399720634":["hashtag1","hashtag2"]},{"1399720637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720633, 1399720636, 1399720632, 1399720635, 1399720634, 1399720637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02593159675598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:04:42.010568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_57_2889.jpg', '/home/pi/Desktop/images/06112025/18/37/image_06112025_18_38_01_3579.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_18_2559.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_21_3047.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_28_2809.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_31_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_37_57_2889.jpg
/home/pi/Desktop/images/06112025/18/37/image_06112025_18_38_01_3579.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_18_2559.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_21_3047.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_28_2809.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_31_2863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720646","1399720654","1399720648","1399720642","1399720650","1399720652"],"photo_ids_order":["1399720642","1399720646","1399720648","1399720650","1399720652","1399720654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d0b66f8aec995a92e6019fc40d69c8d.jpg","text":"TemporaryFile(/tmp/multipartBody2256214951349443496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922742767,"filename":"image_06112025_18_38_01_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/16/daab2de098ad3ef029e691374b8e355e.jpg","text":"TemporaryFile(/tmp/multipartBody4688877938296451070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922742767,"filename":"image_06112025_18_38_31_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/718c33b3fa4f8d8a04248ce01f38cb71.jpg","text":"TemporaryFile(/tmp/multipartBody1217775517502161133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922742767,"filename":"image_06112025_18_38_18_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/16/173af8c0c151193e1d035202b3c7b4f7.jpg","text":"TemporaryFile(/tmp/multipartBody6612996694625689667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922742767,"filename":"image_06112025_18_37_57_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/16/c54975cf14cd45d700120b9de9abe1f1.jpg","text":"TemporaryFile(/tmp/multipartBody3486310384788360910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922742767,"filename":"image_06112025_18_38_21_3047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7bd2e93eadeb987f433cbf96767e307f.jpg","text":"TemporaryFile(/tmp/multipartBody2832385699595859165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922742767,"filename":"image_06112025_18_38_28_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720648","file1":"1399720646","file0":"1399720642","file4":"1399720652","file5":"1399720654","file3":"1399720650"},"map_files_photo_id_array":[{"photo_id":"1399720654","filename":"file5"},{"photo_id":"1399720648","filename":"file2"},{"photo_id":"1399720652","filename":"file4"},{"photo_id":"1399720646","filename":"file1"},{"photo_id":"1399720642","filename":"file0"},{"photo_id":"1399720650","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720646":["hashtag1","hashtag2"]},{"1399720654":["hashtag1","hashtag2"]},{"1399720648":["hashtag1","hashtag2"]},{"1399720642":["hashtag1","hashtag2"]},{"1399720650":["hashtag1","hashtag2"]},{"1399720652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720646, 1399720654, 1399720648, 1399720642, 1399720650, 1399720652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41327476501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:05:22.287526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_35_9670.jpg', '/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_44_9659.jpg', '/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_55_10787.jpg', '/home/pi/Desktop/images/16122025/23/03/image_16122025_23_04_05_9747.jpg', '/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_15_9861.jpg', '/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_24_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_35_9670.jpg
/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_44_9659.jpg
/home/pi/Desktop/images/16122025/23/03/image_16122025_23_03_55_10787.jpg
/home/pi/Desktop/images/16122025/23/03/image_16122025_23_04_05_9747.jpg
/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_15_9861.jpg
/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_24_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720663","1399720656","1399720665","1399720659","1399720670","1399720661"],"photo_ids_order":["1399720656","1399720659","1399720661","1399720663","1399720665","1399720670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/84f6186673ce0ac3a7c0023243a1aef4.jpg","text":"TemporaryFile(/tmp/multipartBody6404039175821705586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922782869,"filename":"image_16122025_23_04_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d9b47e7716190ee87d5c6916d6ab471.jpg","text":"TemporaryFile(/tmp/multipartBody2503235409066733042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922782869,"filename":"image_16122025_23_03_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06b2fe9725ed1d056a2d01e5c08a3f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5179247477200202372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922782869,"filename":"image_16122025_23_04_15_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5f8d4fc7c3b795c5dc823d9fc39951b2.jpg","text":"TemporaryFile(/tmp/multipartBody6716742146347278283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922782869,"filename":"image_16122025_23_03_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edebd2cb3e3e944ce0819d2e6ee80590.jpg","text":"TemporaryFile(/tmp/multipartBody5508968964204562438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922782869,"filename":"image_16122025_23_04_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25a76fbf8ce102d7e5c9d52ccc64d87e.jpg","text":"TemporaryFile(/tmp/multipartBody372130378253841438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922782869,"filename":"image_16122025_23_03_55_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720661","file1":"1399720659","file0":"1399720656","file4":"1399720665","file5":"1399720670","file3":"1399720663"},"map_files_photo_id_array":[{"photo_id":"1399720670","filename":"file5"},{"photo_id":"1399720661","filename":"file2"},{"photo_id":"1399720665","filename":"file4"},{"photo_id":"1399720659","filename":"file1"},{"photo_id":"1399720656","filename":"file0"},{"photo_id":"1399720663","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720663":["hashtag1","hashtag2"]},{"1399720656":["hashtag1","hashtag2"]},{"1399720665":["hashtag1","hashtag2"]},{"1399720659":["hashtag1","hashtag2"]},{"1399720670":["hashtag1","hashtag2"]},{"1399720661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720663, 1399720656, 1399720665, 1399720659, 1399720670, 1399720661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67629957199097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:06:02.769640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_45_9789.jpg', '/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_55_9713.jpg', '/home/pi/Desktop/images/16122025/23/05/image_16122025_23_05_24_9626.jpg', '/home/pi/Desktop/images/16122025/23/05/image_16122025_23_05_34_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_45_9789.jpg
/home/pi/Desktop/images/16122025/23/04/image_16122025_23_04_55_9713.jpg
/home/pi/Desktop/images/16122025/23/05/image_16122025_23_05_24_9626.jpg
/home/pi/Desktop/images/16122025/23/05/image_16122025_23_05_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":["1399720672","1399720675","1399720677","1399720676"],"photo_ids_order":["1399720672","1399720675","1399720676","1399720677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e7e42a0e57f1b1b11b146462138cb952.jpg","text":"TemporaryFile(/tmp/multipartBody7983712685303938340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922823279,"filename":"image_16122025_23_04_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd5d638ede6d1743164687dce72e5463.jpg","text":"TemporaryFile(/tmp/multipartBody7622565603617717392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922823279,"filename":"image_16122025_23_04_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/16/9d8ef869a74d224876cc1d8d3ca13642.jpg","text":"TemporaryFile(/tmp/multipartBody5164008396848126784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922823279,"filename":"image_16122025_23_05_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5324506ae9883133515a1d3219c440ea.jpg","text":"TemporaryFile(/tmp/multipartBody8458593601609574391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922823279,"filename":"image_16122025_23_05_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720676","file1":"1399720675","file0":"1399720672","file3":"1399720677"},"map_files_photo_id_array":[{"photo_id":"1399720676","filename":"file2"},{"photo_id":"1399720675","filename":"file1"},{"photo_id":"1399720672","filename":"file0"},{"photo_id":"1399720677","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720672":["hashtag1","hashtag2"]},{"1399720675":["hashtag1","hashtag2"]},{"1399720677":["hashtag1","hashtag2"]},{"1399720676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720672, 1399720675, 1399720677, 1399720676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.887704372406006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:06:32.400796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:06:42.345065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_33_2615.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_37_3663.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_40_2863.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_55_2616.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_57_2837.jpg', '/home/pi/Desktop/images/06112025/18/38/image_06112025_18_39_01_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_33_2615.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_37_3663.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_40_2863.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_55_2616.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_38_57_2837.jpg
/home/pi/Desktop/images/06112025/18/38/image_06112025_18_39_01_3539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720690","1399720684","1399720687","1399720686","1399720689","1399720688"],"photo_ids_order":["1399720684","1399720686","1399720687","1399720688","1399720689","1399720690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e70ecc2fc035c24ae6da3d49c019d3b4.jpg","text":"TemporaryFile(/tmp/multipartBody7837434086359597295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922863137,"filename":"image_06112025_18_39_01_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/16/e58a69e46bdf7c1d171a08e32194618b.jpg","text":"TemporaryFile(/tmp/multipartBody5833990778521426626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922863137,"filename":"image_06112025_18_38_33_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/16/ddc7913cd75904be7f9f8a78d5a15cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4404184838642350816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922863137,"filename":"image_06112025_18_38_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/16/b93c0c2ab4fe065f65fdedde6b4ff772.jpg","text":"TemporaryFile(/tmp/multipartBody1679710966110073383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922863137,"filename":"image_06112025_18_38_37_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/125efa94f7af4ae063c8e4d6af517633.jpg","text":"TemporaryFile(/tmp/multipartBody4621124065823995761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922863137,"filename":"image_06112025_18_38_57_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/62267cb4a0221601a606df95ab3cbc7a.jpg","text":"TemporaryFile(/tmp/multipartBody3277972926747280981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922863137,"filename":"image_06112025_18_38_55_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720687","file1":"1399720686","file0":"1399720684","file4":"1399720689","file5":"1399720690","file3":"1399720688"},"map_files_photo_id_array":[{"photo_id":"1399720690","filename":"file5"},{"photo_id":"1399720687","filename":"file2"},{"photo_id":"1399720689","filename":"file4"},{"photo_id":"1399720686","filename":"file1"},{"photo_id":"1399720684","filename":"file0"},{"photo_id":"1399720688","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720690":["hashtag1","hashtag2"]},{"1399720684":["hashtag1","hashtag2"]},{"1399720687":["hashtag1","hashtag2"]},{"1399720686":["hashtag1","hashtag2"]},{"1399720689":["hashtag1","hashtag2"]},{"1399720688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720690, 1399720684, 1399720687, 1399720686, 1399720689, 1399720688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37674856185913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:07:22.629752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/05/image_16122025_23_05_45_10722.jpg', '/home/pi/Desktop/images/16122025/23/05/image_16122025_23_06_04_9652.jpg', '/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_15_10750.jpg', '/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_25_9699.jpg', '/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_34_9652.jpg', '/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/05/image_16122025_23_05_45_10722.jpg
/home/pi/Desktop/images/16122025/23/05/image_16122025_23_06_04_9652.jpg
/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_15_10750.jpg
/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_25_9699.jpg
/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_34_9652.jpg
/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_45_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720699","1399720693","1399720702","1399720695","1399720697","1399720691"],"photo_ids_order":["1399720691","1399720693","1399720695","1399720697","1399720699","1399720702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f131633ef9958c727a21708dab9dc563.jpg","text":"TemporaryFile(/tmp/multipartBody7723944421733374365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922903215,"filename":"image_16122025_23_06_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff68dd6791c63fce6e35245312be29a6.jpg","text":"TemporaryFile(/tmp/multipartBody5906220183246716170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922903215,"filename":"image_16122025_23_06_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dfc39aeea8524fb4a87b31b0f483a994.jpg","text":"TemporaryFile(/tmp/multipartBody7293161092059138374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922903215,"filename":"image_16122025_23_06_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/12a1026f1b0e0760ccc8c36dd8a3a27d.jpg","text":"TemporaryFile(/tmp/multipartBody3813229058189488423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922903215,"filename":"image_16122025_23_06_15_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1fd2ed9b6dd584763658c9221b05f1cc.jpg","text":"TemporaryFile(/tmp/multipartBody7516734685864913049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922903215,"filename":"image_16122025_23_06_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7a992c686c037794f1c615a2699213bf.jpg","text":"TemporaryFile(/tmp/multipartBody7136749402831015753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922903215,"filename":"image_16122025_23_05_45_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720695","file1":"1399720693","file0":"1399720691","file4":"1399720699","file5":"1399720702","file3":"1399720697"},"map_files_photo_id_array":[{"photo_id":"1399720702","filename":"file5"},{"photo_id":"1399720695","filename":"file2"},{"photo_id":"1399720699","filename":"file4"},{"photo_id":"1399720693","filename":"file1"},{"photo_id":"1399720691","filename":"file0"},{"photo_id":"1399720697","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720699":["hashtag1","hashtag2"]},{"1399720693":["hashtag1","hashtag2"]},{"1399720702":["hashtag1","hashtag2"]},{"1399720695":["hashtag1","hashtag2"]},{"1399720697":["hashtag1","hashtag2"]},{"1399720691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720699, 1399720693, 1399720702, 1399720695, 1399720697, 1399720691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01435089111328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:08:02.195828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_55_9698.jpg', '/home/pi/Desktop/images/16122025/23/06/image_16122025_23_07_04_9699.jpg', '/home/pi/Desktop/images/16122025/23/07/image_16122025_23_07_35_9645.jpg', '/home/pi/Desktop/images/16122025/23/07/image_16122025_23_07_44_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/06/image_16122025_23_06_55_9698.jpg
/home/pi/Desktop/images/16122025/23/06/image_16122025_23_07_04_9699.jpg
/home/pi/Desktop/images/16122025/23/07/image_16122025_23_07_35_9645.jpg
/home/pi/Desktop/images/16122025/23/07/image_16122025_23_07_44_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":["1399720706","1399720708","1399720705","1399720707"],"photo_ids_order":["1399720705","1399720706","1399720707","1399720708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/086fc2b0ff321b4624fcf8dd2df3d934.jpg","text":"TemporaryFile(/tmp/multipartBody6090855885917931226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922942711,"filename":"image_16122025_23_07_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/16/7253ebc0cb89614acfd08ade253857f5.jpg","text":"TemporaryFile(/tmp/multipartBody7647409844964715665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922942711,"filename":"image_16122025_23_07_44_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac44d36fdd7c64cf7a1714b995a52006.jpg","text":"TemporaryFile(/tmp/multipartBody4780220159895079820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922942711,"filename":"image_16122025_23_06_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6cd94fe3c3b7e4a9e2b5cb4548f2f317.jpg","text":"TemporaryFile(/tmp/multipartBody4934346497708361593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922942711,"filename":"image_16122025_23_07_35_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720707","file1":"1399720706","file0":"1399720705","file3":"1399720708"},"map_files_photo_id_array":[{"photo_id":"1399720707","filename":"file2"},{"photo_id":"1399720706","filename":"file1"},{"photo_id":"1399720705","filename":"file0"},{"photo_id":"1399720708","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720706":["hashtag1","hashtag2"]},{"1399720708":["hashtag1","hashtag2"]},{"1399720705":["hashtag1","hashtag2"]},{"1399720707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720706, 1399720708, 1399720705, 1399720707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.728581428527832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:08:31.866959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:08:41.776297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_06_2795.jpg', '/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_13_3624.jpg', '/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_31_1694.jpg', '/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_34_2651.jpg', '/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_49_3559.jpg', '/home/pi/Desktop/images/06112025/18/39/image_06112025_18_40_00_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_06_2795.jpg
/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_13_3624.jpg
/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_31_1694.jpg
/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_34_2651.jpg
/home/pi/Desktop/images/06112025/18/39/image_06112025_18_39_49_3559.jpg
/home/pi/Desktop/images/06112025/18/39/image_06112025_18_40_00_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":["1399720724","1399720726","1399720720","1399720728","1399720713","1399720722"],"photo_ids_order":["1399720713","1399720720","1399720722","1399720724","1399720726","1399720728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/91d8261608df1fb82e5a0d8d55dbcb31.jpg","text":"TemporaryFile(/tmp/multipartBody5985508952564826834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922982556,"filename":"image_06112025_18_39_34_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d993769c5ef13e1621aec5abffa6d53.jpg","text":"TemporaryFile(/tmp/multipartBody1409449899423534885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922982556,"filename":"image_06112025_18_39_49_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/16/0a968ef3cd5f2549c5032f91698c9114.jpg","text":"TemporaryFile(/tmp/multipartBody3760395364008418480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922982556,"filename":"image_06112025_18_39_13_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/16/a2c6f9c8c71ad3ef4462371b78759afe.jpg","text":"TemporaryFile(/tmp/multipartBody93516764655391286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922982556,"filename":"image_06112025_18_40_00_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/16/4ede95986f7f7e8485a7cd7e12a65a88.jpg","text":"TemporaryFile(/tmp/multipartBody4628332722866474878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922982556,"filename":"image_06112025_18_39_06_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/16/832096c2ac1021366b9a1df59fd8cca5.jpg","text":"TemporaryFile(/tmp/multipartBody6689654228958567803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765922982556,"filename":"image_06112025_18_39_31_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720722","file1":"1399720720","file0":"1399720713","file4":"1399720726","file5":"1399720728","file3":"1399720724"},"map_files_photo_id_array":[{"photo_id":"1399720728","filename":"file5"},{"photo_id":"1399720722","filename":"file2"},{"photo_id":"1399720726","filename":"file4"},{"photo_id":"1399720720","filename":"file1"},{"photo_id":"1399720713","filename":"file0"},{"photo_id":"1399720724","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720724":["hashtag1","hashtag2"]},{"1399720726":["hashtag1","hashtag2"]},{"1399720720":["hashtag1","hashtag2"]},{"1399720728":["hashtag1","hashtag2"]},{"1399720713":["hashtag1","hashtag2"]},{"1399720722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720724, 1399720726, 1399720720, 1399720728, 1399720713, 1399720722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.918002128601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:09:21.974110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/07/image_16122025_23_07_54_9724.jpg', '/home/pi/Desktop/images/16122025/23/07/image_16122025_23_08_05_10724.jpg', '/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_15_9707.jpg', '/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_24_9680.jpg', '/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_35_10676.jpg', '/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_45_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/07/image_16122025_23_07_54_9724.jpg
/home/pi/Desktop/images/16122025/23/07/image_16122025_23_08_05_10724.jpg
/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_15_9707.jpg
/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_24_9680.jpg
/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_35_10676.jpg
/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_45_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":["1399720738","1399720743","1399720731","1399720740","1399720734","1399720736"],"photo_ids_order":["1399720731","1399720734","1399720736","1399720738","1399720740","1399720743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2185185453653a7876a8e717bf49d498.jpg","text":"TemporaryFile(/tmp/multipartBody8711034484917410865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923022600,"filename":"image_16122025_23_08_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/16/4cece61496df655dd46f62ffd2cbb407.jpg","text":"TemporaryFile(/tmp/multipartBody6065392088387133800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923022600,"filename":"image_16122025_23_08_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c1ed1cff31f58abfef919282d0c76f66.jpg","text":"TemporaryFile(/tmp/multipartBody5571332405006770508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923022600,"filename":"image_16122025_23_07_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c005019be09eae871977396b104a472d.jpg","text":"TemporaryFile(/tmp/multipartBody7560502896834026605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923022600,"filename":"image_16122025_23_08_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e6b4af144d3c4f2d24364ee29f00f19.jpg","text":"TemporaryFile(/tmp/multipartBody6294284181020753237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923022600,"filename":"image_16122025_23_08_05_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/16/148f7c5b27c77ae0340d17282bb56c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4687804157853290442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923022600,"filename":"image_16122025_23_08_15_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720736","file1":"1399720734","file0":"1399720731","file4":"1399720740","file5":"1399720743","file3":"1399720738"},"map_files_photo_id_array":[{"photo_id":"1399720743","filename":"file5"},{"photo_id":"1399720736","filename":"file2"},{"photo_id":"1399720740","filename":"file4"},{"photo_id":"1399720734","filename":"file1"},{"photo_id":"1399720731","filename":"file0"},{"photo_id":"1399720738","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720738":["hashtag1","hashtag2"]},{"1399720743":["hashtag1","hashtag2"]},{"1399720731":["hashtag1","hashtag2"]},{"1399720740":["hashtag1","hashtag2"]},{"1399720734":["hashtag1","hashtag2"]},{"1399720736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720738, 1399720743, 1399720731, 1399720740, 1399720734, 1399720736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.638416051864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:10:02.753511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_54_9722.jpg', '/home/pi/Desktop/images/16122025/23/08/image_16122025_23_09_05_10705.jpg', '/home/pi/Desktop/images/16122025/23/09/image_16122025_23_09_15_9661.jpg', '/home/pi/Desktop/images/16122025/23/09/image_16122025_23_09_24_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/08/image_16122025_23_08_54_9722.jpg
/home/pi/Desktop/images/16122025/23/08/image_16122025_23_09_05_10705.jpg
/home/pi/Desktop/images/16122025/23/09/image_16122025_23_09_15_9661.jpg
/home/pi/Desktop/images/16122025/23/09/image_16122025_23_09_24_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720745","1399720747","1399720749","1399720748"],"photo_ids_order":["1399720745","1399720747","1399720748","1399720749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1c887337d67e6777c13f819a02881b36.jpg","text":"TemporaryFile(/tmp/multipartBody7326600929753638252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923063309,"filename":"image_16122025_23_08_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/16/6e66e2eeae3603721bcba268cbfd0c59.jpg","text":"TemporaryFile(/tmp/multipartBody8391708334310932526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923063309,"filename":"image_16122025_23_09_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9d59b59a68228a46c0ce175b50625181.jpg","text":"TemporaryFile(/tmp/multipartBody3139453441605468050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923063309,"filename":"image_16122025_23_09_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/610e2870023189b4fcbbc563c7989318.jpg","text":"TemporaryFile(/tmp/multipartBody2876544515433930120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923063309,"filename":"image_16122025_23_09_15_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720748","file1":"1399720747","file0":"1399720745","file3":"1399720749"},"map_files_photo_id_array":[{"photo_id":"1399720748","filename":"file2"},{"photo_id":"1399720747","filename":"file1"},{"photo_id":"1399720745","filename":"file0"},{"photo_id":"1399720749","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720745":["hashtag1","hashtag2"]},{"1399720747":["hashtag1","hashtag2"]},{"1399720749":["hashtag1","hashtag2"]},{"1399720748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720745, 1399720747, 1399720749, 1399720748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.88024353981018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:10:32.317419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:10:42.228146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_03_2673.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_08_4769.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_43_9171.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_44_1736.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_46_1577.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_48_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_03_2673.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_08_4769.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_43_9171.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_44_1736.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_46_1577.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_48_1638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720762","1399720759","1399720755","1399720758","1399720760","1399720757"],"photo_ids_order":["1399720755","1399720757","1399720758","1399720759","1399720760","1399720762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bd002f33b30ad3b571a9e08a2bef95b8.jpg","text":"TemporaryFile(/tmp/multipartBody8772921809996816978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923102977,"filename":"image_06112025_18_40_48_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3a08f32894eb634af364dc5d84ab5f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3238042700484943417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923102977,"filename":"image_06112025_18_40_44_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/049d22bdc6f40fe49f424b1628161d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5055314423743537485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923102977,"filename":"image_06112025_18_40_03_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/16/88638ff8a76e9779dd82c1752a52c751.jpg","text":"TemporaryFile(/tmp/multipartBody5941845953326930747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923102977,"filename":"image_06112025_18_40_43_9171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/946238f122676e9c531ea7123d685d78.jpg","text":"TemporaryFile(/tmp/multipartBody3160013363808829358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923102977,"filename":"image_06112025_18_40_46_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/16/14b9e0f925101bf5bf886e222af86b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7700244404034242237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923102977,"filename":"image_06112025_18_40_08_4769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720758","file1":"1399720757","file0":"1399720755","file4":"1399720760","file5":"1399720762","file3":"1399720759"},"map_files_photo_id_array":[{"photo_id":"1399720762","filename":"file5"},{"photo_id":"1399720758","filename":"file2"},{"photo_id":"1399720760","filename":"file4"},{"photo_id":"1399720757","filename":"file1"},{"photo_id":"1399720755","filename":"file0"},{"photo_id":"1399720759","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720762":["hashtag1","hashtag2"]},{"1399720759":["hashtag1","hashtag2"]},{"1399720755":["hashtag1","hashtag2"]},{"1399720758":["hashtag1","hashtag2"]},{"1399720760":["hashtag1","hashtag2"]},{"1399720757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720762, 1399720759, 1399720755, 1399720758, 1399720760, 1399720757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75129532814026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:11:22.482849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/09/image_16122025_23_09_45_9689.jpg', '/home/pi/Desktop/images/16122025/23/09/image_16122025_23_10_05_10584.jpg', '/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_15_9676.jpg', '/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_24_9763.jpg', '/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_34_9714.jpg', '/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_45_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/09/image_16122025_23_09_45_9689.jpg
/home/pi/Desktop/images/16122025/23/09/image_16122025_23_10_05_10584.jpg
/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_15_9676.jpg
/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_24_9763.jpg
/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_34_9714.jpg
/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_45_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720771","1399720765","1399720767","1399720776","1399720764","1399720769"],"photo_ids_order":["1399720764","1399720765","1399720767","1399720769","1399720771","1399720776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3811dd4a79e382b0efa2b8556ab17dff.jpg","text":"TemporaryFile(/tmp/multipartBody8760926482283876434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923143064,"filename":"image_16122025_23_10_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/16/700baca66c50fb08f00b9a3e65e17db2.jpg","text":"TemporaryFile(/tmp/multipartBody3592430585119687060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923143064,"filename":"image_16122025_23_10_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/97e96e5f6ce8c099ac590770d29f9c22.jpg","text":"TemporaryFile(/tmp/multipartBody6849285885884378340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923143064,"filename":"image_16122025_23_10_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3bf8ae76fdbc3dd4aba9ec2b57026c4.jpg","text":"TemporaryFile(/tmp/multipartBody3598775724848098533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923143064,"filename":"image_16122025_23_10_45_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/16/026b338eba9b35336dc4e991cc995cac.jpg","text":"TemporaryFile(/tmp/multipartBody8308296230253577585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923143064,"filename":"image_16122025_23_09_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/16/9429c2c397c483254351cdf3ed94e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody7742556511373509038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923143064,"filename":"image_16122025_23_10_24_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720767","file1":"1399720765","file0":"1399720764","file4":"1399720771","file5":"1399720776","file3":"1399720769"},"map_files_photo_id_array":[{"photo_id":"1399720776","filename":"file5"},{"photo_id":"1399720767","filename":"file2"},{"photo_id":"1399720771","filename":"file4"},{"photo_id":"1399720765","filename":"file1"},{"photo_id":"1399720764","filename":"file0"},{"photo_id":"1399720769","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720771":["hashtag1","hashtag2"]},{"1399720765":["hashtag1","hashtag2"]},{"1399720767":["hashtag1","hashtag2"]},{"1399720776":["hashtag1","hashtag2"]},{"1399720764":["hashtag1","hashtag2"]},{"1399720769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720771, 1399720765, 1399720767, 1399720776, 1399720764, 1399720769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42494344711304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:12:03.191330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_55_9732.jpg', '/home/pi/Desktop/images/16122025/23/11/image_16122025_23_11_24_9812.jpg', '/home/pi/Desktop/images/16122025/23/11/image_16122025_23_11_35_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/10/image_16122025_23_10_55_9732.jpg
/home/pi/Desktop/images/16122025/23/11/image_16122025_23_11_24_9812.jpg
/home/pi/Desktop/images/16122025/23/11/image_16122025_23_11_35_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720783","1399720785","1399720784"],"photo_ids_order":["1399720783","1399720784","1399720785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/25e1b4961db7195b46aaab03dc97e703.jpg","text":"TemporaryFile(/tmp/multipartBody2735818372423100859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923183666,"filename":"image_16122025_23_10_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/16/2da9e831b59d5c8834fb12a82cd0ef77.jpg","text":"TemporaryFile(/tmp/multipartBody8974697228741249709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923183666,"filename":"image_16122025_23_11_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/16/0f8397219a7fa44f87bb6070d852fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody4056306556052256448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923183666,"filename":"image_16122025_23_11_24_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720785","file1":"1399720784","file0":"1399720783"},"map_files_photo_id_array":[{"photo_id":"1399720785","filename":"file2"},{"photo_id":"1399720784","filename":"file1"},{"photo_id":"1399720783","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720783":["hashtag1","hashtag2"]},{"1399720785":["hashtag1","hashtag2"]},{"1399720784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720783, 1399720785, 1399720784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.442618131637573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:12:32.769750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:12:42.713202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_49_1832.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_51_1677.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_53_1531.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_54_1640.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_58_1669.jpg', '/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_59_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_49_1832.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_51_1677.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_53_1531.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_54_1640.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_58_1669.jpg
/home/pi/Desktop/images/06112025/18/40/image_06112025_18_40_59_1755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720801","1399720804","1399720794","1399720797","1399720803","1399720799"],"photo_ids_order":["1399720794","1399720797","1399720799","1399720801","1399720803","1399720804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a37554c983451777f27f58e0cec50f8c.jpg","text":"TemporaryFile(/tmp/multipartBody3566429940336225021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923223464,"filename":"image_06112025_18_40_54_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ab31be32eab8370a4094136e235f42ef.jpg","text":"TemporaryFile(/tmp/multipartBody4418138115442390612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923223464,"filename":"image_06112025_18_40_59_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/747bc4ffe1b1dbff955c21027cd433a9.jpg","text":"TemporaryFile(/tmp/multipartBody4294523325052400047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923223464,"filename":"image_06112025_18_40_49_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/78c067736f1378614a761497e424dae4.jpg","text":"TemporaryFile(/tmp/multipartBody4143966226276737212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923223464,"filename":"image_06112025_18_40_51_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/16/54eb55c0117f7f28eaa41c79f295af86.jpg","text":"TemporaryFile(/tmp/multipartBody1603310672684941138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923223464,"filename":"image_06112025_18_40_58_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/16/6a019f4915bdd15b0c945210e4c8dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody8332282388775011318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923223464,"filename":"image_06112025_18_40_53_1531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720799","file1":"1399720797","file0":"1399720794","file4":"1399720803","file5":"1399720804","file3":"1399720801"},"map_files_photo_id_array":[{"photo_id":"1399720804","filename":"file5"},{"photo_id":"1399720799","filename":"file2"},{"photo_id":"1399720803","filename":"file4"},{"photo_id":"1399720797","filename":"file1"},{"photo_id":"1399720794","filename":"file0"},{"photo_id":"1399720801","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720801":["hashtag1","hashtag2"]},{"1399720804":["hashtag1","hashtag2"]},{"1399720794":["hashtag1","hashtag2"]},{"1399720797":["hashtag1","hashtag2"]},{"1399720803":["hashtag1","hashtag2"]},{"1399720799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720801, 1399720804, 1399720794, 1399720797, 1399720803, 1399720799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60131645202637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:13:22.002900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/11/image_16122025_23_11_44_9613.jpg', '/home/pi/Desktop/images/16122025/23/11/image_16122025_23_12_04_9740.jpg', '/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_15_10665.jpg', '/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_24_9667.jpg', '/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_45_9767.jpg', '/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_54_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/11/image_16122025_23_11_44_9613.jpg
/home/pi/Desktop/images/16122025/23/11/image_16122025_23_12_04_9740.jpg
/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_15_10665.jpg
/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_24_9667.jpg
/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_45_9767.jpg
/home/pi/Desktop/images/16122025/23/12/image_16122025_23_12_54_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":["1399720808","1399720816","1399720810","1399720812","1399720806","1399720814"],"photo_ids_order":["1399720806","1399720808","1399720810","1399720812","1399720814","1399720816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d1c2046a75143539e115aaef22b477c.jpg","text":"TemporaryFile(/tmp/multipartBody8293438662161866565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923262586,"filename":"image_16122025_23_12_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/16/d52a1bb1c511c9397db8f497f8107e37.jpg","text":"TemporaryFile(/tmp/multipartBody3813147012199482123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923262586,"filename":"image_16122025_23_12_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/16/6faad181ff616190601b3d5293b39d84.jpg","text":"TemporaryFile(/tmp/multipartBody4190786182094875396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923262586,"filename":"image_16122025_23_12_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/16/cb92cd69c3debda4f1ef90b41d2a6b41.jpg","text":"TemporaryFile(/tmp/multipartBody5354217058284028885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923262586,"filename":"image_16122025_23_12_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f168abbed57392c38843a58aea4a8b78.jpg","text":"TemporaryFile(/tmp/multipartBody5559606009676847057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923262586,"filename":"image_16122025_23_11_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d158d8b07ad8a062c765bf6b8903b26.jpg","text":"TemporaryFile(/tmp/multipartBody7084012141012140239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923262586,"filename":"image_16122025_23_12_45_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720810","file1":"1399720808","file0":"1399720806","file4":"1399720814","file5":"1399720816","file3":"1399720812"},"map_files_photo_id_array":[{"photo_id":"1399720816","filename":"file5"},{"photo_id":"1399720810","filename":"file2"},{"photo_id":"1399720814","filename":"file4"},{"photo_id":"1399720808","filename":"file1"},{"photo_id":"1399720806","filename":"file0"},{"photo_id":"1399720812","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720808":["hashtag1","hashtag2"]},{"1399720816":["hashtag1","hashtag2"]},{"1399720810":["hashtag1","hashtag2"]},{"1399720812":["hashtag1","hashtag2"]},{"1399720806":["hashtag1","hashtag2"]},{"1399720814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720808, 1399720816, 1399720810, 1399720812, 1399720806, 1399720814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16662549972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:14:02.889522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/12/image_16122025_23_13_04_9680.jpg', '/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_15_10663.jpg', '/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_24_9665.jpg', '/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_34_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/12/image_16122025_23_13_04_9680.jpg
/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_15_10663.jpg
/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_24_9665.jpg
/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_34_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720823","1399720825","1399720819","1399720824"],"photo_ids_order":["1399720819","1399720823","1399720824","1399720825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/95eb8bcfd220c3f85e9e4d30f21c455d.jpg","text":"TemporaryFile(/tmp/multipartBody4827714350318080294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923303503,"filename":"image_16122025_23_13_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/568c7166e2c5d8136bf926f99d4094f9.jpg","text":"TemporaryFile(/tmp/multipartBody5007499727229764225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923303503,"filename":"image_16122025_23_13_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bb06eb56212599b538cc910d26f77471.jpg","text":"TemporaryFile(/tmp/multipartBody7894303235170288706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923303503,"filename":"image_16122025_23_13_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/16/9d50e186f859792e47751d8a28f56d12.jpg","text":"TemporaryFile(/tmp/multipartBody6445300914371348656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923303503,"filename":"image_16122025_23_13_24_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720824","file1":"1399720823","file0":"1399720819","file3":"1399720825"},"map_files_photo_id_array":[{"photo_id":"1399720824","filename":"file2"},{"photo_id":"1399720823","filename":"file1"},{"photo_id":"1399720819","filename":"file0"},{"photo_id":"1399720825","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720823":["hashtag1","hashtag2"]},{"1399720825":["hashtag1","hashtag2"]},{"1399720819":["hashtag1","hashtag2"]},{"1399720824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720823, 1399720825, 1399720819, 1399720824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.600096225738525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:14:32.194421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:14:42.161885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_04_1582.jpg', '/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_08_1699.jpg', '/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_14_6081.jpg', '/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_17_1564.jpg', '/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_25_8292.jpg', '/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_27_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_04_1582.jpg
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_08_1699.jpg
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_14_6081.jpg
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_17_1564.jpg
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_25_8292.jpg
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_27_1697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720838","1399720837","1399720836","1399720839","1399720832","1399720835"],"photo_ids_order":["1399720832","1399720835","1399720836","1399720837","1399720838","1399720839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a07a22b5340260994225dc92adb44d5b.jpg","text":"TemporaryFile(/tmp/multipartBody7068336304083841635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923342921,"filename":"image_06112025_18_41_25_8292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6be390003a2eef74832d5592db698e1.jpg","text":"TemporaryFile(/tmp/multipartBody5380959698796520722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923342921,"filename":"image_06112025_18_41_17_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/16/71a2b11e51ab46e671a1ce9b6effa773.jpg","text":"TemporaryFile(/tmp/multipartBody4201017592871906384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923342921,"filename":"image_06112025_18_41_14_6081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b16172089bd5a222eac01dae4e5455c5.jpg","text":"TemporaryFile(/tmp/multipartBody6299205403142662861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923342921,"filename":"image_06112025_18_41_27_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/16/b12ef4dfdf6e9043a8e841f7160de395.jpg","text":"TemporaryFile(/tmp/multipartBody2235197580713111678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923342921,"filename":"image_06112025_18_41_04_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c903c3dc675269eb2f6019ba6e859f95.jpg","text":"TemporaryFile(/tmp/multipartBody3042481660272779780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923342921,"filename":"image_06112025_18_41_08_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720836","file1":"1399720835","file0":"1399720832","file4":"1399720838","file5":"1399720839","file3":"1399720837"},"map_files_photo_id_array":[{"photo_id":"1399720839","filename":"file5"},{"photo_id":"1399720836","filename":"file2"},{"photo_id":"1399720838","filename":"file4"},{"photo_id":"1399720835","filename":"file1"},{"photo_id":"1399720832","filename":"file0"},{"photo_id":"1399720837","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720838":["hashtag1","hashtag2"]},{"1399720837":["hashtag1","hashtag2"]},{"1399720836":["hashtag1","hashtag2"]},{"1399720839":["hashtag1","hashtag2"]},{"1399720832":["hashtag1","hashtag2"]},{"1399720835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720838, 1399720837, 1399720836, 1399720839, 1399720832, 1399720835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20438480377197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:15:22.453472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_45_10757.jpg', '/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_15_10586.jpg', '/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_25_9766.jpg', '/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_35_9798.jpg', '/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_44_9671.jpg', '/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_55_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/13/image_16122025_23_13_45_10757.jpg
/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_15_10586.jpg
/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_25_9766.jpg
/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_35_9798.jpg
/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_44_9671.jpg
/home/pi/Desktop/images/16122025/23/14/image_16122025_23_14_55_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720843","1399720852","1399720849","1399720840","1399720845","1399720847"],"photo_ids_order":["1399720840","1399720843","1399720845","1399720847","1399720849","1399720852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0429d0d5a4d1b65a191d987494718e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4726055305979138887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923383063,"filename":"image_16122025_23_14_15_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/16/12cec85751501e8dda8c58fab8c725aa.jpg","text":"TemporaryFile(/tmp/multipartBody378582306883857812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923383063,"filename":"image_16122025_23_14_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/16/9138bc0c3ecef82e5f101c89bfb3510e.jpg","text":"TemporaryFile(/tmp/multipartBody7102255274935574720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923383063,"filename":"image_16122025_23_14_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/16/46487628f85bdc02b50b0d4dc79e4d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5951905623925045105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923383063,"filename":"image_16122025_23_13_45_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/16/c3c12141fd2bfff6b7f36d67c59d7767.jpg","text":"TemporaryFile(/tmp/multipartBody7384860699869525032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923383063,"filename":"image_16122025_23_14_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5c70a1c6bb78041e2b1ba57fb6434ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4635716766155438262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923383063,"filename":"image_16122025_23_14_35_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720845","file1":"1399720843","file0":"1399720840","file4":"1399720849","file5":"1399720852","file3":"1399720847"},"map_files_photo_id_array":[{"photo_id":"1399720852","filename":"file5"},{"photo_id":"1399720845","filename":"file2"},{"photo_id":"1399720849","filename":"file4"},{"photo_id":"1399720843","filename":"file1"},{"photo_id":"1399720840","filename":"file0"},{"photo_id":"1399720847","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720843":["hashtag1","hashtag2"]},{"1399720852":["hashtag1","hashtag2"]},{"1399720849":["hashtag1","hashtag2"]},{"1399720840":["hashtag1","hashtag2"]},{"1399720845":["hashtag1","hashtag2"]},{"1399720847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720843, 1399720852, 1399720849, 1399720840, 1399720845, 1399720847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.629295349121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:16:03.189248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/14/image_16122025_23_15_05_9744.jpg', '/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_15_9801.jpg', '/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_24_9738.jpg', '/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_34_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/14/image_16122025_23_15_05_9744.jpg
/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_15_9801.jpg
/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_24_9738.jpg
/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_34_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720855","1399720854","1399720857","1399720856"],"photo_ids_order":["1399720854","1399720855","1399720856","1399720857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eb62878d2dbe1ab92ad4f578c98b1d2c.jpg","text":"TemporaryFile(/tmp/multipartBody9171660521656595657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923423724,"filename":"image_16122025_23_15_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/16/52846be42ac4482e3bef4e2dd388f061.jpg","text":"TemporaryFile(/tmp/multipartBody7917081062307030114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923423724,"filename":"image_16122025_23_15_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85ecc91595ac39178257f9a16c98d47a.jpg","text":"TemporaryFile(/tmp/multipartBody6030572340045922084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923423724,"filename":"image_16122025_23_15_34_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/040f797198a2c6a05a479dbd2183a10c.jpg","text":"TemporaryFile(/tmp/multipartBody5917808266092808716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923423724,"filename":"image_16122025_23_15_24_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720856","file1":"1399720855","file0":"1399720854","file3":"1399720857"},"map_files_photo_id_array":[{"photo_id":"1399720856","filename":"file2"},{"photo_id":"1399720855","filename":"file1"},{"photo_id":"1399720854","filename":"file0"},{"photo_id":"1399720857","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720855":["hashtag1","hashtag2"]},{"1399720854":["hashtag1","hashtag2"]},{"1399720857":["hashtag1","hashtag2"]},{"1399720856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720855, 1399720854, 1399720857, 1399720856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.63006043434143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:16:32.796775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:16:42.653896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_29_1846.jpg', '/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_43_14183.jpg', '/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_03_20237.jpg', '/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_05_1585.jpg', '/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_27_20105.jpg', '/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_28_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_29_1846.jpg
/home/pi/Desktop/images/06112025/18/41/image_06112025_18_41_43_14183.jpg
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_03_20237.jpg
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_05_1585.jpg
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_27_20105.jpg
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_28_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720870","1399720867","1399720872","1399720863","1399720874","1399720868"],"photo_ids_order":["1399720863","1399720867","1399720868","1399720870","1399720872","1399720874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/037b2d9d8bdd02366c00436e78002c56.jpg","text":"TemporaryFile(/tmp/multipartBody7572439460095795178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923463409,"filename":"image_06112025_18_42_05_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/16/11985c0b260d444f40dc3b1c71a97916.jpg","text":"TemporaryFile(/tmp/multipartBody3878936916817269426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923463409,"filename":"image_06112025_18_41_43_14183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4123b11c4fce8ec14e22c2212497cc0.jpg","text":"TemporaryFile(/tmp/multipartBody3355920696150982493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923463409,"filename":"image_06112025_18_42_27_20105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c5eb38a043e5a7182c9c035e3561ab1a.jpg","text":"TemporaryFile(/tmp/multipartBody6364504319200495842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923463409,"filename":"image_06112025_18_41_29_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a9b8b72767e71eb2a7dc219714872097.jpg","text":"TemporaryFile(/tmp/multipartBody5617379796969677761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923463409,"filename":"image_06112025_18_42_28_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b1028a4bc01c23b293fe1ef9e7cc27b3.jpg","text":"TemporaryFile(/tmp/multipartBody1272595732667055678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923463409,"filename":"image_06112025_18_42_03_20237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720868","file1":"1399720867","file0":"1399720863","file4":"1399720872","file5":"1399720874","file3":"1399720870"},"map_files_photo_id_array":[{"photo_id":"1399720874","filename":"file5"},{"photo_id":"1399720868","filename":"file2"},{"photo_id":"1399720872","filename":"file4"},{"photo_id":"1399720867","filename":"file1"},{"photo_id":"1399720863","filename":"file0"},{"photo_id":"1399720870","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720870":["hashtag1","hashtag2"]},{"1399720867":["hashtag1","hashtag2"]},{"1399720872":["hashtag1","hashtag2"]},{"1399720863":["hashtag1","hashtag2"]},{"1399720874":["hashtag1","hashtag2"]},{"1399720868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720870, 1399720867, 1399720872, 1399720863, 1399720874, 1399720868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95407247543335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:17:21.922338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_55_9647.jpg', '/home/pi/Desktop/images/16122025/23/15/image_16122025_23_16_04_9555.jpg', '/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_15_10627.jpg', '/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_24_9628.jpg', '/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_34_9693.jpg', '/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_45_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/15/image_16122025_23_15_55_9647.jpg
/home/pi/Desktop/images/16122025/23/15/image_16122025_23_16_04_9555.jpg
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_15_10627.jpg
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_24_9628.jpg
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_34_9693.jpg
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_45_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":["1399720876","1399720885","1399720879","1399720881","1399720883","1399720889"],"photo_ids_order":["1399720876","1399720879","1399720881","1399720883","1399720885","1399720889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5213b97e3458816407cd9e100ccf381e.jpg","text":"TemporaryFile(/tmp/multipartBody934356531412724676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923502502,"filename":"image_16122025_23_15_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4960a5fd6e1d8a23da8624cc130313a8.jpg","text":"TemporaryFile(/tmp/multipartBody8324262492862212549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923502502,"filename":"image_16122025_23_16_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/16/b3bf7a864ff8d8808fb0c861052b8e91.jpg","text":"TemporaryFile(/tmp/multipartBody1618716816960163391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923502502,"filename":"image_16122025_23_16_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/16/b15dbc2c82651a1f2db592c2617e4128.jpg","text":"TemporaryFile(/tmp/multipartBody6912045223718202147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923502502,"filename":"image_16122025_23_16_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/16/9f7aa4045b3e43b1c5e713bf41f288c2.jpg","text":"TemporaryFile(/tmp/multipartBody5666100108555569475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923502502,"filename":"image_16122025_23_16_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/70e034f305dda8b1250afe1459e113f5.jpg","text":"TemporaryFile(/tmp/multipartBody1990237799410315769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923502502,"filename":"image_16122025_23_16_45_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720881","file1":"1399720879","file0":"1399720876","file4":"1399720885","file5":"1399720889","file3":"1399720883"},"map_files_photo_id_array":[{"photo_id":"1399720889","filename":"file5"},{"photo_id":"1399720881","filename":"file2"},{"photo_id":"1399720885","filename":"file4"},{"photo_id":"1399720879","filename":"file1"},{"photo_id":"1399720876","filename":"file0"},{"photo_id":"1399720883","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720876":["hashtag1","hashtag2"]},{"1399720885":["hashtag1","hashtag2"]},{"1399720879":["hashtag1","hashtag2"]},{"1399720881":["hashtag1","hashtag2"]},{"1399720883":["hashtag1","hashtag2"]},{"1399720889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720876, 1399720885, 1399720879, 1399720881, 1399720883, 1399720889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26689529418945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:18:02.659851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_55_9802.jpg', '/home/pi/Desktop/images/16122025/23/16/image_16122025_23_17_04_9700.jpg', '/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_15_10650.jpg', '/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_25_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_55_9802.jpg
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_17_04_9700.jpg
/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_15_10650.jpg
/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_25_9685.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4329090118408203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:18:12.116336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:18:22.128777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_55_9802.jpg', '/home/pi/Desktop/images/16122025/23/16/image_16122025_23_17_04_9700.jpg', '/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_15_10650.jpg', '/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_25_9685.jpg', '/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_35_9778.jpg', '/home/pi/Desktop/images/16122025/23/17/image_16122025_23_18_04_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_16_55_9802.jpg
/home/pi/Desktop/images/16122025/23/16/image_16122025_23_17_04_9700.jpg
/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_15_10650.jpg
/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_25_9685.jpg
/home/pi/Desktop/images/16122025/23/17/image_16122025_23_17_35_9778.jpg
/home/pi/Desktop/images/16122025/23/17/image_16122025_23_18_04_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720901","1399720904","1399720897","1399720899","1399720893","1399720895"],"photo_ids_order":["1399720893","1399720895","1399720897","1399720899","1399720901","1399720904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09b2847073f00456b9f67c8c05ef292c.jpg","text":"TemporaryFile(/tmp/multipartBody594559433613792311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923562746,"filename":"image_16122025_23_17_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/50c0f8dedc3c40c6886532c04e37dee9.jpg","text":"TemporaryFile(/tmp/multipartBody2066764815844612509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923562746,"filename":"image_16122025_23_18_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/957f2b3ef839dd886ecad7aa3fad73ea.jpg","text":"TemporaryFile(/tmp/multipartBody5666227071214260061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923562746,"filename":"image_16122025_23_17_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/16/4f5f4b0fac028cb4c21b0ce10a78608c.jpg","text":"TemporaryFile(/tmp/multipartBody6375285717828990503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923562746,"filename":"image_16122025_23_17_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f0843d222543d9b386126deb838636b8.jpg","text":"TemporaryFile(/tmp/multipartBody321570760186792103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923562746,"filename":"image_16122025_23_16_55_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4a5eb4e2097a0d1854931d851b2a523.jpg","text":"TemporaryFile(/tmp/multipartBody5836308768836732398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923562746,"filename":"image_16122025_23_17_04_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720897","file1":"1399720895","file0":"1399720893","file4":"1399720901","file5":"1399720904","file3":"1399720899"},"map_files_photo_id_array":[{"photo_id":"1399720904","filename":"file5"},{"photo_id":"1399720897","filename":"file2"},{"photo_id":"1399720901","filename":"file4"},{"photo_id":"1399720895","filename":"file1"},{"photo_id":"1399720893","filename":"file0"},{"photo_id":"1399720899","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720901":["hashtag1","hashtag2"]},{"1399720904":["hashtag1","hashtag2"]},{"1399720897":["hashtag1","hashtag2"]},{"1399720899":["hashtag1","hashtag2"]},{"1399720893":["hashtag1","hashtag2"]},{"1399720895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720901, 1399720904, 1399720897, 1399720899, 1399720893, 1399720895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97689938545227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:19:03.378954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_25_10685.jpg', '/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_35_9706.jpg', '/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_44_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_25_10685.jpg
/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_35_9706.jpg
/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_44_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720907","1399720906","1399720908"],"photo_ids_order":["1399720906","1399720907","1399720908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/02097749d76241b0c1887bffd3b4185e.jpg","text":"TemporaryFile(/tmp/multipartBody7515957865499605346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923603973,"filename":"image_16122025_23_18_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1bdb82fc12d6bde34e7d23a41eff81d5.jpg","text":"TemporaryFile(/tmp/multipartBody7805392867223450704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923603973,"filename":"image_16122025_23_18_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/16/2e55c4759f778edbcd3b7ce5438d9acd.jpg","text":"TemporaryFile(/tmp/multipartBody4858454756448519825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923603973,"filename":"image_16122025_23_18_44_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720908","file1":"1399720907","file0":"1399720906"},"map_files_photo_id_array":[{"photo_id":"1399720908","filename":"file2"},{"photo_id":"1399720907","filename":"file1"},{"photo_id":"1399720906","filename":"file0"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720907":["hashtag1","hashtag2"]},{"1399720906":["hashtag1","hashtag2"]},{"1399720908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720907, 1399720906, 1399720908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.18055558204651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:19:32.402138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:19:42.333917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_52_1665.jpg', '/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_54_1728.jpg', '/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_57_1530.jpg', '/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_59_1864.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_01_1653.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_12_1787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_52_1665.jpg
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_54_1728.jpg
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_57_1530.jpg
/home/pi/Desktop/images/06112025/18/42/image_06112025_18_42_59_1864.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_01_1653.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_12_1787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720922","1399720919","1399720918","1399720921","1399720915","1399720920"],"photo_ids_order":["1399720915","1399720918","1399720919","1399720920","1399720921","1399720922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/96a835c86106a794a4162542c8c03293.jpg","text":"TemporaryFile(/tmp/multipartBody1567409551228978677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923643095,"filename":"image_06112025_18_43_12_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/16/0b133d1f90c84c54356d2963d57bb846.jpg","text":"TemporaryFile(/tmp/multipartBody4163739324963670029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923643095,"filename":"image_06112025_18_42_57_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/16f15c7a58ea8da378694e284877c0a9.jpg","text":"TemporaryFile(/tmp/multipartBody3584084452000037199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923643095,"filename":"image_06112025_18_42_54_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/16/a1b07668b36916862767b993e1fec648.jpg","text":"TemporaryFile(/tmp/multipartBody708205236461824159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923643095,"filename":"image_06112025_18_43_01_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fc8990a81005a1a5051fca0b67b78502.jpg","text":"TemporaryFile(/tmp/multipartBody3519991415411956712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923643095,"filename":"image_06112025_18_42_52_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/16/88dd849740fa70d8e4b660a6cb6cd96a.jpg","text":"TemporaryFile(/tmp/multipartBody5466000229624217682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923643095,"filename":"image_06112025_18_42_59_1864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720919","file1":"1399720918","file0":"1399720915","file4":"1399720921","file5":"1399720922","file3":"1399720920"},"map_files_photo_id_array":[{"photo_id":"1399720922","filename":"file5"},{"photo_id":"1399720919","filename":"file2"},{"photo_id":"1399720921","filename":"file4"},{"photo_id":"1399720918","filename":"file1"},{"photo_id":"1399720915","filename":"file0"},{"photo_id":"1399720920","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720922":["hashtag1","hashtag2"]},{"1399720919":["hashtag1","hashtag2"]},{"1399720918":["hashtag1","hashtag2"]},{"1399720921":["hashtag1","hashtag2"]},{"1399720915":["hashtag1","hashtag2"]},{"1399720920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720922, 1399720919, 1399720918, 1399720921, 1399720915, 1399720920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12839651107788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:20:22.749215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_54_9725.jpg', '/home/pi/Desktop/images/16122025/23/18/image_16122025_23_19_05_10552.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_24_9708.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_34_9846.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_45_10748.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_55_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_54_9725.jpg
/home/pi/Desktop/images/16122025/23/18/image_16122025_23_19_05_10552.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_24_9708.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_34_9846.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_45_10748.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_55_9664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5138430595397949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:20:32.613007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:20:42.540357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_14_1737.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_28_12526.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_32_3836.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_36_1858.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_39_1649.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_40_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_14_1737.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_28_12526.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_32_3836.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_36_1858.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_39_1649.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_40_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":["1399720943","1399720942","1399720939","1399720941","1399720940","1399720934"],"photo_ids_order":["1399720934","1399720939","1399720940","1399720941","1399720942","1399720943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6aff0398a96ea7db9fd1774088ad9f82.jpg","text":"TemporaryFile(/tmp/multipartBody6516460674504871043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923703305,"filename":"image_06112025_18_43_40_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea030eb3cd183af46770735c4a485c30.jpg","text":"TemporaryFile(/tmp/multipartBody6764526458285285854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923703305,"filename":"image_06112025_18_43_39_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/874a6fe7aecd31c345c4f59d56cd5d1b.jpg","text":"TemporaryFile(/tmp/multipartBody77235086891238643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923703305,"filename":"image_06112025_18_43_28_12526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db57f8fbfee660ffed1f3048638c7f4d.jpg","text":"TemporaryFile(/tmp/multipartBody632402721403755915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923703305,"filename":"image_06112025_18_43_36_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/77a5c50c6bc664a9cc50e1a7942cc738.jpg","text":"TemporaryFile(/tmp/multipartBody8811357837808074824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923703305,"filename":"image_06112025_18_43_32_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b12198c0d9100d5645129fa248edd911.jpg","text":"TemporaryFile(/tmp/multipartBody8212030086031475518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923703305,"filename":"image_06112025_18_43_14_1737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720940","file1":"1399720939","file0":"1399720934","file4":"1399720942","file5":"1399720943","file3":"1399720941"},"map_files_photo_id_array":[{"photo_id":"1399720943","filename":"file5"},{"photo_id":"1399720940","filename":"file2"},{"photo_id":"1399720942","filename":"file4"},{"photo_id":"1399720939","filename":"file1"},{"photo_id":"1399720934","filename":"file0"},{"photo_id":"1399720941","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720943":["hashtag1","hashtag2"]},{"1399720942":["hashtag1","hashtag2"]},{"1399720939":["hashtag1","hashtag2"]},{"1399720941":["hashtag1","hashtag2"]},{"1399720940":["hashtag1","hashtag2"]},{"1399720934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720943, 1399720942, 1399720939, 1399720941, 1399720940, 1399720934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.455487966537476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:21:22.841240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_54_9725.jpg', '/home/pi/Desktop/images/16122025/23/18/image_16122025_23_19_05_10552.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_24_9708.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_34_9846.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_45_10748.jpg', '/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_55_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/18/image_16122025_23_18_54_9725.jpg
/home/pi/Desktop/images/16122025/23/18/image_16122025_23_19_05_10552.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_24_9708.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_34_9846.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_45_10748.jpg
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_19_55_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720954","1399720951","1399720945","1399720953","1399720947","1399720949"],"photo_ids_order":["1399720945","1399720947","1399720949","1399720951","1399720953","1399720954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/17b4bba3fe26294573eea3161b2da66a.jpg","text":"TemporaryFile(/tmp/multipartBody97514204133653750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923743434,"filename":"image_16122025_23_19_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/16/e53a4be67e7196978c8dd8aca6f145c9.jpg","text":"TemporaryFile(/tmp/multipartBody557584910400455915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923743434,"filename":"image_16122025_23_19_34_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/da24b8c40d1de314f606bdc5b52cbd00.jpg","text":"TemporaryFile(/tmp/multipartBody8801199644624023226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923743434,"filename":"image_16122025_23_18_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/16/65d59fa57f5c506ebf3f3aa28152bd6a.jpg","text":"TemporaryFile(/tmp/multipartBody681398106942647081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923743434,"filename":"image_16122025_23_19_45_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29cece921cefd0ea125e13b65e119a29.jpg","text":"TemporaryFile(/tmp/multipartBody1839002393908100674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923743434,"filename":"image_16122025_23_19_05_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c31bc72dd0f83e9c4cec114bd84761f0.jpg","text":"TemporaryFile(/tmp/multipartBody4850211910413355916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923743434,"filename":"image_16122025_23_19_24_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720949","file1":"1399720947","file0":"1399720945","file4":"1399720953","file5":"1399720954","file3":"1399720951"},"map_files_photo_id_array":[{"photo_id":"1399720954","filename":"file5"},{"photo_id":"1399720949","filename":"file2"},{"photo_id":"1399720953","filename":"file4"},{"photo_id":"1399720947","filename":"file1"},{"photo_id":"1399720945","filename":"file0"},{"photo_id":"1399720951","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720954":["hashtag1","hashtag2"]},{"1399720951":["hashtag1","hashtag2"]},{"1399720945":["hashtag1","hashtag2"]},{"1399720953":["hashtag1","hashtag2"]},{"1399720947":["hashtag1","hashtag2"]},{"1399720949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720954, 1399720951, 1399720945, 1399720953, 1399720947, 1399720949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84071922302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:22:02.478118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/19/image_16122025_23_20_04_9764.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_25_9659.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_34_9681.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_45_10627.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_54_9611.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_21_04_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_20_04_9764.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_25_9659.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_34_9681.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_45_10627.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_54_9611.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_21_04_9702.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47380924224853516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:22:11.994893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:22:21.937738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/19/image_16122025_23_20_04_9764.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_25_9659.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_34_9681.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_45_10627.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_54_9611.jpg', '/home/pi/Desktop/images/16122025/23/20/image_16122025_23_21_04_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/19/image_16122025_23_20_04_9764.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_25_9659.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_34_9681.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_45_10627.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_20_54_9611.jpg
/home/pi/Desktop/images/16122025/23/20/image_16122025_23_21_04_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720960","1399720966","1399720971","1399720968","1399720962","1399720964"],"photo_ids_order":["1399720960","1399720962","1399720964","1399720966","1399720968","1399720971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0cb5ac64c033d613f26be4cd7bb94fee.jpg","text":"TemporaryFile(/tmp/multipartBody297165958344493035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923802506,"filename":"image_16122025_23_20_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/16/2ef56a9363ddc7cfaf7cd70e46211dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5735314193499384011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923802506,"filename":"image_16122025_23_20_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4a64720c2207b6a93a8f1fe41cfac67b.jpg","text":"TemporaryFile(/tmp/multipartBody270307733418437856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923802506,"filename":"image_16122025_23_21_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/16/b1d4d9d4b55d1de87f11477bf2d8a574.jpg","text":"TemporaryFile(/tmp/multipartBody5928088297441265215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923802506,"filename":"image_16122025_23_20_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f610f288f5e49168c8d2715874cbb9c7.jpg","text":"TemporaryFile(/tmp/multipartBody6623567661041605754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923802506,"filename":"image_16122025_23_20_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/16/7464001ec72bb62ef3cf9457c85a2dc0.jpg","text":"TemporaryFile(/tmp/multipartBody7754217624076398895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923802506,"filename":"image_16122025_23_20_34_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720964","file1":"1399720962","file0":"1399720960","file4":"1399720968","file5":"1399720971","file3":"1399720966"},"map_files_photo_id_array":[{"photo_id":"1399720971","filename":"file5"},{"photo_id":"1399720964","filename":"file2"},{"photo_id":"1399720968","filename":"file4"},{"photo_id":"1399720962","filename":"file1"},{"photo_id":"1399720960","filename":"file0"},{"photo_id":"1399720966","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720960":["hashtag1","hashtag2"]},{"1399720966":["hashtag1","hashtag2"]},{"1399720971":["hashtag1","hashtag2"]},{"1399720968":["hashtag1","hashtag2"]},{"1399720962":["hashtag1","hashtag2"]},{"1399720964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720960, 1399720966, 1399720971, 1399720968, 1399720962, 1399720964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31885886192322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:23:02.824057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_15_10530.jpg', '/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_24_9728.jpg', '/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_35_10581.jpg', '/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_45_9602.jpg', '/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_54_9734.jpg', '/home/pi/Desktop/images/16122025/23/21/image_16122025_23_22_04_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_15_10530.jpg
/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_24_9728.jpg
/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_35_10581.jpg
/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_45_9602.jpg
/home/pi/Desktop/images/16122025/23/21/image_16122025_23_21_54_9734.jpg
/home/pi/Desktop/images/16122025/23/21/image_16122025_23_22_04_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720975","1399720978","1399720980","1399720974","1399720977","1399720976"],"photo_ids_order":["1399720974","1399720975","1399720976","1399720977","1399720978","1399720980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eeed2392204faabad0772dcca81624bf.jpg","text":"TemporaryFile(/tmp/multipartBody5128912875921078937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923843422,"filename":"image_16122025_23_21_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/16/3c280bfb3ceea6210b93938532fe6be0.jpg","text":"TemporaryFile(/tmp/multipartBody5759998925376040001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923843422,"filename":"image_16122025_23_21_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e97589f351ec03576b064abea3dfebd4.jpg","text":"TemporaryFile(/tmp/multipartBody1597580049361164758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923843422,"filename":"image_16122025_23_22_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/16/b116a8481670c351080f5f1731904cef.jpg","text":"TemporaryFile(/tmp/multipartBody8584330688105221126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923843422,"filename":"image_16122025_23_21_15_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d3c3133f5c8ea0ad685d75775b4bb59d.jpg","text":"TemporaryFile(/tmp/multipartBody7973166728836858666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923843422,"filename":"image_16122025_23_21_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/16/25751f0363c93fda92c80e43bad35629.jpg","text":"TemporaryFile(/tmp/multipartBody9174400053785418243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923843422,"filename":"image_16122025_23_21_35_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720976","file1":"1399720975","file0":"1399720974","file4":"1399720978","file5":"1399720980","file3":"1399720977"},"map_files_photo_id_array":[{"photo_id":"1399720980","filename":"file5"},{"photo_id":"1399720976","filename":"file2"},{"photo_id":"1399720978","filename":"file4"},{"photo_id":"1399720975","filename":"file1"},{"photo_id":"1399720974","filename":"file0"},{"photo_id":"1399720977","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399720975":["hashtag1","hashtag2"]},{"1399720978":["hashtag1","hashtag2"]},{"1399720980":["hashtag1","hashtag2"]},{"1399720974":["hashtag1","hashtag2"]},{"1399720977":["hashtag1","hashtag2"]},{"1399720976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399720975, 1399720978, 1399720980, 1399720974, 1399720977, 1399720976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05519914627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:23:42.317625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_42_1585.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_45_1680.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_47_1623.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_49_2513.jpg', '/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_59_1643.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_01_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_42_1585.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_45_1680.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_47_1623.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_49_2513.jpg
/home/pi/Desktop/images/06112025/18/43/image_06112025_18_43_59_1643.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_01_1573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399720990","1399720993","1399720992","1399720989","1399720991","1399720985"],"photo_ids_order":["1399720985","1399720989","1399720990","1399720991","1399720992","1399720993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/529d836884f75db9188ce5201d30dc92.jpg","text":"TemporaryFile(/tmp/multipartBody8200409486013786898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923883109,"filename":"image_06112025_18_43_47_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/616bccef5f039b8bd1a40bcdd934952d.jpg","text":"TemporaryFile(/tmp/multipartBody8922759006106174610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923883109,"filename":"image_06112025_18_44_01_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/16/033f292f6b18da1fb66492c32936008a.jpg","text":"TemporaryFile(/tmp/multipartBody7378486436995077591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923883109,"filename":"image_06112025_18_43_59_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/16/ad7e35c3652cc9092184629159bfb9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1544745650910740966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923883109,"filename":"image_06112025_18_43_45_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54dbf020383ce90a7fdd4db824949c88.jpg","text":"TemporaryFile(/tmp/multipartBody6550893634677893959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923883109,"filename":"image_06112025_18_43_49_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/16/c9de4eb7d500c0e6965a817288f5502d.jpg","text":"TemporaryFile(/tmp/multipartBody3270875129944833067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923883109,"filename":"image_06112025_18_43_42_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399720990","file1":"1399720989","file0":"1399720985","file4":"1399720992","file5":"1399720993","file3":"1399720991"},"map_files_photo_id_array":[{"photo_id":"1399720993","filename":"file5"},{"photo_id":"1399720990","filename":"file2"},{"photo_id":"1399720992","filename":"file4"},{"photo_id":"1399720989","filename":"file1"},{"photo_id":"1399720985","filename":"file0"},{"photo_id":"1399720991","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399720990":["hashtag1","hashtag2"]},{"1399720993":["hashtag1","hashtag2"]},{"1399720992":["hashtag1","hashtag2"]},{"1399720989":["hashtag1","hashtag2"]},{"1399720991":["hashtag1","hashtag2"]},{"1399720985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399720990, 1399720993, 1399720992, 1399720989, 1399720991, 1399720985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11140012741089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:24:22.584460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_15_10567.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_24_9620.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_35_10629.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_44_9594.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_54_9603.jpg', '/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_15_10567.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_24_9620.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_35_10629.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_44_9594.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_54_9603.jpg
/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_35_10736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49242520332336426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:24:32.678144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:24:42.543144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_03_1680.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_04_1749.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_08_1602.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_12_1641.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_14_1668.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_16_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_03_1680.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_04_1749.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_08_1602.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_12_1641.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_14_1668.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_16_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721006","1399721005","1399721008","1399721010","1399721007","1399721009"],"photo_ids_order":["1399721005","1399721006","1399721007","1399721008","1399721009","1399721010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1e32fbbf74fe73414b2027e3d070455d.jpg","text":"TemporaryFile(/tmp/multipartBody394540647852956965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923943290,"filename":"image_06112025_18_44_04_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7ddeabfa5a6a6be65ed22188da30a04e.jpg","text":"TemporaryFile(/tmp/multipartBody3648173225867347984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923943290,"filename":"image_06112025_18_44_03_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e91e458bb592dde464c37974e0e1893b.jpg","text":"TemporaryFile(/tmp/multipartBody2473647788951070095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923943290,"filename":"image_06112025_18_44_12_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/16/df5f300b26648a77f29960e925258880.jpg","text":"TemporaryFile(/tmp/multipartBody2303035396548250871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923943290,"filename":"image_06112025_18_44_16_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/37ee6943f8ffe6d3cc3be16a435baa4c.jpg","text":"TemporaryFile(/tmp/multipartBody7235840344138954846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923943290,"filename":"image_06112025_18_44_08_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/16/ff43f2ed57e932f118b1abc9005b4a72.jpg","text":"TemporaryFile(/tmp/multipartBody1590288476002915249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765923943290,"filename":"image_06112025_18_44_14_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721007","file1":"1399721006","file0":"1399721005","file4":"1399721009","file5":"1399721010","file3":"1399721008"},"map_files_photo_id_array":[{"photo_id":"1399721010","filename":"file5"},{"photo_id":"1399721007","filename":"file2"},{"photo_id":"1399721009","filename":"file4"},{"photo_id":"1399721006","filename":"file1"},{"photo_id":"1399721005","filename":"file0"},{"photo_id":"1399721008","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721006":["hashtag1","hashtag2"]},{"1399721005":["hashtag1","hashtag2"]},{"1399721008":["hashtag1","hashtag2"]},{"1399721010":["hashtag1","hashtag2"]},{"1399721007":["hashtag1","hashtag2"]},{"1399721009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721006, 1399721005, 1399721008, 1399721010, 1399721007, 1399721009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6312460899353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:25:22.809170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_15_10567.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_24_9620.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_35_10629.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_44_9594.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_54_9603.jpg', '/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_15_10567.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_24_9620.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_35_10629.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_44_9594.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_54_9603.jpg
/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_35_10736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4762144088745117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:25:32.918243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:25:42.789143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_19_1669.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_21_1630.jpg', '/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_52_20672.jpg', '/home/pi/Desktop/images/06112025/18/47/image_06112025_18_47_07_3011.jpg', '/home/pi/Desktop/images/06112025/18/48/image_06112025_18_48_33_1666.jpg', '/home/pi/Desktop/images/06112025/18/48/image_06112025_18_48_43_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_19_1669.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_21_1630.jpg
/home/pi/Desktop/images/06112025/18/44/image_06112025_18_44_52_20672.jpg
/home/pi/Desktop/images/06112025/18/47/image_06112025_18_47_07_3011.jpg
/home/pi/Desktop/images/06112025/18/48/image_06112025_18_48_33_1666.jpg
/home/pi/Desktop/images/06112025/18/48/image_06112025_18_48_43_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721026","1399721029","1399721028","1399721022","1399721027","1399721024"],"photo_ids_order":["1399721022","1399721024","1399721026","1399721027","1399721028","1399721029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d871238f7c19ffe49f1300dfe28d125b.jpg","text":"TemporaryFile(/tmp/multipartBody419192673842936232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924003532,"filename":"image_06112025_18_44_52_20672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c765a81cabcfda1c9cda2affa0512844.jpg","text":"TemporaryFile(/tmp/multipartBody5583610913835415605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924003532,"filename":"image_06112025_18_48_43_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/16/79da8d37dcc2dd7d753fc636775a13e0.jpg","text":"TemporaryFile(/tmp/multipartBody1947864936510696917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924003532,"filename":"image_06112025_18_48_33_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/68d3351ee802d8712356a5898c054f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5788138333172253566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924003532,"filename":"image_06112025_18_44_19_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/16/79f986131d43acab36d599cd6a83b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody5315858663771364382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924003532,"filename":"image_06112025_18_47_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8cc6d1450dc0a14b814a32df12e4b741.jpg","text":"TemporaryFile(/tmp/multipartBody7905062042909524579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924003532,"filename":"image_06112025_18_44_21_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721026","file1":"1399721024","file0":"1399721022","file4":"1399721028","file5":"1399721029","file3":"1399721027"},"map_files_photo_id_array":[{"photo_id":"1399721029","filename":"file5"},{"photo_id":"1399721026","filename":"file2"},{"photo_id":"1399721028","filename":"file4"},{"photo_id":"1399721024","filename":"file1"},{"photo_id":"1399721022","filename":"file0"},{"photo_id":"1399721027","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721026":["hashtag1","hashtag2"]},{"1399721029":["hashtag1","hashtag2"]},{"1399721028":["hashtag1","hashtag2"]},{"1399721022":["hashtag1","hashtag2"]},{"1399721027":["hashtag1","hashtag2"]},{"1399721024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721026, 1399721029, 1399721028, 1399721022, 1399721027, 1399721024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88940119743347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:26:22.057551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_15_10567.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_24_9620.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_35_10629.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_44_9594.jpg', '/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_54_9603.jpg', '/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_15_10567.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_24_9620.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_35_10629.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_44_9594.jpg
/home/pi/Desktop/images/16122025/23/22/image_16122025_23_22_54_9603.jpg
/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_35_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721041","1399721038","1399721032","1399721034","1399721031","1399721036"],"photo_ids_order":["1399721031","1399721032","1399721034","1399721036","1399721038","1399721041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a053e3e6c977dbadd4ed78ebcf7868fa.jpg","text":"TemporaryFile(/tmp/multipartBody2972133194373868655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924042640,"filename":"image_16122025_23_23_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/092a5153fb097ac5fa8eac24aa2b32ed.jpg","text":"TemporaryFile(/tmp/multipartBody2296700769320502907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924042640,"filename":"image_16122025_23_22_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a6304b2503e3c4030091e290e47ebf01.jpg","text":"TemporaryFile(/tmp/multipartBody4321043404035497780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924042640,"filename":"image_16122025_23_22_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/16/70348bf3557e3c35d5ea1ceb18dce05d.jpg","text":"TemporaryFile(/tmp/multipartBody5909473105325061778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924042640,"filename":"image_16122025_23_22_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/16/f0a5f2e77d868ddfe3633b89e47fd131.jpg","text":"TemporaryFile(/tmp/multipartBody7847198210861182112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924042640,"filename":"image_16122025_23_22_15_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/384c3ee63ae191fa770f0d155dfff684.jpg","text":"TemporaryFile(/tmp/multipartBody5596460802637945528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924042640,"filename":"image_16122025_23_22_44_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721034","file1":"1399721032","file0":"1399721031","file4":"1399721038","file5":"1399721041","file3":"1399721036"},"map_files_photo_id_array":[{"photo_id":"1399721041","filename":"file5"},{"photo_id":"1399721034","filename":"file2"},{"photo_id":"1399721038","filename":"file4"},{"photo_id":"1399721032","filename":"file1"},{"photo_id":"1399721031","filename":"file0"},{"photo_id":"1399721036","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721041":["hashtag1","hashtag2"]},{"1399721038":["hashtag1","hashtag2"]},{"1399721032":["hashtag1","hashtag2"]},{"1399721034":["hashtag1","hashtag2"]},{"1399721031":["hashtag1","hashtag2"]},{"1399721036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721041, 1399721038, 1399721032, 1399721034, 1399721031, 1399721036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70058345794678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:27:02.879512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_44_9609.jpg', '/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_54_9722.jpg', '/home/pi/Desktop/images/16122025/23/23/image_16122025_23_24_05_10636.jpg', '/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_15_9703.jpg', '/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_24_9644.jpg', '/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_35_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_44_9609.jpg
/home/pi/Desktop/images/16122025/23/23/image_16122025_23_23_54_9722.jpg
/home/pi/Desktop/images/16122025/23/23/image_16122025_23_24_05_10636.jpg
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_15_9703.jpg
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_24_9644.jpg
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_35_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721053","1399721050","1399721047","1399721049","1399721051","1399721048"],"photo_ids_order":["1399721047","1399721048","1399721049","1399721050","1399721051","1399721053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f299c109db6c2e686435e4efb0f6ce1.jpg","text":"TemporaryFile(/tmp/multipartBody392247524807846461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924083545,"filename":"image_16122025_23_24_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/80163c6f069b77ec373c2e15b54c5ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3702658868612036805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924083545,"filename":"image_16122025_23_24_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/16/a173646b563e85b6672295961f4e8c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4746068442497935022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924083545,"filename":"image_16122025_23_23_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d690f0a2c51f70a71b9e76e036d5f119.jpg","text":"TemporaryFile(/tmp/multipartBody9118221501220330193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924083545,"filename":"image_16122025_23_24_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09ecf44076e9c25aa60b06aed14d4a72.jpg","text":"TemporaryFile(/tmp/multipartBody6104762043644790915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924083545,"filename":"image_16122025_23_24_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4dbf8f5526540aff34db10b632863b88.jpg","text":"TemporaryFile(/tmp/multipartBody7242582864640643507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924083545,"filename":"image_16122025_23_23_54_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721049","file1":"1399721048","file0":"1399721047","file4":"1399721051","file5":"1399721053","file3":"1399721050"},"map_files_photo_id_array":[{"photo_id":"1399721053","filename":"file5"},{"photo_id":"1399721049","filename":"file2"},{"photo_id":"1399721051","filename":"file4"},{"photo_id":"1399721048","filename":"file1"},{"photo_id":"1399721047","filename":"file0"},{"photo_id":"1399721050","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721053":["hashtag1","hashtag2"]},{"1399721050":["hashtag1","hashtag2"]},{"1399721047":["hashtag1","hashtag2"]},{"1399721049":["hashtag1","hashtag2"]},{"1399721051":["hashtag1","hashtag2"]},{"1399721048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721053, 1399721050, 1399721047, 1399721049, 1399721051, 1399721048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.799824237823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:27:42.294032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/48/image_06112025_18_49_00_1631.jpg', '/home/pi/Desktop/images/06112025/18/49/image_06112025_18_49_15_15621.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_07_3011.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_11_3906.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_22_2722.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_25_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/48/image_06112025_18_49_00_1631.jpg
/home/pi/Desktop/images/06112025/18/49/image_06112025_18_49_15_15621.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_07_3011.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_11_3906.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_22_2722.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_25_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721065","1399721064","1399721061","1399721058","1399721063","1399721066"],"photo_ids_order":["1399721058","1399721061","1399721063","1399721064","1399721065","1399721066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f23620e289214ede141d3c82860fe82b.jpg","text":"TemporaryFile(/tmp/multipartBody3091369107010141988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924123035,"filename":"image_06112025_18_51_22_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/16/6d5dd9047e02f5ca058d2dadfbba8fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6985463715039951147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924123035,"filename":"image_06112025_18_51_11_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/16/1be780b71ee578237051f8c4f543684f.jpg","text":"TemporaryFile(/tmp/multipartBody6365552133876142113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924123035,"filename":"image_06112025_18_49_15_15621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/145d161f669c5e11fb0b54c29b3ab790.jpg","text":"TemporaryFile(/tmp/multipartBody523944965328975304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924123035,"filename":"image_06112025_18_49_00_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6fbba703f6c0f15ae74cf62bf72a55d1.jpg","text":"TemporaryFile(/tmp/multipartBody1578006105789404884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924123035,"filename":"image_06112025_18_51_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/16/266196247b06e6b70f711846fc21235c.jpg","text":"TemporaryFile(/tmp/multipartBody2183045120858170404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924123035,"filename":"image_06112025_18_51_25_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721063","file1":"1399721061","file0":"1399721058","file4":"1399721065","file5":"1399721066","file3":"1399721064"},"map_files_photo_id_array":[{"photo_id":"1399721066","filename":"file5"},{"photo_id":"1399721063","filename":"file2"},{"photo_id":"1399721065","filename":"file4"},{"photo_id":"1399721061","filename":"file1"},{"photo_id":"1399721058","filename":"file0"},{"photo_id":"1399721064","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721065":["hashtag1","hashtag2"]},{"1399721064":["hashtag1","hashtag2"]},{"1399721061":["hashtag1","hashtag2"]},{"1399721058":["hashtag1","hashtag2"]},{"1399721063":["hashtag1","hashtag2"]},{"1399721066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721065, 1399721064, 1399721061, 1399721058, 1399721063, 1399721066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11061692237854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:28:22.572556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_45_9807.jpg', '/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_54_9689.jpg', '/home/pi/Desktop/images/16122025/23/24/image_16122025_23_25_04_9746.jpg', '/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_15_10699.jpg', '/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_24_9590.jpg', '/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_45_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_45_9807.jpg
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_54_9689.jpg
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_25_04_9746.jpg
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_15_10699.jpg
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_24_9590.jpg
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_45_10708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47394657135009766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:28:32.632555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:28:42.498616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_29_3721.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_34_2630.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_43_3694.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_46_2740.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_49_2652.jpg', '/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_52_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_29_3721.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_34_2630.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_43_3694.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_46_2740.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_49_2652.jpg
/home/pi/Desktop/images/06112025/18/51/image_06112025_18_51_52_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721080","1399721083","1399721082","1399721079","1399721081","1399721078"],"photo_ids_order":["1399721078","1399721079","1399721080","1399721081","1399721082","1399721083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7c4608444d76618e125bfe1d1d06430d.jpg","text":"TemporaryFile(/tmp/multipartBody6383164781105271852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924183293,"filename":"image_06112025_18_51_43_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/16/52ec2cd995dc1e02ac5bae31c7b99a44.jpg","text":"TemporaryFile(/tmp/multipartBody5544925299346832683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924183293,"filename":"image_06112025_18_51_52_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7d8174195b362211c2a62496bab5e51a.jpg","text":"TemporaryFile(/tmp/multipartBody686244405580166855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924183293,"filename":"image_06112025_18_51_49_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/218fa0439e277a788edb3ce306ece3e2.jpg","text":"TemporaryFile(/tmp/multipartBody4555831948350301407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924183293,"filename":"image_06112025_18_51_34_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c152690d4ebc2d53fec3166946d3f588.jpg","text":"TemporaryFile(/tmp/multipartBody7371413813557012096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924183293,"filename":"image_06112025_18_51_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/16/88a00cb86d57c24b18b817e40f8a6f89.jpg","text":"TemporaryFile(/tmp/multipartBody8452945774486866746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924183293,"filename":"image_06112025_18_51_29_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721080","file1":"1399721079","file0":"1399721078","file4":"1399721082","file5":"1399721083","file3":"1399721081"},"map_files_photo_id_array":[{"photo_id":"1399721083","filename":"file5"},{"photo_id":"1399721080","filename":"file2"},{"photo_id":"1399721082","filename":"file4"},{"photo_id":"1399721079","filename":"file1"},{"photo_id":"1399721078","filename":"file0"},{"photo_id":"1399721081","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721080":["hashtag1","hashtag2"]},{"1399721083":["hashtag1","hashtag2"]},{"1399721082":["hashtag1","hashtag2"]},{"1399721079":["hashtag1","hashtag2"]},{"1399721081":["hashtag1","hashtag2"]},{"1399721078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721080, 1399721083, 1399721082, 1399721079, 1399721081, 1399721078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44694948196411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:29:22.823981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_45_9807.jpg', '/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_54_9689.jpg', '/home/pi/Desktop/images/16122025/23/24/image_16122025_23_25_04_9746.jpg', '/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_15_10699.jpg', '/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_24_9590.jpg', '/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_45_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_45_9807.jpg
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_24_54_9689.jpg
/home/pi/Desktop/images/16122025/23/24/image_16122025_23_25_04_9746.jpg
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_15_10699.jpg
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_24_9590.jpg
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_45_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721094","1399721087","1399721090","1399721098","1399721092","1399721086"],"photo_ids_order":["1399721086","1399721087","1399721090","1399721092","1399721094","1399721098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3c4e2dee6780e143f8fb840d31fdf87e.jpg","text":"TemporaryFile(/tmp/multipartBody4578338531486194550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924223450,"filename":"image_16122025_23_25_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/16/33bb27cb86444d03dd7727fe45686560.jpg","text":"TemporaryFile(/tmp/multipartBody3638171979977950097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924223450,"filename":"image_16122025_23_24_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/16/d77848ec2aa7dd2bb038e21cd3e2b1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8124734624177958169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924223450,"filename":"image_16122025_23_25_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4f4ffab7a1b717154871ed48e4c395e9.jpg","text":"TemporaryFile(/tmp/multipartBody2718295811981708052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924223450,"filename":"image_16122025_23_25_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5d6e7f61db1341ba23f7c23492d9ec10.jpg","text":"TemporaryFile(/tmp/multipartBody5845469882196369018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924223450,"filename":"image_16122025_23_25_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2e80bfcbeabd7c4f992f2479fe2697e0.jpg","text":"TemporaryFile(/tmp/multipartBody139277406135668657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924223450,"filename":"image_16122025_23_24_45_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721090","file1":"1399721087","file0":"1399721086","file4":"1399721094","file5":"1399721098","file3":"1399721092"},"map_files_photo_id_array":[{"photo_id":"1399721098","filename":"file5"},{"photo_id":"1399721090","filename":"file2"},{"photo_id":"1399721094","filename":"file4"},{"photo_id":"1399721087","filename":"file1"},{"photo_id":"1399721086","filename":"file0"},{"photo_id":"1399721092","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721094":["hashtag1","hashtag2"]},{"1399721087":["hashtag1","hashtag2"]},{"1399721090":["hashtag1","hashtag2"]},{"1399721098":["hashtag1","hashtag2"]},{"1399721092":["hashtag1","hashtag2"]},{"1399721086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721094, 1399721087, 1399721090, 1399721098, 1399721092, 1399721086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79402470588684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:30:02.405267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_55_9768.jpg', '/home/pi/Desktop/images/16122025/23/25/image_16122025_23_26_04_9630.jpg', '/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_15_10696.jpg', '/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_25_9682.jpg', '/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_34_9571.jpg', '/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_45_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_25_55_9768.jpg
/home/pi/Desktop/images/16122025/23/25/image_16122025_23_26_04_9630.jpg
/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_15_10696.jpg
/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_25_9682.jpg
/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_34_9571.jpg
/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_45_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721104","1399721101","1399721100","1399721103","1399721106","1399721102"],"photo_ids_order":["1399721100","1399721101","1399721102","1399721103","1399721104","1399721106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/54ba9157210b925cc8b1b49c68b49bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7234133779650276609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924263059,"filename":"image_16122025_23_26_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b329b9937a58283f658e3d0dbe6a00fa.jpg","text":"TemporaryFile(/tmp/multipartBody59333084380042932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924263059,"filename":"image_16122025_23_26_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06ccc008bd72e21739f60396a27d18f7.jpg","text":"TemporaryFile(/tmp/multipartBody7037486251314718415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924263059,"filename":"image_16122025_23_25_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4bd52001a1404d1388e5a29b2a7b5c82.jpg","text":"TemporaryFile(/tmp/multipartBody4094615349684782547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924263059,"filename":"image_16122025_23_26_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/19a2d5d265c0d29992c241baedd59c72.jpg","text":"TemporaryFile(/tmp/multipartBody1993550088845181846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924263059,"filename":"image_16122025_23_26_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/16/87d30da1d798ba9575e9bb0816b95384.jpg","text":"TemporaryFile(/tmp/multipartBody9167085661439710162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924263059,"filename":"image_16122025_23_26_15_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721102","file1":"1399721101","file0":"1399721100","file4":"1399721104","file5":"1399721106","file3":"1399721103"},"map_files_photo_id_array":[{"photo_id":"1399721106","filename":"file5"},{"photo_id":"1399721102","filename":"file2"},{"photo_id":"1399721104","filename":"file4"},{"photo_id":"1399721101","filename":"file1"},{"photo_id":"1399721100","filename":"file0"},{"photo_id":"1399721103","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721104":["hashtag1","hashtag2"]},{"1399721101":["hashtag1","hashtag2"]},{"1399721100":["hashtag1","hashtag2"]},{"1399721103":["hashtag1","hashtag2"]},{"1399721106":["hashtag1","hashtag2"]},{"1399721102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721104, 1399721101, 1399721100, 1399721103, 1399721106, 1399721102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50177526473999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:30:41.946582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_02_3713.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_07_2576.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_11_3779.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_13_2672.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_16_2692.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_19_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_02_3713.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_07_2576.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_11_3779.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_13_2672.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_16_2692.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_19_2737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6504590511322021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:31:02.880362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_55_9682.jpg', '/home/pi/Desktop/images/16122025/23/26/image_16122025_23_27_05_10543.jpg', '/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_15_9891.jpg', '/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_25_9767.jpg', '/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_34_9718.jpg', '/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_55_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/26/image_16122025_23_26_55_9682.jpg
/home/pi/Desktop/images/16122025/23/26/image_16122025_23_27_05_10543.jpg
/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_15_9891.jpg
/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_25_9767.jpg
/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_34_9718.jpg
/home/pi/Desktop/images/16122025/23/27/image_16122025_23_27_55_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721122","1399721125","1399721119","1399721121","1399721118","1399721120"],"photo_ids_order":["1399721118","1399721119","1399721120","1399721121","1399721122","1399721125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d81fe3270ae80eb296a80c2b1cd69595.jpg","text":"TemporaryFile(/tmp/multipartBody1924568737206554580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924323539,"filename":"image_16122025_23_27_34_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e24f0ea63138c91a5296cefd4d7d8e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8237187664655064897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924323539,"filename":"image_16122025_23_27_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b62b02997cccbc8bdae9da5eb9ffbf45.jpg","text":"TemporaryFile(/tmp/multipartBody8340273433609142309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924323539,"filename":"image_16122025_23_27_05_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6ca5748cdbe8642a80fee7c7d4e214e4.jpg","text":"TemporaryFile(/tmp/multipartBody2193199410496248725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924323539,"filename":"image_16122025_23_27_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/16/e6afcfd60ec4f5d74a1004019107b487.jpg","text":"TemporaryFile(/tmp/multipartBody2600787888433100695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924323539,"filename":"image_16122025_23_26_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/16/6075e146ab669769de20bdbd98b6c5cf.jpg","text":"TemporaryFile(/tmp/multipartBody1867551044299946122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924323539,"filename":"image_16122025_23_27_15_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721120","file1":"1399721119","file0":"1399721118","file4":"1399721122","file5":"1399721125","file3":"1399721121"},"map_files_photo_id_array":[{"photo_id":"1399721125","filename":"file5"},{"photo_id":"1399721120","filename":"file2"},{"photo_id":"1399721122","filename":"file4"},{"photo_id":"1399721119","filename":"file1"},{"photo_id":"1399721118","filename":"file0"},{"photo_id":"1399721121","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721122":["hashtag1","hashtag2"]},{"1399721125":["hashtag1","hashtag2"]},{"1399721119":["hashtag1","hashtag2"]},{"1399721121":["hashtag1","hashtag2"]},{"1399721118":["hashtag1","hashtag2"]},{"1399721120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721122, 1399721125, 1399721119, 1399721121, 1399721118, 1399721120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9262158870697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:31:42.221740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_02_3713.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_07_2576.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_11_3779.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_13_2672.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_16_2692.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_19_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_02_3713.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_07_2576.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_11_3779.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_13_2672.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_16_2692.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_19_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721134","1399721137","1399721131","1399721133","1399721135","1399721129"],"photo_ids_order":["1399721129","1399721131","1399721133","1399721134","1399721135","1399721137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c7691878a16a829758acbcb386e7f8d7.jpg","text":"TemporaryFile(/tmp/multipartBody8830789072367378731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924362850,"filename":"image_06112025_18_52_13_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d6e4751495dd09a1bbb81c33534c7f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1809878602127334829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924362850,"filename":"image_06112025_18_52_19_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/feb471ac77300540ed6ee4ea301ede6d.jpg","text":"TemporaryFile(/tmp/multipartBody6141826115878894965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924362850,"filename":"image_06112025_18_52_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/16/6e2035dc68956b88ff3c114eef7ee387.jpg","text":"TemporaryFile(/tmp/multipartBody8234139905863564080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924362850,"filename":"image_06112025_18_52_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/16/f1185cfa17cf37dad95cc2b7632a18bd.jpg","text":"TemporaryFile(/tmp/multipartBody2775047949982299951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924362850,"filename":"image_06112025_18_52_16_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/16/cce265b5da06f47e793b65f1ea505a32.jpg","text":"TemporaryFile(/tmp/multipartBody9135522376418624384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924362850,"filename":"image_06112025_18_52_02_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721133","file1":"1399721131","file0":"1399721129","file4":"1399721135","file5":"1399721137","file3":"1399721134"},"map_files_photo_id_array":[{"photo_id":"1399721137","filename":"file5"},{"photo_id":"1399721133","filename":"file2"},{"photo_id":"1399721135","filename":"file4"},{"photo_id":"1399721131","filename":"file1"},{"photo_id":"1399721129","filename":"file0"},{"photo_id":"1399721134","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721134":["hashtag1","hashtag2"]},{"1399721137":["hashtag1","hashtag2"]},{"1399721131":["hashtag1","hashtag2"]},{"1399721133":["hashtag1","hashtag2"]},{"1399721135":["hashtag1","hashtag2"]},{"1399721129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721134, 1399721137, 1399721131, 1399721133, 1399721135, 1399721129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.294687032699585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:32:22.504505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/27/image_16122025_23_28_05_9802.jpg', '/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_14_9815.jpg', '/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_25_10598.jpg', '/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_35_9693.jpg', '/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_44_9587.jpg', '/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_54_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/27/image_16122025_23_28_05_9802.jpg
/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_14_9815.jpg
/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_25_10598.jpg
/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_35_9693.jpg
/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_44_9587.jpg
/home/pi/Desktop/images/16122025/23/28/image_16122025_23_28_54_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721155","1399721146","1399721148","1399721150","1399721144","1399721141"],"photo_ids_order":["1399721141","1399721144","1399721146","1399721148","1399721150","1399721155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c309a730114aa20fb486c6425618a157.jpg","text":"TemporaryFile(/tmp/multipartBody2189623009750756745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924403120,"filename":"image_16122025_23_28_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/16/3d04176d0a387c5992b2960ac81f28de.jpg","text":"TemporaryFile(/tmp/multipartBody1966599482210183150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924403120,"filename":"image_16122025_23_28_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f84cde3153f2cdfeb78b08b49991786.jpg","text":"TemporaryFile(/tmp/multipartBody200647579913047481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924403120,"filename":"image_16122025_23_28_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/16/afd0855190e7629a99d97db9b68ae2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5166455622489399104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924403120,"filename":"image_16122025_23_28_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aac8ad9343fd653c3ed70729969f513c.jpg","text":"TemporaryFile(/tmp/multipartBody3240521744668901558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924403120,"filename":"image_16122025_23_28_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/58544e5cd0f4eb99374688cfcac75a8e.jpg","text":"TemporaryFile(/tmp/multipartBody1371506175621752164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924403120,"filename":"image_16122025_23_28_05_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721146","file1":"1399721144","file0":"1399721141","file4":"1399721150","file5":"1399721155","file3":"1399721148"},"map_files_photo_id_array":[{"photo_id":"1399721155","filename":"file5"},{"photo_id":"1399721146","filename":"file2"},{"photo_id":"1399721150","filename":"file4"},{"photo_id":"1399721144","filename":"file1"},{"photo_id":"1399721141","filename":"file0"},{"photo_id":"1399721148","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721155":["hashtag1","hashtag2"]},{"1399721146":["hashtag1","hashtag2"]},{"1399721148":["hashtag1","hashtag2"]},{"1399721150":["hashtag1","hashtag2"]},{"1399721144":["hashtag1","hashtag2"]},{"1399721141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721155, 1399721146, 1399721148, 1399721150, 1399721144, 1399721141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20961856842041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:33:03.279177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/28/image_16122025_23_29_05_10667.jpg', '/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_14_9599.jpg', '/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_25_10602.jpg', '/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_35_9836.jpg', '/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_44_9707.jpg', '/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_54_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/28/image_16122025_23_29_05_10667.jpg
/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_14_9599.jpg
/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_25_10602.jpg
/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_35_9836.jpg
/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_44_9707.jpg
/home/pi/Desktop/images/16122025/23/29/image_16122025_23_29_54_9928.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721161","1399721164","1399721158","1399721160","1399721162","1399721156"],"photo_ids_order":["1399721156","1399721158","1399721160","1399721161","1399721162","1399721164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/00b63872eee1bfbd9370441017376662.jpg","text":"TemporaryFile(/tmp/multipartBody595214562074008311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924443892,"filename":"image_16122025_23_29_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/16/1ac1a07ad7505f2f4bce5cb48bc06f60.jpg","text":"TemporaryFile(/tmp/multipartBody1942499867957267260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924443892,"filename":"image_16122025_23_29_54_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b95c8eb8248f8a5ae7f563dd34a1d1de.jpg","text":"TemporaryFile(/tmp/multipartBody5004355600321445544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924443892,"filename":"image_16122025_23_29_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/16/13fbc46b61b95df466d5a88795cf0263.jpg","text":"TemporaryFile(/tmp/multipartBody8774012457208885709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924443892,"filename":"image_16122025_23_29_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a70adb51e3adea68c83bef8f18149e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5314879986626080570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924443892,"filename":"image_16122025_23_29_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/16/d035e1d04df0d2a293bbb94a8d820213.jpg","text":"TemporaryFile(/tmp/multipartBody9192813210433090565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924443892,"filename":"image_16122025_23_29_05_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721160","file1":"1399721158","file0":"1399721156","file4":"1399721162","file5":"1399721164","file3":"1399721161"},"map_files_photo_id_array":[{"photo_id":"1399721164","filename":"file5"},{"photo_id":"1399721160","filename":"file2"},{"photo_id":"1399721162","filename":"file4"},{"photo_id":"1399721158","filename":"file1"},{"photo_id":"1399721156","filename":"file0"},{"photo_id":"1399721161","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721161":["hashtag1","hashtag2"]},{"1399721164":["hashtag1","hashtag2"]},{"1399721158":["hashtag1","hashtag2"]},{"1399721160":["hashtag1","hashtag2"]},{"1399721162":["hashtag1","hashtag2"]},{"1399721156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721161, 1399721164, 1399721158, 1399721160, 1399721162, 1399721156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52783823013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:33:42.720457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_25_2658.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_31_3589.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_34_2771.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_37_2552.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_43_2603.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_46_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_25_2658.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_31_3589.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_34_2771.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_37_2552.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_43_2603.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_46_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":["1399721173","1399721172","1399721175","1399721169","1399721171","1399721170"],"photo_ids_order":["1399721169","1399721170","1399721171","1399721172","1399721173","1399721175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ea91b0fa39ca211af57ee7c6783ef2c1.jpg","text":"TemporaryFile(/tmp/multipartBody2751029996216247192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924488687,"filename":"image_06112025_18_52_43_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/16/b473043e73be1733a8ac1b1eb11cc8fa.jpg","text":"TemporaryFile(/tmp/multipartBody7400526306338957555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924488687,"filename":"image_06112025_18_52_37_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/16/1b6af406ebfb6f5d1c3220b27a64761d.jpg","text":"TemporaryFile(/tmp/multipartBody8080358904770701063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924488687,"filename":"image_06112025_18_52_46_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/16/737492718c658ce78b6129747fcbd1fc.jpg","text":"TemporaryFile(/tmp/multipartBody5982692844324375900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924488687,"filename":"image_06112025_18_52_25_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/cdef8ebb2362eac7934cb2dce4fa9a30.jpg","text":"TemporaryFile(/tmp/multipartBody3337310980166837335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924488687,"filename":"image_06112025_18_52_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/16/3393a921338bd4fed719af5c486083d4.jpg","text":"TemporaryFile(/tmp/multipartBody2856101532292741701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924488687,"filename":"image_06112025_18_52_31_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721171","file1":"1399721170","file0":"1399721169","file4":"1399721173","file5":"1399721175","file3":"1399721172"},"map_files_photo_id_array":[{"photo_id":"1399721175","filename":"file5"},{"photo_id":"1399721171","filename":"file2"},{"photo_id":"1399721173","filename":"file4"},{"photo_id":"1399721170","filename":"file1"},{"photo_id":"1399721169","filename":"file0"},{"photo_id":"1399721172","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721173":["hashtag1","hashtag2"]},{"1399721172":["hashtag1","hashtag2"]},{"1399721175":["hashtag1","hashtag2"]},{"1399721169":["hashtag1","hashtag2"]},{"1399721171":["hashtag1","hashtag2"]},{"1399721170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721173, 1399721172, 1399721175, 1399721169, 1399721171, 1399721170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.966922760009766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:34:32.023786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:34:41.956500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_49_3664.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_52_2769.jpg', '/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_58_3741.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_01_2644.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_04_2675.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_07_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_49_3664.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_52_2769.jpg
/home/pi/Desktop/images/06112025/18/52/image_06112025_18_52_58_3741.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_01_2644.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_04_2675.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_07_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721187","1399721189","1399721183","1399721191","1399721185","1399721179"],"photo_ids_order":["1399721179","1399721183","1399721185","1399721187","1399721189","1399721191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/18fc98c68141ac5ac621288c36618607.jpg","text":"TemporaryFile(/tmp/multipartBody2821247764600116978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924542713,"filename":"image_06112025_18_53_01_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/16/99a53eb9461f92166389a41acf943756.jpg","text":"TemporaryFile(/tmp/multipartBody4590635584332167496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924542713,"filename":"image_06112025_18_53_04_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/16/954b30c80c3bad38320cf76a89fe715a.jpg","text":"TemporaryFile(/tmp/multipartBody7326553816300828063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924542713,"filename":"image_06112025_18_52_52_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/16/8777e7d21b10697bc163664c7597b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody6688026891860365132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924542713,"filename":"image_06112025_18_53_07_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/830a6ed2eff7de24211ecc2b9ae13725.jpg","text":"TemporaryFile(/tmp/multipartBody5343100751150922970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924542713,"filename":"image_06112025_18_52_58_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/16/576e6b71e1f6c2cc8ec21d82bfab68c6.jpg","text":"TemporaryFile(/tmp/multipartBody1644255517606674939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924542713,"filename":"image_06112025_18_52_49_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721185","file1":"1399721183","file0":"1399721179","file4":"1399721189","file5":"1399721191","file3":"1399721187"},"map_files_photo_id_array":[{"photo_id":"1399721191","filename":"file5"},{"photo_id":"1399721185","filename":"file2"},{"photo_id":"1399721189","filename":"file4"},{"photo_id":"1399721183","filename":"file1"},{"photo_id":"1399721179","filename":"file0"},{"photo_id":"1399721187","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721187":["hashtag1","hashtag2"]},{"1399721189":["hashtag1","hashtag2"]},{"1399721183":["hashtag1","hashtag2"]},{"1399721191":["hashtag1","hashtag2"]},{"1399721185":["hashtag1","hashtag2"]},{"1399721179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721187, 1399721189, 1399721183, 1399721191, 1399721185, 1399721179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5635449886322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:35:22.246705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/29/image_16122025_23_30_04_9690.jpg', '/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_15_10690.jpg', '/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_25_9735.jpg', '/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_45_10642.jpg', '/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_54_9713.jpg', '/home/pi/Desktop/images/16122025/23/30/image_16122025_23_31_04_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/29/image_16122025_23_30_04_9690.jpg
/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_15_10690.jpg
/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_25_9735.jpg
/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_45_10642.jpg
/home/pi/Desktop/images/16122025/23/30/image_16122025_23_30_54_9713.jpg
/home/pi/Desktop/images/16122025/23/30/image_16122025_23_31_04_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721194","1399721206","1399721196","1399721200","1399721202","1399721198"],"photo_ids_order":["1399721194","1399721196","1399721198","1399721200","1399721202","1399721206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b3576ec66c7287a20db80363a09e4d30.jpg","text":"TemporaryFile(/tmp/multipartBody7140234401536286213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924582835,"filename":"image_16122025_23_30_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4fe9d0ec2f486cdc811f382ba178a86.jpg","text":"TemporaryFile(/tmp/multipartBody7287248014017983038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924582835,"filename":"image_16122025_23_31_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c98a549ed884dc70a5345f26e51081a2.jpg","text":"TemporaryFile(/tmp/multipartBody8703818814658584811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924582835,"filename":"image_16122025_23_30_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/16/af90e0743a1709a5ba6665aea012a82d.jpg","text":"TemporaryFile(/tmp/multipartBody1846098469563390947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924582835,"filename":"image_16122025_23_30_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/16/3afc075c71a863235f6e7828056da415.jpg","text":"TemporaryFile(/tmp/multipartBody5905815140738496165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924582835,"filename":"image_16122025_23_30_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/16/593bc7f44a3dc2ba4d03018572ac99d0.jpg","text":"TemporaryFile(/tmp/multipartBody6541373605093807241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924582835,"filename":"image_16122025_23_30_25_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721198","file1":"1399721196","file0":"1399721194","file4":"1399721202","file5":"1399721206","file3":"1399721200"},"map_files_photo_id_array":[{"photo_id":"1399721206","filename":"file5"},{"photo_id":"1399721198","filename":"file2"},{"photo_id":"1399721202","filename":"file4"},{"photo_id":"1399721196","filename":"file1"},{"photo_id":"1399721194","filename":"file0"},{"photo_id":"1399721200","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721194":["hashtag1","hashtag2"]},{"1399721206":["hashtag1","hashtag2"]},{"1399721196":["hashtag1","hashtag2"]},{"1399721200":["hashtag1","hashtag2"]},{"1399721202":["hashtag1","hashtag2"]},{"1399721198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721194, 1399721206, 1399721196, 1399721200, 1399721202, 1399721198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93148159980774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:36:02.891188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/31/image_16122025_23_31_15_10718.jpg', '/home/pi/Desktop/images/16122025/23/31/image_16122025_23_31_25_9598.jpg', '/home/pi/Desktop/images/16122025/23/31/image_16122025_23_31_34_9668.jpg', '/home/pi/Desktop/images/16122025/23/31/image_16122025_23_32_04_9706.jpg', '/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_14_9853.jpg', '/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_25_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/31/image_16122025_23_31_15_10718.jpg
/home/pi/Desktop/images/16122025/23/31/image_16122025_23_31_25_9598.jpg
/home/pi/Desktop/images/16122025/23/31/image_16122025_23_31_34_9668.jpg
/home/pi/Desktop/images/16122025/23/31/image_16122025_23_32_04_9706.jpg
/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_14_9853.jpg
/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_25_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":["1399721212","1399721209","1399721214","1399721208","1399721211","1399721210"],"photo_ids_order":["1399721208","1399721209","1399721210","1399721211","1399721212","1399721214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/30248c81be622cf82568684971d264a9.jpg","text":"TemporaryFile(/tmp/multipartBody2114646989884290838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924623507,"filename":"image_16122025_23_32_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/16/4390ab1b3fee1b09abf6da846de4c003.jpg","text":"TemporaryFile(/tmp/multipartBody5350399527831879418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924623507,"filename":"image_16122025_23_31_25_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/55766000f9835caf9323fe8e13835b30.jpg","text":"TemporaryFile(/tmp/multipartBody7445321958114394659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924623507,"filename":"image_16122025_23_32_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44fbe0218d6f4815769c774bff849d55.jpg","text":"TemporaryFile(/tmp/multipartBody8108054644974911624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924623507,"filename":"image_16122025_23_31_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a199edb8be5161eef3c47d856f52c5bb.jpg","text":"TemporaryFile(/tmp/multipartBody7915881226190261186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924623507,"filename":"image_16122025_23_32_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/16/b5b6d7dea98ed59472b97782e879e830.jpg","text":"TemporaryFile(/tmp/multipartBody3019765332965824509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924623507,"filename":"image_16122025_23_31_34_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721210","file1":"1399721209","file0":"1399721208","file4":"1399721212","file5":"1399721214","file3":"1399721211"},"map_files_photo_id_array":[{"photo_id":"1399721214","filename":"file5"},{"photo_id":"1399721210","filename":"file2"},{"photo_id":"1399721212","filename":"file4"},{"photo_id":"1399721209","filename":"file1"},{"photo_id":"1399721208","filename":"file0"},{"photo_id":"1399721211","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721212":["hashtag1","hashtag2"]},{"1399721209":["hashtag1","hashtag2"]},{"1399721214":["hashtag1","hashtag2"]},{"1399721208":["hashtag1","hashtag2"]},{"1399721211":["hashtag1","hashtag2"]},{"1399721210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721212, 1399721209, 1399721214, 1399721208, 1399721211, 1399721210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47043538093567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:36:42.402423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_10_2669.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_13_2631.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_16_3854.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_19_2623.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_25_2595.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_28_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_10_2669.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_13_2631.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_16_3854.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_19_2623.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_25_2595.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_28_3593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.657961368560791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:37:03.341877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_35_9708.jpg', '/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_44_9677.jpg', '/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_55_10652.jpg', '/home/pi/Desktop/images/16122025/23/32/image_16122025_23_33_04_9583.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_14_9702.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_25_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_35_9708.jpg
/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_44_9677.jpg
/home/pi/Desktop/images/16122025/23/32/image_16122025_23_32_55_10652.jpg
/home/pi/Desktop/images/16122025/23/32/image_16122025_23_33_04_9583.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_14_9702.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_25_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721230","1399721227","1399721232","1399721226","1399721229","1399721228"],"photo_ids_order":["1399721226","1399721227","1399721228","1399721229","1399721230","1399721232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b4acb5798cf2f8ddf48b9225344e1dcb.jpg","text":"TemporaryFile(/tmp/multipartBody5962048603349751432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924683957,"filename":"image_16122025_23_33_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/16/e0a5f8da26efce8ce6b2cc8bbc4c7b75.jpg","text":"TemporaryFile(/tmp/multipartBody2798602817488651254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924683957,"filename":"image_16122025_23_32_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/16/796471ffd2c4ad5810eee67d4b530a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8794239092463650281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924683957,"filename":"image_16122025_23_33_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/16/36514bc04855bdba868fb90b17bfcf0d.jpg","text":"TemporaryFile(/tmp/multipartBody5915307665630017968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924683957,"filename":"image_16122025_23_32_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/06012bb1023c2b194dfbc81e9fd41a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7850380064687613797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924683957,"filename":"image_16122025_23_33_04_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a2891c8f8883f6cb11e9d7077ccf916b.jpg","text":"TemporaryFile(/tmp/multipartBody2352395389013224160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924683957,"filename":"image_16122025_23_32_55_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721228","file1":"1399721227","file0":"1399721226","file4":"1399721230","file5":"1399721232","file3":"1399721229"},"map_files_photo_id_array":[{"photo_id":"1399721232","filename":"file5"},{"photo_id":"1399721228","filename":"file2"},{"photo_id":"1399721230","filename":"file4"},{"photo_id":"1399721227","filename":"file1"},{"photo_id":"1399721226","filename":"file0"},{"photo_id":"1399721229","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721230":["hashtag1","hashtag2"]},{"1399721227":["hashtag1","hashtag2"]},{"1399721232":["hashtag1","hashtag2"]},{"1399721226":["hashtag1","hashtag2"]},{"1399721229":["hashtag1","hashtag2"]},{"1399721228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721230, 1399721227, 1399721232, 1399721226, 1399721229, 1399721228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03149890899658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:37:42.683609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_10_2669.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_13_2631.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_16_3854.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_19_2623.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_25_2595.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_28_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_10_2669.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_13_2631.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_16_3854.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_19_2623.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_25_2595.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_28_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":["1399721242","1399721245","1399721244","1399721241","1399721238","1399721243"],"photo_ids_order":["1399721238","1399721241","1399721242","1399721243","1399721244","1399721245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8f2f79018f7cb7a6a961c41b91bf15b7.jpg","text":"TemporaryFile(/tmp/multipartBody3061849323476517637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924723306,"filename":"image_06112025_18_53_16_3854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e4efb248e85f2f6ed1060582fb5d6c01.jpg","text":"TemporaryFile(/tmp/multipartBody7477313650679973332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924723306,"filename":"image_06112025_18_53_28_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/16/128974af6f1bdd54a8ecc2d70936caf4.jpg","text":"TemporaryFile(/tmp/multipartBody3519102694804024278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924723306,"filename":"image_06112025_18_53_25_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/16/cbc0ad398fc90f7033b12cf2e4ccda31.jpg","text":"TemporaryFile(/tmp/multipartBody7574608922598982321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924723306,"filename":"image_06112025_18_53_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/16/402050b85d2d4a9eec9a7b9113312949.jpg","text":"TemporaryFile(/tmp/multipartBody7223737128126551826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924723306,"filename":"image_06112025_18_53_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/16/00531b721e4b99f78f58d525d49793d5.jpg","text":"TemporaryFile(/tmp/multipartBody3372717559735783689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924723306,"filename":"image_06112025_18_53_19_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721242","file1":"1399721241","file0":"1399721238","file4":"1399721244","file5":"1399721245","file3":"1399721243"},"map_files_photo_id_array":[{"photo_id":"1399721245","filename":"file5"},{"photo_id":"1399721242","filename":"file2"},{"photo_id":"1399721244","filename":"file4"},{"photo_id":"1399721241","filename":"file1"},{"photo_id":"1399721238","filename":"file0"},{"photo_id":"1399721243","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721242":["hashtag1","hashtag2"]},{"1399721245":["hashtag1","hashtag2"]},{"1399721244":["hashtag1","hashtag2"]},{"1399721241":["hashtag1","hashtag2"]},{"1399721238":["hashtag1","hashtag2"]},{"1399721243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721242, 1399721245, 1399721244, 1399721241, 1399721238, 1399721243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29677987098694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:38:22.012313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_34_9562.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_45_10639.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_55_9726.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_34_05_9738.jpg', '/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_14_9748.jpg', '/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_24_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_34_9562.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_45_10639.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_55_9726.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_34_05_9738.jpg
/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_14_9748.jpg
/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_24_9848.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4797942638397217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:38:32.017591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:38:41.909510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_31_2534.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_34_3699.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_37_2703.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_40_2551.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_43_3723.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_46_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_31_2534.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_34_3699.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_37_2703.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_40_2551.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_43_3723.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_46_2829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721266","1399721265","1399721268","1399721267","1399721264","1399721258"],"photo_ids_order":["1399721258","1399721264","1399721265","1399721266","1399721267","1399721268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/31ee3a901d53dcff6fa8c425815e6971.jpg","text":"TemporaryFile(/tmp/multipartBody5104629197601244400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924782669,"filename":"image_06112025_18_53_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/16/3f97b31bc10f7715402638f7c42df512.jpg","text":"TemporaryFile(/tmp/multipartBody3119593957267746623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924782669,"filename":"image_06112025_18_53_37_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f7585664ea7ed63ffb68164bf4ac36b5.jpg","text":"TemporaryFile(/tmp/multipartBody807348599142502489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924782669,"filename":"image_06112025_18_53_46_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/16/73e58a5f9a14b9e00cf5acf1afbd6279.jpg","text":"TemporaryFile(/tmp/multipartBody8003302341317445389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924782669,"filename":"image_06112025_18_53_43_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/16/4ee55d74c1506a5fd8107bc3de74316d.jpg","text":"TemporaryFile(/tmp/multipartBody3195377923665374381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924782669,"filename":"image_06112025_18_53_34_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/16/595e7a3e137e020512b4a84b5b8b5a05.jpg","text":"TemporaryFile(/tmp/multipartBody5095053983161602046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924782669,"filename":"image_06112025_18_53_31_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721265","file1":"1399721264","file0":"1399721258","file4":"1399721267","file5":"1399721268","file3":"1399721266"},"map_files_photo_id_array":[{"photo_id":"1399721268","filename":"file5"},{"photo_id":"1399721265","filename":"file2"},{"photo_id":"1399721267","filename":"file4"},{"photo_id":"1399721264","filename":"file1"},{"photo_id":"1399721258","filename":"file0"},{"photo_id":"1399721266","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721266":["hashtag1","hashtag2"]},{"1399721265":["hashtag1","hashtag2"]},{"1399721268":["hashtag1","hashtag2"]},{"1399721267":["hashtag1","hashtag2"]},{"1399721264":["hashtag1","hashtag2"]},{"1399721258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721266, 1399721265, 1399721268, 1399721267, 1399721264, 1399721258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06936955451965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:39:22.198087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_34_9562.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_45_10639.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_55_9726.jpg', '/home/pi/Desktop/images/16122025/23/33/image_16122025_23_34_05_9738.jpg', '/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_14_9748.jpg', '/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_24_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_34_9562.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_45_10639.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_33_55_9726.jpg
/home/pi/Desktop/images/16122025/23/33/image_16122025_23_34_05_9738.jpg
/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_14_9748.jpg
/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_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":["1399721272","1399721281","1399721269","1399721277","1399721274","1399721270"],"photo_ids_order":["1399721269","1399721270","1399721272","1399721274","1399721277","1399721281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/822770970454398ddaf4ef5d732cd686.jpg","text":"TemporaryFile(/tmp/multipartBody873793054166156002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924822826,"filename":"image_16122025_23_33_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/071747f299ad1aa58c5eecde5b8fb07c.jpg","text":"TemporaryFile(/tmp/multipartBody2146967203103387382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924822826,"filename":"image_16122025_23_34_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/16/89bed87da5d9a7d138855296a95b13ca.jpg","text":"TemporaryFile(/tmp/multipartBody5895779290115780723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924822826,"filename":"image_16122025_23_33_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/16/acf543db8010066e8a54c1e84fc3b4fc.jpg","text":"TemporaryFile(/tmp/multipartBody69346833281307124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924822826,"filename":"image_16122025_23_34_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/16/0f383f70d7745c8da8e0e5349a8b2014.jpg","text":"TemporaryFile(/tmp/multipartBody8107933597288889769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924822826,"filename":"image_16122025_23_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/16/8c4133eb44ccce6cadfae2c88da6e241.jpg","text":"TemporaryFile(/tmp/multipartBody6381423983900242024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924822826,"filename":"image_16122025_23_33_45_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721272","file1":"1399721270","file0":"1399721269","file4":"1399721277","file5":"1399721281","file3":"1399721274"},"map_files_photo_id_array":[{"photo_id":"1399721281","filename":"file5"},{"photo_id":"1399721272","filename":"file2"},{"photo_id":"1399721277","filename":"file4"},{"photo_id":"1399721270","filename":"file1"},{"photo_id":"1399721269","filename":"file0"},{"photo_id":"1399721274","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721272":["hashtag1","hashtag2"]},{"1399721281":["hashtag1","hashtag2"]},{"1399721269":["hashtag1","hashtag2"]},{"1399721277":["hashtag1","hashtag2"]},{"1399721274":["hashtag1","hashtag2"]},{"1399721270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721272, 1399721281, 1399721269, 1399721277, 1399721274, 1399721270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.214239835739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:40:02.796765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_35_10939.jpg', '/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_45_9665.jpg', '/home/pi/Desktop/images/16122025/23/34/image_16122025_23_35_04_9822.jpg', '/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_15_10689.jpg', '/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_34_9625.jpg', '/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_45_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_35_10939.jpg
/home/pi/Desktop/images/16122025/23/34/image_16122025_23_34_45_9665.jpg
/home/pi/Desktop/images/16122025/23/34/image_16122025_23_35_04_9822.jpg
/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_15_10689.jpg
/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_34_9625.jpg
/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_45_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721287","1399721289","1399721292","1399721291","1399721294","1399721290"],"photo_ids_order":["1399721287","1399721289","1399721290","1399721291","1399721292","1399721294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0cf91c314a60db4002bcb90774833a3e.jpg","text":"TemporaryFile(/tmp/multipartBody2753714293531211353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924863367,"filename":"image_16122025_23_34_35_10939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a191503996b9c79aa59b16584041e50a.jpg","text":"TemporaryFile(/tmp/multipartBody3335927148860097154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924863367,"filename":"image_16122025_23_34_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/16/54bf943bf483fd51ddd6901ddb2e0e15.jpg","text":"TemporaryFile(/tmp/multipartBody821649868286721411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924863367,"filename":"image_16122025_23_35_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/16/e374e91759ee781ca46c61e973758374.jpg","text":"TemporaryFile(/tmp/multipartBody6000724039018430062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924863367,"filename":"image_16122025_23_35_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/16/ef92cfff5d58fc18d44188dbdd19d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody6366974582067476288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924863367,"filename":"image_16122025_23_35_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/aa1ecd2dd85c0ccd44658a3ee528a5bf.jpg","text":"TemporaryFile(/tmp/multipartBody6864760241198840690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924863367,"filename":"image_16122025_23_35_04_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721290","file1":"1399721289","file0":"1399721287","file4":"1399721292","file5":"1399721294","file3":"1399721291"},"map_files_photo_id_array":[{"photo_id":"1399721294","filename":"file5"},{"photo_id":"1399721290","filename":"file2"},{"photo_id":"1399721292","filename":"file4"},{"photo_id":"1399721289","filename":"file1"},{"photo_id":"1399721287","filename":"file0"},{"photo_id":"1399721291","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721287":["hashtag1","hashtag2"]},{"1399721289":["hashtag1","hashtag2"]},{"1399721292":["hashtag1","hashtag2"]},{"1399721291":["hashtag1","hashtag2"]},{"1399721294":["hashtag1","hashtag2"]},{"1399721290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721287, 1399721289, 1399721292, 1399721291, 1399721294, 1399721290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62763428688049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:40:42.342447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_52_2673.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_58_3550.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_01_2764.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_10_2564.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_13_3618.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_16_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_52_2673.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_58_3550.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_01_2764.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_10_2564.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_13_3618.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_16_2561.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6544711589813232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:41:03.198682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_54_9607.jpg', '/home/pi/Desktop/images/16122025/23/35/image_16122025_23_36_04_9718.jpg', '/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_15_10808.jpg', '/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_25_9816.jpg', '/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_34_9718.jpg', '/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/35/image_16122025_23_35_54_9607.jpg
/home/pi/Desktop/images/16122025/23/35/image_16122025_23_36_04_9718.jpg
/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_15_10808.jpg
/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_25_9816.jpg
/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_34_9718.jpg
/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_44_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721311","1399721308","1399721313","1399721307","1399721310","1399721309"],"photo_ids_order":["1399721307","1399721308","1399721309","1399721310","1399721311","1399721313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/44ad4de4bf24b8d8732537505eed06dc.jpg","text":"TemporaryFile(/tmp/multipartBody2585978499104020851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924923793,"filename":"image_16122025_23_36_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/16/cd02dc456d71ece5162b36d98bc6d57c.jpg","text":"TemporaryFile(/tmp/multipartBody7168554946440936123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924923793,"filename":"image_16122025_23_36_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d57fdce0cba1199742862c138babb810.jpg","text":"TemporaryFile(/tmp/multipartBody7624828059387692597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924923793,"filename":"image_16122025_23_36_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9a7892f6c1937695ec02189e80e297d4.jpg","text":"TemporaryFile(/tmp/multipartBody1528700030699207672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924923793,"filename":"image_16122025_23_35_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/27955c25b97fb6caa52d1d8df263008a.jpg","text":"TemporaryFile(/tmp/multipartBody82589454710919368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924923793,"filename":"image_16122025_23_36_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/16/7bff2d937a0a09c1c3b6a810ba36cd11.jpg","text":"TemporaryFile(/tmp/multipartBody2697300628004624272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924923793,"filename":"image_16122025_23_36_15_10808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721309","file1":"1399721308","file0":"1399721307","file4":"1399721311","file5":"1399721313","file3":"1399721310"},"map_files_photo_id_array":[{"photo_id":"1399721313","filename":"file5"},{"photo_id":"1399721309","filename":"file2"},{"photo_id":"1399721311","filename":"file4"},{"photo_id":"1399721308","filename":"file1"},{"photo_id":"1399721307","filename":"file0"},{"photo_id":"1399721310","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721311":["hashtag1","hashtag2"]},{"1399721308":["hashtag1","hashtag2"]},{"1399721313":["hashtag1","hashtag2"]},{"1399721307":["hashtag1","hashtag2"]},{"1399721310":["hashtag1","hashtag2"]},{"1399721309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721311, 1399721308, 1399721313, 1399721307, 1399721310, 1399721309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82459878921509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:41:42.621389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_52_2673.jpg', '/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_58_3550.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_01_2764.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_10_2564.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_13_3618.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_16_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_52_2673.jpg
/home/pi/Desktop/images/06112025/18/53/image_06112025_18_53_58_3550.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_01_2764.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_10_2564.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_13_3618.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_16_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721326","1399721325","1399721319","1399721328","1399721324","1399721327"],"photo_ids_order":["1399721319","1399721324","1399721325","1399721326","1399721327","1399721328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/037ddffd5ea08674d1381e036fa55389.jpg","text":"TemporaryFile(/tmp/multipartBody1142775138273518492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924963249,"filename":"image_06112025_18_54_10_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/16/83621c20d507e911f5a6a390ea185595.jpg","text":"TemporaryFile(/tmp/multipartBody4194899383347106400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924963249,"filename":"image_06112025_18_54_01_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ded18d437b1b3a59d78a6e402256ffba.jpg","text":"TemporaryFile(/tmp/multipartBody2215893345615739782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924963249,"filename":"image_06112025_18_53_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/16/d1b300c85dc42674baa73eb71e715e59.jpg","text":"TemporaryFile(/tmp/multipartBody3987632358029559622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924963249,"filename":"image_06112025_18_54_16_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/67d0a7f064a69282eff9987fddcb41e7.jpg","text":"TemporaryFile(/tmp/multipartBody987042199896169945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924963249,"filename":"image_06112025_18_53_58_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/16/d43334763c3f2de9b081e280c532545c.jpg","text":"TemporaryFile(/tmp/multipartBody4676442773460855185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765924963249,"filename":"image_06112025_18_54_13_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721325","file1":"1399721324","file0":"1399721319","file4":"1399721327","file5":"1399721328","file3":"1399721326"},"map_files_photo_id_array":[{"photo_id":"1399721328","filename":"file5"},{"photo_id":"1399721325","filename":"file2"},{"photo_id":"1399721327","filename":"file4"},{"photo_id":"1399721324","filename":"file1"},{"photo_id":"1399721319","filename":"file0"},{"photo_id":"1399721326","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721326":["hashtag1","hashtag2"]},{"1399721325":["hashtag1","hashtag2"]},{"1399721319":["hashtag1","hashtag2"]},{"1399721328":["hashtag1","hashtag2"]},{"1399721324":["hashtag1","hashtag2"]},{"1399721327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721326, 1399721325, 1399721319, 1399721328, 1399721324, 1399721327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.619359731674194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:42:21.904104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_55_10635.jpg', '/home/pi/Desktop/images/16122025/23/36/image_16122025_23_37_04_9557.jpg', '/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_15_10545.jpg', '/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_24_9621.jpg', '/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_34_9762.jpg', '/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_45_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/36/image_16122025_23_36_55_10635.jpg
/home/pi/Desktop/images/16122025/23/36/image_16122025_23_37_04_9557.jpg
/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_15_10545.jpg
/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_24_9621.jpg
/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_34_9762.jpg
/home/pi/Desktop/images/16122025/23/37/image_16122025_23_37_45_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":["1399721332","1399721341","1399721338","1399721334","1399721336","1399721330"],"photo_ids_order":["1399721330","1399721332","1399721334","1399721336","1399721338","1399721341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f16a86816e4f819424acf631b607479a.jpg","text":"TemporaryFile(/tmp/multipartBody6999361382496653496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925002491,"filename":"image_16122025_23_37_04_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ac4f94396a89a8d30d5a5028ddf837b9.jpg","text":"TemporaryFile(/tmp/multipartBody5011697123828529203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925002491,"filename":"image_16122025_23_37_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/baefbbf3f63275fa6e84f38eedc3963f.jpg","text":"TemporaryFile(/tmp/multipartBody3403145240060706234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925002491,"filename":"image_16122025_23_37_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4c0952b2873e482beef035fca27a2781.jpg","text":"TemporaryFile(/tmp/multipartBody8096959914636623061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925002491,"filename":"image_16122025_23_37_15_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d290af2a87215481bc9205e68966404.jpg","text":"TemporaryFile(/tmp/multipartBody6079163718100861457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925002491,"filename":"image_16122025_23_37_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/88f417fc93da600af79784dacf45962f.jpg","text":"TemporaryFile(/tmp/multipartBody4585795678021808981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925002491,"filename":"image_16122025_23_36_55_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721334","file1":"1399721332","file0":"1399721330","file4":"1399721338","file5":"1399721341","file3":"1399721336"},"map_files_photo_id_array":[{"photo_id":"1399721341","filename":"file5"},{"photo_id":"1399721334","filename":"file2"},{"photo_id":"1399721338","filename":"file4"},{"photo_id":"1399721332","filename":"file1"},{"photo_id":"1399721330","filename":"file0"},{"photo_id":"1399721336","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721332":["hashtag1","hashtag2"]},{"1399721341":["hashtag1","hashtag2"]},{"1399721338":["hashtag1","hashtag2"]},{"1399721334":["hashtag1","hashtag2"]},{"1399721336":["hashtag1","hashtag2"]},{"1399721330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721332, 1399721341, 1399721338, 1399721334, 1399721336, 1399721330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93058180809021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:43:02.852180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/37/image_16122025_23_38_04_9679.jpg', '/home/pi/Desktop/images/16122025/23/38/image_16122025_23_38_25_9625.jpg', '/home/pi/Desktop/images/16122025/23/38/image_16122025_23_38_45_10777.jpg', '/home/pi/Desktop/images/16122025/23/38/image_16122025_23_38_55_9716.jpg', '/home/pi/Desktop/images/16122025/23/38/image_16122025_23_39_04_9635.jpg', '/home/pi/Desktop/images/16122025/23/39/image_16122025_23_39_15_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/37/image_16122025_23_38_04_9679.jpg
/home/pi/Desktop/images/16122025/23/38/image_16122025_23_38_25_9625.jpg
/home/pi/Desktop/images/16122025/23/38/image_16122025_23_38_45_10777.jpg
/home/pi/Desktop/images/16122025/23/38/image_16122025_23_38_55_9716.jpg
/home/pi/Desktop/images/16122025/23/38/image_16122025_23_39_04_9635.jpg
/home/pi/Desktop/images/16122025/23/39/image_16122025_23_39_15_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":["1399721350","1399721347","1399721343","1399721346","1399721348","1399721345"],"photo_ids_order":["1399721343","1399721345","1399721346","1399721347","1399721348","1399721350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/534cdb9acfe32eb73e7544c5e8786878.jpg","text":"TemporaryFile(/tmp/multipartBody2466358773099770165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925043459,"filename":"image_16122025_23_39_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/8d3d9330b99a478481cbe9fbdaf89c60.jpg","text":"TemporaryFile(/tmp/multipartBody1104955854998824505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925043459,"filename":"image_16122025_23_38_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/16/25bb67f916a91b8a47238254439693f7.jpg","text":"TemporaryFile(/tmp/multipartBody3168779498345849710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925043459,"filename":"image_16122025_23_38_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/16/64bb01ef014a420ab9cf09f7da90e424.jpg","text":"TemporaryFile(/tmp/multipartBody7289186689979350762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925043459,"filename":"image_16122025_23_38_45_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85b98a9025f3889de739d69ebc10331c.jpg","text":"TemporaryFile(/tmp/multipartBody2574319877863717624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925043459,"filename":"image_16122025_23_39_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/16/ff009ea9fd77e48f085127f63091f0d4.jpg","text":"TemporaryFile(/tmp/multipartBody2947859798288139687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925043459,"filename":"image_16122025_23_38_25_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721346","file1":"1399721345","file0":"1399721343","file4":"1399721348","file5":"1399721350","file3":"1399721347"},"map_files_photo_id_array":[{"photo_id":"1399721350","filename":"file5"},{"photo_id":"1399721346","filename":"file2"},{"photo_id":"1399721348","filename":"file4"},{"photo_id":"1399721345","filename":"file1"},{"photo_id":"1399721343","filename":"file0"},{"photo_id":"1399721347","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721350":["hashtag1","hashtag2"]},{"1399721347":["hashtag1","hashtag2"]},{"1399721343":["hashtag1","hashtag2"]},{"1399721346":["hashtag1","hashtag2"]},{"1399721348":["hashtag1","hashtag2"]},{"1399721345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721350, 1399721347, 1399721343, 1399721346, 1399721348, 1399721345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.824334144592285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:43:42.093089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_19_2730.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_25_2701.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_28_2657.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_31_3709.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_34_2701.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_40_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_19_2730.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_25_2701.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_28_2657.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_31_3709.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_34_2701.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_40_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721359","1399721362","1399721361","1399721355","1399721358","1399721360"],"photo_ids_order":["1399721355","1399721358","1399721359","1399721360","1399721361","1399721362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c074e919d8de15fa6280ea7bc675c146.jpg","text":"TemporaryFile(/tmp/multipartBody4750862570986402345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925082887,"filename":"image_06112025_18_54_28_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/16/e16b5a40aa3434f61c4a63e5cad65c98.jpg","text":"TemporaryFile(/tmp/multipartBody5915567495081939947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925082887,"filename":"image_06112025_18_54_40_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/16/2f344c887af0034bc0948c801f170783.jpg","text":"TemporaryFile(/tmp/multipartBody4143105957415556935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925082887,"filename":"image_06112025_18_54_34_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/16/b26f2fa492af63775f348d9ea86768d1.jpg","text":"TemporaryFile(/tmp/multipartBody6081381522105900265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925082887,"filename":"image_06112025_18_54_19_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/16/77f31b7795df3fdbc6abd4094091970f.jpg","text":"TemporaryFile(/tmp/multipartBody3871778117735242520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925082887,"filename":"image_06112025_18_54_25_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/16/a134c37f0bc0fb46e7da35ed8103bf7f.jpg","text":"TemporaryFile(/tmp/multipartBody5402320450847386502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925082887,"filename":"image_06112025_18_54_31_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721359","file1":"1399721358","file0":"1399721355","file4":"1399721361","file5":"1399721362","file3":"1399721360"},"map_files_photo_id_array":[{"photo_id":"1399721362","filename":"file5"},{"photo_id":"1399721359","filename":"file2"},{"photo_id":"1399721361","filename":"file4"},{"photo_id":"1399721358","filename":"file1"},{"photo_id":"1399721355","filename":"file0"},{"photo_id":"1399721360","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721359":["hashtag1","hashtag2"]},{"1399721362":["hashtag1","hashtag2"]},{"1399721361":["hashtag1","hashtag2"]},{"1399721355":["hashtag1","hashtag2"]},{"1399721358":["hashtag1","hashtag2"]},{"1399721360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721359, 1399721362, 1399721361, 1399721355, 1399721358, 1399721360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59715938568115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:44:22.329544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/39/image_16122025_23_39_35_9876.jpg', '/home/pi/Desktop/images/16122025/23/39/image_16122025_23_40_05_10721.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_24_9675.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_35_10754.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_45_9813.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_55_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/39/image_16122025_23_39_35_9876.jpg
/home/pi/Desktop/images/16122025/23/39/image_16122025_23_40_05_10721.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_24_9675.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_35_10754.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_45_9813.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_55_9796.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.479229211807251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:44:32.349998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:44:42.269565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_45_2645.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_55_2585.jpg', '/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_58_3569.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_01_2720.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_04_2759.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_07_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_45_2645.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_55_2585.jpg
/home/pi/Desktop/images/06112025/18/54/image_06112025_18_54_58_3569.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_01_2720.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_04_2759.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_07_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721386","1399721385","1399721384","1399721387","1399721383","1399721377"],"photo_ids_order":["1399721377","1399721383","1399721384","1399721385","1399721386","1399721387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fa8be9794acfec24fec4509c53ebd073.jpg","text":"TemporaryFile(/tmp/multipartBody7110488876313836228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925143063,"filename":"image_06112025_18_55_04_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/16/a5881fd4c4af28efff8712dbeec361a7.jpg","text":"TemporaryFile(/tmp/multipartBody1244249278618066845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925143063,"filename":"image_06112025_18_55_01_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/16/8b08fa7a51be74df97b473a6b3063e10.jpg","text":"TemporaryFile(/tmp/multipartBody8638240982564043313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925143063,"filename":"image_06112025_18_54_58_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/16/b834b55a370eb8f37ed3e4ad03146953.jpg","text":"TemporaryFile(/tmp/multipartBody8538418774265008865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925143063,"filename":"image_06112025_18_55_07_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6b56f0e9ab703e2604463ab60ea61850.jpg","text":"TemporaryFile(/tmp/multipartBody5635125093721096876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925143063,"filename":"image_06112025_18_54_55_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ef13dcb76f047417ab4acac152546c94.jpg","text":"TemporaryFile(/tmp/multipartBody146280111149644587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925143063,"filename":"image_06112025_18_54_45_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721384","file1":"1399721383","file0":"1399721377","file4":"1399721386","file5":"1399721387","file3":"1399721385"},"map_files_photo_id_array":[{"photo_id":"1399721387","filename":"file5"},{"photo_id":"1399721384","filename":"file2"},{"photo_id":"1399721386","filename":"file4"},{"photo_id":"1399721383","filename":"file1"},{"photo_id":"1399721377","filename":"file0"},{"photo_id":"1399721385","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721386":["hashtag1","hashtag2"]},{"1399721385":["hashtag1","hashtag2"]},{"1399721384":["hashtag1","hashtag2"]},{"1399721387":["hashtag1","hashtag2"]},{"1399721383":["hashtag1","hashtag2"]},{"1399721377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721386, 1399721385, 1399721384, 1399721387, 1399721383, 1399721377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00666856765747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:45:22.553278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/39/image_16122025_23_39_35_9876.jpg', '/home/pi/Desktop/images/16122025/23/39/image_16122025_23_40_05_10721.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_24_9675.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_35_10754.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_45_9813.jpg', '/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_55_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/39/image_16122025_23_39_35_9876.jpg
/home/pi/Desktop/images/16122025/23/39/image_16122025_23_40_05_10721.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_24_9675.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_35_10754.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_45_9813.jpg
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_40_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":["1399721392","1399721401","1399721394","1399721390","1399721396","1399721398"],"photo_ids_order":["1399721390","1399721392","1399721394","1399721396","1399721398","1399721401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c05ae9062a69f27d66cb33051372e581.jpg","text":"TemporaryFile(/tmp/multipartBody6255609814545911489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925183140,"filename":"image_16122025_23_40_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c58ecf2053fa39c244b7ec977af46147.jpg","text":"TemporaryFile(/tmp/multipartBody1418967750398025684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925183140,"filename":"image_16122025_23_40_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/16/e81b2007ad9b230e8564190e3343dae2.jpg","text":"TemporaryFile(/tmp/multipartBody4339024271559248566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925183140,"filename":"image_16122025_23_40_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/16/da1df92a22da6852fac92b0df2d50b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6583672173057109588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925183140,"filename":"image_16122025_23_39_35_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/16/01d7b7bc01dd29ad5d3b25ba1ece35e0.jpg","text":"TemporaryFile(/tmp/multipartBody8516484822123217706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925183140,"filename":"image_16122025_23_40_35_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6f2a5caddae7e1fc90307cbd52af4655.jpg","text":"TemporaryFile(/tmp/multipartBody782284618060906869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925183140,"filename":"image_16122025_23_40_45_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721394","file1":"1399721392","file0":"1399721390","file4":"1399721398","file5":"1399721401","file3":"1399721396"},"map_files_photo_id_array":[{"photo_id":"1399721401","filename":"file5"},{"photo_id":"1399721394","filename":"file2"},{"photo_id":"1399721398","filename":"file4"},{"photo_id":"1399721392","filename":"file1"},{"photo_id":"1399721390","filename":"file0"},{"photo_id":"1399721396","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721392":["hashtag1","hashtag2"]},{"1399721401":["hashtag1","hashtag2"]},{"1399721394":["hashtag1","hashtag2"]},{"1399721390":["hashtag1","hashtag2"]},{"1399721396":["hashtag1","hashtag2"]},{"1399721398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721392, 1399721401, 1399721394, 1399721390, 1399721396, 1399721398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3068413734436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:46:03.163314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/40/image_16122025_23_41_04_9551.jpg', '/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_15_10588.jpg', '/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_24_9574.jpg', '/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_35_10574.jpg', '/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_45_9771.jpg', '/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_54_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/40/image_16122025_23_41_04_9551.jpg
/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_15_10588.jpg
/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_24_9574.jpg
/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_35_10574.jpg
/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_45_9771.jpg
/home/pi/Desktop/images/16122025/23/41/image_16122025_23_41_54_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":["1399721404","1399721407","1399721406","1399721409","1399721403","1399721405"],"photo_ids_order":["1399721403","1399721404","1399721405","1399721406","1399721407","1399721409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1f9a085b9a294f96a024cb4eb1f45f73.jpg","text":"TemporaryFile(/tmp/multipartBody1292623892933204865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925223750,"filename":"image_16122025_23_41_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0404260582272c8aa7f4fff24097038.jpg","text":"TemporaryFile(/tmp/multipartBody9200838856982897740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925223750,"filename":"image_16122025_23_41_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/16/4b596fc934a425db518fb6045e12fd89.jpg","text":"TemporaryFile(/tmp/multipartBody829979160154464891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925223750,"filename":"image_16122025_23_41_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21a6e85a197a2607e0f0cf72e2f7fd11.jpg","text":"TemporaryFile(/tmp/multipartBody2783147134105683694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925223750,"filename":"image_16122025_23_41_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/16/6c57ab3d7f6836f1d39856d1bc3b37ed.jpg","text":"TemporaryFile(/tmp/multipartBody4804868259156700581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925223750,"filename":"image_16122025_23_41_04_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/16/73532d954f2f1fa43ab4f7718373abe3.jpg","text":"TemporaryFile(/tmp/multipartBody7975319102261236316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925223750,"filename":"image_16122025_23_41_24_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721405","file1":"1399721404","file0":"1399721403","file4":"1399721407","file5":"1399721409","file3":"1399721406"},"map_files_photo_id_array":[{"photo_id":"1399721409","filename":"file5"},{"photo_id":"1399721405","filename":"file2"},{"photo_id":"1399721407","filename":"file4"},{"photo_id":"1399721404","filename":"file1"},{"photo_id":"1399721403","filename":"file0"},{"photo_id":"1399721406","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721404":["hashtag1","hashtag2"]},{"1399721407":["hashtag1","hashtag2"]},{"1399721406":["hashtag1","hashtag2"]},{"1399721409":["hashtag1","hashtag2"]},{"1399721403":["hashtag1","hashtag2"]},{"1399721405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721404, 1399721407, 1399721406, 1399721409, 1399721403, 1399721405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32396602630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:46:42.854170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_13_2719.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_19_3595.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_25_2679.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_52_2715.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_55_2787.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_56_01_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_13_2719.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_19_3595.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_25_2679.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_52_2715.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_55_2787.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_56_01_3667.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6514041423797607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:47:02.663564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/41/image_16122025_23_42_05_10634.jpg', '/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_15_9706.jpg', '/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_24_9722.jpg', '/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_34_9841.jpg', '/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_45_10743.jpg', '/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/41/image_16122025_23_42_05_10634.jpg
/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_15_9706.jpg
/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_24_9722.jpg
/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_34_9841.jpg
/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_45_10743.jpg
/home/pi/Desktop/images/16122025/23/42/image_16122025_23_42_55_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721425","1399721424","1399721427","1399721429","1399721423","1399721426"],"photo_ids_order":["1399721423","1399721424","1399721425","1399721426","1399721427","1399721429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/c3766aef34d420b4266fce0ec08340cd.jpg","text":"TemporaryFile(/tmp/multipartBody1522847831694886629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925283286,"filename":"image_16122025_23_42_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/16/c8d39297039b409d665353157f494549.jpg","text":"TemporaryFile(/tmp/multipartBody1915986255601248826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925283286,"filename":"image_16122025_23_42_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dab7828d73b1def8cc04124b14787ae3.jpg","text":"TemporaryFile(/tmp/multipartBody409147089843035622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925283286,"filename":"image_16122025_23_42_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/615ab196ce0cf0c3417a8f33288fc498.jpg","text":"TemporaryFile(/tmp/multipartBody8212010925992440825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925283286,"filename":"image_16122025_23_42_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/670efa36d47b70f28ce4d9d4b4a573d2.jpg","text":"TemporaryFile(/tmp/multipartBody3892455650009995081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925283286,"filename":"image_16122025_23_42_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/16/89514d6591510f3256d070e6a0240d31.jpg","text":"TemporaryFile(/tmp/multipartBody994229219763026071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925283286,"filename":"image_16122025_23_42_34_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721425","file1":"1399721424","file0":"1399721423","file4":"1399721427","file5":"1399721429","file3":"1399721426"},"map_files_photo_id_array":[{"photo_id":"1399721429","filename":"file5"},{"photo_id":"1399721425","filename":"file2"},{"photo_id":"1399721427","filename":"file4"},{"photo_id":"1399721424","filename":"file1"},{"photo_id":"1399721423","filename":"file0"},{"photo_id":"1399721426","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721425":["hashtag1","hashtag2"]},{"1399721424":["hashtag1","hashtag2"]},{"1399721427":["hashtag1","hashtag2"]},{"1399721429":["hashtag1","hashtag2"]},{"1399721423":["hashtag1","hashtag2"]},{"1399721426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721425, 1399721424, 1399721427, 1399721429, 1399721423, 1399721426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.055471420288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:47:42.102559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_13_2719.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_19_3595.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_25_2679.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_52_2715.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_55_2787.jpg', '/home/pi/Desktop/images/06112025/18/55/image_06112025_18_56_01_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_13_2719.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_19_3595.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_25_2679.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_52_2715.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_55_55_2787.jpg
/home/pi/Desktop/images/06112025/18/55/image_06112025_18_56_01_3667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721440","1399721443","1399721442","1399721441","1399721435","1399721438"],"photo_ids_order":["1399721435","1399721438","1399721440","1399721441","1399721442","1399721443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ee216e395ffcb8d1af82f2fe90d2088e.jpg","text":"TemporaryFile(/tmp/multipartBody8031876413490464725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925322728,"filename":"image_06112025_18_55_25_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/16/61ea710eac23715546ad1c9441052be5.jpg","text":"TemporaryFile(/tmp/multipartBody7058130972764369920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925322728,"filename":"image_06112025_18_56_01_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/16/1b4e59168bee90f6ebecb217d489f783.jpg","text":"TemporaryFile(/tmp/multipartBody2653542082898840864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925322728,"filename":"image_06112025_18_55_55_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/16/4e645e918c4f155591114d14ba16d457.jpg","text":"TemporaryFile(/tmp/multipartBody3078833961199393714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925322728,"filename":"image_06112025_18_55_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/16/4f24c3133f22f0d92bd0c5b2f63bc48f.jpg","text":"TemporaryFile(/tmp/multipartBody6540749606155654253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925322728,"filename":"image_06112025_18_55_13_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/16/9ab206ec9d06f52e52a6bb6e7c5f800c.jpg","text":"TemporaryFile(/tmp/multipartBody1022435373129145324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925322728,"filename":"image_06112025_18_55_19_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721440","file1":"1399721438","file0":"1399721435","file4":"1399721442","file5":"1399721443","file3":"1399721441"},"map_files_photo_id_array":[{"photo_id":"1399721443","filename":"file5"},{"photo_id":"1399721440","filename":"file2"},{"photo_id":"1399721442","filename":"file4"},{"photo_id":"1399721438","filename":"file1"},{"photo_id":"1399721435","filename":"file0"},{"photo_id":"1399721441","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721440":["hashtag1","hashtag2"]},{"1399721443":["hashtag1","hashtag2"]},{"1399721442":["hashtag1","hashtag2"]},{"1399721441":["hashtag1","hashtag2"]},{"1399721435":["hashtag1","hashtag2"]},{"1399721438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721440, 1399721443, 1399721442, 1399721441, 1399721435, 1399721438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38059616088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:48:22.455519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/42/image_16122025_23_43_04_9610.jpg', '/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_15_10666.jpg', '/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_25_9678.jpg', '/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_34_9647.jpg', '/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_55_9747.jpg', '/home/pi/Desktop/images/16122025/23/43/image_16122025_23_44_04_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/42/image_16122025_23_43_04_9610.jpg
/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_15_10666.jpg
/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_25_9678.jpg
/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_34_9647.jpg
/home/pi/Desktop/images/16122025/23/43/image_16122025_23_43_55_9747.jpg
/home/pi/Desktop/images/16122025/23/43/image_16122025_23_44_04_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721452","1399721446","1399721445","1399721448","1399721456","1399721450"],"photo_ids_order":["1399721445","1399721446","1399721448","1399721450","1399721452","1399721456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/f81ce4648027f548a5f3ae6843699f71.jpg","text":"TemporaryFile(/tmp/multipartBody3147082116637086870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925363038,"filename":"image_16122025_23_43_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b117e48c7e05b0a4a99844f6e6e20774.jpg","text":"TemporaryFile(/tmp/multipartBody1711153115411114587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925363038,"filename":"image_16122025_23_43_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3e8d599e0c69ffe79c9dab96dc36bf90.jpg","text":"TemporaryFile(/tmp/multipartBody4582157770810062822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925363038,"filename":"image_16122025_23_43_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/16/6c0f1dc8392b1d4a19a739773782d6a2.jpg","text":"TemporaryFile(/tmp/multipartBody6574804875488061517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925363038,"filename":"image_16122025_23_43_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/16/a0f42633d82a35d3332d3c7c251ea8b1.jpg","text":"TemporaryFile(/tmp/multipartBody7820526338068545407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925363038,"filename":"image_16122025_23_44_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/16/6d06cce1a2f97348f1e48372463dd940.jpg","text":"TemporaryFile(/tmp/multipartBody9133469044266812705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925363038,"filename":"image_16122025_23_43_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721448","file1":"1399721446","file0":"1399721445","file4":"1399721452","file5":"1399721456","file3":"1399721450"},"map_files_photo_id_array":[{"photo_id":"1399721456","filename":"file5"},{"photo_id":"1399721448","filename":"file2"},{"photo_id":"1399721452","filename":"file4"},{"photo_id":"1399721446","filename":"file1"},{"photo_id":"1399721445","filename":"file0"},{"photo_id":"1399721450","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721452":["hashtag1","hashtag2"]},{"1399721446":["hashtag1","hashtag2"]},{"1399721445":["hashtag1","hashtag2"]},{"1399721448":["hashtag1","hashtag2"]},{"1399721456":["hashtag1","hashtag2"]},{"1399721450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721452, 1399721446, 1399721445, 1399721448, 1399721456, 1399721450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34865689277649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:49:03.350398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_15_10612.jpg', '/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_24_9613.jpg', '/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_34_9784.jpg', '/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_45_10645.jpg', '/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_54_9602.jpg', '/home/pi/Desktop/images/16122025/23/44/image_16122025_23_45_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_15_10612.jpg
/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_24_9613.jpg
/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_34_9784.jpg
/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_45_10645.jpg
/home/pi/Desktop/images/16122025/23/44/image_16122025_23_44_54_9602.jpg
/home/pi/Desktop/images/16122025/23/44/image_16122025_23_45_04_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721464","1399721467","1399721469","1399721466","1399721465","1399721462"],"photo_ids_order":["1399721462","1399721464","1399721465","1399721466","1399721467","1399721469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/66d21d09423ffe520a9c7aec109e601f.jpg","text":"TemporaryFile(/tmp/multipartBody3632118800635921159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925404116,"filename":"image_16122025_23_44_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/16/45836d48b7cda5265419a04141bfe5f2.jpg","text":"TemporaryFile(/tmp/multipartBody3318464135549639711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925404116,"filename":"image_16122025_23_44_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b0c33bc8278620bf4e1dd4c52da88ca6.jpg","text":"TemporaryFile(/tmp/multipartBody196384351790972767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925404116,"filename":"image_16122025_23_45_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/16/e7e33b64f7c4590149efb1fa583e86a1.jpg","text":"TemporaryFile(/tmp/multipartBody4919669149863688481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925404116,"filename":"image_16122025_23_44_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e19915ba99d2dc0b95fe9486951362d1.jpg","text":"TemporaryFile(/tmp/multipartBody7892142733459797097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925404116,"filename":"image_16122025_23_44_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/16/24273af37ad28089f098f207f1bc579e.jpg","text":"TemporaryFile(/tmp/multipartBody714807956159145754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925404116,"filename":"image_16122025_23_44_15_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721465","file1":"1399721464","file0":"1399721462","file4":"1399721467","file5":"1399721469","file3":"1399721466"},"map_files_photo_id_array":[{"photo_id":"1399721469","filename":"file5"},{"photo_id":"1399721465","filename":"file2"},{"photo_id":"1399721467","filename":"file4"},{"photo_id":"1399721464","filename":"file1"},{"photo_id":"1399721462","filename":"file0"},{"photo_id":"1399721466","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721464":["hashtag1","hashtag2"]},{"1399721467":["hashtag1","hashtag2"]},{"1399721469":["hashtag1","hashtag2"]},{"1399721466":["hashtag1","hashtag2"]},{"1399721465":["hashtag1","hashtag2"]},{"1399721462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721464, 1399721467, 1399721469, 1399721466, 1399721465, 1399721462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41931676864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:49:42.527787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_04_2679.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_06_2629.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_10_3555.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_12_2596.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_16_3623.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_19_2478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_04_2679.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_06_2629.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_10_3555.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_12_2596.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_16_3623.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_19_2478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721479","1399721478","1399721480","1399721474","1399721482","1399721476"],"photo_ids_order":["1399721474","1399721476","1399721478","1399721479","1399721480","1399721482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ff52bcdef055f3accd5f0e4f442a23b2.jpg","text":"TemporaryFile(/tmp/multipartBody6747496495936954627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925443200,"filename":"image_06112025_18_56_12_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/16/092dd9362547835bd38850fec12e8e6d.jpg","text":"TemporaryFile(/tmp/multipartBody8398394333837262050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925443200,"filename":"image_06112025_18_56_10_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/16/6aa826b357fab7476f2b62167880b848.jpg","text":"TemporaryFile(/tmp/multipartBody2568721955423355914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925443200,"filename":"image_06112025_18_56_16_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/16/f2a364701d17d7abcfaa721c20619662.jpg","text":"TemporaryFile(/tmp/multipartBody4536486727418341426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925443200,"filename":"image_06112025_18_56_04_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/16/a58b1c20bcef90281ffe58fd30d7d61c.jpg","text":"TemporaryFile(/tmp/multipartBody4932594763892556160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925443200,"filename":"image_06112025_18_56_19_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5a862966b07422bd1ff2c2ca5d811ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2224380786535736483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925443200,"filename":"image_06112025_18_56_06_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721478","file1":"1399721476","file0":"1399721474","file4":"1399721480","file5":"1399721482","file3":"1399721479"},"map_files_photo_id_array":[{"photo_id":"1399721482","filename":"file5"},{"photo_id":"1399721478","filename":"file2"},{"photo_id":"1399721480","filename":"file4"},{"photo_id":"1399721476","filename":"file1"},{"photo_id":"1399721474","filename":"file0"},{"photo_id":"1399721479","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721479":["hashtag1","hashtag2"]},{"1399721478":["hashtag1","hashtag2"]},{"1399721480":["hashtag1","hashtag2"]},{"1399721474":["hashtag1","hashtag2"]},{"1399721482":["hashtag1","hashtag2"]},{"1399721476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721479, 1399721478, 1399721480, 1399721474, 1399721482, 1399721476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54087233543396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:50:22.795314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_15_10791.jpg', '/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_34_9745.jpg', '/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_44_9753.jpg', '/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_55_10781.jpg', '/home/pi/Desktop/images/16122025/23/45/image_16122025_23_46_05_9627.jpg', '/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_14_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_15_10791.jpg
/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_34_9745.jpg
/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_44_9753.jpg
/home/pi/Desktop/images/16122025/23/45/image_16122025_23_45_55_10781.jpg
/home/pi/Desktop/images/16122025/23/45/image_16122025_23_46_05_9627.jpg
/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_14_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721490","1399721503","1399721487","1399721492","1399721486","1399721494"],"photo_ids_order":["1399721486","1399721487","1399721490","1399721492","1399721494","1399721503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e1f204ea397b8496cd54c9bb3ad7315d.jpg","text":"TemporaryFile(/tmp/multipartBody1195565003788279659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925483380,"filename":"image_16122025_23_45_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/16/0fb975c06b8dce0cd52a3eb8a3b47d4a.jpg","text":"TemporaryFile(/tmp/multipartBody736937899870919225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925483380,"filename":"image_16122025_23_46_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0fafe45089e2e2968ef0d99aaffa91ba.jpg","text":"TemporaryFile(/tmp/multipartBody8769571216994255664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925483380,"filename":"image_16122025_23_45_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e23534d491f4b038698c2ace18302b60.jpg","text":"TemporaryFile(/tmp/multipartBody4817060672780662669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925483380,"filename":"image_16122025_23_45_55_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/b8618c01d9415bc2c24cf1e2ad4e7631.jpg","text":"TemporaryFile(/tmp/multipartBody3178652170348978275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925483380,"filename":"image_16122025_23_45_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/16/5641887691acf48f2d9d956f290d5ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1987979589916076175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925483380,"filename":"image_16122025_23_46_05_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721490","file1":"1399721487","file0":"1399721486","file4":"1399721494","file5":"1399721503","file3":"1399721492"},"map_files_photo_id_array":[{"photo_id":"1399721503","filename":"file5"},{"photo_id":"1399721490","filename":"file2"},{"photo_id":"1399721494","filename":"file4"},{"photo_id":"1399721487","filename":"file1"},{"photo_id":"1399721486","filename":"file0"},{"photo_id":"1399721492","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721490":["hashtag1","hashtag2"]},{"1399721503":["hashtag1","hashtag2"]},{"1399721487":["hashtag1","hashtag2"]},{"1399721492":["hashtag1","hashtag2"]},{"1399721486":["hashtag1","hashtag2"]},{"1399721494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721490, 1399721503, 1399721487, 1399721492, 1399721486, 1399721494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60823917388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:51:02.675892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_24_9847.jpg', '/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_35_10652.jpg', '/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_44_9680.jpg', '/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_54_9777.jpg', '/home/pi/Desktop/images/16122025/23/46/image_16122025_23_47_05_10826.jpg', '/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_15_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_24_9847.jpg
/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_35_10652.jpg
/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_44_9680.jpg
/home/pi/Desktop/images/16122025/23/46/image_16122025_23_46_54_9777.jpg
/home/pi/Desktop/images/16122025/23/46/image_16122025_23_47_05_10826.jpg
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_15_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":["1399721506","1399721505","1399721508","1399721510","1399721504","1399721507"],"photo_ids_order":["1399721504","1399721505","1399721506","1399721507","1399721508","1399721510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/87fd92223cb50678164e288ee3a0b2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2191193987835572658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925523282,"filename":"image_16122025_23_46_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5040a2b5fe602788cb4e3e9226ec3805.jpg","text":"TemporaryFile(/tmp/multipartBody526668697868181683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925523282,"filename":"image_16122025_23_46_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a112179a274043399c12168eca5e86e0.jpg","text":"TemporaryFile(/tmp/multipartBody3967190490307777938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925523282,"filename":"image_16122025_23_47_05_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5509c641c0c66809dc92620e992c433f.jpg","text":"TemporaryFile(/tmp/multipartBody663715451814656961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925523282,"filename":"image_16122025_23_47_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/73c2d1f3156a90f86413227f32037895.jpg","text":"TemporaryFile(/tmp/multipartBody5860266876146306015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925523282,"filename":"image_16122025_23_46_24_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/6858c44d5012fab1b93e55e30d300c1c.jpg","text":"TemporaryFile(/tmp/multipartBody2207785358769636251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925523282,"filename":"image_16122025_23_46_54_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721506","file1":"1399721505","file0":"1399721504","file4":"1399721508","file5":"1399721510","file3":"1399721507"},"map_files_photo_id_array":[{"photo_id":"1399721510","filename":"file5"},{"photo_id":"1399721506","filename":"file2"},{"photo_id":"1399721508","filename":"file4"},{"photo_id":"1399721505","filename":"file1"},{"photo_id":"1399721504","filename":"file0"},{"photo_id":"1399721507","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721506":["hashtag1","hashtag2"]},{"1399721505":["hashtag1","hashtag2"]},{"1399721508":["hashtag1","hashtag2"]},{"1399721510":["hashtag1","hashtag2"]},{"1399721504":["hashtag1","hashtag2"]},{"1399721507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721506, 1399721505, 1399721508, 1399721510, 1399721504, 1399721507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83053421974182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:51:42.070763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_22_3706.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_25_2663.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_28_2730.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_30_2705.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_34_3609.jpg', '/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_39_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_22_3706.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_25_2663.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_28_2730.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_30_2705.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_34_3609.jpg
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_39_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":["1399721521","1399721515","1399721518","1399721520","1399721522","1399721519"],"photo_ids_order":["1399721515","1399721518","1399721519","1399721520","1399721521","1399721522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/edb0f189615378d83c16f8ef5f8385be.jpg","text":"TemporaryFile(/tmp/multipartBody7553591321450933105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925562819,"filename":"image_06112025_18_56_34_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/16/8950627ce69b07b60e9ebe279fd8abc6.jpg","text":"TemporaryFile(/tmp/multipartBody461143684077040231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925562819,"filename":"image_06112025_18_56_22_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/16/b62ab51c2fabe4a91c0e0973bfd716e3.jpg","text":"TemporaryFile(/tmp/multipartBody7335402207950392159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925562819,"filename":"image_06112025_18_56_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/16/8495a92e4352a7f20f9f2dd7453ece10.jpg","text":"TemporaryFile(/tmp/multipartBody7411819640067948263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925562819,"filename":"image_06112025_18_56_30_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/16/8c89e058b04612136a7ae103d1eec707.jpg","text":"TemporaryFile(/tmp/multipartBody2306690649746770845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925562819,"filename":"image_06112025_18_56_39_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/16/f31400c32d5c7736cb3454510270e0ca.jpg","text":"TemporaryFile(/tmp/multipartBody6846193455745035315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925562819,"filename":"image_06112025_18_56_28_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721519","file1":"1399721518","file0":"1399721515","file4":"1399721521","file5":"1399721522","file3":"1399721520"},"map_files_photo_id_array":[{"photo_id":"1399721522","filename":"file5"},{"photo_id":"1399721519","filename":"file2"},{"photo_id":"1399721521","filename":"file4"},{"photo_id":"1399721518","filename":"file1"},{"photo_id":"1399721515","filename":"file0"},{"photo_id":"1399721520","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721521":["hashtag1","hashtag2"]},{"1399721515":["hashtag1","hashtag2"]},{"1399721518":["hashtag1","hashtag2"]},{"1399721520":["hashtag1","hashtag2"]},{"1399721522":["hashtag1","hashtag2"]},{"1399721519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721521, 1399721515, 1399721518, 1399721520, 1399721522, 1399721519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89068531990051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:52:22.364043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_24_9750.jpg', '/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_45_10548.jpg', '/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_55_9738.jpg', '/home/pi/Desktop/images/16122025/23/47/image_16122025_23_48_04_9632.jpg', '/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_15_10683.jpg', '/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_25_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_24_9750.jpg
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_45_10548.jpg
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_55_9738.jpg
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_48_04_9632.jpg
/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_15_10683.jpg
/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_25_9700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4784581661224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:52:32.347410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:52:42.257325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_55_3733.jpg', '/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_03_2669.jpg', '/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_07_3723.jpg', '/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_16_3647.jpg', '/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_30_2600.jpg', '/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_58_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/56/image_06112025_18_56_55_3733.jpg
/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_03_2669.jpg
/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_07_3723.jpg
/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_16_3647.jpg
/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_30_2600.jpg
/home/pi/Desktop/images/06112025/18/57/image_06112025_18_57_58_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721539","1399721536","1399721535","1399721538","1399721540","1399721537"],"photo_ids_order":["1399721535","1399721536","1399721537","1399721538","1399721539","1399721540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/914dfece9fe3bc1eec7b11db46812292.jpg","text":"TemporaryFile(/tmp/multipartBody2862277246707620279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925623023,"filename":"image_06112025_18_57_30_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/195606da8103790ec2f9eb0e8f24a56e.jpg","text":"TemporaryFile(/tmp/multipartBody8325609166799670904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925623023,"filename":"image_06112025_18_57_03_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/595857678dfc095b5f42906041e79804.jpg","text":"TemporaryFile(/tmp/multipartBody4573342712778295904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925623023,"filename":"image_06112025_18_56_55_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/16/9770c280bed2b5cee8360fa8d92d56d3.jpg","text":"TemporaryFile(/tmp/multipartBody1265136332518990640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925623023,"filename":"image_06112025_18_57_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/16/7cc08349fedd0344ac75f553df9739f9.jpg","text":"TemporaryFile(/tmp/multipartBody5730201153078011384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925623023,"filename":"image_06112025_18_57_58_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/16/fef8124f952dac58f4a47e65c7a99e72.jpg","text":"TemporaryFile(/tmp/multipartBody7610289559167738332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925623023,"filename":"image_06112025_18_57_07_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721537","file1":"1399721536","file0":"1399721535","file4":"1399721539","file5":"1399721540","file3":"1399721538"},"map_files_photo_id_array":[{"photo_id":"1399721540","filename":"file5"},{"photo_id":"1399721537","filename":"file2"},{"photo_id":"1399721539","filename":"file4"},{"photo_id":"1399721536","filename":"file1"},{"photo_id":"1399721535","filename":"file0"},{"photo_id":"1399721538","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721539":["hashtag1","hashtag2"]},{"1399721536":["hashtag1","hashtag2"]},{"1399721535":["hashtag1","hashtag2"]},{"1399721538":["hashtag1","hashtag2"]},{"1399721540":["hashtag1","hashtag2"]},{"1399721537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721539, 1399721536, 1399721535, 1399721538, 1399721540, 1399721537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60408568382263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:53:22.506213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_24_9750.jpg', '/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_45_10548.jpg', '/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_55_9738.jpg', '/home/pi/Desktop/images/16122025/23/47/image_16122025_23_48_04_9632.jpg', '/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_15_10683.jpg', '/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_25_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_24_9750.jpg
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_45_10548.jpg
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_47_55_9738.jpg
/home/pi/Desktop/images/16122025/23/47/image_16122025_23_48_04_9632.jpg
/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_15_10683.jpg
/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_25_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721551","1399721545","1399721542","1399721547","1399721549","1399721543"],"photo_ids_order":["1399721542","1399721543","1399721545","1399721547","1399721549","1399721551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/4d3fb18b92d4c2192adb6a3fc0d2f6c2.jpg","text":"TemporaryFile(/tmp/multipartBody4995312856217705311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925663095,"filename":"image_16122025_23_48_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/16/5bba17823835020b71e158e3aeea9c42.jpg","text":"TemporaryFile(/tmp/multipartBody142622863323670042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925663095,"filename":"image_16122025_23_47_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/16/cd58bf2be9c57a78e841e179821f06e7.jpg","text":"TemporaryFile(/tmp/multipartBody4641492076557285301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925663095,"filename":"image_16122025_23_47_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/16/35f6999e03e3cdc2445336adf49848f0.jpg","text":"TemporaryFile(/tmp/multipartBody3918926671749963274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925663095,"filename":"image_16122025_23_48_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/16/f0cfab80287a60e76c38d6c97d336cf6.jpg","text":"TemporaryFile(/tmp/multipartBody2160545083074105977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925663095,"filename":"image_16122025_23_48_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/16/f009d25bd20aa19b4c86fa5a7cfc45c5.jpg","text":"TemporaryFile(/tmp/multipartBody3545310113360180278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925663095,"filename":"image_16122025_23_47_45_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721545","file1":"1399721543","file0":"1399721542","file4":"1399721549","file5":"1399721551","file3":"1399721547"},"map_files_photo_id_array":[{"photo_id":"1399721551","filename":"file5"},{"photo_id":"1399721545","filename":"file2"},{"photo_id":"1399721549","filename":"file4"},{"photo_id":"1399721543","filename":"file1"},{"photo_id":"1399721542","filename":"file0"},{"photo_id":"1399721547","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721551":["hashtag1","hashtag2"]},{"1399721545":["hashtag1","hashtag2"]},{"1399721542":["hashtag1","hashtag2"]},{"1399721547":["hashtag1","hashtag2"]},{"1399721549":["hashtag1","hashtag2"]},{"1399721543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721551, 1399721545, 1399721542, 1399721547, 1399721549, 1399721543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.791972398757935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:54:03.300006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_34_9666.jpg', '/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_45_10533.jpg', '/home/pi/Desktop/images/16122025/23/48/image_16122025_23_49_05_9720.jpg', '/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_14_9629.jpg', '/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_34_9644.jpg', '/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_44_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_34_9666.jpg
/home/pi/Desktop/images/16122025/23/48/image_16122025_23_48_45_10533.jpg
/home/pi/Desktop/images/16122025/23/48/image_16122025_23_49_05_9720.jpg
/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_14_9629.jpg
/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_34_9644.jpg
/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_44_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721566","1399721562","1399721565","1399721564","1399721567","1399721569"],"photo_ids_order":["1399721562","1399721564","1399721565","1399721566","1399721567","1399721569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/dd0efdf923fe0ac9379f10e067ca3638.jpg","text":"TemporaryFile(/tmp/multipartBody3521101446861011272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925703989,"filename":"image_16122025_23_49_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/92e00e237a341f24025a8508f2e53f19.jpg","text":"TemporaryFile(/tmp/multipartBody5513531740203746038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925703989,"filename":"image_16122025_23_48_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/16/039c2bc86badc1e20513802e441cf011.jpg","text":"TemporaryFile(/tmp/multipartBody72870471783206100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925703989,"filename":"image_16122025_23_49_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/16/770ac776403efc60c15f750636125013.jpg","text":"TemporaryFile(/tmp/multipartBody1287405791301200427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925703989,"filename":"image_16122025_23_48_45_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/9336caaa1603fc2356b2b24d3d44fe89.jpg","text":"TemporaryFile(/tmp/multipartBody1559169149303076355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925703989,"filename":"image_16122025_23_49_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7eb67607907445fc0e4d4666d31ffd8c.jpg","text":"TemporaryFile(/tmp/multipartBody8140507787646105731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925703989,"filename":"image_16122025_23_49_44_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721565","file1":"1399721564","file0":"1399721562","file4":"1399721567","file5":"1399721569","file3":"1399721566"},"map_files_photo_id_array":[{"photo_id":"1399721569","filename":"file5"},{"photo_id":"1399721565","filename":"file2"},{"photo_id":"1399721567","filename":"file4"},{"photo_id":"1399721564","filename":"file1"},{"photo_id":"1399721562","filename":"file0"},{"photo_id":"1399721566","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721566":["hashtag1","hashtag2"]},{"1399721562":["hashtag1","hashtag2"]},{"1399721565":["hashtag1","hashtag2"]},{"1399721564":["hashtag1","hashtag2"]},{"1399721567":["hashtag1","hashtag2"]},{"1399721569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721566, 1399721562, 1399721565, 1399721564, 1399721567, 1399721569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.702030658721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:54:42.671190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_12_2700.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_15_2842.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_19_3567.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_25_3562.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_28_2572.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_34_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_12_2700.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_15_2842.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_19_3567.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_25_3562.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_28_2572.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_34_3625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6860401630401611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:55:02.433154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_54_9912.jpg', '/home/pi/Desktop/images/16122025/23/49/image_16122025_23_50_05_10674.jpg', '/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_15_9664.jpg', '/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_24_9608.jpg', '/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_35_10870.jpg', '/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_45_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/49/image_16122025_23_49_54_9912.jpg
/home/pi/Desktop/images/16122025/23/49/image_16122025_23_50_05_10674.jpg
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_15_9664.jpg
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_24_9608.jpg
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_35_10870.jpg
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_45_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721584","1399721583","1399721582","1399721585","1399721587","1399721581"],"photo_ids_order":["1399721581","1399721582","1399721583","1399721584","1399721585","1399721587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/29628d7ea4e9f69dfd3f8d821b5bc48a.jpg","text":"TemporaryFile(/tmp/multipartBody4165077306462978603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925763087,"filename":"image_16122025_23_50_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/21e560313137359e15a853200707e0c3.jpg","text":"TemporaryFile(/tmp/multipartBody6751376223801967868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925763087,"filename":"image_16122025_23_50_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/16/14ee6be4be2b5470c6a90dbbf7d45d1d.jpg","text":"TemporaryFile(/tmp/multipartBody276002533633371509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925763087,"filename":"image_16122025_23_50_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/16/a207a9b450a68aa600b8d5aea816e3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6766754990455455905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925763087,"filename":"image_16122025_23_50_35_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/16/f672e195e5b6bbcf19decc52b6d908db.jpg","text":"TemporaryFile(/tmp/multipartBody2991722790747408790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925763087,"filename":"image_16122025_23_50_45_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/7aa5d82eb41dad2255544d2410395352.jpg","text":"TemporaryFile(/tmp/multipartBody5786767851165950150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925763087,"filename":"image_16122025_23_49_54_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721583","file1":"1399721582","file0":"1399721581","file4":"1399721585","file5":"1399721587","file3":"1399721584"},"map_files_photo_id_array":[{"photo_id":"1399721587","filename":"file5"},{"photo_id":"1399721583","filename":"file2"},{"photo_id":"1399721585","filename":"file4"},{"photo_id":"1399721582","filename":"file1"},{"photo_id":"1399721581","filename":"file0"},{"photo_id":"1399721584","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721584":["hashtag1","hashtag2"]},{"1399721583":["hashtag1","hashtag2"]},{"1399721582":["hashtag1","hashtag2"]},{"1399721585":["hashtag1","hashtag2"]},{"1399721587":["hashtag1","hashtag2"]},{"1399721581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721584, 1399721583, 1399721582, 1399721585, 1399721587, 1399721581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.210251808166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:55:41.918693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_12_2700.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_15_2842.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_19_3567.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_25_3562.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_28_2572.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_34_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_12_2700.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_15_2842.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_19_3567.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_25_3562.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_28_2572.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_34_3625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721599","1399721598","1399721592","1399721595","1399721597","1399721600"],"photo_ids_order":["1399721592","1399721595","1399721597","1399721598","1399721599","1399721600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/bed999daf49dfd0ef455add215ef3c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4673160386252471142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925802533,"filename":"image_06112025_18_58_28_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e0c905913e96066372feb5081276a827.jpg","text":"TemporaryFile(/tmp/multipartBody167185038780248945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925802533,"filename":"image_06112025_18_58_25_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/16/3271cc48becb770752f9fe96bcdadeeb.jpg","text":"TemporaryFile(/tmp/multipartBody8603682792413367229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925802533,"filename":"image_06112025_18_58_12_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/16/22784ed5c442db28a5304925a96d4950.jpg","text":"TemporaryFile(/tmp/multipartBody1630204535616295914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925802533,"filename":"image_06112025_18_58_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/16/e9cf4ae03bc0d1aeb75aa348622c1dde.jpg","text":"TemporaryFile(/tmp/multipartBody7261618398293498028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925802533,"filename":"image_06112025_18_58_19_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/16/89854b55ffde49ac6f8d170084c450ae.jpg","text":"TemporaryFile(/tmp/multipartBody131562108160409100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925802533,"filename":"image_06112025_18_58_34_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721597","file1":"1399721595","file0":"1399721592","file4":"1399721599","file5":"1399721600","file3":"1399721598"},"map_files_photo_id_array":[{"photo_id":"1399721600","filename":"file5"},{"photo_id":"1399721597","filename":"file2"},{"photo_id":"1399721599","filename":"file4"},{"photo_id":"1399721595","filename":"file1"},{"photo_id":"1399721592","filename":"file0"},{"photo_id":"1399721598","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721599":["hashtag1","hashtag2"]},{"1399721598":["hashtag1","hashtag2"]},{"1399721592":["hashtag1","hashtag2"]},{"1399721595":["hashtag1","hashtag2"]},{"1399721597":["hashtag1","hashtag2"]},{"1399721600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721599, 1399721598, 1399721592, 1399721595, 1399721597, 1399721600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.311891078948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:56:22.187970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_54_9612.jpg', '/home/pi/Desktop/images/16122025/23/50/image_16122025_23_51_04_9734.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_15_10653.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_25_9706.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_34_9654.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_45_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_54_9612.jpg
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_51_04_9734.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_15_10653.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_25_9706.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_34_9654.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_45_10639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4791898727416992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:56:32.167575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:56:42.212920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_42_2606.jpg', '/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_51_2755.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_06_2843.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_10_3652.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_15_2708.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_18_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_42_2606.jpg
/home/pi/Desktop/images/06112025/18/58/image_06112025_18_58_51_2755.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_06_2843.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_10_3652.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_15_2708.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_18_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":["1399721620","1399721617","1399721616","1399721619","1399721618","1399721612"],"photo_ids_order":["1399721612","1399721616","1399721617","1399721618","1399721619","1399721620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3ba06c8494c2b390c5c39e2101f620c0.jpg","text":"TemporaryFile(/tmp/multipartBody5345524846252850714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925862958,"filename":"image_06112025_18_59_18_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/db0c23ecada4af2ef06de3c83bbc751a.jpg","text":"TemporaryFile(/tmp/multipartBody1580519402945066239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925862958,"filename":"image_06112025_18_59_06_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/16/26736c9aab83543e61a201aec3ef1b72.jpg","text":"TemporaryFile(/tmp/multipartBody4545807930667358721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925862958,"filename":"image_06112025_18_58_51_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/16/76658338fe83e33e0e5259add63faec6.jpg","text":"TemporaryFile(/tmp/multipartBody346962126018383935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925862958,"filename":"image_06112025_18_59_15_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/16/e2947725a08746804f70e401ab32ef8b.jpg","text":"TemporaryFile(/tmp/multipartBody3700380241760544847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925862958,"filename":"image_06112025_18_59_10_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/16/d7370b4bcce677dc9b0590fe8a9b98e2.jpg","text":"TemporaryFile(/tmp/multipartBody6539681700253999381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925862958,"filename":"image_06112025_18_58_42_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721617","file1":"1399721616","file0":"1399721612","file4":"1399721619","file5":"1399721620","file3":"1399721618"},"map_files_photo_id_array":[{"photo_id":"1399721620","filename":"file5"},{"photo_id":"1399721617","filename":"file2"},{"photo_id":"1399721619","filename":"file4"},{"photo_id":"1399721616","filename":"file1"},{"photo_id":"1399721612","filename":"file0"},{"photo_id":"1399721618","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721620":["hashtag1","hashtag2"]},{"1399721617":["hashtag1","hashtag2"]},{"1399721616":["hashtag1","hashtag2"]},{"1399721619":["hashtag1","hashtag2"]},{"1399721618":["hashtag1","hashtag2"]},{"1399721612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721620, 1399721617, 1399721616, 1399721619, 1399721618, 1399721612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79393172264099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-16 23:57:22.426375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_54_9612.jpg', '/home/pi/Desktop/images/16122025/23/50/image_16122025_23_51_04_9734.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_15_10653.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_25_9706.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_34_9654.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_45_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_54_9612.jpg
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_51_04_9734.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_15_10653.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_25_9706.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_34_9654.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_45_10639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47483110427856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-16 23:57:32.495342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-16 23:57:42.509142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_22_3706.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_24_2641.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_27_2672.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_31_3780.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_36_2879.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_39_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_22_3706.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_24_2641.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_27_2672.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_31_3780.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_36_2879.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_39_2784.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399721638","1399721632","1399721635","1399721637","1399721636","1399721639"],"photo_ids_order":["1399721632","1399721635","1399721636","1399721637","1399721638","1399721639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/eee3907b28f9a30cf939c94b40a3d9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1731661436821471426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925923303,"filename":"image_06112025_18_59_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/16/817eeafd754bfb2990455d8d171940a1.jpg","text":"TemporaryFile(/tmp/multipartBody357593772144225347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925923303,"filename":"image_06112025_18_59_22_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/16/8a0920071e8e2fd8338d64aa79684b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7468223162583972179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925923303,"filename":"image_06112025_18_59_24_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/16/2395c8efff8e27ed81119db0509bc590.jpg","text":"TemporaryFile(/tmp/multipartBody6575127293257260235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925923303,"filename":"image_06112025_18_59_31_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/16/37f5269e633432e53b19aae4ea8f2d44.jpg","text":"TemporaryFile(/tmp/multipartBody1452523879109375961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925923303,"filename":"image_06112025_18_59_27_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/1d9723d267ccb227395398d8bff7a64a.jpg","text":"TemporaryFile(/tmp/multipartBody6809768181266904653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765925923303,"filename":"image_06112025_18_59_39_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721636","file1":"1399721635","file0":"1399721632","file4":"1399721638","file5":"1399721639","file3":"1399721637"},"map_files_photo_id_array":[{"photo_id":"1399721639","filename":"file5"},{"photo_id":"1399721636","filename":"file2"},{"photo_id":"1399721638","filename":"file4"},{"photo_id":"1399721635","filename":"file1"},{"photo_id":"1399721632","filename":"file0"},{"photo_id":"1399721637","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1399721638":["hashtag1","hashtag2"]},{"1399721632":["hashtag1","hashtag2"]},{"1399721635":["hashtag1","hashtag2"]},{"1399721637":["hashtag1","hashtag2"]},{"1399721636":["hashtag1","hashtag2"]},{"1399721639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1399721638, 1399721632, 1399721635, 1399721637, 1399721636, 1399721639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41291904449463 secondes ---
